1 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3 * electric.el (electric-indent-post-self-insert-function):
4 Delete trailing newlines even if we don't reindent.
6 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8 * minibuffer.el (completion-at-point): Remove the `arg'.
9 * bindings.el (complete-symbol): Move back from minibuffer.el.
11 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13 * simple.el (just-one-space): Delete newlines for negative arg.
15 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
18 (ansi-color-filter-apply): Simplify.
19 (ansi-color-apply): Use `font-lock-face' rather than `face'.
21 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
23 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
25 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
27 * dired.el (dired-use-ls-dired): Set default to a special
29 (dired-insert-directory): When called the first time, check
30 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
32 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
34 * replace.el: Add "collect" feature to occur.
35 (occur-collect-regexp-history): New var.
36 (occur-read-primary-args): Return a replace string for nlines,
38 (occur): Extend the meaning of nlines.
40 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
42 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
43 (which-func-update-1): Distinguish symbols from strings.
44 (which-function): Stay within 80 columns.
46 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
48 * subr.el (with-demoted-errors): Distinguish symbols from strings.
50 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
52 (comment-style): Use comment-styles's docs to describe values.
54 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
56 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
57 and ns-show-prefs (Bug#7535).
59 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
62 2010-12-03 Glenn Morris <rgm@gnu.org>
64 * nxml/nxml-mode.el: Require rng-nxml.
65 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
68 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
69 * nxml/rng-nxml.el, nxml/rng-valid.el:
70 Remove leading `*' from defcustom docs.
72 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
73 (normal-top-level-add-to-load-path, tty-handle-args):
74 Convert comments to basic doc-strings.
76 * net/browse-url.el (browse-url-url-at-point)
77 (browse-url-default-browser): Remove autoload cookies.
79 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
80 Remove more undefined cl functions.
82 * vc/diff.el (diff-sentinel): Make new arguments optional.
83 * ibuf-ext.el (diff-sentinel): Update declaration.
85 2010-12-03 Daiki Ueno <ueno@unixuser.org>
87 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
88 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
89 (epg-context-set-passphrase-callback): Mention that the callback
90 is not called when used with GnuPG 2.x.
92 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
94 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
95 (tramp-file-name-port): Check also for `tramp-default-port'.
96 (tramp-get-connection-name): New defun.
97 (tramp-get-connection-process): Use it.
98 (tramp-debug-message): Extend function exclude list.
99 (tramp-drop-volume-letter): Fix doc string.
101 * net/tramp-cmds.el: Remove solved todo item.
108 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
109 and `tramp-default-user-alist', respectively.
111 * net/tramp-gw.el (tramp-gw-open-connection):
112 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
114 * net/tramp-imap.el (tramp-imap-make-iht): Use just
115 `tramp-file-name-port'.
117 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
118 and "psftp". Exchange "%k" marker with options.
119 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
120 Compute size of link target.
121 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
122 `tramp-current-*' up due to gateway methods. Optimze computing of
123 copy arguments. Use `tramp-get-connection-name' and
124 `tramp-get-connection-buffer'. Improve debug messages.
125 (tramp-compute-multi-hops): Remove port determination.
126 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
128 * net/trampver.el: Update release number.
130 2010-12-02 Glenn Morris <rgm@gnu.org>
132 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
133 Avoid infinite loop over windows. (Bug#7492)
135 * progmodes/flymake.el (flymake-check-file-limit):
136 Allow nil to mean "no limit".
137 (flymake-check-patch-master-file-buffer): Update for above change.
138 Allow a .tex file-name extension to be optional.
139 (flymake-master-tex-init): Also match \include statements.
141 2010-11-30 Sam Steingold <sds@gnu.org>
143 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
144 (nxml-parent-document-set): A function to set `nxml-parent-document'.
145 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
146 (nxml-mode-hook): Remove `defcustom' (auto-defined by
147 define-derived-mode').
148 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
149 users who want to call `nxml-parent-document-set'.
151 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
153 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
154 stand-alone lines, since that is handled by log-edit-match-to-eoh
157 2010-11-27 Eduard Wiebe <usenet@pusto.de>
159 * dired.el (dired-get-filename): Replace backslashes with slashes
160 in file names on MS-Windows, needed by `locate'. (Bug#7308)
161 * locate.el (locate-default-make-command-line): Don't consider
162 drive letter and root directory part of
163 `directory-listing-before-filename-regexp'. (Bug#7308)
164 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
166 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
168 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
169 of :smie-open/close-alist.
170 (smie-next-sexp): Make it accept a "start token" as argument.
171 (smie-indent-keyword): Be careful not to misidentify tokens that span
172 more than one line, as empty lines. Add argument `token'.
174 2010-11-27 Kenichi Handa <handa@m17n.org>
176 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
177 multipart subtypes, insert all as usual.
179 * mail/rmail.el: Require rfc2047.
181 2010-11-27 Kenichi Handa <handa@m17n.org>
183 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
184 (rmail-mime-entity-disposition)
185 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
186 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
187 (rmail-mime-save): Handle the case that the button's `data' is a
189 (rmail-mime-insert-text): New function.
190 (rmail-mime-insert-image): Handle the case that DATA is a MIME
192 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
193 (rmail-mime-insert-bulk): New function mostly copied from the old
194 rmail-mime-bulk-handler.
195 (rmail-mime-multipart-handler): Just call
196 rmail-mime-process-multipart.
197 (rmail-mime-process-multipart): New funciton mostly copied from
198 the old rmail-mime-multipart-handler.
199 (rmail-mime-show): Just call rmail-mime-process.
200 (rmail-mime-process): New funciton mostly copied from the old
202 (rmail-mime-insert-multipart, rmail-mime-parse)
203 (rmail-mime-insert, rmail-show-mime)
204 (rmail-insert-mime-forwarded-message)
205 (rmail-insert-mime-resent-message): New functions.
206 (rmail-insert-mime-forwarded-message-function): Set to
207 rmail-insert-mime-forwarded-message.
208 (rmail-insert-mime-resent-message-function): Set to
209 rmail-insert-mime-resent-message.
211 * mail/rmailsum.el: Require rfc2047.
212 (rmail-header-summary): Handle multiline Subject: field.
213 (rmail-summary-line-decoder): Change the default to
214 rfc2047-decode-string.
216 * mail/rmail.el (rmail-enable-mime): Change the default to t.
217 (rmail-mime-feature): Change the default to `rmailmm'.
218 (rmail-quit): Delete the specifal code for rmail-enable-mime.
219 (rmail-display-labels): Likewise.
220 (rmail-show-message-1): Check rmail-enable-mime, and use
221 rmail-show-mime-function for a MIME message. Decode the headers
222 according to RFC2047.
224 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
226 * progmodes/which-func.el (which-func-imenu-joiner-function):
227 Return a string, as expected.
228 (which-function-mode): Make sure we stop any previous timer before
231 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
233 * net/tramp.el (tramp-default-method-alist)
234 (tramp-default-user-alist, tramp-default-proxies-alist):
235 Adapt custom options type. (Bug#7445)
237 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
239 * progmodes/python.el: Add Ipython support (Bug#5390).
240 (python-shell-prompt-alist)
241 (python-shell-continuation-prompt-alist): New options.
242 (python--set-prompt-regexp): New function.
243 (inferior-python-mode, run-python, python-shell):
244 Require ansi-color. Use python--set-prompt-regexp to set the comint
245 prompt based on the Python interpreter.
246 (python--prompt-regexp): New var.
247 (python-check-comint-prompt)
248 (python-comint-output-filter-function): Use it.
249 (run-python): Use a pipe (Bug#5694).
251 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
253 * progmodes/python.el (run-python): Doc fix.
254 (python-keep-current-directory-in-path): New var (Bug#7454).
256 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
258 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
259 Prompt user before actually printing.
261 2010-11-27 Glenn Morris <rgm@gnu.org>
263 * startup.el (package-enable-at-startup, package-initialize):
264 Remove unnecessary declarations.
266 2010-11-27 Eli Zaretskii <eliz@gnu.org>
268 * international/characters.el (glyphless-char-display-control):
269 Exclude newline and TAB from the c0-control group.
271 2010-11-27 Glenn Morris <rgm@gnu.org>
273 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
274 (expand-mail-aliases): Remove unnecessary autoload.
276 * allout.el (allout-command-prefix, allout-mode-map): Declare.
278 * shell.el (shell-dir-cookie-re): Move definition before use.
280 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
281 Replace undefined CL functions.
283 2010-11-26 Eli Zaretskii <eliz@gnu.org>
285 * simple.el (prog-mode): Set bidi-paragraph-direction to
288 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
290 2010-11-26 Glenn Morris <rgm@gnu.org>
292 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
293 diary-outlook-formats can be sensitive to calendar-date-style.
294 (diary-outlook-formats): Simplify the default setting.
295 (diary-from-outlook-internal): Pass subject and body as arguments.
296 Use dolist rather than dotimes. Don't save the diary buffer.
297 (diary-from-outlook-gnus, diary-from-outlook-rmail):
298 Pass subject and body as explicit arguments to the -internal function.
300 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
302 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
303 parsing them. This makes mailto:...?subject=foo\nbar work.
305 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
307 * vc/diff.el (diff): Fix last change.
309 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
311 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
312 (pcase--dontcare-upats): New var.
313 (pcase-let, pcase-let*): Generate better code.
314 Accept the same bodies as `let'.
315 (pcase-dolist): New macro.
316 (pcase--trivial-upat-p): New helper function.
317 (pcase--expand): Strip leading "(let nil" if any.
319 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
321 * mail/mailclient.el (browse-url): Require.
322 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
323 use the external browser function to send the mail (bug#7469).
325 * net/browse-url.el (browse-url-browser-function): Revert the
326 default back to the previous value, since the new value broke
328 (browse-url-mailto-function): New variable for mailto: URLs.
329 (browse-url): Use the new variable for mailto: URLs.
331 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
333 * eshell/esh-cmd.el (eshell-parse-command):
334 * eshell/esh-arg.el (eshell-parse-arguments):
335 * eshell/em-script.el (eshell-source-file):
336 Use with-silent-modifications.
338 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
340 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
341 for a merge location.
343 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
344 (vc-bzr-merge-branch): Always prompt.
345 (vc-bzr-async-command): Use the full branch filename.
347 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
349 * shell.el (shell): Use current-buffer by default if it's already
350 a shell mode buffer and its process is dead.
351 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
353 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
355 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
356 Mention that the keywords should be comma separated.
358 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
360 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
361 Accept optional prefix arg meaning to prompt for a command.
362 (vc-update): Use vc-BACKEND-pull if available. Accept optional
363 prefix arg meaning to prompt for a command.
364 (vc-pull): Alias for vc-update.
366 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
367 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
368 (vc-bzr-merge-branch): New functions, implementing merge-branch
371 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
373 * Makefile.in: Fix up last merge.
375 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
376 (diff-sentinel): Get them as arguments instead.
377 (diff-old-file, diff-new-file, diff-extra-args): Remove.
378 (diff-file-local-copy, diff-better-file-name): New funs.
379 (diff-no-select): Rename from diff-into-buffer.
380 Support buffers additionally to files. Move `buf' arg. Don't display buf.
381 Prefer closures to buffer-local variables.
382 (diff): Adjust accordingly.
383 (diff-buffer-with-file): Move from files.el.
384 * files.el (diff-buffer-with-file): Move to vc/diff.el.
385 (diff-buffer-internal): Remove.
386 (diff-buffer-buffer): Remove.
387 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
388 the buffer name used, and so as not to mess up windows and frames.
390 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
392 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
393 (diff-buffer-internal): New function extracted from diff-buffer-with-file
394 (diff-buffer-with-file): Use it.
395 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
398 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
400 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
401 \ref's or \pageref's value as default instead of initial input.
403 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
405 * files.el (backup-by-copying-when-mismatch): The default value is
408 * startup.el (normal-top-level):
409 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
410 `backup-by-copying-when-mismatch'.
412 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
414 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
416 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
418 * progmodes/python.el (python-font-lock-keywords):
419 Highlight top-level augmented assignments (Bug#6445).
421 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
423 * term/ns-win.el (ns-right-control-modifier)
424 (ns-right-command-modifier): Defvar them.
426 * cus-start.el (all): Add ns-right-control-modifier and
427 ns-right-command-modifier (Bug#7458).
429 2010-11-20 Glenn Morris <rgm@gnu.org>
431 * emacs-lisp/authors.el (authors-ignored-files)
432 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
434 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
436 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
437 (report-emacs-bug-parse-query-results)
438 (report-emacs-bug-create-existing-bugs-buffer): Pass through
439 keywords used for querying the bug database to show them in the
440 existing bugs buffer.
442 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
444 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
446 * info.el (info-tool-bar-map): Add some :vert-only keywords.
448 2010-11-20 Eli Zaretskii <eliz@gnu.org>
450 * international/characters.el (glyphless-char-display-control):
451 Make it a defcustom, with update-glyphless-char-display as its
453 (top level): Don't call update-glyphless-char-display.
455 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
457 Sync with Tramp 2.2.0.
459 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
460 `file-remote-p' (due to compatibility).
462 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
463 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
465 * net/trampver.el: Update release number.
467 2010-11-20 Eli Zaretskii <eliz@gnu.org>
469 * faces.el (glyphless-char): Define value for `pc'.
471 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
473 Implemented a bug querying mechanism.
474 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
475 (report-emacs-bug-create-existing-bugs-buffer)
476 (report-emacs-bug-parse-query-results)
477 (report-emacs-bug-query-existing-bugs): New functions.
479 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
481 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
482 a \ref{} or \pageref{} macro, then use its value as initial input.
484 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
486 * calc/calc-units.el (math-build-units-table-buffer):
487 calc/README: Mention that the TeX specific units won't use the
488 `tex' prefix in TeX mode.
489 calc/calc-lang.el (math-variable-table): Don't use the `tex'
490 prefix for units in TeX mode.
492 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
494 * simple.el (kill-new, kill-append, kill-region):
495 * comint.el (comint-kill-region): Make the yank-handler argument
498 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
500 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
501 that are both openers (resp. closers) and something else.
502 (smie-grammar): Loosen definition of valid values.
503 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
504 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
505 (smie-indent-after-keyword): Adjust users.
506 (smie-indent-keyword): Don't indent empty lines.
508 * vc-hg.el (vc-hg-program): New var.
509 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
510 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
512 2010-11-18 Glenn Morris <rgm@gnu.org>
514 * emacs-lisp/autoload.el (autoload-find-destination): The function
515 coding-system-eol-type may return non-numeric values. (Bug#7414)
517 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
519 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
521 2010-11-18 Eli Zaretskii <eliz@gnu.org>
523 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
525 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
527 * textmodes/picture.el (picture-mouse-set-point): Don't use
528 posn-col-row; explicitly compute the motion based on the posn at
529 the window-start (Bug#7390).
531 2010-11-18 Glenn Morris <rgm@gnu.org>
533 * novice.el (disabled-command-function):
534 Fix 2009-11-15 change. (Bug#7384)
536 2010-11-18 Glenn Morris <rgm@gnu.org>
538 * calendar/calendar.el (diary-iso-date-forms): Make elements
539 mutually exclusive. (Bug#7377)
541 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
543 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
544 when filling the remaining "unconstrained" values.
546 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
548 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
551 * files.el (safe-local-variable-p): Gracefully handle errors.
553 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
554 Use smie-indent-virtual when indenting relative to an opener.
555 (smie-rule-separator): Use smie-rule-parent.
556 (smie-indent-keyword): Consult rules, even for openers at bol.
557 (smie-indent-comment-close): Try to align closer's content.
559 2010-11-18 Glenn Morris <rgm@gnu.org>
561 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
563 2010-11-18 Glenn Morris <rgm@gnu.org>
565 * printing.el (pr-menu-bind): Doc fix.
567 * speedbar.el (speedbar-toggle-images): Doc fix.
569 * progmodes/python.el (python-shell): Doc fix.
571 * wid-edit.el (widget-field-use-before-change)
572 (widget-use-overlay-change): Doc fixes.
574 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
576 Minor cleanup to improve style.
577 * textmodes/rst.el (rst-update-section): Use point-marker.
578 (rst-get-decoration): Eliminate unneeded assignment.
579 (rst-promote-region, rst-straighten-decorations)
580 (rst-section-tree, rst-adjust): Use point-marker.
581 (rst-toc-mode-mouse-goto): Avoid setq.
582 (rst-shift-region-guts, rst-shift-region-left)
583 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
584 (rst-convert-bullets-to-enumeration): Use copy-marker.
586 * minibuffer.el (completion-fail-discreetly): New var.
587 (completion--do-completion): Use it.
589 * electric.el (electric-pair-pairs): New var.
590 (electric-pair-post-self-insert-function): Use it.
591 (electric-layout-post-self-insert-function): Don't insert a before
592 newline unless it's actually needed.
594 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
596 * progmodes/python.el (run-python): Explain why we remove the current
597 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
599 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
601 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
603 * progmodes/octave-mod.el: Rely on elecric-*-modes.
604 (octave-mode-map): Don't bind ;, SPC, and LF.
605 (octave-auto-indent, octave-auto-newline): Remove.
606 (electric-layout-rules): Declare.
607 (octave-mode): Set electric-layout-rules.
608 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
609 (octave-reindent-then-newline-and-indent, octave-electric-semi)
610 (octave-electric-space): Remove.
612 * electric.el (electric-layout-mode): New minor mode.
613 (electric--after-char-pos): New function.
614 (electric-indent-post-self-insert-function): Use it.
615 (electric-layout-rules): New var.
616 (electric-layout-post-self-insert-function): New function.
617 (electric-indent-mode): Make them interact better.
619 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
621 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
622 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
623 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
625 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
627 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
628 Make sure to check inside the word (Bug#6761).
630 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
632 * startup.el (command-line): If the cursorColor resource is set,
633 change the cursor face-spec (Bug#7392).
635 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
637 The main features of the following allout.el changes are:
638 - implement user customization for the allout key bindings
639 - add a customization control by which the user can inhibit use of
640 a trailing Ctrl-H, so by default it's reserved for use with
641 describe-prefix-bindings
642 - adapt to new version of called-interactively-p, while
643 maintaining backwards compatibility with old version
644 - fix hotspot navigation so i works properly with meta-modified keys
646 * allout.el (allout-keybindings, allout-bind-keys)
647 (allout-keybindings-binding, allout-prefixed-keybindings)
648 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
649 (allout-keybindings-list, allout-mode-map-adjustments)
650 (allout-setup-mode-map): Establish allout-mode keymaps as user
651 customizable settings, and also establish a customizable setting which
652 regulates whether or not a trailing control-h is reserved for use with
653 describe-prefix-bindings - and inhibit it by default, so that control-h
654 *is* reserved for describe-prefix-bindings unless the user changes it.
656 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
657 and accurately between modified and unmodified events, and handle
658 modified events more comprehensively.
660 * allout.el (allout-substring-no-properties):
661 Alias to use or provide version of `substring-no-properties'.
662 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
664 * allout.el (allout-next-single-char-property-change):
665 Alias to use or provide version of `next-single-char-property-change'.
666 (allout-annotate-hidden, allout-hide-by-annotation):
667 Use `allout-next-single-char-property-change'.
669 * allout.el (allout-select-safe-coding-system):
670 Alias to use or provide version of `select-safe-coding-system'.
671 (allout-toggle-subtree-encryption):
672 Use `allout-select-safe-coding-system'.
674 * allout.el (allout-set-buffer-multibyte):
675 Alias to use or provide version of `set-buffer-multibyte'.
676 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
678 * allout.el (allout-called-interactively-p): Macro for using the
679 different versions of called-interactively-p identically, depending on
680 the subroutine's argument signature.
681 (allout-back-to-current-heading, allout-beginning-of-current-entry):
682 Use `(interactive "p")' instead of `(called-interactively-p)'.
684 * allout.el (allout-init, allout-ascend, allout-end-of-level)
685 (allout-previous-visible-heading, allout-forward-current-level)
686 (allout-backward-current-level, allout-show-children):
687 Use `allout-called-interactively-p' instead of `called-interactively-p'.
689 * allout.el (allout-before-change-handler):
690 Exempt edits to the (overlaid) character after the allout outline
691 bullet from edit confirmation prompt.
693 * allout.el (allout-add-resumptions):
694 Ensure that it respects correct buffer for keybindings.
696 * allout.el (allout-beginning-of-line):
697 Use `allout-previous-single-char-property-change' alias for the sake of
698 diverse compatibility.
700 * allout.el (allout-end-of-line):
701 Use `allout-mark-active-p' to encapsulate respect for mark activity.
703 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
705 * frame.el (frame-notice-user-settings): Don't clobber other
706 user-set parameters when calling face-set-after-frame-default in
707 response to background-color parameter (Bug#7373).
709 2010-11-13 Eli Zaretskii <eliz@gnu.org>
711 * international/characters.el (glyphless-char-display-control):
712 Rename from glyphless-char-control; all users changed. Doc fix.
713 Signal an error if display method is not one of the recognized
716 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
718 * net/tramp-compat.el (tramp-compat-line-beginning-position)
719 (tramp-compat-line-end-position): Remove them.
721 * net/tramp.el (tramp-parse-rhosts-group)
722 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
723 (tramp-parse-hosts-group, tramp-parse-passwd-group)
724 (tramp-parse-netrc-group, tramp-parse-putty-group)
725 * net/tramp-cmds.el (tramp-append-tramp-buffers)
726 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
727 (tramp-sh-handle-file-selinux-context)
728 (tramp-sh-handle-file-name-all-completions)
729 (tramp-sh-handle-insert-directory)
730 (tramp-sh-handle-expand-file-name, tramp-find-executable)
731 (tramp-wait-for-output, tramp-send-command-and-read)
732 * net/tramp-smb.el (tramp-smb-read-file-entry)
733 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
735 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
737 (tramp-remote-coding-commands): Add an alternative using "base64
738 -d -i". This is needed for older base64 versions from GNU
739 coreutils. Reported by Klaus Reichl
740 <Klaus.Reichl@thalesgroup.com>.
742 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
744 * simple.el (count-words-region): New function.
746 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
748 * shell.el (shell-dir-cookie-re): New custom variable.
749 (shell-dir-cookie-watcher): New function.
751 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
752 and compilation-mode (bug#7350).
754 * vc/smerge-mode.el (smerge-refine): Choose better default part to
755 highlight when one of them is empty.
757 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
759 (skeleton-newline): New function.
760 (skeleton-internal-1): Use it.
762 * simple.el (open-line): `newline' may strip trailing space.
764 2010-11-12 Kevin Ryde <user42@zip.com.au>
766 * international/mule-cmds.el (princ-list): Use mapc.
768 2010-11-12 Glenn Morris <rgm@gnu.org>
770 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
771 Use it to replace all instances of "*Compile-Log*"
773 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
775 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
778 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
780 * progmodes/modula2.el: Use SMIE and skeleton.
781 (m2-mode-syntax-table): (*..*) can be nested.
782 Add //...\n. Fix paren syntax.
783 (m2-mode-map): Remove LF and TAB bindings.
784 (m2-indent): Add safety property.
785 (m2-smie-grammar): New var.
786 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
787 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
788 (m2-mode): Use define-derived-mode.
789 (m2-newline, m2-tab): Remove.
790 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
791 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
792 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
793 (m2-import): Use define-skeleton.
795 2010-11-11 Glenn Morris <rgm@gnu.org>
797 * obsolete/lucid.el: Don't warn about any CL functions in this file.
799 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
800 (ls-lisp-verbosity): Add custom :set-after property.
801 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
802 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
803 (ls-lisp-insert-directory): Update caller.
804 (ls-lisp-set-options): New function.
805 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
808 * play/landmark.el (lm-prompt-for-move):
809 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
811 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
813 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
814 (idlwave-study-twins): Prefix dynamic local variable `name'.
815 (idlwave-routine-twin-compare): Update for above change.
817 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
818 Prefix dynamic local variables `name', `kwd', and `link'.
819 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
820 * progmodes/idlw-complete-structtag.el
821 (idlwave-complete-structure-tag-help):
822 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
823 (idlwave-complete-sysvar-tag-help)
824 (idlwave-complete-class-structure-tag-help):
825 Update for above name changes.
827 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
829 * net/browse-url.el (browse-url-browser-function): Change the
830 default to use `browse-url-mail' on mailto: URLs.
832 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
834 * emacs-lisp/package.el (package-read-all-archive-contents):
835 Reset package-archive-contents to nil before re-reading.
837 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
839 * textmodes/flyspell.el (flyspell-word): Do not re-check words
840 already found as misspellings by (flyspell-large-region), just
841 do highlighting (bug#7322).
843 2010-11-10 Glenn Morris <rgm@gnu.org>
845 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
847 * emulation/edt.el (edt-with-position): New macro.
848 (edt-find-forward, edt-find-backward, edt-find-next-forward)
849 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
850 (edt-paragraph-forward, edt-paragraph-backward): Use it.
852 * emulation/tpu-extras.el (tpu-with-position): New macro.
853 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
855 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
857 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
858 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
859 (texinfo-master-menu, texinfo-insert-node-lines)
860 (texinfo-multiple-files-update):
861 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
862 Use line-beginning-position.
864 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
865 No recent Emacs supports system-type `emx'.
867 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
868 (ada-command-separator, ada-default-prj-properties)
869 (ada-find-any-references): Update for above name change.
871 * dirtrack.el (dirtrack-directory-function)
872 (dirtrack-canonicalize-function):
873 * filecache.el (file-cache-completion-ignore-case)
874 (file-cache-case-fold-search, file-cache-ignore-case):
875 * term.el (serial-port-is-file-p): Cosmetic change.
877 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
878 Remove non-existent `windows-95' system-type.
879 * dired.el (dired-chown-program): Remove non-existent `linux'
882 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
883 (ping-program-options): Remove non-existent `linux' system-type.
885 * startup.el (package-initialize): Update declaration.
887 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
888 (ls-lisp-handle-switches): Use time-less-p.
889 (ls-lisp-format-time): Use float-time.
891 * textmodes/remember.el (remember-time-to-seconds): Remove.
892 (remember-store-in-mailbox): Use float-time.
894 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
896 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
897 never a real function.
898 (with-no-warnings): Remove compat stub, now unused.
899 (time-less-p): Doc fix.
900 (time-to-number-of-days): Simplify.
902 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
904 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
905 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
906 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
907 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
908 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
910 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
911 (eshell-shuffle-files, eshell-shorthand-tar-command)
912 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
913 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
914 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
915 Prefix dynamic local variable `matches'.
917 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
918 Prefix dynamic local variable `skeleton'.
920 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
922 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
923 in mail buffer; make yank-action always a command that yanks original
926 2010-11-09 Glenn Morris <rgm@gnu.org>
928 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
930 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
932 * minibuffer.el (minibuffer-completion-help): Specify the end of the
933 completion field (bug#7211).
935 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
936 Fix handling of backslash escapes.
937 (python-quote-syntax): Adjust accordingly.
939 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
941 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
942 (vc-mtn-workfile-branch): Adjust to new output format.
944 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
946 * international/mule-cmds.el (princ-list): Mark as obsolete.
948 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
950 * emacs-lisp/smie.el: New package.
952 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
954 * files.el (backup-by-copying-when-mismatch):
955 Set `permanent-local' property.
957 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
958 `permanent-local' property for `backup-by-copying-when-mismatch'.
960 2010-11-09 Eli Zaretskii <eliz@gnu.org>
962 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
964 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
966 * progmodes/verilog-mode.el (verilog-insert-one-definition)
967 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
968 AUTOINOUT for SV style multidimensional arrays, bug294.
969 Reported by Eric Mastromarchi.
970 (verilog-preprocess): Use with-current-buffer and
971 font-lock-fontify-buffer to cleanup style issues.
973 2010-11-09 Glenn Morris <rgm@gnu.org>
975 * locate.el (locate, locate-mode): Doc fixes.
977 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
979 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
980 user for confirmation.
981 (server-force-stop): Use it.
982 (server-start): Use server-force-stop for kill-emacs-hook, to
983 avoid user interaction while killing Emacs.
985 2010-11-09 Glenn Morris <rgm@gnu.org>
987 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
988 (meta-indent-line): Simplify.
990 * vc/emerge.el (emerge-line-number-in-buf):
991 * textmodes/ispell.el (ispell-region):
992 * textmodes/fill.el (current-fill-column):
993 * progmodes/xscheme.el (xscheme-send-current-line):
994 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
995 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
996 * progmodes/sh-script.el (sh-handle-prev-do):
997 * progmodes/meta-mode.el (meta-indent-line):
998 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1000 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1001 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1002 * progmodes/fortran.el (fortran-looking-at-if-then):
1003 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1004 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1005 (cperl-find-pods-heres):
1006 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1007 * net/quickurl.el (quickurl-list-insert):
1008 * net/ldap.el (ldap-search-internal):
1009 * net/eudc.el (eudc-expand-inline):
1010 * mail/sendmail.el (sendmail-send-it):
1011 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1012 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1013 (viper-brac-function):
1014 * calc/calc-yank.el (calc-do-grab-region):
1015 * calc/calc-keypd.el (calc-keypad-press):
1016 * term.el (term-move-columns, term-insert-spaces):
1017 * speedbar.el (speedbar-highlight-one-tag-line):
1018 * simple.el (current-word):
1019 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1020 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1022 * hippie-exp.el (he-line-beg):
1023 * epa.el (epa--marked-keys):
1024 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1025 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1026 (dired-relist-entry):
1027 * buff-menu.el (Buffer-menu-buffer):
1028 * array.el (current-line):
1029 * allout.el (allout-resolve-xref)
1030 (allout-latex-verbatim-quote-curr-line):
1031 Replace yet more uses of end-of-line etc with line-end-position, etc.
1033 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1035 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1036 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1037 (checkdoc-syntax-table): Initialize in the declaration.
1038 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1039 the mode on unconditionally.
1041 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1042 (extent-end-position, extent-start-position): Remove setf method for
1043 non-existing functions (bug#7319).
1045 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1047 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1048 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1049 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1050 (smie-prec2->grammar): Rename from smie-prec2-levels.
1051 (smie-grammar): Rename from smie-op-levels.
1052 (smie-indent--hanging-p): Rename from smie-hanging-p.
1053 (smie-rule-hanging-p): New alias.
1054 (smie-indent--bolp): Rename from smie-bolp.
1055 (smie-indent--hanging-p): New alias.
1056 (smie--token): New dynamically bound variable.
1057 (smie-indent--parent): New function.
1058 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1059 (smie-rule-next-p): Rename from smie-next-p.
1060 (smie-rule-prev-p): Rename from smie-prev-p.
1061 (smie-rule-sibling-p, smie-rule-parent)
1062 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1063 (smie-rule-separator-outdent): New var.
1064 (smie-indent--rule): Merge with smie-indent--column.
1065 (smie-indent-forward-token, smie-indent-backward-token):
1066 Also recognize close parens.
1067 (smie-indent-keyword): Don't use smie-indent--column any more.
1068 (smie-indent-after-keyword): Ignore closers by default.
1069 (smie-indent-line): Use with-demoted-errors.
1070 * progmodes/octave-mod.el (octave-smie-grammar):
1071 Rename from octave-smie-op-levels.
1072 (octave-smie-rules): Adjust to new behavior.
1073 * progmodes/prolog.el (prolog-smie-grammar):
1074 Rename from prolog-smie-op-levels.
1076 2010-11-07 Glenn Morris <rgm@gnu.org>
1078 * eshell/esh-util.el (subst-char-in-string)
1079 (directory-files-and-attributes): These compatibility definitions are
1080 not needed on any version of Emacs since at least 21.4.
1082 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1083 (verilog-get-end-of-line): Remove.
1084 (verilog-within-string, verilog-re-search-forward-substr)
1085 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1086 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1087 Use point-at-bol, point-at-eol.
1088 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1090 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1091 (electric-pascal-terminate-line, pascal-set-auto-comments)
1092 (pascal-indent-paramlist, pascal-indent-declaration)
1093 (pascal-get-lineup-indent, pascal-func-completion)
1094 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1095 Use point-at-bol, point-at-eol.
1096 * progmodes/flymake.el (flymake-line-beginning-position)
1097 (flymake-line-end-position): Remove.
1098 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1099 * eshell/esh-util.el (line-end-position, line-beginning-position):
1100 Remove compat definitions.
1102 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1104 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1105 Use line-end-position.
1107 * emacs-lisp/chart.el (chart-zap-chars):
1108 * play/decipher.el (decipher-set-map):
1109 * progmodes/ada-mode.el (ada-get-current-indent)
1110 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1111 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1112 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1113 (ada-get-all-references):
1114 * progmodes/cperl-mode.el (cperl-electric-paren)
1115 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1116 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1117 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1118 (cperl-word-at-point-hard):
1119 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1120 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1121 (idlwave-shell-display-line):
1122 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1123 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1124 * progmodes/js.el (js--re-search-forward-inner)
1125 (js--re-search-backward-inner):
1126 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1127 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1128 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1129 * textmodes/flyspell.el (flyspell-process-localwords):
1130 * textmodes/ispell.el (ispell-buffer-local-parsing)
1131 (ispell-buffer-local-dict, ispell-buffer-local-words):
1132 Use point-at-bol and point-at-eol.
1134 * speedbar.el (speedbar-generic-item-info)
1135 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1136 (speedbar-add-indicator, speedbar-check-vc-this-line)
1137 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1138 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1139 Replace more uses of end-of-line etc with line-end-position.
1141 2010-11-06 Glenn Morris <rgm@gnu.org>
1143 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1144 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1145 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1146 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1147 (texinfo-multiple-files-update):
1148 * textmodes/table.el (table--probe-cell-left-up)
1149 (table--probe-cell-right-bottom):
1150 * textmodes/picture.el (picture-tab-search):
1151 * textmodes/page-ext.el (pages-copy-header-and-position)
1152 (pages-directory-for-addresses):
1153 * progmodes/vera-mode.el (vera-get-offset):
1154 * progmodes/simula.el (simula-calculate-indent):
1155 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1156 * progmodes/prolog.el (end-of-prolog-clause):
1157 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1158 * progmodes/icon.el (indent-icon-exp):
1159 * progmodes/etags.el (tag-re-match-p):
1160 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1161 * progmodes/ebnf2ps.el (ebnf-begin-file):
1162 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1163 (dcl-save-local-variable):
1164 * play/life.el (life-setup):
1165 * play/gametree.el (gametree-looking-at-ply):
1166 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1167 * mail/sendmail.el (mail-mode-auto-fill):
1168 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1169 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1170 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1171 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1172 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1173 * type-break.el (type-break-file-keystroke-count):
1174 * term.el (term-replace-by-expanded-history-before-point)
1175 (term-skip-prompt, term-extract-string):
1176 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1177 (speedbar-contract-line, speedbar-toggle-line-expansion)
1178 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1179 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1180 * sort.el (sort-skip-fields):
1181 * skeleton.el (skeleton-internal-list):
1182 * simple.el (line-move-finish, line-move-to-column):
1183 * shell.el (shell-forward-command):
1184 * misc.el (copy-from-above-command):
1185 * makesum.el (double-column):
1186 * ebuff-menu.el (electric-buffer-update-highlight):
1187 * dired.el (dired-move-to-end-of-filename):
1188 * dframe.el (dframe-popup-kludge):
1189 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1190 * arc-mode.el (archive-get-lineno):
1191 Use line-end-position and line-beginning-position.
1193 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1194 (idlwave-study-twins): Prefix dynamic local `class'.
1195 (idlwave-routine-twin-compare): Update for above name change.
1197 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1198 Use boundp tests to silence compiler. Update for changed name of
1199 bytecomp-filename variable.
1201 * emulation/viper-cmd.el (viper-read-string-with-history):
1202 Prefix dynamic local `initial'.
1203 (viper-minibuffer-standard-hook): Update for above name change.
1205 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1206 (elint-init-form): Update for above name change.
1208 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1209 local variables `cbeg' and `cend' a prefix.
1210 (mail-extr-voodoo): Update for above name change.
1212 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1213 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1214 (reftex-toc-promote-action): Doc fix.
1216 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1217 `prompt', `data' a prefix.
1218 (reftex-select-post-command-hook, reftex-select-callback)
1219 (reftex-select-mouse-accept, reftex-select-read-cite):
1220 Update for above name changes.
1222 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1223 `refstyle' to reftex-refstyle.
1224 (reftex-offer-label-menu): Update for above name change.
1225 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1226 `refstyle' name change.
1228 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1229 with with-current-buffer.
1230 (diff, template): Give dynamic local variables a prefix.
1231 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1232 (emerge-line-number-in-buf): Update for above name change.
1233 (emerge-combine-versions-internal): Rename local `template' to
1234 emerge-combine-template.
1235 (emerge-combine-versions-edit): Update for above name change.
1237 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1239 * textmodes/reftex-cite.el
1240 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1241 entries with whitespace after \bibitem.
1242 (reftex-create-bibtex-file): Match entries containing numbers and
1243 symbol constituents. Make sure that entries with whitespace at
1244 various places are found.
1246 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1248 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1250 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1252 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1254 2010-11-05 Glenn Morris <rgm@gnu.org>
1256 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1257 (woman2-roff-buffer): Give local variable `request' a prefix.
1258 (woman0-macro): Rename argument `request' in the same way.
1259 (woman-request): New name for `request' dynamic variable.
1260 (woman-unquote, woman-forward-arg): Update for above name change.
1261 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1262 (woman1-unquote): New name for `unquote' dynamic variable.
1263 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1264 (woman-translations): Rename from `translations'. No longer global.
1265 (woman2-tr, woman-translate): Update for above name change.
1266 (woman-translate): Check for bound variable.
1267 (woman2-roff-buffer): Give local variable `translations' a prefix.
1269 * play/doctor.el: Give all local variables a prefix. Update callers.
1270 (doc$, doctor-put-meaning): Use backquote.
1272 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1273 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1275 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1276 variables bytes, ptr, op a prefix.
1277 (disassemble-offset): Update for above change.
1279 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1281 * emacs-lisp/package.el (package-unpack): Remove no-op.
1282 (package--builtins, package--dir): Doc fix.
1283 (package-activate-1, package-activate, package-install)
1284 (package-compute-transaction): Fix error message.
1285 (package-delete): Use delete-directory. Omit system packages.
1286 (package-initialize): Set package-alist to nil first.
1287 (package-menu-mark-delete, package-menu-mark-install): Don't add
1288 symbols that are inconsistent with the package state.
1289 (package-menu-execute): Perform deletions and installations as
1290 single batch operations.
1292 2010-11-03 Glenn Morris <rgm@gnu.org>
1294 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1295 (props): Remove unnecessary declaration.
1297 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1298 set-process-query-on-exit-flag.
1300 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1301 (reftex-toc-do-promote): Remove unused local `mpos'.
1302 (reftex-toc-restore-region): Make `mpos' local to this function.
1304 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1306 * play/landmark.el (lm-losing-threshold): Correct spelling.
1307 (lm-human-plays): Use new name.
1309 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1310 (gomoku-human-plays): Use new name.
1312 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1313 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1314 (gomoku-score-trans-table, gomoku-winning-threshold)
1315 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1317 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1319 * emacs-lisp/package.el: Don't put built-in packages in
1320 package-alist, to avoid loading inefficiencies.
1321 (package-built-in-p): Make VERSION optional, and treat it as a
1322 minimum acceptable version.
1323 (package-activate): Search separately for built-in packages.
1324 Emit a warning if a dependency fails.
1325 (define-package): Handle most common case, where there is no
1326 obsolete package, first.
1327 (package-compute-transaction): Print required version in error.
1328 (package--initialized): New variable.
1329 (list-packages): Use it.
1330 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1331 built-in packages in packages-alist; keep it separate.
1332 Set package--initialized.
1333 (describe-package): Avoid activating packages as a side-effect.
1334 Search separately for built-in packages.
1335 (describe-package-1): Handle the case where an elpa package is
1336 simultaneously built-in and available/installed.
1337 (package-installed-p, package--generate-package-list):
1338 Search separately for built-in packages.
1339 (package-load-descriptor): Doc fix.
1341 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1343 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1344 Handle __DATA__ and __END__.
1346 2010-11-02 Noah Friedman <friedman@splode.com>
1348 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1349 nil, do not ask to recompile files that are not already compiled,
1350 and do not recompile them.
1352 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1354 * emacs-lisp/package.el (package-initialize): Ensure that
1355 obsoleted built-in packages are not in package-activated-list
1357 (describe-package-1): Make the "installed" status override
1360 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1362 * subr.el (version-separator, version-regexp-alist): Remove '*'
1364 (version-list-<=, version<=, version=): Doc fix.
1366 2010-11-01 Kenichi Handa <handa@m17n.org>
1368 * faces.el (glyphless-char): Inherit underline for tty.
1370 2010-11-01 Kenichi Handa <handa@m17n.org>
1372 Implement various display methods for glyphless characters.
1374 * international/characters.el (char-acronym-table): New variable.
1375 (glyphless-char-control): New variable.
1376 (update-glyphless-char-display): New funciton.
1378 * faces.el (glyphless-char): New face.
1380 2010-11-01 Glenn Morris <rgm@gnu.org>
1382 * calendar/holidays.el (general-holidays, oriental-holidays)
1383 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1384 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1385 the definitions of their targets.
1387 * emacs-lisp/smie.el (smie): New custom group.
1388 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1390 * faces.el (xw-defined-colors, x-setup-function-keys):
1391 * mouse-sel.el (x-select-text):
1392 * term/w32console.el (x-setup-function-keys): Update declarations.
1394 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1396 * textmodes/ispell.el (comment-add): Declare.
1398 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1401 * info.el (finder-keywords-hash, package-alist): Declare.
1403 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1405 * finder.el (finder-compile-keywords): Don't use intern-soft,
1406 since package names may not yet exist in the obarray.
1408 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1410 * vc/vc-arch.el (vc-arch-checkin):
1411 * vc/vc-cvs.el (vc-cvs-checkin):
1412 * vc/vc-mtn.el (vc-mtn-checkin):
1413 * vc/vc-rcs.el (vc-rcs-checkin):
1414 * vc/vc-sccs.el (vc-sccs-checkin):
1415 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1416 since 2010-04-21 commit by Stefan Monnier.
1418 2010-11-01 Glenn Morris <rgm@gnu.org>
1420 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1422 * startup.el (package-enable-at-startup, package-initialize):
1425 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1428 2010-10-31 Julien Danjou <julien@danjou.info>
1430 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1431 (byte-recompile-directory):
1432 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1433 Use `byte-recompile-file'.
1435 2010-10-31 Glenn Morris <rgm@gnu.org>
1437 * cus-start.el: Handle standard values via a keyword.
1438 Only set version property if specified.
1439 (cursor-in-non-selected-windows, menu-bar-mode)
1440 (tool-bar-mode, show-trailing-whitespace):
1441 Do not specify standard values.
1442 (transient-mark-mode, temporary-file-directory): Use :standard.
1444 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1446 * term/x-win.el (x-get-selection-value): New function that gets
1447 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1449 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1451 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1452 preserve owner and group when editing files. (Bug#7289)
1454 2010-10-31 Glenn Morris <rgm@gnu.org>
1456 * speedbar.el (speedbar-mode):
1457 * play/fortune.el (fortune-in-buffer, fortune):
1458 * play/gomoku.el (gomoku-mode):
1459 * play/landmark.el (lm-mode):
1460 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1461 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1463 * select.el (x-selection): Mark it as an obsolete alias.
1465 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1467 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1468 major-mode (bug#7284).
1470 2010-10-31 Glenn Morris <rgm@gnu.org>
1472 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1473 rather than just an unused variable that inherits from the real one.
1475 2010-10-31 Alan Mackenzie <acm@muc.de>
1477 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1478 This fixes bug #7185.
1480 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1482 * startup.el (command-line): Search for package directories, and
1483 don't load package.el if none are found.
1485 * emacs-lisp/package.el (describe-package, list-packages):
1486 Call package-initialize if it has not been called yet.
1488 2010-10-30 Alan Mackenzie <acm@muc.de>
1490 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1491 which fontifies the tail of an enum.
1492 (c-basic-matchers-after): Insert a call to the above new function.
1493 This fixes bug #7264.
1495 2010-10-30 Glenn Morris <rgm@gnu.org>
1497 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1498 tool-bar-mode, transient-mark-mode. (Bug#7306)
1499 Include the :set property in the dumped Emacs.
1501 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1503 SMIE: change indent rules format, improve smie-setup.
1504 * emacs-lisp/smie.el (smie-precs-precedence-table)
1505 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1506 Mark them pure so the tables gets built at compile time.
1507 (smie-bnf-precedence-table): Store the closer-alist in the table.
1508 (smie-prec2-levels): Preserve the closer-alist.
1509 (smie-blink-matching-open): Be more forgiving in case of indentation.
1510 (smie-hanging-p): Rename from smie-indent--hanging-p.
1511 (smie-bolp): Rename from smie-indent--bolp.
1512 (smie--parent, smie--after): New dynamic vars.
1513 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1514 (smie-indent-rules): Remove.
1515 (smie-indent--offset-rule): Remove fun.
1516 (smie-rules-function): New var.
1517 (smie-indent--rule): New fun.
1518 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1519 (smie-indent-exps): Use it.
1520 (smie-setup): Setup paren blinking; add keyword args for token
1521 functions; extract closer-alist from op-levels.
1522 (smie-indent-debug-log): Remove var.
1523 (smie-indent-debug): Remove fun.
1524 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1525 (prolog-smie-rules): New fun to replace it.
1526 (prolog-mode-variables): Simplify.
1527 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1528 it's setup automatically.
1529 (octave-smie-indent-rules): Remove.
1530 (octave-smie-rules): New fun to replace it.
1531 (octave-mode): Simplify.
1533 2010-10-29 Glenn Morris <rgm@gnu.org>
1535 * files.el (temporary-file-directory): Remove (already defined in C).
1536 * cus-start.el: Add temporary-file-directory.
1538 * abbrev.el (abbrev-mode):
1539 * composite.el (auto-composition-mode):
1540 * menu-bar.el (menu-bar-mode):
1541 * simple.el (transient-mark-mode):
1542 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1543 that they do not define the associated variables twice.
1544 * simple.el (transient-mark-mode): Remove defvar.
1545 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1546 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1547 Handle multiple groups, and also custom-delayed-init-variables.
1548 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1550 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1553 (pcase-if): Add one minor optimization.
1554 (pcase-split-equal): Rename from pcase-split-eq.
1555 (pcase-split-member): Rename from pcase-split-memq.
1556 (pcase-u1): Add strings to the member optimization.
1557 Add `guard' variant of predicates.
1558 (pcase-q1): Add string patterns.
1560 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1562 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1564 2010-10-28 Glenn Morris <rgm@gnu.org>
1566 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1567 Move menu-bar related settings to ../menu-bar.el.
1568 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1569 Move ns-specific settings here from term/ns-win.el.
1571 * simple.el (x-selection-owner-p): Remove unused declaration.
1573 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1575 * minibuffer.el (completion-cycling): New var (bug#7266).
1576 (minibuffer-complete, completion--do-completion):
1577 Use completion--flush-all-sorted-completions.
1578 (minibuffer-complete): Only cycle if completion-cycling is set.
1579 (completion--flush-all-sorted-completions): Unset completion-cycling.
1580 (minibuffer-force-complete): Set completion-cycling.
1581 (completion-all-sorted-completions): Move declaration before first use.
1583 2010-10-28 Leo <sdl.web@gmail.com>
1585 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1586 which changes the order of matches seen by users (bug#7231).
1588 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1590 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1591 Don't confuse -omega as "-o mega".
1593 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1595 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1596 (log-edit-author): New dynamic var.
1597 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1598 to return the author if different from committer.
1599 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1601 * play/landmark.el: Adjust commenting convention.
1602 (lm-nil-score): Rename from nil-score.
1603 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1604 (OOOOscore): Move into a let in lm-score-trans-table.
1605 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1607 * electric.el (electric-indent-chars): Autoload.
1608 * progmodes/octave-mod.el (octave-mode):
1609 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1610 (ruby-mode-abbrev-table): Merge initialization and declaration.
1612 2010-10-27 Glenn Morris <rgm@gnu.org>
1614 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1617 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1619 * term/ns-win.el: Restore require of cl when compiling.
1620 (menu-bar-final-items): Remove non-existent `windows' menu.
1621 (ns-handle-nxopen): Optionally handle the temp-case.
1622 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1623 (ns-insert-file, ns-find-file): Use `pop'.
1625 2010-10-26 Glenn Morris <rgm@gnu.org>
1627 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1629 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1631 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1633 * term/common-win.el (x-setup-function-keys): Remove most of the
1634 keymappings. Comment on the remaining ones.
1636 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1638 * server.el (server-port): New option. (Bug#854)
1639 (server-start): Use server-port.
1641 2010-10-26 Glenn Morris <rgm@gnu.org>
1643 * term/ns-win.el (ns-version-string): Remove unused declaration.
1644 (ns-invocation-args): Change to x-invocation-args.
1645 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1646 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1647 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1648 Use x-invocation-args instead of ns-invocation-args.
1649 (ns-initialize-window-system, handle-args-function-alist):
1650 Use x-handle-args instead of ns-handle-args.
1651 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1652 * startup.el (command-line-ns-option-alist): Replace
1653 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1654 ns-handle-iconic with the x- equivalents.
1656 * term/common-win.el (x-select-enable-clipboard):
1657 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1659 * term/ns-win.el: No need to require cl when compiling.
1660 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1661 (xw-defined-colors): Use the common-win definitions.
1662 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1663 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1664 * term/common-win.el (x-select-text, x-alternatives-map)
1665 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1666 * loadup.el [ns]: Load common-win.
1668 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1670 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1671 recipients; expand mail aliases (Bug#7280).
1673 2010-10-25 Glenn Morris <rgm@gnu.org>
1675 * term/common-win.el (x-handle-switch): Simplify with pop.
1676 Optionally handle numeric switches.
1677 (x-handle-numeric-switch): Just call x-handle-switch.
1678 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1679 (x-handle-name-switch, x-handle-display, x-handle-args):
1682 * term/ns-win.el: Do not require easymenu.
1683 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1684 <spell>: Move adjustments to menu-bar.el.
1685 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1686 <separator-undo, spell>: Move ns-win's adjustments here.
1687 * loadup.el [ns]: Do not load easymenu.
1689 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1691 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1694 * startup.el (fancy-startup-tail): Instead of using inline images,
1695 refer to image files from etc/.
1697 * wid-edit.el (checkbox): Likewise.
1698 (widget-image-find): Center image specs.
1700 2010-10-24 Glenn Morris <rgm@gnu.org>
1702 * term/ns-win.el (x-select-text): Doc fix.
1703 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1704 (x-select-text): Move to term/common-win.
1705 * term/w32-win.el (xw-defined-colors): Move to common-win.
1706 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1707 (x-setup-function-keys, x-select-text): Move to common-win.
1708 * term/common-win.el (x-select-text, x-alternatives-map)
1709 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1712 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1714 * net/mairix.el (mairix-searches-mode-map):
1715 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1717 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1719 * verilog-mode.el (verilog-directive-re): Make this variable
1720 auto-built for efficiency of execution and updating.
1721 (verilog-extended-complete-re): Support 'pure' fucntion & task
1722 declarations (these have no bodies).
1723 (verilog-beg-of-statement): General cleanup to enable support of
1724 'pure' fucntion & task declarations (these have no bodies).
1725 These efforts together fix Verilog bug210 from veripool; which was also
1726 noticed by Steve Pearlmutter.
1727 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1728 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1729 Support `elsif. Reported by Shankar Giri.
1730 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1731 attribute handling for lining up declarations and assignments.
1732 (verilog-beg-of-statement-1): Fix issue where continued declaration
1733 is indented differently if it is after a begin..end clock.
1734 (verilog-in-attribute-p, verilog-skip-backward-comments)
1735 (verilog-skip-forward-comment-p): Support proper treatment of
1736 attributes by indent code. Reported by Jeff Steele.
1737 (verilog-in-directive-p): Fix comment to correctly describe function.
1738 (verilog-backward-up-list, verilog-in-struct-region-p)
1739 (verilog-backward-token, verilog-in-struct-p)
1740 (verilog-in-coverage-p, verilog-do-indent)
1741 (verilog-pretty-declarations): Use verilog-backward-up-list as
1742 wrapper around backward-up-list inorder to properly skip comments.
1743 Reported by David Rogoff.
1744 (verilog-property-re, verilog-endcomment-reason-re)
1745 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1746 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1747 of if). Reported by Max Bjurling and
1748 (verilog-calc-1): Fix for clocking block in modport
1749 declaration. Reported by Brian Hunter.
1751 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1753 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1754 (verilog-gate-keywords, verilog-read-sub-decls)
1755 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1756 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1757 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1758 (verilog-read-decls): Fix spaces in V2K module parameters causing
1759 mis-identification as interfaces, bug287.
1760 (verilog-read-decls): Fix not treating "parameter string" as a
1761 parameter in AUTOINSTPARAM.
1762 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1763 treating `elsif similar to `endif inside AUTOSENSE.
1764 (verilog-do-indent): Implement correct automatic or static task or
1765 function end comment highlight. Reported by Steve Pearlmutter.
1766 (verilog-font-lock-keywords-2): Fix highlighting of single
1767 character pins, bug264. Reported by Michael Laajanen.
1768 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1769 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1770 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1771 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1772 (verilog-pretty-expr): Fix interactive arguments, bug272.
1773 Reported by Mark Johnson.
1774 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1775 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1776 bug269. Suggested by Gary Delp.
1777 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1778 (verilog-preprocessor, verilog-set-compile-command):
1779 Create verilog-preprocess and verilog-preprocessor to show
1780 preprocessed output.
1781 (verilog-get-beg-of-line, verilog-get-end-of-line)
1782 (verilog-modi-file-or-buffer, verilog-modi-name)
1783 (verilog-modi-point, verilog-within-string): Move defmacro's
1784 before first use to avoid warning. Reported by Steve Pearlmutter.
1785 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1786 (verilog-colorize-region, verilog-highlight-buffer)
1787 (verilog-highlight-includes, verilog-highlight-modules)
1788 (verilog-highlight-region, verilog-mode): Rename colorize to
1789 highlight to match other packages. Disable module highlighting,
1790 as received speed complaints, reenable for experimentation only
1791 using new verilog-highlight-modules.
1792 (verilog-read-decls): Fix regexp stack overflow in very large
1793 AUTO_TEMPLATEs, bug250.
1794 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1795 (verilog-scan): Create verilog-save-buffer-state to standardize
1796 making insignificant changes that shouldn't call hooks.
1797 (verilog-save-no-change-functions, verilog-save-scan-cache)
1798 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1799 Create verilog-save-no-change-functions to wrap verilog-scan
1800 preservation, and fix to work with nested preserved calls.
1801 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1802 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1803 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1804 (verilog-submit-bug-report): Update variable list to be complete.
1805 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1806 breaking on-the-fly font-locking.
1807 (verilog-colorize-buffer, verilog-colorize-include-files)
1808 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1809 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1810 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1811 AUTOINST cell instance name, middle mouse button now finds-file on
1812 it. Suggested by Brad Dobbie.
1813 (verilog-alw-get-temps, verilog-auto-reset)
1814 (verilog-auto-sense-sigs, verilog-read-always-signals)
1815 (verilog-read-always-signals-recurse): Fix loop indexes being
1816 AUTORESET. AUTORESET now assumes any variables in the
1817 initialization section of a for() should be ignored.
1818 Reported by Dan Dever.
1819 (verilog-error-font-lock-keywords)
1820 (verilog-error-regexp-emacs-alist)
1821 (verilog-error-regexp-xemacs-alist): Fix error detection of
1822 Cadence HAL, reported by David Asher. Repair drift between the
1823 three similar error variables.
1824 (verilog-modi-lookup, verilog-modi-lookup-cache)
1825 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1826 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1827 Fix slow verilog-auto expansion on very large files.
1828 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1829 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1830 "{1*2{...". Broke in last revision.
1831 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1832 submodule connections with replications "{#{a},#{b}}".
1834 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1836 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1837 Fix typo in docstring.
1839 2010-10-24 Kenichi Handa <handa@m17n.org>
1841 * face-remap.el (text-scale-adjust): Call read-event with a proper
1844 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1846 * emacs-lisp/unsafep.el: Don't mark functions that display
1847 messages as safe. Suggested by Johan Bockgård.
1849 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1852 Turn comments into docstrings.
1854 * minibuffer.el (completion--replace): Move point where it belongs
1855 when there's a common suffix (bug#7215).
1857 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1859 Merge read-color and facemenu-read-color (Bug#7242).
1861 * faces.el (read-color): Use the completion code from
1862 facemenu-read-color. Require match in completion. Doc fix.
1864 * facemenu.el (facemenu-read-color): Alias for read-color.
1865 (facemenu-set-foreground, facemenu-set-background):
1868 * frame.el (set-background-color, set-foreground-color)
1869 (set-cursor-color, set-mouse-color, set-border-color):
1872 2010-10-24 Leo <sdl.web@gmail.com>
1874 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1875 argument of delete-file and delete-directory (Bug#7011).
1877 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1879 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1882 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1884 * emacs-lisp/package.el (package--generate-package-list): Make the
1885 *Packages* buffer read-only.
1887 2010-10-24 Alan Mackenzie <acm@muc.de>
1889 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1890 result of `c-beginning-of-decl-1' between invocations of a lambda
1891 function (Bug #7265).
1893 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1895 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1896 executable is not available on the system (Bug#7268).
1898 2010-10-24 Glenn Morris <rgm@gnu.org>
1900 * select.el (selection-coding-system, next-selection-coding-system):
1901 Sync doc with C versions.
1903 * w32-vars.el (x-select-enable-clipboard):
1904 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1905 * term/common-win.el (x-select-enable-clipboard): Move here.
1907 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1908 definition of C variable.
1910 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1911 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1912 Don't redefine things that are defined in C.
1913 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1914 (show-trailing-whitespace, auto-hscroll-mode)
1915 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1916 Set up the appropriate custom properties.
1918 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1921 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1922 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1923 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1924 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1926 2010-10-23 Glenn Morris <rgm@gnu.org>
1928 * textmodes/flyspell.el (flyspell-mode): If there was an error,
1931 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1932 Sync docs with C version.
1934 * term/ns-win.el (xw-defined-colors):
1935 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1937 * term/pc-win.el (x-select-enable-clipboard):
1938 * term/x-win.el (x-select-enable-clipboard):
1939 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1941 * comint.el (comint-password-prompt-regexp): Make it less vague.
1944 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1946 * help.el (finder-by-keyword): Remove unnecessary autoload.
1948 2010-10-22 Glenn Morris <rgm@gnu.org>
1950 * loadup.el: Unconditionally load float-sup.
1951 * paren.el (show-paren-delay):
1952 * emacs-lisp/float-sup.el:
1953 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1954 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1955 (lazy-lock-stealth-verbose): Assume float support.
1956 * ps-print.el: Assume float support on Emacs.
1957 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1958 Remove non-float branch.
1960 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1961 src/Makefile no longer being pre-processed.
1963 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1965 * emacs-lisp/find-func.el (find-library): Use test-completion.
1967 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1969 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1971 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
1973 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1974 space in stat format string.
1975 (tramp-send-command): Unset $PS1 when using here documents, in
1976 order not to get several prompts.
1977 (tramp-get-inline-coding): Return `nil' in case of errors.
1979 2010-10-21 Daiki Ueno <ueno@unixuser.org>
1981 * hexl.el (hexl-mode, hexl-mode-exit):
1982 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1983 (hexl-revert-buffer-function): New function.
1984 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1986 2010-10-19 Alan Mackenzie <acm@muc.de>
1988 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1989 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1990 that these keywords aren't wrongly matched as identifiers.
1992 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1993 setting of c-new-BEG and c-new-END from c-before-change to
1994 c-after-change. (Bug#7181)
1996 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1998 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2001 * custom.el (custom-theme-set-variables): Likewise.
2002 (load-theme): Add custom-theme-set-faces and
2003 custom-theme-set-variables to safe-functions while loading.
2004 (custom-enabled-themes): Mark as risky.
2006 2010-10-18 Julien Danjou <julien@danjou.info>
2008 * bindings.el: Remove end dashes in default mode-line-format.
2010 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2012 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2013 to delete-forward-char.
2015 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2016 deletechar, and hence delete-forward-char.
2018 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2020 * repeat.el (repeat): Use read-key (bug#6256).
2022 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2024 * emacs-lisp/unsafep.el: Don't mark functions that display
2025 messages as safe. Suggested by Johan Bockgård.
2027 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2029 * minibuffer.el (completion--replace): Move point where it belongs
2030 when there's a common suffix (bug#7215).
2032 2010-10-19 Kenichi Handa <handa@m17n.org>
2034 * international/characters.el: Add category '|' (word breakable)
2035 to fullwidth characters.
2037 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2039 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2040 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2041 order to make stat results a float. Patch by Andreas Schwab
2042 <schwab@linux-m68k.org>.
2044 2010-10-18 Julien Danjou <julien@danjou.info>
2046 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2047 hidden by `make-pointer-invisible'.
2049 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2051 * files.el (locate-file-completion-table): Strip non-matching elements
2052 before checking length of list (bug#7238).
2054 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2056 * custom.el (custom-theme-set-variables): Mark as a safe function.
2057 (load-theme): Check forms using unsafep.
2059 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2061 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2063 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2064 Fix aspell data file searching (bug#7230).
2066 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2068 * cus-theme.el (custom-theme--migrate-settings): New var.
2069 (customize-create-theme): Allow editing the `user' theme.
2070 (custom-theme-add-variable, custom-theme-add-var-1)
2071 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2072 to the front of each variable or face widget.
2073 (custom-theme-write): Save theme settings in the correct order.
2074 Optionally, remove saved settings from user customizations.
2075 (custom-theme-write-variables, custom-theme-write-faces):
2076 Save only the checked widgets.
2077 (customize-themes): Add a link for migrating custom settings.
2079 * custom.el (custom-declare-theme, provide-theme):
2080 Use custom-theme-name-valid-p.
2081 (custom-theme-name-valid-p): Remove checks that are now
2082 unnecessary since themes no longer obey load-path.
2084 * cus-edit.el (custom-variable-value-create): For the simple
2085 style, hide documentation string when hidden.
2087 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2089 * cus-edit.el (custom-variable, custom-face): Combine the
2090 :inhibit-magic and :display-style properties into a single
2091 :custom-style property.
2092 (custom-toggle-hide-variable, custom-toggle-hide-face):
2093 New functions. If hiding an edited value, save it to :shown-value.
2094 (custom-variable-value-create, custom-face-value-create): Use them.
2095 (custom-magic-reset): Allow magic property to be unset.
2097 * custom.el: Custom themes no longer use load-path.
2098 (custom-theme-load-path): New option. Change built-in theme
2100 (custom-enabled-themes): Add custom-theme-load-path dependency.
2101 (custom-theme--load-path): New function.
2102 (load-theme, custom-available-themes): Use it.
2104 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2105 (customize-themes): Link to custom-theme-load-path variable.
2106 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2107 :custom-style property.
2109 * themes/*.el: Moved to etc/.
2111 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2113 * textmodes/reftex-cite.el
2114 (reftex-extract-bib-entries-from-thebibliography): Do not move
2115 point when searching for \bibitem entries. Match entries with
2116 spaces or tabs in front of arguments.
2118 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2120 * cus-theme.el (customize-create-theme): Delete overlays after
2121 erasing. If given a THEME arg, display only the faces of that arg
2122 instead of custom-theme--listed-faces.
2123 (custom-theme-variable-menu, custom-theme-variable-action)
2124 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2125 (custom-theme-add-variable, custom-theme-add-face): Apply value
2126 from the theme settings, instead of the current value.
2127 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2128 (custom-theme-visit-theme): Allow calling outside theme buffers.
2129 (custom-theme-merge-theme): Don't enable the theme when merging.
2130 (custom-theme-write-variables, custom-theme-write-faces): Use the
2131 :shown-value properties to save buffer values, not global ones.
2132 (customize-themes): Display a warning about user customizations.
2134 * cus-edit.el (custom-variable-value-create)
2135 (custom-face-value-create): Obey new special properties
2136 :shown-value and :inhibit-magic.
2138 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2140 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2141 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2144 2010-10-14 Kenichi Handa <handa@m17n.org>
2146 * mail/rmail.el (rmail-show-message-1): Catch an error of
2147 base64-decode-region and just show an error message (bug#7165).
2149 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2150 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2151 a font-spec (bug#7197).
2153 2010-10-14 Glenn Morris <rgm@gnu.org>
2155 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2157 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2159 * international/mule.el (define-coding-system):
2160 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2161 * composite.el (compose-region): Fix typo in docstring.
2163 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2165 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2166 only after checking the theme-face property.
2168 * faces.el (face-spec-reset-face): Reset all attributes in one
2169 single call to set-face-attribute.
2170 (face-spec-match-p): Make it a defsubst.
2171 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2172 (x-create-frame-with-faces, tty-create-frame-with-faces)
2173 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2174 frame-set-background-mode, since they are recomputed immediately
2175 afterwards in face-set-after-frame-default.
2176 (face-set-after-frame-default): Minor optimization.
2177 (cursor): Provide non-trivial defface spec.
2179 * custom.el (custom-theme-recalc-face): Simplify.
2181 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2183 * calc/calc-alg.el (math-var): Rename from `var'.
2184 (math-is-polynomial, math-is-poly-rec): Replace `var'
2187 * calc/calcalg2.el (math-var): Rename from `var'.
2188 (calcFunc-table, math-scan-for-limits): Replace `var'
2191 2010-10-13 Glenn Morris <rgm@gnu.org>
2193 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2195 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2197 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2199 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2201 * net/tls.el (tls-program): Remove spurious %s from openssl.
2202 (tls-starttls-switches): Remove starttls hack.
2203 (open-tls-stream): Ditto.
2204 (tls-find-starttls-argument): Ditto.
2206 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2208 * image.el (image-library-alist): Declare as obsolete alias.
2209 (image-type-available-p): Use `dynamic-library-alist'.
2211 * term/w32-win.el (dynamic-library-alist):
2212 Use instead of `image-library-alist'.
2214 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2216 * subr.el (last): Make it faster. (Bug#7174)
2218 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2220 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2222 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2224 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2225 (describe-theme-1): Extract doc from unloaded themes.
2227 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2229 * themes/tango-theme.el:
2230 * themes/tango-dark-theme.el:
2231 * themes/wheatgrass-theme.el: New files.
2233 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2235 * cus-theme.el (describe-theme, customize-themes)
2236 (custom-theme-save): New commands.
2237 (custom-new-theme-mode-map): Bind C-x C-s.
2238 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2239 (customize-create-theme): New optional arg THEME.
2240 (custom-theme-revert): Use it.
2241 (custom-theme-visit-theme): Remove dead code.
2242 (custom-theme-merge-theme): Use custom-available-themes.
2243 (custom-theme-write): Make interactive.
2244 (custom-theme-write): Use custom-theme-name-valid-p.
2245 (describe-theme-1, custom-theme-choose-revert)
2246 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2248 (custom-theme-allow-multiple-selections): New option.
2249 (custom-theme-choose-mode): New major mode.
2251 * custom.el (custom-theme-set-variables): Remove dead code.
2252 Obey custom--inhibit-theme-enable.
2253 (custom--inhibit-theme-enable): New var.
2254 (provide-theme): Obey it.
2255 (load-theme): Replace load with manual read/eval, in order to
2256 check for correctness. Use custom-theme-name-valid-p.
2257 (custom-theme-name-valid-p): New function.
2258 (custom-available-themes): Use it.
2260 * cus-edit.el (custom--initialize-widget-variables): New function.
2261 (Custom-mode): Use it.
2263 * cus-face.el (custom-theme-set-faces): Remove dead code.
2264 Obey custom--inhibit-theme-enable.
2266 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2268 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2270 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2272 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2274 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2275 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2276 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2278 * cus-start.el (all): ns-right-alternate-modifier is new.
2280 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2282 * emacs-lisp/lisp.el (lisp-completion-at-point):
2283 Use emacs-lisp-mode-syntax-table for the whole function.
2285 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2287 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2288 instead of font-lock-mode before adding keywords.
2289 Remove hi-lock-mode off code. Remove inhibit hack.
2290 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2291 non-nil; removed hook inhibit hack.
2293 2010-10-12 Glenn Morris <rgm@gnu.org>
2295 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2296 (load-path-shadows-find): ... to this.
2297 (list-load-path-shadows): Update for above change.
2299 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2301 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2303 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2304 Fix comment for declare-function.
2306 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2308 * custom.el (custom-fix-face-spec): New function; code moved from
2309 custom-face-edit-fix-value.
2310 (custom-push-theme): Use it when checking if a face has been
2311 changed outside customize.
2312 (custom-available-themes): New function.
2313 (load-theme): Use it.
2315 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2317 * custom.el (custom-push-theme): Cleanup (use cond).
2318 (disable-theme): Recompute the saved-face property.
2319 (custom-theme-recalc-face): Follow face alias before setting prop.
2321 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2322 New variables, containing checkbox images.
2324 * startup.el (fancy-startup-tail):
2325 * wid-edit.el (checkbox): Use them.
2327 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2329 * shell.el (shell-mode-map):
2330 * progmodes/modula2.el (m2-mode-map):
2331 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2332 * play/mpuz.el (mpuz-mode-map):
2333 * play/landmark.el (lm-mode-map):
2334 * play/decipher.el (decipher-mode-map):
2335 * play/5x5.el (5x5-mode-map):
2336 * net/telnet.el (telnet-mode-map):
2337 * net/quickurl.el (quickurl-list-mode-map):
2338 * net/mairix.el (mairix-searches-mode-map):
2339 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2340 * net/dig.el (dig-mode-map):
2341 * mail/mspools.el (mspools-mode-map):
2342 * hexl.el (hexl-mode-map):
2343 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2344 (wordstar-C-o-map, wordstar-C-q-map):
2345 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2346 * emacs-lisp/chart.el (chart-map):
2347 * edmacro.el (edmacro-mode-map):
2348 * erc/erc-list.el (erc-list-menu-mode-map):
2349 * array.el (array-mode-map): Declare and define in one step.
2351 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2353 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2355 * epa.el (epa-passphrase-callback-function): Display filename
2356 passed as the 3rd arg.
2357 * epa-file.el (epa-file-passphrase-callback-function):
2358 Pass filename to epa-passphrase-callback-function.
2360 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2362 * cus-edit.el (custom-face-widget-to-spec)
2363 (custom-face-get-current-spec, custom-face-state): New functions.
2364 (custom-face-set, custom-face-mark-to-save)
2365 (custom-face-value-create, custom-face-state-set): Use them.
2367 * cus-theme.el (custom-theme--listed-faces): New var.
2368 (customize-create-theme): Use *Custom Theme* as the buffer name.
2369 Set revert-buffer-function. Optional arg BUFFER. Insert all
2370 faces listed in custom-theme--listed-faces.
2371 (custom-theme-revert): New function.
2372 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2374 (custom-theme-write): Prompt for theme name if empty.
2375 (custom-theme-write-variables): Use dolist.
2376 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2378 2010-10-09 Alan Mackenzie <acm@muc.de>
2380 Enhance fontification of declarators to take account of the
2381 presence/absence of "typedef".
2383 * cc-engine.el (c-forward-type): New &optional param
2385 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2386 presence of either or both of a "struct"-like keyword and "typedef".
2388 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2389 fontification of declarators which follow a "}".
2390 (c-font-lock-declarations): Fontify declarators according to the
2391 presence/absence of "typedef".
2393 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2395 (c-typedef-decl-key): New lang variable built from
2396 c-typedef-decl-kwds.
2398 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2400 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2401 since that's too annoying. Move the filter groups commands to
2404 * epa.el (epa-passphrase-callback-function): Say what we're
2405 querying the password for.
2407 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2408 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2410 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2412 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2413 (custom-magic-value-create): Pad button tags with spaces.
2414 (custom-face-edit): New variable.
2415 (custom-face-value-create): Determine whether to use the usual
2416 face editor here, instead of using custom-face-selected.
2417 Pass face defaults to custom-face-edit widget.
2418 (custom-face-selected, custom-display-unselected): Delete widgets.
2419 (custom-display-unselected-match): Function removed.
2420 (custom-face-set, custom-face-mark-to-save):
2421 Accept custom-face-edit widgets as the direct widget child.
2423 * wid-edit.el (widget--completing-widget): New var.
2424 (widget-default-complete): Bind it when doing completion.
2425 (widget-string-complete, widget-file-complete): Use it.
2427 2010-10-09 Glenn Morris <rgm@gnu.org>
2429 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2430 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2431 (holiday-hebrew-misc): Small simplifications.
2433 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2435 * net/browse-url.el: Don't require thingatpt, term, dired,
2436 executable, or w3-auto when compiling.
2437 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2439 (browse-url-text-emacs): Require term.
2441 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2443 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2445 2010-10-08 Glenn Morris <rgm@gnu.org>
2447 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2449 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2450 (shadows-compare-text-p): Make it an obsolete alias for...
2451 (load-path-shadows-compare-text): ... new name.
2452 (find-emacs-lisp-shadows): Update for above name change.
2453 (load-path-shadows-same-file-or-nonexistent): New name for the old
2454 shadow-same-file-or-nonexistent.
2456 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2458 * minibuffer.el (completion--some, completion--do-completion)
2459 (minibuffer-complete-and-exit, minibuffer-completion-help)
2460 (completion-basic-try-completion)
2461 (completion-basic-all-completions)
2462 (completion-pcm--find-all-completions): Use lexical-let to
2463 avoid some false matches in variable completion (Bug#7056)
2465 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2467 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2469 2010-10-08 Leo <sdl.web@gmail.com>
2471 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2472 return non-nil if the file exists (Bug#7090).
2474 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2476 * minibuffer.el (completion--replace):
2477 Better preserve markers (bug#7138).
2479 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2481 * server.el (server-process-filter): Doc fix.
2483 2010-10-08 Drew Adams <drew.adams@oracle.com>
2485 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2487 2010-10-08 Glenn Morris <rgm@gnu.org>
2489 * vc/ediff-wind.el (ediff-setup-control-frame):
2490 * vc/ediff-ptch.el (ediff-default-backup-extension):
2491 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2492 (ediff-exec-process): Remove system-types emx, windows-95.
2494 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2496 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2498 * cus-edit.el (custom-variable, custom-face): Doc fix.
2499 (custom-face-edit): Add value-create attribute.
2500 (custom-face-edit-value-create)
2501 (custom-face-edit-value-visibility-action): New functions.
2502 Hide unused face attributes by default, and add a visibility toggle.
2503 (custom-face-edit-deactivate): Show empty values with shadow face.
2504 (custom-face-selected): Only use this for face specs with default
2506 (custom-face-value-create): Cleanup.
2508 * wid-edit.el (widget-checklist-value-create): Use dolist.
2509 (widget-checklist-match-find): Make second arg optional.
2511 2010-10-07 Glenn Morris <rgm@gnu.org>
2513 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2516 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2517 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2518 load-path-shadows-mode, update references.
2519 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2520 Rename variable and button.
2521 (list-load-path-shadows): Update button caller.
2523 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2525 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2526 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2527 (smie-merge-prec2s): Handle those new entries.
2528 (smie-prec2-levels): Only set precedence to nil for actual
2530 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2531 that is now unnecessary.
2533 2010-10-07 Miles Bader <miles@gnu.org>
2535 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2537 2010-10-07 Glenn Morris <rgm@gnu.org>
2539 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2540 (mail-position-on-field): Remove declarations.
2541 (mail-position-on-field): Autoload it.
2542 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2543 and mail-header-end. Don't require sendmail.
2545 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2546 (shadow-mode): New mode.
2547 (shadow-find-file): New button.
2548 (list-load-path-shadows): Use shadow-mode and buttons.
2550 * iimage.el (iimage-version): Remove.
2551 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2552 Turn into defcustoms.
2553 (iimage-mode-map): Give it a doc string.
2555 * calendar/appt.el (appt-activate): Give a warning rather than an error
2556 if there is no diary-file.
2558 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2560 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2561 Use `tramp-handle-find-backup-file-name'.
2563 2010-10-06 Glenn Morris <rgm@gnu.org>
2565 * font-core.el (font-lock-defaults-alist): Remove variable.
2566 (font-lock-mode): Doc fix.
2567 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2568 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2569 (font-lock-set-defaults): Doc fix.
2570 Do not consult font-lock-defaults-alist.
2572 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2574 * emacs-lisp/cl.el: No longer provide cl-19.
2576 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2578 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2579 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2580 New defuns, taken from tramp-smb.el.
2581 (tramp-coding-system-change-eol-conversion)
2582 (tramp-set-process-query-on-exit-flag): Remove.
2584 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2585 (tramp-compat-coding-system-change-eol-conversion)
2586 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2589 * net/tramp-gvfs.el:
2590 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2591 by `tramp-compat-set-process-query-on-exit-flag'.
2593 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2594 Use `tramp-handle-directory-files-and-attributes',
2595 `tramp-handle-file-exists-p' and
2596 `tramp-handle-file-newer-than-file-p'.
2597 (tramp-imap-handle-file-exists-p)
2598 (tramp-imap-handle-file-executable-p)
2599 (tramp-imap-handle-file-readable-p)
2600 (tramp-imap-handle-directory-files-and-attributes)
2601 (tramp-imap-handle-file-newer-than-file-p): Remove.
2603 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2604 by `tramp-compat-set-process-query-on-exit-flag' and
2605 `tramp-coding-system-change-eol-conversion' by
2606 `tramp-compat-coding-system-change-eol-conversion'.
2608 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2609 Use `tramp-handle-directory-files-and-attributes',
2610 `tramp-handle-file-exists-p' and
2611 `tramp-handle-file-newer-than-file-p'.
2612 (tramp-smb-handle-directory-files-and-attributes)
2613 (tramp-smb-handle-file-exists-p)
2614 (tramp-smb-handle-file-newer-than-file-p): Remove.
2615 (tramp-smb-maybe-open-connection):
2616 Replace `tramp-set-process-query-on-exit-flag' by
2617 `tramp-compat-set-process-query-on-exit-flag'.
2619 2010-10-05 Glenn Morris <rgm@gnu.org>
2621 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2623 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2625 Continue reorganization of load dependencies. (Bug#7156)
2627 * net/tramp.el (tramp-handle-file-local-copy-hook)
2628 (tramp-delete-temp-file-function): Move down.
2629 (tramp-exists-file-name-handler): Move up.
2630 (tramp-register-file-name-handlers): Simplify autoload.
2631 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2632 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2633 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2634 (tramp-handle-file-name-completion)
2635 (tramp-handle-file-name-directory)
2636 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2637 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2638 (tramp-handle-find-backup-file-name)
2639 (tramp-handle-insert-file-contents, tramp-handle-load)
2640 (tramp-handle-substitute-in-file-name)
2641 (tramp-handle-unhandled-file-name-directory)
2642 (tramp-mode-string-to-int, tramp-local-host-p)
2643 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2645 * net/tramp-gvfs.el (top):
2646 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2648 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2649 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2651 2010-10-04 Glenn Morris <rgm@gnu.org>
2653 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2654 (appt-activate): Give status messages.
2656 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2658 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2659 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2660 `gnutls-negotiate' (formerly `starttls-negotiate').
2661 Remove trivial wrapper `starttls-open-stream'.
2663 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2665 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2666 log-outgoing commands.
2667 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2668 to create a buffer local revert-buffer-function variable.
2669 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2670 revert-buffer-function lambda.
2672 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2674 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2675 `gnutls-boot'. Make TYPE the only required parameter.
2676 Allow TRUSTFILES and KEYFILES to be lists.
2677 (open-ssl-stream): Use it.
2679 2010-10-03 Glenn Morris <rgm@gnu.org>
2681 * subr.el (directory-sep-char): Remove obsolete variable.
2682 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2685 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2686 * vc/vc.el (vc-static-header-alist): Doc fix.
2687 * vc/vc-cvs.el (vc-cvs-header):
2688 * vc/vc-rcs.el (vc-rcs-header):
2689 * vc/vc-sccs.el (vc-sccs-header):
2690 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2691 * obsolete/vc-mcvs.el (vc-mcvs-header):
2692 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2695 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2697 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2698 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2700 2010-10-03 Glenn Morris <rgm@gnu.org>
2702 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2704 * textmodes/rst.el (rst-font-lock-keywords-function):
2707 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2709 * printing.el: Drop Emacs 20 code.
2711 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2712 without having used appt.el already).
2714 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2715 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2716 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2718 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2719 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2721 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2722 (charset-width, find-charset-region, chars-in-region, forward-point)
2723 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2724 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2725 Remove compatibility cruft (none of these are used by ps*.el).
2727 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2729 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2731 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2733 * server.el (server-process-filter, server-return-error):
2734 Give emacsclient time to shut down after receiving an error string.
2736 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2738 * files.el (remote-file-name-inhibit-cache): New defcustom.
2740 * time.el (display-time-file-nonempty-p):
2741 Use `remote-file-name-inhibit-cache'.
2743 * net/tramp.el (tramp-completion-reread-directory-timeout):
2746 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2747 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2748 `remote-file-name-inhibit-cache'. Check also for an integer
2749 value. Add/increase counter when `tramp-verbose' >= 10.
2750 (tramp-set-file-property): Add/increase counter when
2751 `tramp-verbose' >= 10.
2753 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2754 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2755 (tramp-bug): Set tramp-autoload cookie. Report all interned
2756 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2757 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2758 characters only in strings.
2760 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2761 to backward compatibility.
2763 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2764 (tramp-handle-file-name-all-completions)
2765 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2766 (tramp-open-connection-setup-interactive-shell):
2767 Call `tramp-cleanup-connection' directly.
2769 2010-10-02 Glenn Morris <rgm@gnu.org>
2771 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2773 * subr.el (char-bytes): Remove obsolete function.
2775 * isearch.el (isearch-return-char): Remove obsolete function.
2777 * mouse.el: No longer provide mldrag.
2778 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2779 Remove obsolete aliases.
2781 * comint.el (comint-kill-output): Remove obsolete alias.
2783 * composite.el (decompose-composite-char): Remove obsolete function.
2784 * ps-def.el (decompose-composite-char): Remove unused function.
2786 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2788 * outline.el (outline-visible): Remove obsolete function.
2790 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2791 * faces.el (internal-find-face, internal-get-face)
2792 (frame-update-faces, frame-update-face-colors)
2793 (x-frob-font-weight, x-frob-font-slant)
2794 (internal-frob-font-weight, internal-frob-font-slant)
2795 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2796 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2797 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2799 * emulation/viper-util.el (viper-get-face):
2800 * obsolete/lucid.el (find-face, get-face): Use facep.
2801 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2802 Remove unused functions.
2803 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2805 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2806 delete tempfile if interrupted during compilation.
2808 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2810 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2812 (tls-program): Add --insecure to be consistent with the defaults from
2813 openssl s_client. Now all three commands are insecure.
2815 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2817 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2818 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2819 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2821 2010-10-01 Glenn Morris <rgm@gnu.org>
2823 * obsolete/sc.el: Remove file.
2825 * files.el (temporary-file-directory): On darwin, also try
2826 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2828 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2830 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2831 Let's not break compatibility gratuitously, shall we?
2833 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2835 * net/tls.el (tls-starttls-switches): New variable.
2836 (tls-find-starttls-argument): Use it.
2837 (open-tls-stream): Ditto.
2839 * net/netrc.el (netrc-credentials): Return the value of the "default"
2841 (netrc-machine): Ditto.
2843 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2845 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2847 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2849 * server.el (server-start): Don't write pid to the authentication file.
2850 (server-create-tty-frame): Don't send pid.
2851 (server-process-filter): Send pid at the start of every connection.
2853 2010-09-30 Glenn Morris <rgm@gnu.org>
2855 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2856 (show-all-diary-entries): Remove obsolete function aliases.
2858 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2859 Remove options, obsolete since 22.1.
2860 (appt-display-format, appt-display-message):
2861 Remove backwards-compatibility code.
2862 (appt-check): No longer check appt-issue-message.
2863 (appt-make-list): No longer autoload it. Doc fix. No longer
2864 activate the package.
2866 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2868 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2869 (starttls-negotiate): Just call boot, and let the handshake be
2870 triggered from the read loop.
2872 2010-09-29 Glenn Morris <rgm@gnu.org>
2874 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2875 not displaying the diary.
2876 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2877 * calendar/appt.el (appt-check): No longer need to kill diary.
2879 * calendar/diary-lib.el (diary-list-entries): Move the
2880 "Preparing..." message entirely here.
2881 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2882 messages to diary-list-entries.
2883 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2884 diary-display-function.
2886 * calendar/diary-lib.el (diary-include-other-diary-files):
2887 Trap some recursive includes.
2889 * calendar/appt.el (appt-activate): Check diary file.
2891 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2893 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2896 * calendar/time-date.el: No need to require cl for Emacs 21.
2898 2010-09-28 Glenn Morris <rgm@gnu.org>
2900 * calendar/appt.el (appt-check): Minor simplification.
2902 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2904 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2907 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2909 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2910 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
2912 2010-09-27 Kenichi Handa <handa@m17n.org>
2914 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2917 2010-09-27 Kenichi Handa <handa@m17n.org>
2919 * international/mule.el (define-coding-system): Docstring fixed.
2921 * international/mule-diag.el (describe-character-set): Use princ
2922 with proper print-length and print-level instead of insert.
2924 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
2926 * window.el (walk-windows): Doc fix (bug#7105).
2928 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2930 * emacs-lisp/float-sup.el (e): Remove.
2932 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2934 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2936 (starttls-negotiate): Use it.
2938 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2940 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2943 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2945 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2947 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2949 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2951 * net/netrc.el (netrc-store-data): New function.
2953 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
2955 * net/gnutls.el: GnuTLS glue code to set up a connection.
2957 2010-09-25 Julien Danjou <julien@danjou.info>
2959 * notifications.el: Call dbus-register-signal only if it is bound.
2961 2010-09-25 Glenn Morris <rgm@gnu.org>
2963 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2964 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2965 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2966 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2967 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2968 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2969 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2970 * eshell/esh-util.el, eshell/esh-var.el:
2971 Remove leading `*' from docs of faces and defcustoms.
2973 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
2975 * eshell/em-ls.el (eshell-ls-archive-regexp):
2976 * eshell/esh-util.el (eshell-tar-regexp):
2977 * ibuffer.el (ibuffer-compressed-file-name-regexp):
2978 * info.el (Info-suffix-list):
2979 * international/mule.el (auto-coding-alist):
2980 * woman.el (woman-file-regexp, woman-file-compression-regexp):
2981 * progmodes/etags.el (tags-compression-info-list):
2982 Support xz compression.
2984 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
2986 * files.el (get-free-disk-space): Don't assume the "df" output
2987 columns line up (Bug#6995).
2989 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2991 * finder.el (finder-unknown-keywords):
2992 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2993 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2995 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2997 * server.el (server-start): Revert part of 2010-08-08 change. Using
2998 address 127.0.0.1 for local host is now done in Fmake_network_process.
3000 2010-09-24 Glenn Morris <rgm@gnu.org>
3002 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3003 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3004 * textmodes/css-mode.el, textmodes/dns-mode.el:
3005 Move autoloaded auto-mode-alist entries to files.el.
3006 * files.el (auto-mode-alist): Move entries here.
3008 2010-09-23 Glenn Morris <rgm@gnu.org>
3010 * isearch.el (isearch-lazy-highlight-cleanup)
3011 (isearch-lazy-highlight-initial-delay)
3012 (isearch-lazy-highlight-interval)
3013 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3014 * net/net-utils.el (ipconfig-program-options):
3015 Move aliases to options before the associated definitions.
3017 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3019 * newcomment.el (comment-normalize-vars): Better test validity of
3022 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3024 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3025 (float-e): New name for `e'.
3026 (degrees-to-radians, radians-to-degrees):
3027 * calendar/solar.el (solar-longitude):
3028 * calculator.el (calculator-registers, calculator-funcall):
3029 * textmodes/artist.el (artist-spray-random-points):
3030 * play/bubbles.el (bubbles--initialize-images): Use new names.
3032 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3034 Update to CEDET 1.0's version of EIEIO.
3036 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3038 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3039 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3040 (class-precedence-list): If class is nil, return nil.
3041 (eieio-generic-call): If class of first input arg is nil, don't
3042 look up static methods, and do check for primary methods.
3043 (initialize-instance): See if the default needs to be evaluated
3044 during the constructor.
3045 (eieio-perform-slot-validation-for-default): Don't do the check
3046 for values that will eventually be evaluated.
3047 (eieio-eval-default-p): New function.
3048 (eieio-default-eval-maybe): Use it.
3050 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3052 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3053 method-invocation-order.
3054 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3055 (eieio-class-precedence-dfs): Compute class precedence list using
3057 (eieio-class-precedence-bfs): Compute class precedence list using
3059 (eieio-class-precedence-c3): Compute class precedence list using
3061 (class-precedence-list): New function.
3062 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3063 (inconsistent-class-hierarchy): New error symbol.
3064 (call-next-method): Stow the replacement argument list for future
3065 call-next-method invocations.
3067 2010-09-23 Glenn Morris <rgm@gnu.org>
3069 * calendar/appt.el (appt-check): If not displaying the diary,
3070 use (diary 1) to only get the entries we need.
3071 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3072 that it is in day order. (Bug#7019)
3074 * calendar/appt.el (appt-check): Rather than showing the diary,
3075 just turn off invisible display, and only if needed.
3077 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3079 2010-09-23 Glenn Morris <rgm@gnu.org>
3081 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3082 (byte-compile-defvar, byte-compile-cl-warn):
3083 Start warnings with lower-case, like the majority.
3085 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3087 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3089 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3090 * files.el (auto-mode-alist): Move ld-script entries here, further down
3093 * vc/add-log.el: Don't require timezone when compiling.
3094 (timezone-make-date-sortable): Autoload it.
3095 (change-log-sortable-date-at): Don't require timezone.
3096 Use `ignore-errors'.
3098 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3099 Move alias before definition, so it does not need autoloading.
3101 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3102 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3103 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3104 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3105 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3106 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3107 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3108 * textmodes/tex-mode.el, textmodes/two-column.el:
3109 Remove leading `*' from docs of defcustoms etc.
3111 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3113 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3115 2010-09-22 Dan Christensen <jdc@uwo.ca>
3117 * calendar/time-date.el (date-to-time): Try using parse-time-string
3118 first before using the slower timezone-make-date-arpa-standard.
3120 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3122 * calendar/time-date.el (format-seconds): Comment fix.
3124 2010-09-22 Glenn Morris <rgm@gnu.org>
3126 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3127 is not automatically buffer-local.
3129 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3131 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3132 (smie-indent-comment): Be more careful with comment-start-skip.
3133 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3134 (smie-indent-functions): Use them.
3136 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3138 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3140 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3142 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3143 tool-bar-position. Don't modify frame parameters here.
3144 (menu-bar-options-save): Add tool-bar-position.
3146 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3148 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3150 * textmodes/reftex-parse.el (reftex-what-macro)
3151 (reftex-context-substring): Let-bind forward-sexp-function to nil
3152 since we don't need/want to treat \begin...\end as a block (bug#7053).
3154 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3156 * simple.el (blink-matching-open): Use syntax-class.
3158 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3159 Set invisibility spec for pascal's outline mode.
3160 (pascal-outline-change): Clean up calling convention.
3161 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3163 * progmodes/prolog.el (prolog-smie-forward-token)
3164 (prolog-smie-backward-token): New functions.
3165 (prolog-mode-variables): Use them to parse "!," correctly.
3166 Set up smie-blink-matching for ".".
3168 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3170 (ispell-region, ispell-process-line): Update users.
3172 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3175 * textmodes/ispell.el: Fix commenting convention.
3176 (ispell-parse-output): Simplify, use push.
3177 (ispell-region): Use match-string-no-properties.
3178 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3179 (ispell-minor-mode): Use define-minor-mode.
3180 (ispell-message): Remove unused var `skip-regexp'.
3181 (ispell-add-per-file-word-list): Use dynamic let-binding.
3182 Try and use the proper comment marker.
3184 * mail/sendmail.el: Fix commenting convention.
3185 (sendmail-send-it): Use line-beginning-position.
3187 * help-fns.el (describe-variable): Add original value, if applicable.
3189 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3191 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3193 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3195 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3197 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3198 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3199 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3200 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3201 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3202 something like "." can also be a closer.
3203 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3204 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3205 Rename internal functions to use "--". Update callers.
3207 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3209 * fringe.el (fringe-styles): New var.
3210 (fringe-mode, fringe-query-style): Use it.
3212 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3214 * progmodes/sql.el: Version 2.8
3215 (sql-login-params): Update widget structure; changes still needed.
3216 (sql-product-alist): Add :list-all and :list-table features for
3217 SQLite, Postgres and MySQL products.
3218 (sql-redirect): Handle default value.
3219 (sql-execute, sql-execute-feature): New functions.
3220 (sql-read-table-name): New function.
3221 (sql-list-all, sql-list-table): New functions. User API.
3222 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3223 for above functions.
3224 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3225 for above functions.
3226 (sql-postgres-login-params): Add user and database defaults.
3227 (sql-buffer-live-p): Bug fix.
3228 (sql-product-history): New variable.
3229 (sql-read-product): New function. Use it.
3230 (sql-set-product, sql-product-interactive): Use it.
3231 (sql-connection-history): New variable.
3232 (sql-read-connection): New function. Use it.
3233 (sql-connect): New function.
3234 (sql-for-each-login): Redesign function interface.
3235 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3236 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3237 (sql-comint): Check for program. Existing live buffer.
3238 (sql-comint-postgres): Add port parameter.
3240 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3242 * emacs-lisp/warnings.el: Fix commenting convention.
3243 (display-warning): Use special mode and make the buffer read-only.
3245 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3247 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3248 empty string when it follows a repeated or optional pattern.
3250 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3252 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3253 (indent-region): Use indent-according-to-mode.
3255 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3257 * fringe.el (fringe-mode): Doc fix.
3259 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3261 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3262 refreshing the preview buffer.
3264 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3267 (latex-syntax-propertize-rules): New consts; replace
3268 tex-font-lock-syntactic-keywords.
3269 (tex-env-mark, latex-env-before-change): New functions.
3270 (latex-electric-env-pair-mode): New minor mode.
3271 (tex-font-lock-verb): Change arguments; do move point.
3272 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3273 representation as a form of comment.
3274 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3275 (doctex-syntax-propertize-rules): New const; replaces
3276 doctex-font-lock-syntactic-keywords.
3277 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3279 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3280 (fortran-make-syntax-propertize-function): New function; replaces
3281 fortran-font-lock-syntactic-keywords.
3282 (fortran-mode): Use it.
3283 (fortran-line-length): Use it. Improve interactive spec.
3285 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3286 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3287 when adding surrounding \(..\).
3289 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3291 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3293 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3294 Use with-current-buffer.
3296 * isearch.el (isearch-face): Rename from `isearch'.
3297 (isearch-highlight): Use new name.
3299 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3301 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3302 5, for `half' width fringes. (Bug#6933)
3304 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3306 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3307 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3309 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3311 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3313 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3314 in calculating new frame position. Add more space between new and
3315 parent on the left (Bug#7048).
3317 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3319 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3322 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3324 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3326 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3327 obsolete alias for x-selection-value.
3329 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3331 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3333 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3336 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3338 * net/tramp-compat.el (tramp-compat-with-temp-message)
3339 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3340 (tramp-compat-process-put): New defuns.
3342 * net/tramp.el (top):
3343 * net/tramp-gvfs.el (top):
3344 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3346 * net/tramp.el (tramp-progress-reporter-update):
3347 Use `tramp-compat-funcall'.
3349 * net/tramp.el (tramp-process-actions):
3350 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3351 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3352 (tramp-get-remote-stat, tramp-get-remote-readlink):
3353 Use `tramp-compat-with-temp-message'.
3355 * net/tramp-sh.el (top): Require 'cl.
3356 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3357 (tramp-open-connection-setup-interactive-shell):
3358 Use `tramp-compat-process-put'.
3360 2010-09-15 Alan Mackenzie <acm@muc.de>
3362 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3364 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3366 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3368 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3369 `lexical' for warnings related to lexical scoping.
3370 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3371 global vars which don't have a prefix and could hence affect lexical
3372 scoping in unrelated files.
3374 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3376 * net/imap.el: Revert back to version
3377 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3380 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3382 * obsolete/old-whitespace.el (whitespace-unload-function):
3383 Explicitly pass `obarray' to `unintern' to avoid a warning.
3385 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3387 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3388 Add `when' argument. Update callers.
3390 * subr.el (unintern): Declare the obarray arg mandatory.
3392 2010-09-14 Glenn Morris <rgm@gnu.org>
3394 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3397 * calendar/diary-lib.el (diary-included-files): New variable.
3398 (diary-list-entries): Maybe initialize diary-included-files.
3399 (diary-include-other-diary-files): Append to diary-included-files.
3400 * calendar/appt.el (appt-update-list): Also check the members of
3401 diary-included-files. (Bug#6999)
3402 (appt-check): Doc fix.
3404 2010-09-14 David Reitter <david.reitter@gmail.com>
3406 * simple.el (line-move-visual): Do not truncate goal column to
3407 integer size. (Bug#7020)
3409 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * repeat.el (repeat): Allow repeating when the last event is a click.
3412 Suggested by Drew Adams (bug#6256).
3414 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3416 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3417 Replace setting HGRCPATH to "" by some less invasive --config options.
3419 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3421 * font-lock.el (font-lock-beginning-of-syntax-function):
3424 2010-09-14 Glenn Morris <rgm@gnu.org>
3426 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3427 and tool-bar modes. (Bug#6211)
3428 (menu-bar-mode): Move setting of standard-value after the
3429 minor-mode definition, otherwise it seems to have no effect.
3431 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3433 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3434 Fix typo. (Bug#6976)
3436 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3438 * whitespace.el: Allow cleaning up blanks without blank
3439 visualization (Bug#6651). Adjust help window for
3440 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3441 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3442 (whitespace-style): Add new value 'face. Adjust docstring.
3443 (whitespace-space, whitespace-hspace, whitespace-tab):
3444 Adjust foreground property face.
3445 (whitespace-line-column): Adjust docstring and type declaration.
3446 (whitespace-style-value-list, whitespace-toggle-option-alist)
3447 (whitespace-help-text): Adjust const initialization.
3448 (whitespace-toggle-options, global-whitespace-toggle-options):
3450 (whitespace-display-window, whitespace-interactive-char)
3451 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3452 (whitespace-help-scroll): New fun.
3454 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3456 * calendar/time-date.el (format-seconds): Comment fix.
3458 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3460 * progmodes/sql.el: Version 2.7.
3461 (sql-buffer-live-p): Improve detection.
3462 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3463 (sql-set-sqli-buffer): Use it.
3464 (sql-product-interactive): Run `sql-set-sqli-hook'.
3465 (sql-rename-buffer): Code cleanup.
3466 (sql-redirect, sql-redirect-value): New functions. More to come.
3468 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3470 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.
3471 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3472 (TRAMP_SRC): New macro.
3473 ($(lisp)/net/tramp-loaddefs.el): New target.
3475 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3477 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3479 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3481 * net/tramp.el (top): Don't show loading message. Require just
3482 'tramp-compat, everything else is required there.
3483 Use `ignore-errors' where appropriate.
3484 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3485 (tramp-terminal-type, tramp-end-of-output)
3486 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3487 (tramp-completion-function-alist-ssh)
3488 (tramp-completion-function-alist-telnet)
3489 (tramp-completion-function-alist-su)
3490 (tramp-completion-function-alist-putty, tramp-remote-path)
3491 (tramp-remote-process-environment, tramp-sh-extra-args)
3492 (tramp-actions-before-shell, tramp-uudecode)
3493 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3494 (tramp-perl-file-attributes)
3495 (tramp-perl-directory-files-and-attributes)
3496 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3497 (tramp-perl-encode, tramp-perl-decode)
3498 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3499 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3500 (tramp-handle-make-symbolic-link, tramp-handle-load)
3501 (tramp-handle-file-name-as-directory)
3502 (tramp-handle-file-name-directory)
3503 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3504 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3505 (tramp-do-file-attributes-with-ls)
3506 (tramp-do-file-attributes-with-perl)
3507 (tramp-do-file-attributes-with-stat)
3508 (tramp-handle-set-visited-file-modtime)
3509 (tramp-handle-verify-visited-file-modtime)
3510 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3511 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3512 (tramp-handle-file-selinux-context)
3513 (tramp-handle-set-file-selinux-context)
3514 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3515 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3516 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3517 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3518 (tramp-handle-file-ownership-preserved-p)
3519 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3520 (tramp-handle-directory-files-and-attributes)
3521 (tramp-do-directory-files-and-attributes-with-perl)
3522 (tramp-do-directory-files-and-attributes-with-stat)
3523 (tramp-handle-file-name-all-completions)
3524 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3525 (tramp-handle-copy-file, tramp-handle-copy-directory)
3526 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3527 (tramp-do-copy-or-rename-file-via-buffer)
3528 (tramp-do-copy-or-rename-file-directly)
3529 (tramp-do-copy-or-rename-file-out-of-band)
3530 (tramp-handle-make-directory, tramp-handle-delete-directory)
3531 (tramp-handle-delete-file)
3532 (tramp-handle-dired-recursive-delete-directory)
3533 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3534 (tramp-handle-insert-directory)
3535 (tramp-handle-unhandled-file-name-directory)
3536 (tramp-handle-expand-file-name)
3537 (tramp-handle-substitute-in-file-name)
3538 (tramp-handle-executable-find, tramp-process-sentinel)
3539 (tramp-handle-start-file-process, tramp-handle-process-file)
3540 (tramp-handle-call-process-region, tramp-handle-shell-command)
3541 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3542 (tramp-handle-insert-file-contents)
3543 (tramp-handle-insert-file-contents-literally)
3544 (tramp-handle-find-backup-file-name)
3545 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3546 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3547 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3548 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3549 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3550 (tramp-find-file-exists-command, tramp-open-shell)
3551 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3552 (tramp-open-connection-setup-interactive-shell)
3553 (tramp-local-coding-commands, tramp-remote-coding-commands)
3554 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3555 (tramp-inline-compress-commands, tramp-find-inline-compress)
3556 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3557 (tramp-send-command, tramp-wait-for-output)
3558 (tramp-send-command-and-check, tramp-barf-unless-okay)
3559 (tramp-send-command-and-read, tramp-mode-string-to-int)
3560 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3561 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3562 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3563 (tramp-method-out-of-band-p, tramp-local-host-p)
3564 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3565 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3566 (tramp-get-test-command, tramp-get-test-nt-command)
3567 (tramp-get-file-exists-command, tramp-get-remote-ln)
3568 (tramp-get-remote-perl, tramp-get-remote-stat)
3569 (tramp-get-remote-readlink, tramp-get-remote-trash)
3570 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3571 (tramp-get-local-uid, tramp-get-local-gid)
3572 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3574 (tramp-methods, tramp-default-method-alist)
3575 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3576 Move initialization to tramp-sh.el.
3577 (tramp-temp-name-prefix): Make it a defconst.
3578 (tramp-dissect-file-name): Don't check anymore for multi-hop
3580 (tramp-debug-outline-regexp): Add a docstring.
3581 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3582 (tramp-get-debug-buffer): Use it.
3584 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3585 initialization forms.
3586 (tramp-set-connection-property): Don't protect `tramp-message'
3587 call, it isn't necessary any longer.
3588 (tramp-dump-connection-properties): Use `ignore-errors'.
3590 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3591 'password-cache and 'auth-source.
3593 * net/tramp-gvfs.el (top):
3594 * net/tramp-smb.el (top): Require 'tramp-sh.
3596 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3598 * net/tramp-sh.el: New file, derived from tramp.el.
3599 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3600 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3601 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3602 Use `ignore-errors' where appropriate.
3603 (tramp-sh-file-name-handler-alist): Rename from
3604 `tramp-file-name-handler-alist'.
3605 (tramp-send-command-and-check): Return t or nil. Remove all
3606 `zerop' checks, where called.
3607 (tramp-handle-set-file-modes)
3608 (tramp-do-copy-or-rename-file-directly)
3609 (tramp-handle-delete-directory, tramp-handle-delete-file)
3610 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3611 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3612 (tramp-get-remote-ln): Set tramp-autoload cookie.
3614 * net/tramp-fish.el: Remove file.
3616 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3618 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3619 buffer-file-name to avoid file-locking. (Bug#7026)
3621 2010-09-13 Julien Danjou <julien@danjou.info>
3623 * notifications.el (notifications-notify): Add support for
3624 image-path and sound-name.
3625 (notifications-specification-version): Add this variable.
3627 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3629 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3631 2010-09-12 Leo <sdl.web@gmail.com>
3633 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3634 (rcirc-completion-start): New variables.
3635 (rcirc-nick-completions): Rename to rcirc-completions.
3636 (rcirc-nick-completion-start-offset): Delete.
3637 (rcirc-completion-at-point): New function for constructing
3638 completion data for both nicks and irc commands. Add to
3639 completion-at-point-functions in rcirc mode.
3640 (rcirc-complete): Rename from rcirc-nick-complete; use
3641 rcirc-completion-at-point.
3642 (defun-rcirc-command): Update rcirc-client-commands.
3644 2010-09-11 Glenn Morris <rgm@gnu.org>
3646 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3647 atomically, to avoid parallel build errors. (Bug#4196)
3649 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3651 * progmodes/sql.el: Version 2.6
3652 (sql-dialect): Synonym for "sql-product".
3653 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3654 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3655 Set "sql-buffer" to buffer name not buffer object so multiple sql
3656 interactive buffers work properly. Reverts misguided changes in
3658 (sql-comint): Make sure different buffer name is used if "*SQL*"
3659 buffer is for a different product.
3660 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3662 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3663 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3664 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3665 Accept new buffer name or prompt for one.
3666 (sql-port): Default to zero.
3667 (sql-comint-mysql): Handle "sql-port" as a numeric.
3668 (sql-port-history): Delete unused variable.
3669 (sql-get-login): Default "sql-port" to a number.
3670 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3671 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3672 "sqlite3" executables.
3673 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3674 (sql-buffer-live-p): New function.
3675 (sql-mode-menu, sql-send-string): Use it.
3676 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3678 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3679 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3681 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3683 * net/netrc.el (netrc-credentials): New convenience function.
3685 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3687 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3688 to replace texinfo-font-lock-syntactic-keywords.
3689 (texinfo-mode): Use it.
3691 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3692 Use syntax-propertize-function.
3694 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3695 replace sgml-font-lock-syntactic-keywords.
3696 (sgml-mode): Use it.
3698 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3699 since we don't use it.
3701 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3703 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3705 (vhdl-fontify-buffer): Adjust.
3707 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3708 replace tcl-font-lock-syntactic-keywords.
3711 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3712 replace simula-font-lock-syntactic-keywords.
3713 (simula-mode): Use it.
3715 * progmodes/sh-script.el (sh-st-symbol): Remove.
3716 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3717 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3718 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3719 (sh-font-lock-paren): Set syntax-multiline.
3720 (sh-font-lock-syntactic-keywords): Remove.
3721 (sh-syntax-propertize-function): New function to replace it.
3724 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3725 Define while compiling.
3726 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3727 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3728 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3729 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3730 (ruby-here-doc-end-syntax): Only define when
3731 syntax-propertize is not available.
3732 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3734 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3735 (electric-indent-chars): Silence bytecompiler.
3736 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3737 electric-indent-chars.
3739 * progmodes/python.el (python-syntax-propertize-function): New var to
3740 replace python-font-lock-syntactic-keywords.
3741 (python-mode): Use it.
3742 (python-quote-syntax): Simplify and adjust to new use.
3744 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3745 replace perl-font-lock-syntactic-keywords.
3746 (perl-syntax-propertize-special-constructs): New fun to replace
3747 perl-font-lock-special-syntactic-constructs.
3748 (perl-font-lock-syntactic-face-function): New fun.
3749 (perl-mode): Use it.
3751 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3752 to replace octave-font-lock-close-quotes.
3753 (octave-syntax-propertize-function): New function to replace
3754 octave-font-lock-syntactic-keywords.
3755 (octave-mode): Use it.
3757 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3758 replaces mixal-font-lock-syntactic-keywords.
3759 (mixal-mode): Use it.
3761 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3762 New var; replaces makefile-font-lock-syntactic-keywords.
3763 (makefile-mode): Use it.
3764 (makefile-imake-mode): Adjust.
3766 * progmodes/js.el (js--regexp-literal): Define while compiling.
3767 (js-syntax-propertize-function): New var; replaces
3768 js-font-lock-syntactic-keywords.
3771 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3772 replaces gdb-script-font-lock-syntactic-keywords.
3773 (gdb-script-mode): Use it.
3775 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3776 (fortran--font-lock-syntactic-keywords): New var.
3777 (fortran-line-length): Update syntax-propertize-function and
3778 fortran--font-lock-syntactic-keywords.
3780 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3782 * progmodes/cfengine.el (cfengine-mode):
3783 Use syntax-propertize-function.
3784 (cfengine-font-lock-syntactic-keywords): Remove.
3786 * progmodes/autoconf.el (autoconf-mode):
3787 Use syntax-propertize-function.
3788 (autoconf-font-lock-syntactic-keywords): Remove.
3790 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3791 (ada-after-change-function, ada-initialize-syntax-table-properties)
3792 (ada-handle-syntax-table-properties): Only define when
3793 syntax-propertize is not available.
3794 (ada-mode): Use syntax-propertize-function.
3796 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3797 (font-lock-fontify-syntactic-keywords-region): Move handling of
3798 font-lock-syntactically-fontified to...
3799 (font-lock-default-fontify-region): ...here.
3800 Let syntax-propertize-function take precedence.
3801 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3803 * emacs-lisp/syntax.el (syntax-propertize-function)
3804 (syntax-propertize-chunk-size, syntax-propertize--done)
3805 (syntax-propertize-extend-region-functions): New vars.
3806 (syntax-propertize-wholelines, syntax-propertize-multiline)
3807 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3808 (syntax-propertize): New functions.
3809 (syntax-propertize-rules): New macro.
3810 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3811 (syntax-ppss): Call syntax-propertize.
3813 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3815 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3817 * textmodes/ispell.el (ispell-init-process): Improve comments.
3818 XEmacs compatibility changes regarding (add-hook) 'local option
3819 and (set-process-query-on-exit-flag).
3821 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3823 * net/tramp-cache.el (tramp-parse-connection-properties):
3824 Set tramp-autoload cookie.
3826 2010-09-09 Glenn Morris <rgm@gnu.org>
3828 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3829 (imagemagick-register-types): Doc fix.
3831 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3833 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3835 * progmodes/js.el (require): Require is already "eval-and-compile".
3836 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3837 (js--re-search-backward): Use js--re-search-forward.
3839 * progmodes/fortran.el (fortran-line-length): Don't recompute
3840 syntactic keywords redundantly a second time.
3842 * progmodes/ada-mode.el: Replace "(set '" with setq.
3843 (ada-mode): Simplify.
3844 (ada-create-case-exception, ada-adjust-case-interactive)
3845 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3846 (ada-search-ignore-string-comment, ada-move-to-start)
3847 (ada-move-to-end): Use with-syntax-table.
3849 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3850 (font-lock-unfontify-region, font-lock-default-fontify-region):
3851 Update usage correspondingly.
3852 (font-lock-fontify-syntactic-keywords-region):
3853 Set parse-sexp-lookup-properties buffer-locally here.
3854 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3856 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3858 2010-09-08 Glenn Morris <rgm@gnu.org>
3860 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3861 Error if not compiled with -DBYTE_CODE_METER.
3863 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3864 Ignore dir-locals-file.
3866 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3868 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3870 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3871 for the `gnu' messages.
3872 (compilation-set-skip-threshold): New command.
3873 (compilation-start): Use \' rather than $.
3874 (compilation-forget-errors): Use clrhash.
3876 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3878 * textmodes/ispell.el (ispell-valid-dictionary-list):
3881 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3883 Migrate to Tramp 2.2. Rearrange load dependencies.
3884 (Bug#1529, Bug#5448, Bug#5705)
3886 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3887 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3888 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3890 * net/tramp.el (top): Remove all other tramp-* loads except
3891 tramp-compat.el. Remove all changes to tramp-unload-hook for
3892 other tramp-* packages. Rearrange defun order. Change calls of
3893 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3894 `tramp-compat-octal-to-decimal' to new function names.
3895 (tramp-terminal-type, tramp-initial-end-of-output)
3896 (tramp-methods, tramp-foreign-file-name-handler-alist)
3897 (tramp-tramp-file-p, tramp-completion-mode-p)
3898 (tramp-send-command-and-check, tramp-get-remote-path)
3899 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3900 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3901 (with-file-property, with-connection-property): Move to
3903 (tramp-local-call-process, tramp-decimal-to-octal)
3904 (tramp-octal-to-decimal): Move to tramp-compat.el.
3905 (tramp-handle-shell-command): Do not require 'shell.
3906 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3908 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3910 * net/tramp-cache.el (top): Require 'tramp. Add to
3911 `tramp-unload-hook'.
3912 (tramp-cache-data, tramp-get-file-property)
3913 (tramp-set-file-property, tramp-flush-file-property)
3914 (tramp-flush-directory-property, tramp-get-connection-property)
3915 (tramp-set-connection-property, tramp-flush-connection-property)
3916 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3918 (with-file-property, with-connection-property): New defuns, moved
3920 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3923 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3924 (tramp-version): Set tramp-autoload cookie.
3926 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
3927 changes to tramp-unload-hook for other tramp-* packages. Add to
3928 `tramp-unload-hook'.
3929 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3930 (tramp-compat-call-process): New defuns, moved from tramp.el.
3932 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3933 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3934 Add to `tramp-unload-hook'. Change call of
3935 `tramp-compat-decimal-to-octal' to new function name.
3936 (tramp-fish-method): Make it a defconst.
3937 (tramp-fish-file-name-p): Make it a defsubst.
3938 (tramp-fish-method, tramp-fish-file-name-handler)
3939 (tramp-fish-file-name-p): Set tramp-autoload cookie.
3941 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3942 `tramp-foreign-file-name-handler-alist'. Add to
3943 `tramp-unload-hook'.
3944 (tramp-ftp-method): Make it a defconst.
3945 (tramp-ftp-file-name-p): Make it a defsubst.
3946 (tramp-ftp-method, tramp-ftp-file-name-handler)
3947 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3949 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3950 `tramp-foreign-file-name-handler-alist'. Add to
3951 `tramp-unload-hook'. Change checks, whether package can be
3953 (tramp-gvfs-file-name-p): Make it a defsubst.
3954 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3955 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3956 (tramp-gvfs-handle-file-directory-p): New defun.
3957 (tramp-gvfs-file-name-handler-alist): Use it.
3959 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3960 `tramp-foreign-file-name-handler-alist'. Add to
3961 `tramp-unload-hook'.
3962 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3963 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3965 (tramp-gw-tunnel-method, tramp-gw-socks-method)
3966 (tramp-gw-open-connection): Set tramp-autoload cookie.
3968 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
3969 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3970 Add to `tramp-unload-hook'. Change checks, whether package can be
3972 (tramp-imap-file-name-p): Make it a defsubst.
3973 (tramp-imap-method, tramp-imaps-method)
3974 (tramp-imap-file-name-handler)
3975 (tramp-imap-file-name-p): Set tramp-autoload cookie.
3977 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
3978 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3979 Add to `tramp-unload-hook'. Change checks, whether package can be
3980 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3982 (tramp-smb-tunnel-method): Make it a defconst.
3983 (tramp-smb-file-name-p): Make it a defsubst.
3984 (tramp-smb-method, tramp-smb-file-name-handler)
3985 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3987 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3988 (tramp-uuencode-region): Set tramp-autoload cookie.
3990 * net/trampver.el (top) Add to `tramp-unload-hook'.
3991 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3992 cookie. Update release number.
3994 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3996 * textmodes/ispell.el (ispell-start-process): Make sure original
3997 arg list is properly initialized (Bug#6993, Bug#6994).
3999 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4001 * files.el (directory-abbrev-alist): Use \` as default regexp.
4003 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4004 chars like - or ] (bug#6984).
4005 (rx-any-condense-range): Explode 2-char ranges.
4007 2010-09-06 Glenn Morris <rgm@gnu.org>
4009 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4011 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4013 * textmodes/bibtex.el:
4014 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4016 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4018 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4019 since no callers use it.
4020 (imap-message-get): Ditto.
4021 (imap-message-put): Ditto.
4022 (imap-mailbox-map): Ditto.
4023 (imap-mailbox-put): Ditto.
4024 (imap-mailbox-get): Ditto.
4025 (imap-mailbox-get): Revert last change for this function.
4027 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4029 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4030 callers to use `imap-fetch' instead. According to the comments, this
4031 should be safe, since all other IMAP clients use the 1:* syntax.
4032 (imap-enable-exchange-bug-workaround): Remove.
4033 (imap-debug): Remove -- doesn't seem very useful.
4035 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4037 * net/imap.el (imap-log): New convenience function used throughout
4038 instead of repeating the same code all over the place.
4040 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4042 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4043 when mouse-drag-copy-region is non-nil (Bug#6956).
4045 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4047 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4048 Improve regexps (Bug#6987).
4049 (dired-sort-toggle): Search more robustly for -t flag.
4051 * files.el (get-free-disk-space): Search more robustly for
4052 "available" column. Suggested by Ehud Karni
4053 <ehud@unix.mvs.co.il>.
4055 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4057 * international/uni-bidi.el:
4058 * international/uni-category.el:
4059 * international/uni-combining.el:
4060 * international/uni-decimal.el:
4061 * international/uni-mirrored.el:
4062 * international/uni-name.el: Regenerate.
4064 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * electric.el (electric-indent-post-self-insert-function):
4067 Don't reindent with a sloppy indentation function.
4069 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4070 border case in change-log-mode.
4072 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4074 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4075 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4076 Recognize leading tab in gcc-include regexp. Ignore names with
4077 leading "from" or "in" in gnu regexp (Bug#6937).
4079 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4081 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4082 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4083 (ispell-start-process): Avoid setq and simplify logic.
4084 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4085 (kill-buffer-hook): Don't use it globally with code that uses
4086 expand-file-name since that may call kill-buffer via
4087 code_conversion_restore.
4089 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4091 * emacs-lisp/package.el (package-directory-list): Only call
4092 file-name-nondirectory on a string.
4094 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4096 * emacs-lisp/package.el (package--download-one-archive):
4097 Ensure that archive-contents is valid before saving it.
4098 (package-activate-1, package-mark-obsolete, define-package)
4099 (package-compute-transaction, package-list-maybe-add): Use push.
4101 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4103 Use SMIE's blink-paren for octave-mode.
4104 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4105 Backslashes do not escape single-quotes, single-quotes do.
4106 (octave-block-else-regexp, octave-block-end-regexp)
4107 (octave-block-match-alist): Remove.
4108 (octave-smie-bnf-table): New var, with old content.
4109 (octave-smie-op-levels): Use it.
4110 (octave-smie-closer-alist): New var.
4111 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4112 (octave-blink-matching-block-open): Remove.
4113 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4114 (octave-electric-space): Let self-insert-command run expand-abbrev and
4117 * electric.el (electricity): New group.
4118 (electric-indent-chars): New var.
4119 (electric-indent-post-self-insert-function): New fun.
4120 (electric-indent-mode): New minor mode.
4121 (electric-pair-skip-self): New custom.
4122 (electric-pair-post-self-insert-function): New function.
4123 (electric-pair-mode): New minor mode.
4125 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4126 calcAlg-blink-matching-open.
4127 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4128 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4129 Use the new blink-matching-check-function.
4131 Provide blink-matching support to SMIE.
4132 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4133 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4134 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4136 * simple.el (newline): Fix last change to properly remove itself from
4139 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4141 * simple.el (newline): Eliminate optimization.
4142 Use post-self-insert-hook to set hard-newline and things before
4143 running post-self-insert-hook.
4144 (blink-matching-check-mismatch): New function.
4145 (blink-matching-check-function): New variable.
4146 (blink-matching-open): Use them.
4147 Skip back forward over prefix chars skipped by forward-sexp.
4148 Don't check if the parens are backslash escaped.
4149 (blink-paren-post-self-insert-function): Check backslash escaping here.
4151 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4153 * emacs-lisp/package.el (package-menu-mode-map):
4154 Change package-menu-revert bindings to revert-buffer.
4155 (package-menu-mode): Set revert-buffer-function.
4156 (package-menu-revert): Doc fix.
4158 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4160 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4161 `default-directory' unless using Ispell per-directory personal
4162 dictionaries and not in a mini-buffer under XEmacs.
4163 (kill-buffer-hook): Do not kill ispell process on exit when
4164 `ispell-process-directory' is "~/". (Bug#6143)
4166 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4168 * simple.el (kill-new): Call interprogram-cut-function with only
4171 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4172 Remove cut buffer from error message.
4174 * term/x-win.el (x-select-text):
4175 * term/pc-win.el (x-selection-value):
4176 * term/ns-win.el (x-selection-value):
4177 * eshell/em-term.el:
4178 * w32-fns.el (x-get-selection-value):
4179 * mouse-sel.el (mouse-sel-set-selection-function):
4180 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4182 * term/x-win.el: Update documentation for x-last-selected-text-*.
4183 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4184 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4185 (x-select-text): Remove argument PUSH, update documentation.
4186 Remove cut-buffer code.
4187 (x-selection-value-internal): Was previously x-selection-value.
4188 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4189 Update documentation, remove cut-buffer code.
4190 Call x-selection-value-internal.
4191 (x-clipboard-yank): Call x-selection-value-internal.
4192 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4194 * term/pc-win.el (x-last-selected-text):
4195 x-cut-buffer-or-selection-value renamed to x-selection-value
4196 (x-select-text): Remove argument PUSH, update documentation.
4198 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4199 x-cut-buffer-or-selection-value renamed to x-selection-value
4200 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4201 (x-select-text): Remove argument PUSH, update documentation.
4203 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4205 * w32-fns.el (x-last-selected-text):
4206 x-cut-buffer-or-selection-value renamed to x-selection-value.
4207 (x-cut-buffer-max): Remove.
4208 (x-select-text): Remove argument PUSH, update documentation.
4210 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4212 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4214 * mouse-sel.el (mouse-sel-get-selection-function):
4215 x-cut-buffer-or-selection-value renamed to x-selection-value.
4216 (x-select-text): Remove optional push.
4218 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4220 * simple.el (blink-paren-function): Move from C to here.
4221 (blink-paren-post-self-insert-function): New function.
4222 (post-self-insert-hook): Use it.
4224 * emacs-lisp/pcase.el (pcase-split-memq):
4225 Fix overenthusiastic optimisation.
4226 (pcase-u1): Handle the case of a lambda pred.
4228 2010-08-31 Kenichi Handa <handa@m17n.org>
4230 * international/mule-cmds.el (standard-display-european-internal):
4231 Setup standard-display-table for 8-bit characters by storing 8-bit
4232 characters in the element vector.
4234 * disp-table.el (standard-display-8bit):
4235 Setup standard-display-table for 8-bit characters by storing 8-bit
4236 characters in the element vector.
4237 (standard-display-european): Likewise.
4239 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4241 * textmodes/nroff-mode.el (nroff-view): New command.
4242 (nroff-mode-map): Bind it to C-c C-c.
4244 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4246 * emacs-lisp/smie.el (smie-down-list): New command.
4248 Remove old indentation and navigation code on octave-mode.
4249 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4250 smie-down-list rather than add a binding for octave-down-block.
4251 (octave-mark-block, octave-blink-matching-block-open):
4252 Rely on forward-sexp-function.
4253 (octave-fill-paragraph): Don't narrow, so you can use
4254 indent-according-to-mode.
4255 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4256 (octave-in-block-p, octave-re-search-forward-kw)
4257 (octave-re-search-backward-kw, octave-indent-calculate)
4258 (octave-end-as-array-index-p, octave-block-end-offset)
4259 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4260 (octave-down-block, octave-backward-up-block, octave-up-block)
4261 (octave-before-magic-comment-p, octave-indent-line): Remove.
4263 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4265 * emacs-lisp/package.el (package--read-archive-file): Just use
4266 `read', to avoid copying an additional string.
4267 (package-menu-mode): Set header-line-format here.
4268 (package-menu-refresh, package-menu-revert): Signal an error if
4269 not in the Package Menu.
4270 (package-menu-package-list): New var.
4271 (package--generate-package-list): Operate on the current buffer;
4272 don't assume that it is *Packages*, since the user may rename it.
4273 Allow persistent package listings and sort keys using
4274 package-menu-package-list and package-menu-package-sort-key.
4275 (package-menu--version-predicate): Fix version calculation.
4276 (package-menu-sort-by-column): Don't select the window.
4277 (package--list-packages): Create the *Packages* buffer.
4278 Set package-menu-package-list-key.
4279 (list-packages): Sorting by status is now the default.
4280 (package-buffer-info): Use match-string-no-properties.
4281 (define-package): Add a &rest argument for future proofing, but
4283 (package-install-from-buffer, package-install-buffer-internal):
4284 Merge into a single function, package-install-from-buffer.
4285 (package-install-file): Change caller.
4287 * finder.el: Load finder-inf using `require'.
4288 (finder-list-matches): Sorting by status is now the default.
4289 (finder-compile-keywords): Simpify printing.
4291 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4293 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4294 (octave-mode-map): Remove special bindings for forward/backward-block
4295 and octave-backward-up-block. Use smie-close-block.
4296 (octave-continuation-marker-regexp): New var.
4297 (octave-continuation-regexp): Use it.
4298 (octave-operator-table, octave-smie-op-levels)
4299 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4300 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4301 (octave-mode): Use SMIE.
4302 (octave-close-block): Delete.
4304 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4306 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4307 CLIPBOARD, not in PRIMARY. (Bug#6944)
4309 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4311 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4313 (smie-indent-column): Allow indirection through variables.
4315 * composite.el (save-buffer-state): Delete, unused.
4316 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4317 (font-lock-default-fontify-region): Use with-syntax-table.
4318 * jit-lock.el (with-buffer-unmodified): Remove.
4319 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4321 Use `declare' in defmacros.
4322 * window.el (save-selected-window):
4323 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4324 * progmodes/python.el (def-python-skeleton):
4325 * net/dbus.el (dbus-ignore-errors):
4326 * jka-cmpr-hook.el (with-auto-compression-mode):
4327 * international/mule.el (with-category-table):
4328 * emacs-lisp/timer.el (with-timeout):
4329 * emacs-lisp/lisp-mnt.el (lm-with-file):
4330 * emacs-lisp/eieio.el (with-slots):
4331 * emacs-lisp/easymenu.el (easy-menu-define):
4332 * emacs-lisp/debug.el (debugger-env-macro):
4333 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4334 (Multiple-value-call, Multiple-value-prog1):
4335 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4336 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4337 edebug rule to definition.
4338 * emacs-lisp/lisp-mode.el (save-selected-window)
4339 (with-current-buffer, combine-after-change-calls)
4340 (with-output-to-string, with-temp-file, with-temp-buffer)
4341 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4342 (dolist, dotimes, when, unless):
4343 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4345 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4347 * finder.el: Require `package'.
4348 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4349 (finder-package-info): Var deleted.
4350 (finder-keywords-hash, finder--builtins-alist): New vars.
4351 (finder-compile-keywords): Compute package--builtins and
4352 finder-keywords-hash instead of finder-keywords-hash, respecting
4353 the "Package" header.
4354 (finder-unknown-keywords, finder-list-matches):
4355 Use finder-keywords-hash and package--list-packages.
4356 (finder-mode): Don't set font-lock-defaults.
4357 (finder-exit): We don't use "*Finder-package*" and "*Finder
4358 Category*" buffers anymore.
4360 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4361 (package--builtins): Set default value to nil.
4362 (package-initialize): Load precomputed value of package--builtins
4364 (package-alist, package-compute-transaction)
4365 (package-download-transaction): Improve docstring.
4366 (package-read-all-archive-contents): Do not change
4367 package--builtins here.
4368 (list-packages): Make package-list-packages an alias for this.
4369 Sort by status by default.
4370 (package--list-packages): Add optional PACKAGES arg.
4371 (describe-package-1): Use font-lock-face property. For built-in
4372 packages, insert file commentary.
4373 (package--generate-package-list): Rename from
4374 package-list-packages-internal; all callers changed. Add optional
4375 PACKAGES arg. Add alphabetical sort fallbacks.
4376 (package-menu--version-predicate, package-menu--status-predicate)
4377 (package-menu--description-predicate)
4378 (package-menu--name-predicate): New functions.
4380 * info.el (Info-finder-find-node): Search package-alist instead of
4381 finder-package-info.
4383 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4385 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4387 (version-to-list): Handle versions like "10.3d".
4389 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4391 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4392 (macroexp-accumulate): Use `declare'.
4394 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4396 * whitespace.el (whitespace-style): Adjust type declaration.
4398 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4400 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4401 empty argument to gvfs-copy.
4403 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4405 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4406 handle new TRASH arg of `delete-file'.
4408 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4410 * net/tramp.el (tramp-handle-insert-directory): Don't use
4411 `forward-word', its default syntax could be changed.
4413 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4414 Michael Albinus <michael.albinus@gmx.de>
4416 Implement compression for inline methods.
4418 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4419 (tramp-copy-size-limit): Allow also nil.
4420 (tramp-inline-compress-commands): New defconst.
4421 (tramp-find-inline-compress, tramp-get-inline-compress)
4422 (tramp-get-inline-coding): New defuns.
4423 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4424 replaced by `tramp-get-inline-coding'.
4425 (tramp-handle-file-local-copy, tramp-handle-write-region)
4426 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4428 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4430 Detect ssh 'ControlMaster' argument automatically in some cases.
4432 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4433 (tramp-default-method): Use it.
4435 2010-08-26 Karel Klíč <kklic@redhat.com>
4437 * net/tramp.el (tramp-file-name-for-operation):
4438 Add file-selinux-context.
4440 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4442 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4444 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4446 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4449 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4451 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4452 (js-paren-indent-offset, js-square-indent-offset)
4453 (js-curly-indent-offset): New options.
4454 (js--proper-indentation): Use them.
4456 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4458 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4459 instead of inspecting font-lock properties (Bug#6916).
4461 2010-08-26 David Reitter <david.reitter@gmail.com>
4463 * server.el (server-visit-files): Run pre-command-hook and
4464 post-command-hook for each buffer while it is current (Bug#6910).
4465 (server-execute): Do not run hooks here.
4467 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4469 Sync with Tramp 2.1.19.
4471 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4472 (tramp-reporter-dump-variable, tramp-load-report-modules)
4473 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4474 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4476 * net/tramp-compat.el (top): Do not autoload
4477 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4478 only when `start-file-process' is not bound.
4479 (byte-compile-not-obsolete-vars): Define if not bound.
4480 (tramp-compat-funcall): New defmacro.
4481 (tramp-compat-line-beginning-position)
4482 (tramp-compat-line-end-position)
4483 (tramp-compat-temporary-file-directory)
4484 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4485 (tramp-compat-copy-file, tramp-compat-copy-directory)
4486 (tramp-compat-delete-file, tramp-compat-delete-directory)
4487 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4489 (tramp-advice-file-expand-wildcards): Do not use
4490 `tramp-handle-file-remote-p'.
4491 (tramp-compat-make-temp-file): Simplify fallback implementation.
4492 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4493 (tramp-compat-copy-tree): Remove function.
4494 (tramp-compat-delete-file): New defun.
4495 (tramp-compat-delete-directory): Provide implementation for older
4497 (tramp-compat-file-attributes): Handle only
4498 `wrong-number-of-arguments' error.
4500 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4501 Add PRESERVE_SELINUX_CONTEXT.
4502 (tramp-fish-handle-delete-file): Add TRASH arg.
4503 (tramp-fish-handle-directory-files-and-attributes):
4504 Do not use `tramp-fish-handle-file-attributes.
4505 (tramp-fish-handle-file-local-copy)
4506 (tramp-fish-handle-insert-file-contents)
4507 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4509 * net/tramp-gvfs.el (top): Require url-util.
4510 (tramp-gvfs-mount-point): Remove.
4511 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4512 and `set-file-selinux-context'.
4513 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4514 (tramp-gvfs-handle-file-selinux-context)
4515 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4516 (with-tramp-dbus-call-method): Format trace message.
4517 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4518 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4519 Implement backup call, when operation on local files fails.
4520 Use progress reporter. Flush properties of changed files.
4521 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4522 Use `tramp-compat-delete-file'.
4523 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4524 (tramp-gvfs-handle-make-directory): Make more traces.
4525 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4526 (tramp-gvfs-url-file-name): Hexify file name in url.
4527 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4528 into account for the resulting file name.
4529 (tramp-gvfs-handler-askquestion): Preserve current message, in
4530 order to let progress reporter continue afterwards. (Bug#6257)
4531 Return dummy mountpoint, when the answer is "no".
4532 See `tramp-gvfs-maybe-open-connection'.
4533 (tramp-gvfs-handler-mounted-unmounted)
4534 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4535 attribute "default_location". Set "prefix" property.
4536 Handle default-location.
4537 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4538 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4539 exists. Raise an error, if not (due to a corresponding answer
4540 "no" in interactive questions, for example).
4541 Use `tramp-compat-funcall'.
4543 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4544 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4545 (tramp-imap-do-copy-or-rename-file)
4546 (tramp-imap-handle-insert-file-contents)
4547 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4548 (tramp-imap-handle-delete-file): Add TRASH arg.
4550 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4551 Add PRESERVE-SELINUX-CONTEXT.
4552 (tramp-smb-handle-copy-file)
4553 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4554 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4555 Use `with-progress-reporter'.
4556 (tramp-smb-handle-delete-file): Add TRASH arg.
4558 * net/tramp.el (tramp-methods): Move hostname to the end in all
4559 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4561 (tramp-verbose): Describe verbose level 9.
4562 (tramp-completion-function-alist)
4563 (tramp-file-name-regexp, tramp-chunksize)
4564 (tramp-local-coding-commands, tramp-remote-coding-commands)
4565 (with-connection-property, tramp-completion-mode-p)
4566 (tramp-action-process-alive, tramp-action-out-of-band)
4567 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4568 (tramp-exists-file-name-handler): Fix docstring.
4569 (tramp-remote-process-environment): Use `format' instead of
4570 `concat'. Protect version string by apostroph.
4571 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4573 (tramp-file-name-regexp-unified)
4574 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4575 not regard the volume letter as remote filename. (Bug#5447)
4576 (tramp-perl-file-attributes)
4577 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4578 (tramp-vc-registered-read-file-names): Read input as
4579 here-document, otherwise the command could exceed maximum length
4581 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4582 `set-file-selinux-context'.
4583 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4584 backtrace functions.
4585 (tramp-error-with-buffer): Don't show the connection buffer when
4586 we are in completion mode.
4587 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4588 (tramp-handle-file-selinux-context)
4589 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4590 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4592 (with-progress-reporter): New defmacro.
4593 (tramp-debug-outline-regexp): New defconst.
4594 (top, tramp-rfn-eshadow-setup-minibuffer)
4595 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4596 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4597 (tramp-completion-mode-p, tramp-check-for-regexp)
4598 (tramp-open-connection-setup-interactive-shell)
4599 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4600 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4601 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4602 Use `tramp-compat-funcall'.
4603 (tramp-handle-make-symbolic-link): Flush file properties.
4604 (tramp-handle-load, tramp-handle-file-local-copy)
4605 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4606 (tramp-handle-vc-registered, tramp-maybe-send-script)
4607 (tramp-find-shell): Use `with-progress-reporter'.
4608 (tramp-do-file-attributes-with-stat): Add space in format string,
4609 in order to work around a bug in pdksh. Reported by Gilles Pion
4611 (tramp-handle-verify-visited-file-modtime): Do not send a command
4612 when the connection is not established.
4613 (tramp-handle-set-file-times): Simplify the check for utc.
4614 (tramp-handle-directory-files-and-attributes)
4615 (tramp-get-remote-path): Use `copy-tree'.
4616 (tramp-completion-handle-file-name-all-completions): Ensure, that
4617 non remote files are still checked. Oops.
4618 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4619 Handle PRESERVE-SELINUX-CONTEXT.
4620 (tramp-do-copy-or-rename-file): Add progress reporter.
4621 (tramp-do-copy-or-rename-file-directly): Do not use
4622 `tramp-handle-file-remote-p'.
4623 (tramp-do-copy-or-rename-file-out-of-band):
4624 Use `tramp-compat-delete-directory'.
4625 (tramp-do-copy-or-rename-file-out-of-band)
4626 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4627 Use `format-spec-make'.
4628 (tramp-handle-delete-file): Add TRASH arg.
4629 (tramp-handle-dired-uncache): Flush directory cache, not only file
4631 (tramp-handle-expand-file-name)
4632 (tramp-completion-handle-file-name-all-completions)
4633 (tramp-completion-handle-file-name-completion):
4634 Use `tramp-connectable-p'.
4635 (tramp-handle-start-file-process): Set connection property "vec".
4636 Use it, in order to invalidate file caches. Check only for
4637 `remote-tty' process property.
4638 Implement tty setting. (Bug#4604, Bug#6360)
4639 (tramp-file-name-for-operation): Add `call-process-region' and
4640 `set-file-selinux-context'.
4641 (tramp-find-foreign-file-name-handler)
4642 (tramp-advice-make-auto-save-file-name)
4643 (tramp-set-auto-save-file-modes): Remove superfluous check for
4644 `stringp'. This is done inside `tramp-tramp-file-p'.
4645 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4646 operations when we are in completion mode. This gives the user
4647 the chance to correct the file name in the minibuffer.
4648 (tramp-completion-mode-p): Use `non-essential'.
4649 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4650 compatibility: Use `completion-ignore-case' if
4651 `read-file-name-completion-ignore-case' does not exist.
4652 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4653 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4655 (tramp-action-password): Hide password prompt before next run.
4656 (tramp-process-actions): Widen connection buffer for the trace.
4657 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4658 process property. Trace stty settings if `tramp-verbose' >= 9.
4659 Apply workaround for IRIX64 bug. Move argument of last
4660 `tramp-send-command' where it belongs to.
4661 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4662 front of `login-args'.
4663 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4664 on "/dev/null" instead of "/".
4665 (tramp-get-ls-command-with-dired): Make test for "--dired"
4667 (tramp-set-auto-save-file-modes): Adapt version check.
4668 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4669 (tramp-handle-process-file): Call the program in a subshell, in
4670 order to preserve working directory.
4671 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4672 `tramp-remote-sh' from `tramp-methods'.
4673 (tramp-get-ls-command): Make test for "--color=never" stronger.
4674 (tramp-check-for-regexp): Use (forward-line 1).
4676 * net/trampver.el: Update release number.
4678 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4680 * help.el (help-map): Bind `C-h P' to describe-package.
4682 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4684 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4685 when downloading archives.
4686 (describe-package-1): Add package commentary.
4687 (package-install-button-action): New function.
4688 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4689 (package-menu-view-commentary): Function removed.
4690 (package-list-packages-internal): Hide the `package' package too.
4692 2010-08-25 Kenichi Handa <handa@m17n.org>
4694 * language/misc-lang.el ("Arabic"): New language environment.
4695 Setup composition-function-table for Arabic characters.
4697 * international/fontset.el (setup-default-fontset): Fix typo for
4698 arabic OTF spec (fini->fina).
4700 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4702 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4705 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4707 * whitespace.el: Allow cleaning up blanks without blank
4708 visualization (Bug#6651). Adjust help window for
4709 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4710 instead of whitespace-line-column (from EmacsWiki). New version
4712 (whitespace-style): Add new value 'face. Adjust docstring.
4713 (whitespace-space, whitespace-hspace, whitespace-tab):
4714 Adjust foreground property face.
4715 (whitespace-line-column): Adjust docstring and type declaration.
4716 (whitespace-style-value-list, whitespace-toggle-option-alist)
4717 (whitespace-help-text): Adjust const initialization.
4718 (whitespace-toggle-options, global-whitespace-toggle-options):
4720 (whitespace-display-window, whitespace-interactive-char)
4721 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4722 (whitespace-help-scroll): New fun.
4724 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4726 * emacs-lisp/package.el (list-packages): Alias for
4727 package-list-packages.
4729 2010-08-24 Kevin Ryde <user42@zip.com.au>
4731 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4734 * progmodes/ruby-mode.el (ruby): Add defgroup.
4736 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4738 * progmodes/python.el: Add Ipython support (Bug#5390).
4739 (python-shell-prompt-alist)
4740 (python-shell-continuation-prompt-alist): New options.
4741 (python--set-prompt-regexp): New function.
4742 (inferior-python-mode, run-python, python-shell):
4743 Require ansi-color. Use python--set-prompt-regexp to set the comint
4744 prompt based on the Python interpreter.
4745 (python--prompt-regexp): New var.
4746 (python-check-comint-prompt)
4747 (python-comint-output-filter-function): Use it.
4748 (run-python): Use a pipe (Bug#5694).
4750 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4752 * progmodes/python.el (python-send-region): Send a different
4753 Python command if Ipython is in use.
4754 (python-check-version): Use a Python command to find the version.
4756 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4758 * mouse.el (mouse-yank-primary): Avoid setting primary when
4759 deactivating the mark (Bug#6872).
4761 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4763 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4764 with "else" (Bug#3991).
4766 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4768 * net/dbus.el: Accept UNIX domain sockets as bus address.
4769 (top): Don't initialize `dbus-registered-objects-table' anymore,
4770 this is done in dbusbind,c.
4771 (dbus-check-event): Adapt test for bus.
4772 (dbus-return-values-table, dbus-unregister-service)
4773 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4776 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4778 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4780 2010-08-22 Juri Linkov <juri@jurta.org>
4782 * simple.el (read-extended-command): New function with the logic
4783 for `completing-read' moved to Elisp from `execute-extended-command'.
4784 Use `function-called-at-point' in `minibuffer-default-add-function'
4785 to get a command name for M-n (bug#5364, bug#5214).
4787 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4789 * startup.el (command-line-1): Issue warning for ignored arguments
4790 --unibyte, etc (Bug#6886).
4792 2010-08-22 Leo <sdl.web@gmail.com>
4794 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4795 (ignore, bright, dim, keyword): Split list of nicknames before
4796 passing to rcirc-add-or-remove (Bug#6894).
4798 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4800 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4802 2010-08-22 Leo <sdl.web@gmail.com>
4804 Fix buffer-list rename&refresh after killing a buffer in ido.
4805 * ido.el: Revert Óscar's.
4806 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4807 Remember the buffers at head, rather than their name.
4808 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4810 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4811 Stefan Monnier <monnier@iro.umontreal.ca>
4813 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4814 extra backslash added to each line (bug#6890).
4816 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4818 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4820 2010-08-22 Glenn Morris <rgm@gnu.org>
4822 * menu-bar.el (menu-bar-games-menu): Add landmark.
4824 2010-08-22 Glenn Morris <rgm@gnu.org>
4826 * align.el (align-regexp): Make group and spacing arguments
4827 use the interactive defaults when non-interactive. (Bug#6698)
4829 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4830 expansion, so as not to need sendmail.
4831 (mail-text-start): Remove declaration.
4832 (rmail-retry-failure): Require sendmail.
4834 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4836 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4838 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4840 * progmodes/flymake.el (flymake-start-syntax-check-process):
4841 Use `start-file-process' in order to let it run also on remote hosts.
4843 2010-08-22 Kenichi Handa <handa@m17n.org>
4845 * files.el: Add `word-wrap' as safe local variable.
4847 2010-08-22 Glenn Morris <rgm@gnu.org>
4849 * woman.el (woman-translate): Case matters. (Bug#6849)
4851 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4853 * simple.el (kill-region): Doc fix (Bug#6787).
4855 2010-08-22 Glenn Morris <rgm@gnu.org>
4857 * calendar/diary-lib.el (diary-header-line-format):
4858 Fit it to the window, not the frame.
4860 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4862 * subr.el (ignore-errors): Add debug declaration.
4864 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4866 * whitespace.el (whitespace-color-off): Remove post-command-hook
4869 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4871 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4873 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4875 * cus-edit.el (custom-group-value-create): Add extra newline
4876 before end line (Bug#6876).
4878 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4880 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4881 when extending it. Before killing on the second click, check if
4882 the buffer is the correct one. Doc fix.
4883 (mouse-secondary-save-then-kill): Allow usage without first
4884 calling mouse-start-secondary, by defaulting to point. Don't save
4885 an empty secondary selection. Doc fix.
4887 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4889 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4890 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4892 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4893 Adjust initialization.
4894 (whitespace-bob-marker, whitespace-eob-marker)
4895 (whitespace-buffer-changed): New vars.
4896 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4897 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4898 (whitespace-post-command-hook, whitespace-display-char-on):
4900 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4901 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4903 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4905 * files.el (locate-file-completion-table): Only list the .el and .elc
4906 extensions if there's no other choice (bug#5955).
4908 * facemenu.el (facemenu-self-insert-data): New var.
4909 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4911 (facemenu-add-face): Use them.
4913 * simple.el (blink-matching-open): Obey forward-sexp-function.
4915 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4917 * simple.el (prog-mode-map): New var.
4918 (prog-indent-sexp): New command.
4920 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4922 * progmodes/prolog.el (smie): Require.
4924 * emacs-lisp/smie.el (smie-default-backward-token)
4925 (smie-default-forward-token): Strip properties.
4926 (smie-next-sexp): Be more careful with associative operators.
4927 (smie-forward-sexp-command): Generalize.
4928 (smie-backward-sexp-command): Simplify.
4929 (smie-closer-alist): New var.
4930 (smie-close-block): New command.
4931 (smie-indent-debug-log): New var.
4932 (smie-indent-offset-rule): Add a few more cases.
4933 (smie-indent-column): New function.
4934 (smie-indent-after-keyword): Use it.
4935 (smie-indent-keyword): Use it.
4936 Fix up the opener code's point position.
4937 (smie-indent-comment): Only applies at BOL.
4938 (smie-indent-debug): New command.
4940 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4941 declarations that are useful before running the macro.
4943 2010-08-18 Joakim Verona <joakim@verona.se>
4945 * image.el (imagemagick-types-inhibit): New variable.
4946 (imagemagick-register-types): New function.
4947 * image-mode.el (image-transform-properties): New function.
4948 (image-transform-set-scale, image-transform-fit-to-height)
4949 (image-transform-set-rotation, image-transform-set-resize)
4950 (image-transform-fit-to-width, image-transform-fit-to-height):
4952 (image-toggle-display-image): Support image transforms.
4954 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
4956 * image.el (create-animated-image): Don't add heuristic mask to image
4959 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
4961 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4962 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4964 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
4966 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4968 Font-lock '...' strings, plus various simplifications and fixes.
4969 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4970 (octave-font-lock-close-quotes): New function.
4971 (octave-font-lock-syntactic-keywords): New var.
4972 (octave-mode): Use it. Set beginning-of-defun-function.
4973 (octave-mode-map): Don't override the <foo>-defun commands.
4974 (octave-mode-menu): Pass it directly to easy-menu-define;
4975 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4976 (octave-block-match-alist): Fix up last change so that
4977 octave-close-block uses the more specific keyword.
4978 (info-lookup-mode): Silence byte-compiler.
4979 (octave-beginning-of-defun): Not interactive any more.
4981 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4982 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4983 (octave-completion-at-point-function): Make sure point is within
4985 (octave-reindent-then-newline-and-indent):
4986 Use reindent-then-newline-and-indent.
4987 (octave-add-octave-menu): Remove.
4989 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4991 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4992 (report-emacs-bug-can-use-xdg-email): New functions.
4993 (report-emacs-bug): Set can-xdg-email to result of
4994 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4995 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4998 * net/browse-url.el (browse-url-default-browser): Add cond
4999 for browse-url-xdg-open.
5000 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5002 2010-08-17 Glenn Morris <rgm@gnu.org>
5004 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5005 (c-fontify-recorded-types-and-refs): Define for compiler.
5006 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5009 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5012 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5014 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5016 (tramp-handle-process-file): Call the program in a subshell, in
5017 order to preserve working directory.
5018 (tramp-action-password): Hide password prompt before next run.
5019 (tramp-process-actions): Widen connection buffer for the trace.
5021 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5023 * net/rcirc.el (rcirc-log-process-buffers): New option.
5024 (rcirc-print): Use it.
5025 (rcirc-generate-log-filename): New function.
5026 (rcirc-log-filename-function): Change default to
5027 rcirc-generate-log-filename (Bug#6828).
5029 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5031 * simple.el (deactivate-mark): If select-active-regions is `only',
5032 only set selection for temporarily active regions.
5034 * cus-start.el: Change defcustom for select-active-regions.
5036 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5038 * mouse.el (mouse--drag-set-mark-and-point): New function.
5039 (mouse-drag-track): Use LOCATION arg to push-mark.
5040 Use mouse--drag-set-mark-and-point to take click-count into
5041 consideration when updating point and mark (Bug#6840).
5043 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5045 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5046 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5048 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5050 * font-lock.el (lisp-font-lock-keywords-2):
5051 Add combine-after-change-calls, condition-case-no-debug,
5052 with-demoted-errors, and with-silent-modifications (Bug#6025).
5054 2010-08-14 Kevin Ryde <user42@zip.com.au>
5056 * emacs-lisp/copyright.el (copyright-update-year)
5057 (copyright-update): Temporary switch-to-buffer to ensure the
5058 buffer change being queried is visible (Bug#5394).
5060 2010-08-14 Tom Tromey <tromey@redhat.com>
5062 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5065 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5067 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5070 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5072 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5073 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5074 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5075 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5076 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5077 Call menu-bar-set-tool-bar-position.
5079 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5081 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5082 comment style (bug#6834).
5083 * progmodes/scheme.el (scheme-mode-syntax-table):
5084 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5085 "b" flag in "' 14b" syntax.
5087 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5088 for (un)commenting the region and performing completion.
5089 (octave-mode-menu): Use standard commands for help and completion.
5090 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5091 (octave-mode): Use define-derived-mode.
5092 Set completion-at-point-functions and don't set columns.
5093 Don't disable adaptive-fill-regexp.
5094 (octave-describe-major-mode, octave-comment-region)
5095 (octave-uncomment-region, octave-comment-indent)
5096 (octave-indent-for-comment): Remove.
5097 (octave-indent-calculate): Rename from calculate-octave-indent.
5098 (octave-indent-line, octave-fill-paragraph): Update caller.
5099 (octave-initialize-completions): No need to make an alist.
5100 (octave-completion-at-point-function): New function.
5101 (octave-complete-symbol): Use it.
5102 (octave-insert-defun): Use define-skeleton.
5104 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5105 (octave-mode-map): Use comment-dwim (bug#6829).
5107 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5109 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5110 indentation of inserted comment.
5112 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5114 * faces.el (region): Add type gtk that uses gtk colors.
5116 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5117 Handle theme-name change.
5119 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5121 * progmodes/sql.el: Version 2.5
5122 (sql-product-alist): Add :prompt-cont-regexp property for several
5124 (sql-prompt-cont-regexp): New variable.
5125 (sql-output-newline-count, sql-output-by-send):
5126 New variables. Record number of newlines in input text.
5127 (sql-send-string): Handle multiple filters and count newlines.
5128 (sql-send-magic-terminator): Count terminator newline.
5129 (sql-interactive-remove-continuation-prompt): Filters output to
5130 remove continuation prompts; one for each newline.
5131 (sql-interactive-mode): Set up new variables, prompt regexp and
5133 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5134 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5136 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5138 * emacs-lisp/pcase.el: New file.
5140 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5142 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5143 as here-document, otherwise the command could exceed maximum
5144 length of command line.
5145 (tramp-handle-vc-registered): Call script accordingly.
5146 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5148 2010-08-10 Kenichi Handa <handa@m17n.org>
5150 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5153 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5155 * emacs-lisp/package.el (package-version-split)
5156 (package--version-first-nonzero, package-version-compare):
5158 (package-directory-list, package-load-all-descriptors)
5159 (package--built-in, package-activate, define-package)
5160 (package-installed-p, package-compute-transaction)
5161 (package-read-all-archive-contents)
5162 (package--add-to-archive-contents, package-buffer-info)
5163 (package-tar-file-info, package-list-packages-internal):
5164 Use version-to-list and version-list-*.
5166 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5167 Use version-to-list.
5168 (package-upload-buffer-internal): Use version-list-<=.
5170 2010-08-09 Kenichi Handa <handa@m17n.org>
5172 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5175 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5177 * tutorial.el (tutorial--default-keys): C-d is now bound to
5178 delete-forward-char (Bug#6826).
5180 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5181 for `double' value of mouse-1-click-follows-link (Bug#6807).
5183 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5185 * replace.el (replace-highlight): Bind isearch-forward and
5186 isearch-error, ensuring that highlighting is updated if the user
5187 switches the search direction (Bug#6808).
5189 * isearch.el (isearch-lazy-highlight-forward): New var.
5190 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5191 (isearch-lazy-highlight-update): Use it.
5193 2010-08-08 Kenichi Handa <handa@m17n.org>
5195 * international/mule.el (define-charset): Store NAME as :base property.
5196 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5197 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5198 current priority. Force using the designation of the specific
5199 charset by adding `charset' text property. Improve the whole algorithm.
5201 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5203 * emulation/pc-select.el (pc-selection-mode-hook)
5204 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5205 (pc-selection-mode): Fix typos in docstrings.
5207 2010-08-08 Kenichi Handa <handa@m17n.org>
5209 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5210 ctext-non-standard-encodings-alist here.
5212 * international/mule.el (ctext-non-standard-encodings-alist):
5213 Add "koi8-r" and "microsoft-cp1251".
5214 (ctext-standard-encodings): New variable.
5215 (ctext-non-standard-encodings-table): List only elements for
5216 non-standard encodings.
5217 (ctext-pre-write-conversion): Adjust for the above change.
5218 Check ctext-standard-encodings.
5220 * international/mule-conf.el (compound-text): Doc fix.
5221 (ctext-no-compositions): Doc fix.
5222 (compound-text-with-extensions): Doc fix.
5224 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5226 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5228 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5230 * progmodes/which-func.el (which-func-format): Split help-echo text
5231 into lines, like other mode-line tooltips.
5233 * server.el (server-start): When using TCP sockets, force IPv4
5234 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5236 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5238 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5240 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5242 * term.el (term-delimiter-argument-list): Reflow docstring.
5243 (term-read-input-ring, term-write-input-ring, term-send-input)
5244 (term-bol, term-erase-in-display, serial-supported-or-barf):
5245 Fix typos in docstrings.
5247 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5249 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5251 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5253 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5255 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5257 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5258 Fix typo in docstring (bug#6747).
5260 2010-08-08 Leo <sdl.web@gmail.com>
5262 * eshell/esh-io.el (eshell-get-target): Better detection of
5263 read-only file (Bug#6762).
5265 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5267 * align.el (align-default-spacing): Doc fix.
5268 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5270 2010-08-08 Stephen Peters <speters@itasoftware.com>
5272 * calendar/icalendar.el
5273 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5274 (icalendar--get-weekday-numbers): New.
5275 (icalendar--convert-recurring-to-diary): Handle multiple byday
5276 values in weekly rules. (Bug#6766)
5278 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5280 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5281 (icalendar--create-uid, icalendar-export-region)
5282 (icalendar--parse-summary-and-rest): Code formatting.
5284 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5286 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5287 to italicize headers.
5288 (calc-highlight-selections-with-faces): New variable.
5289 (calc-selected-face, calc-nonselected-face): New faces.
5291 * calc/calccomp.el (math-comp-highlight-string): Use
5292 `calc-highlight-selections-with-faces' to determine how to highlight
5295 * calc/calc-sel.el (calc-show-selections): Change message to when
5296 using faces to highlight selections.
5298 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5300 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5301 Add SQLite 3 keywords, functions and datatypes.
5302 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5305 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5307 * simple.el (select-active-regions): Move to keyboard.c.
5308 (deactivate-mark): Used saved-region-selection.
5309 (select-active-region): Function removed.
5310 (activate-mark, set-mark, push-mark-command)
5311 (handle-shift-selection): Don't call it.
5312 (keyboard-quit): Avoid adding the region to the window selection.
5314 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5315 select-active-regions implementation.
5316 (mouse-yank-at-click): Doc fix.
5318 * cus-start.el: Add custom declaration for select-active-regions.
5320 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5322 * simple.el (delete-forward-char): Doc fix.
5324 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5325 after reading the tutorial.
5327 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5329 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5330 Fix for the case that a C style comment has its delimiters alone on
5331 their respective lines.
5333 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5335 * net/tramp.el (tramp-handle-start-file-process): Set connection
5337 (tramp-process-sentinel): Use it for flushing the cache.
5338 We cannot do it via the process buffer, the buffer could be deleted
5339 already when running the sentinel.
5341 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5343 * comint.el (comint-mode): Make directory tracking functions
5344 functional on remote files. (Bug#6764)
5346 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5348 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5350 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5352 * emacs-lisp/find-gc.el (find-gc-source-files):
5353 Rename unexec.c => unexcoff.c.
5355 * emacs-lisp/authors.el (authors-fixed-entries):
5356 Rename unexec.c => unexcoff.c.
5358 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5360 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5361 cache, not only file cache.
5362 (tramp-process-sentinel): New defun.
5363 (tramp-handle-start-file-process): Use it, in order to invalidate
5366 2010-08-03 Leo <sdl.web@gmail.com>
5368 * server.el (server-start): Simplify loop.
5370 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5372 * frame.el (screen-height, screen-width, set-screen-width)
5373 (set-screen-height): Remove ancient compatibility aliases.
5375 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5376 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5378 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5379 that change current buffer.
5381 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5383 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5384 beginning of the string. Use `string-match-p'. (Bug#6765)
5386 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5388 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5390 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5392 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5393 (package--builtins): Tweak descriptions.
5394 (package-print-package): Upcase descriptions if necessary.
5395 Show all built-in packages in font-lock-builtin-face.
5396 (package-list-packages-internal): Omit "emacs" package.
5397 Show status of built-in packages as "built-in".
5399 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5401 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5402 before killing to preserve the primary selection (Bug#6701).
5404 * term/x-win.el (x-select-text): Doc fix.
5406 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5408 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5409 (objc-font-lock-extra-types):
5410 * progmodes/cc-mode.el (c-basic-common-init):
5411 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5412 (c++-make-template-syntax-table)
5413 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5414 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5415 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5416 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5417 * progmodes/cc-fonts.el (c-make-inverse-face)
5418 (c-basic-matchers-after):
5419 * progmodes/cc-engine.el (c-forward-keyword-clause)
5420 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5421 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5422 (c-guess-continued-construct, c-guess-basic-syntax):
5423 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5424 The above functions were modified or created.
5426 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5428 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5430 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5432 * files.el (bidi-paragraph-direction): Define safe local values.
5434 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5435 language-info-alist. Remove outdated FIXME in a comment.
5437 2010-07-31 Alan Mackenzie <acm@muc.de>
5439 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5440 Auto-fill broken in C/C++ modes.
5442 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5444 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5445 (menu-bar-showhide-tool-bar-menu-customize-disable)
5446 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5447 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5448 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5449 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5450 make a menu for Options => toolbar that can move it.
5452 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5454 * emacs-lisp/package-x.el (package--make-rss-entry):
5455 (package-maint-add-news-item, package--update-news)
5456 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5458 * emacs-lisp/package.el (package-archive-url): Rename from
5460 (package-install): Doc fix.
5461 (package-download-single, package-download-tar, package-install)
5462 (package-menu-view-commentary): Callers changed.
5464 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5466 * net/tramp.el (tramp-handle-start-file-process): Check only for
5467 `remote-tty' process property.
5468 (tramp-open-shell): Don't check for tty.
5469 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5472 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5475 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5477 * emacs-lisp/package.el (package-load-list, package-archives)
5478 (package-archive-contents, package-user-dir)
5479 (package-directory-list, package--builtins, package-alist)
5480 (package-activated-list, package-obsolete-alist): Mark as risky.
5482 2010-07-28 Phil Hagelberg <phil@evri.com>
5484 Add support for non-default package repositories.
5485 * emacs-lisp/package.el (package-archive-base): Var deleted.
5486 (package-archives): New variable.
5487 (package-archive-contents): Doc fix.
5488 (package-load-descriptor): Do nothing if descriptor file is missing.
5489 (package--write-file-no-coding): New function.
5490 (package-unpack-single): Use it.
5491 (package-archive-id): New function.
5492 (package-download-single, package-download-tar)
5493 (package-menu-view-commentary): Use it.
5494 (package-installed-p): Make second argument optional.
5495 (package-read-all-archive-contents): New function.
5496 (package-initialize): Use it.
5497 (package-read-archive-contents): Add ARCHIVE argument.
5498 (package--add-to-archive-contents): New function.
5499 (package-install): Don't call package-read-archive-contents.
5500 (package--download-one-archive): Store archive file in a
5501 subdirectory of package-user-dir.
5502 (package-menu-execute): Remove spurious line movement.
5504 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5506 * cus-start.el (tool-bar-style): Add text-image-horiz.
5508 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5510 * progmodes/gud.el (gud-common-init): Check for remoteness of
5511 `file', and not of `default-directory'.
5513 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5515 * net/tramp.el (tramp-methods): Move hostname to the end in all
5516 ssh `tramp-login-args'.
5517 (tramp-verbose): Describe verbose level 9.
5518 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5519 (tramp-open-connection-setup-interactive-shell): Trace stty
5520 settings if `tramp-verbose' >= 9.
5521 (tramp-handle-start-file-process): Implement tty setting.
5522 (Bug#4604, Bug#6360)
5524 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5525 `tramp-verbose' to 9.
5527 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5529 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5530 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5531 Remove references to package `lisp-re' (bug#4369).
5533 2010-07-27 Tom Tromey <tromey@redhat.com>
5535 * progmodes/js.el (js-mode):
5536 * progmodes/make-mode.el (makefile-mode):
5537 * progmodes/simula.el (simula-mode):
5538 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5540 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5542 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5544 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5545 (display-time-world-buffer-name, display-time-world-mode-map):
5546 Fix typos in docstrings.
5548 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5550 * image-mode.el (image-display-size): New function.
5551 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5552 (image-mode-fit-frame): Use it (Bug#6639).
5554 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5556 * dired.el (dired-buffers-for-dir): Handle list values of
5557 dired-directory (Bug#6636).
5559 2010-07-26 Sam Steingold <sds@gnu.org>
5561 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5562 Do not call `x-get-selection' the second time, reuse the value.
5564 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5566 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5567 which consist of control chars only. Suggested by Richard Stallman.
5569 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5571 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5572 exists before passing an error to find-file-not-found-functions
5575 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5577 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5578 Remove leading nil element, adjust values.
5579 (tetris-shapes, tetris-shape-scores):
5580 Change representation of shapes and remove some redundancy.
5581 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5582 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5583 Adjust for working with new representation of shapes.
5584 (tetris-shape-rotations): New function.
5585 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5586 (tetris-rotate-prev, tetris-rotate-next):
5587 Adjust for working with the new version of tetris-test-shape.
5589 2010-07-23 Markus Triska <markus.triska@gmx.at>
5591 * progmodes/ps-mode.el: Use comint (bug#5954).
5592 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5593 (ps-mode-other-newline): Simplify.
5594 (ps-run-mode): Derive from comint-mode instead of
5595 fundamental-mode, yielding input history etc.
5596 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5597 (ps-run-send-string): Adapt for comint-mode.
5598 (ps-run-newline): Remove now unneeded function.
5600 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5602 * net/tramp.el (tramp-methods): Move hostname to the end in all
5603 plink `tramp-login-args'.
5605 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5607 * net/tramp.el (tramp-open-shell): New defun.
5608 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5611 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5613 * net/tramp.el (tramp-file-name-regexp-unified)
5614 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5615 not regard the volume letter as remote filename. (Bug#5447)
5617 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5619 * custom.el (custom-declare-variable): Give a clearer error message
5620 when the docstring is missing (bug#6476).
5622 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5624 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5625 (sql-login-params): New widget definition.
5626 (sql-oracle-login-params, sql-mysql-login-params)
5627 (sql-solid-login-params, sql-sybase-login-params)
5628 (sql-informix-login-params, sql-ingres-login-params)
5629 (sql-ms-login-params, sql-postgres-login-params)
5630 (sql-interbase-login-params, sql-db2-login-params)
5631 (sql-linter-login-params): Use it.
5632 (sql-sqlite-login-params): Use it; Define "database" parameter as
5634 (sql-sqlite-program): Change to "sqlite3".
5635 (sql-comint-sqlite): Make sure database name is complete.
5636 (sql-for-each-login): New function.
5637 (sql-connect, sql-save-connection): Use it.
5638 (sql-get-login-ext): New function.
5639 (sql-get-login): Use it.
5640 (sql-make-alternate-buffer-name): Handle :file parameters.
5642 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5644 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5645 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5647 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5649 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5651 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5653 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5655 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5657 * net/tramp.el (tramp-get-ls-command)
5658 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5661 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5663 * progmodes/sql.el: Version 2.3.
5664 (sql-connection-alist): Changed keys from symbols to strings;
5665 enhanced the widget definition.
5666 (sql-mode-menu): Add submenu to select connections.
5667 (sql-interactive-mode-menu): Add "Save Connection" item.
5668 (sql-add-product): Fix menu item.
5669 (sql-get-product-feature): Improved error handling.
5670 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5671 (sql-make-alternate-buffer-name): Simplified.
5672 (sql-product-interactive): Handle missing product.
5673 (sql-connect): Support string keys, minor improvements.
5674 (sql-save-connection): New function.
5675 (sql-connection-menu-filter): New function.
5677 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5679 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5680 (tramp-open-connection-setup-interactive-shell):
5681 Apply workaround for IRIX64 bug. Move argument of last
5682 `tramp-send-command' where it belongs to.
5684 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5686 * net/tramp.el (tramp-perl-file-attributes)
5687 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5688 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5689 front of `login-args'.
5691 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5693 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5694 Set `show-trailing-whitespace' to nil.
5695 (display-time-world-display): Simplify.
5697 2010-07-18 Alan Mackenzie <acm@muc.de>
5699 Enhance `c-file-style' in file/directory local variables.
5700 * progmodes/cc-mode.el (c-count-cfss): New function.
5701 (c-before-hack-hook): Call `c-set-style' differently according to
5702 whether c-file-style was set in file or directory local
5705 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5707 * progmodes/sql.el: Version 2.2.
5708 (sql-product, sql-user, sql-database, sql-server, sql-port):
5709 Use defcustom :safe keyword rather than putting safe-local-variable
5711 (sql-password): Use defcustom :risky keyword rather than putting
5712 risky-local-variable property.
5713 (sql-oracle-login-params, sql-sqlite-login-params)
5714 (sql-solid-login-params, sql-sybase-login-params)
5715 (sql-informix-login-params, sql-ingres-login-params)
5716 (sql-ms-login-params, sql-postgres-login-params)
5717 (sql-interbase-login-params, sql-db2-login-params)
5718 (sql-linter-login-params): Add `port' option.
5719 (sql-get-product-feature): Add NO-INDIRECT parameter.
5720 (sql-comint-oracle, sql-comint-sybase)
5721 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5722 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5723 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5724 (sql-comint-linter): Rename sql-connect-* functions to
5726 (sql-product-alist, sql-mode-menu): Rename as above and
5727 :sqli-connect-func to :sqli-comint-func.
5728 (sql-connection): New variable.
5729 (sql-interactive-mode): Set it.
5730 (sql-connection-alist): New variable.
5731 (sql-connect): New function.
5732 (sql--alt-buffer-part, sql--alt-if-not-empty)
5733 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5735 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5737 * image-mode.el (image-bookmark-make-record): Do not set context
5738 in an image (Bug#6650).
5740 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5742 * simple.el (select-active-region): New function.
5743 (push-mark-command, set-mark, activate-mark)
5744 (handle-shift-selection): Use it.
5745 (deactivate-mark): Don't check for size of region.
5747 * mouse.el (mouse-drag-track): Use select-active-region.
5749 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5751 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5754 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5756 * term/x-win.el (x-select-enable-primary): Change default to nil.
5757 (x-select-enable-clipboard): Add :version keyword.
5759 * mouse.el (mouse-drag-copy-region):
5760 * simple.el (select-active-regions): Likewise.
5762 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5764 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5765 (vc-coding-system-for-diff): Use it to decide whether to inherit
5766 from the file the EOL format for reading the diffs of that file.
5769 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5771 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5772 unibyte, so compressed attachments are not compressed again.
5774 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5776 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5777 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5778 (tramp-find-shell): Simplify setting connection property.
5779 (tramp-get-ls-command): Make test for "--color=never" stronger.
5781 2010-07-15 Simon South <ssouth@member.fsf.org>
5783 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5784 blocks within record declarations (i.e. variant parts) correctly.
5786 2010-07-15 Simon South <ssouth@member.fsf.org>
5788 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5789 over literal tokens when parsing so newlines aren't "absorbed" by
5790 single-line comments. Corrects the indentation of case blocks
5791 that have a comment on the first line.
5793 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5795 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5796 by Drew Adams (Bug#5504).
5798 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5800 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5801 now that Unicode is used (Bug#6594).
5803 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5805 * term/x-win.el (x-select-enable-clipboard): Default to t.
5806 (x-initialize-window-system): Don't overwrite Paste menu item.
5808 * simple.el (select-active-regions): Default to t.
5809 (push-mark-command): Don't overwrite primary with empty string.
5811 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5812 (mouse-drag-copy-region): Default to nil.
5814 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5815 Cut/Copy/Paste menu bar items.
5817 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5819 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5820 Patch applied by Karl Fogel.
5822 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5823 and `bookmark-current-buffer' if they have been already set in
5824 another buffer (e.g gnus-art).
5826 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5827 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5829 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5831 * bookmark.el (bookmark-make-record-default): Allow unneeded
5832 information to be omitted from the record.
5834 Adjust declarations and calls:
5836 * info.el (bookmark-make-record-default): Adjust declaration.
5837 (Info-bookmark-make-record): Adjust call.
5839 * woman.el (bookmark-make-record-default): Adjust declaration.
5840 (woman-bookmark-make-record): Adjust call.
5842 * man.el (bookmark-make-record-default): Adjust declaration.
5843 (Man-bookmark-make-record): Adjust call.
5845 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5847 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5849 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5851 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5852 This is also from Thierry Volpiatto's patch in bug #6444. However,
5853 because it was extraneous to the functional change in that patch,
5854 and causes a re-indendation, I am committing it separately.
5856 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5858 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5859 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5860 Patch applied by Karl Fogel (Bug#6444).
5862 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5864 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5866 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5868 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5869 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5870 (ns-alternatives-map): Change S-tab binding to backtab
5873 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5876 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5878 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5881 * language/tv-util.el (tai-viet-re): Remove format.
5883 2010-07-12 Kenichi Handa <handa@m17n.org>
5885 * language/hebrew.el: Remove no-byte-compile declaration.
5886 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5887 composition-function-table for 3-character looking back.
5888 (hebrew-font-get-precomposed): New function.
5889 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5891 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5893 * mouse.el (mouse-drag-track): Handle select-active-regions
5896 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5898 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5899 empty argument to gvfs-copy.
5901 2010-07-10 Glenn Morris <rgm@gnu.org>
5903 * calendar/calendar.el (calendar-week-end-day): New function.
5904 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5905 Respect calendar-week-start-day. (Bug#6606)
5906 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5907 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5908 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5909 respect calendar-week-start-day.
5911 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
5913 * simple.el (use-region-p): Doc fix (Bug#6607).
5915 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5917 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5918 Add regexps for cucumber and ruby.
5920 2010-07-08 Daiki Ueno <ueno@unixuser.org>
5922 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5923 (epa-file-insert-file-contents): Hack to prevent
5924 find-file from opening empty buffer when decryption failed
5927 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
5929 * textmodes/ispell.el (ispell-alternate-dictionary):
5930 Use file-readable-p.
5931 Return nil if no word-list is found at default locations.
5932 (ispell-complete-word-dict): Default to nil.
5933 (ispell-command-loop): Use 'word-list' when using lookup-words.
5934 (lookup-words): Use ispell-complete-word-dict or
5935 ispell-alternate-dictionary. Check for word-list availability
5936 and handle errors if needed with better messages (Bug#6539).
5937 (ispell-complete-word): Use ispell-complete-word-dict or
5938 ispell-alternate-dictionary.
5940 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
5942 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5943 builtins (BufferError, BytesWarning, WindowsError; callables
5944 bin, bytearray, bytes, format, memoryview, next, print; __package__).
5946 2010-07-07 Glenn Morris <rgm@gnu.org>
5948 * play/zone.el (top-level): Do not require timer, tabify, or cl.
5949 (zone-shift-left): Ignore intangibility, and any errors from
5951 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
5952 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5953 deleting, and copying text properties.
5954 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5955 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5956 to point-max is hard.
5957 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5958 (zone-fill-out-screen): Ignore intangibility.
5960 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
5962 * menu-bar.el (menu-bar-mode):
5963 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5966 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5967 word/line selection (Bug#6565).
5969 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
5971 * net/dbus.el (dbus-send-signal): Declare function.
5973 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
5975 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5976 (dbus-register-property): New optional argument EMITS-SIGNAL.
5977 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5979 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
5981 * mouse.el (mouse-drag-overlay): Variable deleted.
5982 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5983 (mouse--remap-link-click-p): New function.
5984 (mouse-drag-track): Handle dragging by using temporary Transient
5985 Mark mode, instead of a special overlay.
5986 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5989 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5992 2010-07-02 Juri Linkov <juri@jurta.org>
5994 * autoinsert.el (auto-insert-alist): Fix readability
5995 by using dotted pair notation for lambda.
5997 2010-07-02 Juri Linkov <juri@jurta.org>
5999 * faces.el (read-face-name): Rename arg `string-describing-default'
6000 to `default'. Doc fix. Display the default value in quotes
6001 in the prompt. With empty input, return the `default' arg,
6002 unless the default value is a string (in which case return nil).
6003 (describe-face): Replace the string `default' arg of `read-face-name'
6004 with the symbol `default'.
6006 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6008 * emulation/viper-cmd.el (viper-delete-backward-char)
6009 (viper-del-backward-char-in-insert)
6010 (viper-del-backward-char-in-replace, viper-change)
6011 (viper-backward-indent): Replace delete-backward-char with
6012 delete-char (Bug#6552).
6014 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6016 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6018 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6020 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6021 argument passed to frame-creation-function (Bug#5378).
6023 * faces.el (x-handle-named-frame-geometry)
6024 (x-handle-reverse-video, x-create-frame-with-faces)
6025 (face-set-after-frame-default, tty-create-frame-with-faces):
6026 Don't separately consult default-frame-alist. It is now passed as the
6029 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6031 * startup.el (command-line): Don't call tool-bar-setup in a
6034 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6036 * ruler-mode.el (ruler--save-header-line-format): New fun.
6037 (ruler-mode): Use it as a setter function, so as not to overwrite
6038 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6040 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6042 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6043 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6044 (vc-log-outgoing): Use it.
6045 (vc-diff-internal): Set diff-vc-backend.
6047 * vc/diff-mode.el (diff-vc-backend): New var.
6049 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6051 * dynamic-setting.el (font-setting-change-default-font):
6052 Remove call to message.
6054 2010-06-28 Kenichi Handa <handa@m17n.org>
6056 * international/quail.el (quail-insert-kbd-layout): Fix the
6057 showing of untranslated characters.
6059 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6061 * simple.el (delete-active-region): New option.
6062 (delete-backward-char): Implement in Lisp.
6063 (delete-forward-char): New command.
6065 * mouse.el (mouse-region-delete-keys): Deleted.
6066 (mouse-show-mark): Simplify.
6068 * bindings.el (global-map): Bind delete and DEL, the former to
6069 delete-forward-char.
6071 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6073 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6074 (ruby-mode): Bind indent-line-function (Bug#5119).
6076 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6078 * startup.el (command-line): Recognize "0" X resource value.
6080 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6082 * startup.el (command-line): Use X resources to set the value of
6083 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6085 * menu-bar.el (menu-bar-mode):
6086 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6087 Set init-value to t.
6089 * frame.el (frame-notice-user-settings): Don't change
6090 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6091 vice versa (Bug#2249).
6093 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6095 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6097 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6099 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6100 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6102 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6103 default directories are expanded (Bug#6143).
6105 2010-06-24 Juri Linkov <juri@jurta.org>
6107 * minibuffer.el (completions-format): Change default from nil to
6108 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6110 2010-06-24 Juri Linkov <juri@jurta.org>
6112 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6113 buffer-locally to lambda that re-runs the vc diff command.
6116 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6118 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6119 echo area is in use (Bug#3412).
6121 2010-06-22 Glenn Morris <rgm@gnu.org>
6123 * textmodes/texinfmt.el (texinfo-format-region)
6124 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6125 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6126 (texinfo-format-option, texinfo-noindent):
6127 Use line-beginning-position and line-end-position.
6129 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6130 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6131 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6134 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6136 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6137 forward-line fallout.
6139 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6141 * mouse.el (mouse-appearance-menu): Add docstring.
6143 * help.el (describe-key): Print up-event using key-description.
6145 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6147 * net/zeroconf.el (zeroconf-resolve-service)
6148 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6149 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6151 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6153 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6155 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6157 Avoid displaying files with a nil state in vc-dir.
6158 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6159 cases that cause insertion.
6160 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6163 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6165 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6167 2010-06-29 Leo <sdl.web@gmail.com>
6169 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6171 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6173 * generic-x.el (bat-generic-mode): Fix regexp for command line
6174 switches (Bug#5719).
6176 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6178 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6179 of nconc to avoid pure storage error (Bug#6239).
6181 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6183 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6184 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6185 bindings of bookmark-automatically-show-annotations (Bug#6515).
6187 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6189 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6190 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6192 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6194 * comint.el (make-comint, make-comint-in-buffer): Mention return
6195 value in the docstrings. (Bug#6498)
6197 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6199 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6200 since it is not present when using some non-default switches.
6202 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6204 * simple.el (compose-mail): Fix doc string to refer to
6205 `compose-mail-user-agent-warnings', instead of to the
6206 nonexistent `compose-mail-check-user-agent'.
6208 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6210 Fix an indentation bug:
6212 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6213 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6216 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6217 (c-clear->-pair-props-if-match-before): now return t when they've
6218 cleared properties, nil otherwise.
6219 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6220 by taking account of the existing value.
6222 * progmodes/cc-defs.el
6223 (c-clear-char-property-with-value-function): Fix this to clear the
6224 property rather than overwriting it with nil.
6226 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6228 * emacs-lisp/package.el (package-print-package): Add link to
6229 package description via describe-package.
6230 (describe-package-1): List package requirements. Add button to
6231 perform installation.
6232 (package-menu-describe-package): New command.
6234 * help-mode.el (help-package): New button type.
6236 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6238 * emacs-lisp/package.el: Move package-list-packages binding to
6240 (describe-package, describe-package-1, package--dir): New funs.
6241 (package-activate-1): Use package--dir.
6243 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6245 * help-mode.el (help-package-def): New button type.
6247 * menu-bar.el: Move package-list-packages binding here from
6250 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6252 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6254 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6256 * emacs-lisp/edebug.el (edebug-read-list):
6257 Phase out old-style backquotes.
6259 2010-06-17 Juri Linkov <juri@jurta.org>
6261 * help-mode.el (help-mode): Set buffer-local variable
6262 revert-buffer-function to help-mode-revert-buffer.
6263 (help-mode-revert-buffer): New function.
6265 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6266 before popping to "*info*" (like in other Info functions).
6267 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6268 old-history-forward. Pop to old-buffer-name or "*info*" to
6269 recreate the killed buffer. Set Info-history-forward from
6270 old-history-forward.
6271 (Info-breadcrumbs-depth): Add :group and :version.
6273 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6275 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6277 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6279 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6280 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6282 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6284 * emacs-lisp/package.el (package-menu-mode-map):
6285 Move initialization into declaration.
6287 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6289 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6291 * emacs-lisp/package.el (package-archive-base): Point to
6293 (package-enable, package-load-list): New defcustoms.
6294 (package-user-dir, package-directory-list): Turn into defcustoms.
6295 Don't include package-user-dir in package-directory-list.
6296 (package--builtins-base): Don't include Emacs as a "package".
6297 (package-subdirectory-regexp): New var.
6298 (package-load-all-descriptors, package-compute-transaction)
6299 (package-download-transaction): Obey package-load-list.
6300 (package-activate-1): Rename from package-do-activate.
6301 (package-list-packages-internal): Check package-load-list.
6302 (package-load-descriptor, package-generate-autoloads)
6303 (package-unpack, package-unpack-single)
6304 (package--read-archive-file, package-delete):
6305 Use expand-file-name.
6307 * emacs-lisp/package-x.el: New file. Package uploading
6308 functionality split out from package.el.
6310 * startup.el (command-line): Load packages after reading init file.
6312 2010-06-17 Tom Tromey <tromey@redhat.com>
6314 * emacs-lisp/package.el: New file.
6316 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6318 Fix vc-annotate for renamed files when using Git.
6319 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6320 ls-files. Doe not pass the object as a file name to cat-file, it
6322 (vc-git-annotate-command): Pass the file name using -- to avoid
6323 ambiguity with the revision.
6324 (vc-git-previous-revision): Pass a relative file name.
6326 2010-06-22 Glenn Morris <rgm@gnu.org>
6328 * progmodes/js.el (js-mode-map): Use standard capitalization and
6329 ellipses for menu entries.
6331 * wid-edit.el (widget-complete): Doc fix.
6333 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6335 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6337 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6339 Fix annotating other revisions for renamed files in vc-annotate.
6340 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6341 VC backend. Use it when non-nil.
6342 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6345 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6346 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6347 Do not pass the file name to the 'previous-revision call when we
6348 don't want a file diff. (Bug#6489)
6350 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6352 Fix finding revisions for renamed files in vc-annotate.
6353 * vc/vc.el (vc-find-revision): Add an optional argument for
6354 the VC backend. Use it when non-nil.
6355 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6356 backend to vc-find-revision. (Bug#6487)
6358 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6360 Fix reading file names in Git annotate buffers.
6361 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6362 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6364 2010-06-20 Alan Mackenzie <acm@muc.de>
6366 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6367 in file local variables, set it first.
6369 2010-06-19 Glenn Morris <rgm@gnu.org>
6371 * descr-text.el (describe-char-unicode-data): Insert separating
6372 space when needed. (Bug#6422)
6374 * progmodes/idlwave.el (idlwave-action-and-binding):
6375 Fix typo in 2009-12-03 change. (Bug#6450)
6377 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6379 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6380 handling for `lambda' (misunderstanding).
6382 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6384 * calc/calc-poly.el (math-accum-factors): Make sure that
6385 constants aren't distributed after they are factored out.
6387 2010-06-16 Juri Linkov <juri@jurta.org>
6389 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6390 `list-colors-print'. (Bug#6332)
6392 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6394 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6396 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6397 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6399 * font-lock.el (font-lock-major-mode): Rename from
6400 font-lock-mode-major-mode to distinguish it from
6401 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6402 (font-lock-set-defaults):
6403 * font-core.el (font-lock-default-function): Adjust users.
6404 (font-lock-mode): Don't set it at all.
6406 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6408 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6410 2010-06-16 Glenn Morris <rgm@gnu.org>
6412 * calendar/appt.el (appt-time-msg-list): Doc fix.
6413 (appt-check): Let-bind appt-warn-time.
6414 (appt-add): Make the 3rd argument optional.
6415 Simplify argument names. Doc fix. Check for integer WARNTIME.
6416 Only add WARNTIME to the output list if non-nil.
6418 2010-06-16 Ivan Kanis <apple@kanis.eu>
6420 * calendar/appt.el (appt-check): Let the 3rd element of
6421 appt-time-msg-list specify the warning time.
6422 (appt-add): Add new argument with the warning time. (Bug#5176)
6424 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6426 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6427 older than version 1.6. (Bug#6361)
6429 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6431 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6432 used by cl-do-arglist. (Bug#6408)
6434 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6436 * textmodes/ispell.el (ispell-dictionary-base-alist):
6437 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6438 Suggested by Rolando Pereira (bug#6434).
6440 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6442 * facemenu.el (list-colors-sort): Doc fix.
6444 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6446 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6448 2010-06-14 Juri Linkov <juri@jurta.org>
6450 Add sort option `list-colors-sort'. (Bug#6332)
6451 * facemenu.el (color-rgb-to-hsv): New function.
6452 (list-colors-sort): New defcustom.
6453 (list-colors-sort-key): New function.
6454 (list-colors-display): Doc fix. Sort list according to the option
6456 (list-colors-print): Add HSV values to `help-echo' property of
6459 2010-06-14 Juri Linkov <juri@jurta.org>
6461 * compare-w.el: Move to the "vc" subdirectory.
6463 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6465 * image-mode.el (image-mode-map): Remap left-char and right-char.
6467 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6469 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6471 * term/common-win.el (x-colors): Add all the color names defined
6472 in rgb.txt (Bug#6332).
6474 * facemenu.el (list-colors-print): Don't print extra names if it
6475 will overflow the window width.
6477 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6480 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6482 * files.el (make-directory): Doc fix (bug#6396).
6484 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6486 * net/tramp.el (tramp-remote-process-environment): Protect version
6487 string by apostroph.
6488 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6490 (tramp-file-name-for-operation): Add `call-process-region'.
6491 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6493 * net/tramp-compat.el (top): Do not autoload
6494 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6495 only when `start-file-process' is not bound.
6496 (tramp-advice-file-expand-wildcards): Do not use
6497 `tramp-handle-file-remote-p'.
6498 (tramp-compat-make-temp-file): Handle the case, that
6499 `make-temp-file' has no third argument EXTENSION.
6501 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6503 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6505 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6507 2010-06-11 Juri Linkov <juri@jurta.org>
6509 * finder.el (finder-known-keywords): Add keyword "vc"
6510 for version control.
6512 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6513 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6514 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6515 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6517 2010-06-11 Juri Linkov <juri@jurta.org>
6519 Move version control related files to the "vc" subdirectory.
6520 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6521 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6522 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6523 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6524 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6525 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6526 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6527 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6528 Move files to the "vc" subdirectory.
6530 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6532 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6535 2010-06-11 Stephen Eglen <stephen@gnu.org>
6537 * shell.el: Bind `shell-resync-dirs' to M-RET.
6539 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6541 * notifications.el: Move file from lisp/net, because it is
6542 supposed to talk locally to the user.
6544 2010-06-10 Julien Danjou <julien@danjou.info>
6546 * net/notifications.el (notifications-on-action-signal)
6547 (notifications-on-closed-signal): Pass notification id as first
6548 argument to the callback functions. Add docstrings.
6549 (notifications-notify): Fix docstring.
6551 2010-06-10 Glenn Morris <rgm@gnu.org>
6553 * emacs-lisp/authors.el (authors-ignored-files)
6554 (authors-valid-file-names): Add some files.
6556 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6558 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6559 merge conflict, giving preference to the emacs-23 version of the code.
6561 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * emacs-lisp/advice.el (ad-compile-function):
6564 Define warning-suppress-types before we let-bind it (bug#6275).
6566 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6567 declare it, make it buffer-local and permanent-local (bug#6324).
6568 (vc-resynch-window): Adjust name.
6569 * vc-hooks.el (vc-find-file-hook): Adjust name.
6571 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6573 * net/notifications.el (notifications-notify): Fix docstring.
6575 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6577 Update to Unicode 6.0.0 beta.
6578 * international/charprop.el: Update copyright.
6579 * international/mule-cmds.el (ucs-names): Update character ranges.
6580 * international/uni-bidi.el:
6581 * international/uni-category.el:
6582 * international/uni-combining.el:
6583 * international/uni-comment.el:
6584 * international/uni-decimal.el:
6585 * international/uni-decomposition.el:
6586 * international/uni-digit.el:
6587 * international/uni-lowercase.el:
6588 * international/uni-mirrored.el:
6589 * international/uni-name.el:
6590 * international/uni-numeric.el:
6591 * international/uni-old-name.el:
6592 * international/uni-titlecase.el:
6593 * international/uni-uppercase.el: Regenerate.
6595 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6597 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6598 (smie-precs-precedence-table): Fix typo in docstring.
6600 * vc-mtn.el (log-edit-extract-headers): Declare function.
6602 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6604 * net/notifications.el (dbus-register-signal): Declare function.
6605 (notifications-notify): Fix typos and reflow docstring.
6607 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6609 Improve VC create/retrieve tag/branch.
6610 * vc.el (vc-create-tag): Do not read the directory name for VCs
6611 with repository revision granularity. Adjust the tag/branch
6612 prompt. Reset VC properties.
6613 (vc-retrieve-tag): Do not read the directory name for VCs
6614 with repository revision granularity. Reset VC properties.
6616 2010-06-09 Julien Danjou <julien@danjou.info>
6618 * net/notifications.el: New file.
6620 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6622 Add optional support for resetting VC properties.
6623 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6624 call vc-file-clearprops when true.
6625 (vc-resynch-buffer): Add new optional argument, pass it down.
6626 (vc-resynch-buffers-in-directory): Likewise.
6628 Improve support for special markup in the VC commit message.
6629 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6630 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6631 * vc-git.el (vc-git-checkin):
6632 * vc-bzr.el (vc-bzr-checkin): Likewise.
6634 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6636 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6637 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6639 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6641 * iimage.el: Remove images as soon as the underlying text is modified.
6642 (iimage-modification-hook): New function.
6643 (iimage-mode-buffer): Use it.
6645 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6647 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6648 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6649 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6650 (smie-indent-keyword): Add handling of open-paren keywords.
6651 (smie-indent-comment-continue): Don't assume comment-continue.
6653 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6655 * window.el (pop-to-buffer): Remove the conditional that
6656 compares new-window and old-window, so it will reselect
6657 the selected window unconditionally.
6658 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6660 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6662 * emacs-lisp/smie.el (smie-indent-offset-after)
6663 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6664 (smie-indent-after-keyword): Use them.
6665 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6666 (smie-indent-keyword): Tweak the black magic.
6667 (smie-indent-comment-continue): Strip comment-continue before use.
6668 (smie-indent-functions): Indent comments before keywords.
6670 2010-06-06 Juri Linkov <juri@jurta.org>
6672 * isearch.el (isearch-lazy-highlight-search): Fix looping
6673 by checking for empty match. This syncs this loop with the
6674 similar loop in `isearch-search'. (Bug#6362)
6676 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6678 * net/dbus.el (dbus-register-method): Declare function.
6679 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6680 (dbus-introspect): Doc fix.
6681 (dbus-event-bus-name, dbus-introspect-get-interface)
6682 (dbus-introspect-get-argument): Reflow docstrings.
6684 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6686 vc-log-incoming/vc-log-outgoing fixes for Git.
6687 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6688 incoming/outgoing logs.
6689 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6690 instead of vc-git-compute-remote.
6691 (vc-git-compute-remote): Remove.
6693 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6695 * term/common-win.el (x-colors): Add "dark green" and "dark
6696 turquoise" (Bug#6332).
6698 2010-06-04 Juri Linkov <juri@jurta.org>
6700 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6701 Instead of setting `replace' to t and replacing the same string
6702 with itself, don't do certain actions when
6703 kill-do-not-save-duplicates is non-nil and string is equal to car
6704 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6705 interprogram-paste strings to kill-ring, and don't push the input
6706 argument `string' to kill-ring.
6707 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6709 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6711 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6713 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6715 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6716 (tramp-gvfs-handler-mounted-unmounted)
6717 (tramp-gvfs-connection-mounted-p): Handle default-location.
6719 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6720 move files to trash.
6722 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6724 * international/mule-cmds.el (nonascii-insert-offset)
6725 (nonascii-translation-table): Add obsolescence information.
6727 * international/mule.el (make-translation-table-from-vector): Doc fix.
6729 2010-06-03 Glenn Morris <rgm@gnu.org>
6731 * desktop.el (desktop-clear-preserve-buffers):
6732 Add "*Warnings*" buffer. (Bug#6336)
6734 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6736 vc-log-incoming/vc-log-outgoing improvements for Git.
6737 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6739 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6741 Add bindings for vc-log-incoming and vc-log-outgoing.
6742 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6743 and vc-log-outgoing.
6744 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6745 and vc-log-outgoing.
6747 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6749 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6750 (rcirc-handler-366): Always sort nicknames.
6752 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6754 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6756 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6758 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6760 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6762 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6763 (rcirc-sort-nicknames-join): Avoid setq.
6765 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6767 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6768 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6769 (rcirc-handler-366): Use them.
6771 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6773 Split smie-indent-calculate into more manageable chunks.
6774 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6775 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6776 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6777 (smie-indent-exps): Extract from smie-indent-calculate.
6778 (smie-indent-functions): New var.
6779 (smie-indent-functions): Use them.
6781 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6783 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6784 (smie-indent-calculate): Simplify and cleanup.
6786 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6788 * net/tramp-gvfs.el (top): Require url-util.
6789 (tramp-gvfs-mount-point): Remove.
6790 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6792 (with-tramp-dbus-call-method): Format trace message.
6793 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6794 Implement backup call, when operation on local files fails.
6795 Use progress reporter. Flush properties of changed files.
6796 (tramp-gvfs-handle-make-directory): Make more traces.
6797 (tramp-gvfs-url-file-name): Hexify file name in url.
6798 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6799 into account for the resulting file name.
6800 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6801 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6802 (tramp-gvfs-handler-mounted-unmounted)
6803 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6804 attribute "default_location". Set "prefix" property.
6805 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6806 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6807 exists. Raise an error, if not (due to a corresponding answer
6808 "no" in interactive questions, for example).
6810 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6812 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6814 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6816 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6819 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6821 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6822 * vc-git.el (vc-git-compute-remote): New function.
6823 (vc-git-log-outgoing): Use it instead of hard coding a value.
6824 (vc-git-log-incoming): New function.
6826 Improve state updating for VC tag commands.
6827 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6828 to update the state of all buffers in the directory.
6830 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6832 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6834 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6835 `file-directory-p' to the filename part rather than to the whole text.
6837 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6839 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6841 2010-05-31 Drew Adams <drew.adams@oracle.com>
6843 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6845 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6847 * subr.el (momentary-string-display): Just use read-event to read
6848 the exit event (Bug#6238).
6850 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6852 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6854 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6856 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6857 Suggested by Eli Zaretskii <eliz@gnu.org>.
6859 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * minibuffer.el (completion-file-name-table): Don't return a boundary
6862 past the end of `string' (bug#6299).
6863 (completion--file-name-table): Delegate to completion-file-name-table
6864 for the `boundaries' case.
6866 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6868 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6871 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6872 `path-separator', but maintain compatibility with Emacs 20.2.
6874 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6876 * server.el (server-process-filter): Receive parent-id argument
6878 (server-create-window-system-frame): New arg. Pass parent-id as
6881 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6883 Bidi-sensitive word movement with arrow keys.
6884 * subr.el (right-arrow-command, left-arrow-command): Move to
6887 * bindings.el (right-char, left-char): Move from subr.el and
6888 rename from right-arrow-command and left-arrow-command.
6889 (right-word, left-word): New functions.
6890 (global-map) <right>: Bind to right-char.
6891 (global-map) <left>: Bind to left-char.
6892 (global-map) <C-right>: Bind to right-word.
6893 (global-map) <C-left>: Bind to left-word.
6895 * ls-lisp.el (ls-lisp-classify-file): New function.
6896 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6897 (ls-lisp-classify): Call ls-lisp-classify-file.
6898 (insert-directory): Remove blanks from switches.
6900 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6902 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6903 (ansi-color-drop-regexp): New constant.
6904 (ansi-color-apply, ansi-color-filter-region)
6905 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6906 (ansi-color-apply): Build string list before calling concat.
6908 2010-05-28 Juri Linkov <juri@jurta.org>
6910 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6911 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6914 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6916 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6917 to ignored backtrace functions.
6918 (with-progress-reporter): Expand docstring.
6919 (tramp-handle-delete-file): Implement TRASH argument.
6920 (tramp-get-remote-trash): New defun.
6922 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6924 * net/tramp-compat.el (tramp-compat-delete-file):
6925 Use `symbol-value' for backward compatibility.
6927 * net/tramp.el (tramp-handle-make-symbolic-link)
6929 (tramp-do-copy-or-rename-file-via-buffer)
6930 (tramp-do-copy-or-rename-file-directly)
6931 (tramp-do-copy-or-rename-file-out-of-band)
6932 (tramp-handle-process-file, tramp-handle-call-process-region)
6933 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6934 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6935 (tramp-delete-temp-file-function): Use `delete-file' instead
6936 of `tramp-compat-delete-file'.
6938 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6939 (tramp-fish-handle-make-symbolic-link)
6940 (tramp-fish-handle-process-file): Use `delete-file' instead
6941 of `tramp-compat-delete-file'.
6943 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6944 Use `delete-file' instead of `tramp-compat-delete-file'.
6946 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6947 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6948 `tramp-compat-delete-file'.
6950 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
6951 Use `delete-file' instead of `tramp-compat-delete-file'.
6953 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6954 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6955 (tramp-smb-handle-write-region): Use `delete-file' instead of
6956 `tramp-compat-delete-file'.
6957 (tramp-smb-handle-delete-directory): Use 'trash as arg.
6959 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6961 * dired.el (dired-delete-file): New arg TRASH.
6962 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
6963 (dired-do-flagged-delete, dired-do-delete): Use trash.
6965 * speedbar.el (speedbar-item-delete): Allow trashing.
6967 * files.el (delete-directory): New arg TRASH.
6969 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6970 (ange-ftp-rename-remote-to-remote)
6971 (ange-ftp-rename-local-to-remote)
6972 (ange-ftp-rename-remote-to-local, ange-ftp-load)
6973 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6975 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6978 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6979 handle new TRASH arg of `delete-file'.
6981 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6982 (tramp-handle-make-symbolic-link, tramp-handle-load)
6983 (tramp-do-copy-or-rename-file-via-buffer)
6984 (tramp-do-copy-or-rename-file-directly)
6985 (tramp-do-copy-or-rename-file-out-of-band)
6986 (tramp-handle-process-file, tramp-handle-call-process-region)
6987 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6988 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6989 (tramp-delete-temp-file-function): Use null TRASH arg in
6990 tramp-compat-delete-file call.
6992 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6993 (tramp-fish-handle-delete-file)
6994 (tramp-fish-handle-make-symbolic-link)
6995 (tramp-fish-handle-process-file): Use null TRASH arg in
6996 `tramp-compat-delete-file' call.
6998 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6999 arg in `tramp-compat-delete-file' call.
7001 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7002 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7003 `tramp-compat-delete-file' call.
7005 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7006 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7007 `tramp-compat-delete-file' call.
7009 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7010 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7011 (tramp-smb-handle-write-region): Use null TRASH arg in
7012 tramp-compat-delete-file call.
7013 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7014 (tramp-smb-handle-delete-file): Rename arg.
7016 * diff.el (diff-sentinel):
7017 * epg.el (epg--make-temp-file, epg-decrypt-string)
7018 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7019 * jka-compr.el (jka-compr-partial-uncompress)
7020 (jka-compr-call-process, jka-compr-write-region):
7021 * server.el (server-sentinel): Remove optional arg from
7022 delete-file, reverting 2010-05-03 change.
7024 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7026 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7027 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7029 2010-05-27 Kenichi Handa <handa@m17n.org>
7031 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7032 element of GSTRING is nil.
7034 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7036 * emacs-lisp/smie.el (smie-forward-token-function)
7037 (smie-backward-token-function): New vars.
7038 (smie-backward-sexp, smie-forward-sexp)
7039 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7040 (smie-default-backward-token): Rename from smie-backward-token and
7042 (smie-default-forward-token): Rename from smie-forward-token and
7044 (smie-next-sexp): Handle nil results from next-token.
7045 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7047 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7049 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7050 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7052 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7054 * htmlfontify.el (hfy-face-resolve-face): New function.
7055 (hfy-face-to-style): Use it (Bug#6279).
7057 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7059 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7060 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7062 2010-05-26 Glenn Morris <rgm@gnu.org>
7064 * emulation/edt.el (edt-load-keys): Use locate-library.
7066 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7068 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7069 (log-edit-changelog-entries): Doc fix.
7070 (log-edit-changelog-insert-entries): Args changed.
7071 Rename relative filenames in ChangeLog entries. Delete tabs.
7072 (log-edit-insert-changelog-entries): Reorganize return value of
7073 `log-edit-changelog-entries' to pass filenames to
7074 log-edit-changelog-insert-entries.
7076 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7078 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7079 `image-dired-dired-insert-marked-thumbs' to
7080 `image-dired-dired-toggle-marked-thumbs'.
7082 * image-dired.el: Require cl when compiling.
7083 (image-dired-dired-toggle-marked-thumbs): Rename from
7084 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7085 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7086 to 'no-dir. Skip files whose names don't match
7087 `image-file-name-regexp'. When file has a thumbnail overlay,
7088 delete it. (Bug#5270)
7090 2010-05-25 Juri Linkov <juri@jurta.org>
7092 * image-mode.el (image-mode): Add image-after-revert-hook to
7094 (image-after-revert-hook): New function. (Bug#5669)
7096 2010-05-25 Juri Linkov <juri@jurta.org>
7098 * image.el (image-animated-p): When delay between animated images
7099 is 0, set it to 10 (0.1 sec). (Bug#6258)
7101 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7103 * net/tramp.el (tramp-handle-insert-directory): Don't use
7104 `forward-word', its default syntax could be changed.
7106 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7108 * net/tramp.el (tramp-progress-reporter-update): New defun.
7109 (with-progress-reporter): Use it.
7110 (tramp-process-actions):
7111 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7112 Preserve current message, in order to let progress reporter continue
7113 afterwards. (Bug#6257)
7115 2010-05-25 Glenn Morris <rgm@gnu.org>
7117 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7120 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7122 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7123 (rcirc-default-full-name): Change to "unknown".
7124 (rcirc-user-name-history): Add variable.
7126 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7127 Jonathan Rockway <jon@jrock.us>
7129 * net/rcirc.el (rcirc-server-alist): Add :pass.
7130 (rcirc): When prompting for connection parameters, also prompt for
7131 username and password.
7132 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7133 value to server when connecting.
7135 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7137 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7138 (smie-merge-prec2s): Pass the tables as separate args.
7139 (smie-bnf-precedence-table): Adjust call accordingly.
7140 (smie-prec2-levels): Set levels at the end.
7142 Replace Lisp calls to delete-backward-char by delete-char.
7143 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7144 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7145 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7146 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7147 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7148 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7149 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7150 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7151 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7152 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7153 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7154 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7155 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7156 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7157 delete-backward-char by calls to delete-char.
7159 2010-05-25 Kenichi Handa <handa@m17n.org>
7161 * language/hebrew.el (hebrew-shape-gstring): New function.
7162 Register it in composition-function-table for all Hebrew combining
7165 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7167 * epa.el (epa--select-keys): Don't explicitly delete the window since
7168 that can fail (e.g. sole window in frame). Use dedication instead.
7170 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7172 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7174 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7176 * image.el (image-refresh): Define as an alias for image-flush.
7178 * image-mode.el (image-toggle-display-image): Caller changed.
7180 2010-05-21 Juri Linkov <juri@jurta.org>
7182 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7183 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7184 whitespace, call wildcard-to-regexp on substrings and concat them
7185 with "\\|". (Bug#6114)
7187 2010-05-21 Alan Mackenzie <acm@muc.de>
7189 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7190 Replace parameter `here' with `here-' and `here-plus', which sandwich
7191 any pertinent CPP construct.
7192 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7193 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7194 CPP construct from taking part in the scanning.
7196 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7198 * net/tramp.el (tramp-do-copy-or-rename-file)
7199 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7200 Tune `with-progress-reporter' messages.
7201 (tramp-handle-vc-registered):
7202 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7203 (tramp-fish-handle-insert-file-contents)
7204 (tramp-fish-maybe-open-connection):
7205 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7206 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7207 (tramp-imap-handle-insert-file-contents)
7208 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7210 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7212 * add-log.el (change-log-font-lock-keywords):
7213 Highlight all authors in multi-author entries.
7215 * smerge-mode.el (smerge-refine-ignore-whitespace)
7216 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7217 Fix typos in docstrings.
7218 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7220 2010-05-21 Glenn Morris <rgm@gnu.org>
7222 * progmodes/fortran.el (fortran-mode):
7223 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7225 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7226 having a relative path in src/Makefile.in.
7228 2010-05-20 Kevin Ryde <user42@zip.com.au>
7230 * help-mode.el (help-make-xrefs): For Info node links turn
7231 newlines into spaces. Link node names with newlines are matched
7232 by help-xref-info-regexp and buttonized, this change ensures they
7233 can be followed successfully with RET. (Bug#6206)
7235 2010-05-20 Juri Linkov <juri@jurta.org>
7237 * locate.el (locate): Use pop-to-buffer instead of
7238 switch-to-buffer-other-window. (Bug#6204)
7240 2010-05-20 Juri Linkov <juri@jurta.org>
7242 * replace.el (replace-highlight): Fix lazy-highlighting
7243 for `M-s w str M-% str RET'.
7245 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7247 * isearch.el (isearch-yank-word-or-char): Pull next subword
7248 when `subword-mode' is activated. (Bug#6220)
7250 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7252 * isearch.el (isearch-update-post-hook): New hook.
7253 (isearch-update): Use the new hook. (Bug#6225)
7255 2010-05-20 Juri Linkov <juri@jurta.org>
7257 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7258 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7261 2010-05-20 Juri Linkov <juri@jurta.org>
7263 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7266 2010-05-20 Juri Linkov <juri@jurta.org>
7268 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7269 FILE-NAME to read from the minibuffer when called interactively
7270 with prefix argument instead of using buffer-file-name.
7271 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7273 * dired.el: Update autoloads.
7275 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7277 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7278 nxml-finish-element, for consistency with SGML mode.
7280 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7283 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7285 * composite.el: Require cl when compiling.
7286 (reference-point-alist, compose-gstring-for-graphic)
7287 (compose-gstring-for-terminal): Fix typos in docstrings.
7289 2010-05-19 Juri Linkov <juri@jurta.org>
7291 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7292 set-window-parameter.
7294 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7296 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7298 (tramp-maybe-open-connection): Use it.
7300 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7302 * simple.el (move-end-of-line): Make sure we are at line beginning
7303 before backing up to end of previous line.
7305 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7307 * password-cache.el (password-cache-remove): Fix docstring.
7309 * net/secrets.el: Autoload the widget functions.
7310 (secrets-search-items, secrets-create-item)
7311 (secrets-get-attributes, secrets-expand-item): Attributes will be
7312 stored on the password database without leading ":", as all other
7314 (secrets-mode): Fix docstring.
7315 (secrets-show-secrets): Provide it as autoloaded command only when
7316 D-Bus support is available. Check existence of Secret Service API.
7318 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7320 * indent.el (indent-region): Deactivate region (bug#6200).
7322 2010-05-19 Glenn Morris <rgm@gnu.org>
7324 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7326 2010-05-19 Kenichi Handa <handa@m17n.org>
7328 * composite.el: Register compose-gstring-for-graphic in
7329 composition-function-table only for combining characters (Mn, Mc, Me).
7331 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7333 * calc/calc-trail.el (calc-trail-isearch-forward)
7334 (calc-trail-isearch-backward): Ensure that the new window
7335 point is set correctly.
7337 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7339 * subr.el (read-quoted-char): Resolve modifiers after key
7340 remapping (bug#6212).
7342 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7344 Add visualization code for secrets.
7345 * net/secrets.el (secrets-mode): New major mode.
7346 (secrets-show-secrets, secrets-show-collections)
7347 (secrets-expand-collection, secrets-expand-item)
7348 (secrets-tree-widget-after-toggle-function)
7349 (secrets-tree-widget-show-password): New defuns.
7351 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7354 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7355 handled in smie-next-sexp.
7356 (smie-indent-calculate): Provide a starting indentation (so the
7357 recursion is well-founded ;-).
7359 Fix handling of non-associative equal levels.
7360 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7361 when it's not needed.
7362 (smie-op-left, smie-op-right): New functions.
7363 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7364 Better handle equal levels to distinguish the associative case from
7365 the "multi-keyword construct" case.
7366 (smie-backward-sexp, smie-forward-sexp): Use it.
7368 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7370 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7372 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7373 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7375 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7377 Provide a simple generic indentation engine and use it for Prolog.
7378 * emacs-lisp/smie.el: New file.
7379 * progmodes/prolog.el (prolog-smie-op-levels)
7380 (prolog-smie-indent-rules): New var.
7381 (prolog-mode-variables): Use them to configure SMIE.
7382 (prolog-indent-line, prolog-indent-level): Remove.
7384 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7386 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7387 order before computing the averages.
7389 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7391 * calc/calc-vec.el (calc-histogram):
7392 (calcFunc-histogram): Allow vectors as inputs.
7393 (math-vector-avg): New function.
7395 * calc/calc-ext.el (math-group-float): Have the number of digits
7396 being grouped depend on the radix (Bug#6189).
7398 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7400 * version.el (emacs-copyright, emacs-version): Don't define here,
7401 now that emacs.c defines it.
7403 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7405 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7406 "Describe Language Environment" menu item.
7408 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7410 Bidi-sensitive movement with arrow keys.
7411 * subr.el (right-arrow-command, left-arrow-command): New functions.
7413 * bindings.el (global-map): Bind them to right and left arrow keys.
7415 Don't override standard definition of convert-standard-filename.
7416 * files.el (convert-standard-filename):
7417 Call w32-convert-standard-filename and dos-convert-standard-filename on
7418 the corresponding systems.
7420 * w32-fns.el (w32-convert-standard-filename): Rename from
7421 convert-standard-filename. Doc fix.
7423 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7424 (convert-standard-filename): Don't defalias.
7425 (register-name-alist, make-register, register-value)
7426 (set-register-value, intdos): Obsolete aliases for the
7427 corresponding dos-* functions and variables.
7428 (dos-intdos): Add a doc string.
7430 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7432 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7433 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7434 (math-compose-tex-func):
7435 * calc/calccomp.el (math-compose-expr):
7436 * calc/calc-ext.el (math-format-flat-expr-fancy):
7437 * calc/calc-store.el (calc-read-var-name):
7438 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7440 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7441 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7442 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7443 (math-standard-units): Add units.
7445 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7447 * progmodes/asm-mode.el (asm-mode):
7448 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7450 * pcomplete.el (pcomplete-completions-at-point): New function,
7451 extracted from pcomplete-std-complete.
7452 (pcomplete-std-complete): Use it.
7454 2010-05-15 Glenn Morris <rgm@gnu.org>
7456 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7457 Remove references to CVS, RCS and Old directories.
7459 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7461 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7464 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7466 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7467 (sh-mode-syntax-table): Give it a default value instead.
7468 (sh-header-marker): Make buffer-local.
7469 (sh-mode): Move make-local-variable to the corresponding setq.
7470 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7471 Use complete-with-action.
7473 * simple.el (prog-mode): New (abstract) major mode.
7474 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7475 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7477 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7479 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7480 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7481 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7482 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7483 (sql-escape-newlines-filter, sql-input-sender)
7484 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7486 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7488 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7490 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7491 latex-open-block and C-c / to latex-close-block.
7493 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7494 and C-c C-e to sgml-close-tag.
7496 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7498 * net/tramp.el (with-progress-reporter): Create reporter object
7499 only when the message would be displayed. Handle nested calls.
7500 (tramp-handle-load, tramp-handle-file-local-copy)
7501 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7502 (tramp-maybe-send-script, tramp-find-shell):
7503 Use `with-progress-reporter'.
7504 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7507 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7508 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7509 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7510 Use `with-progress-reporter'.
7512 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7514 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7515 process everytime when spellchecking from the minibuffer (bug#6143).
7517 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7519 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7521 * dos-fns.el: Add "dos-" prefix for namespace control.
7522 (convert-standard-filename): Define as alias for
7523 dos-convert-standard-filename but only if applicable.
7525 2010-05-12 Alan Mackenzie <acm@muc.de>
7527 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7528 Push the mark at the start of these functions when appropriate.
7530 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7532 * minibuffer.el (completion-cycle-threshold): New custom var.
7533 (completion--do-completion): Use it.
7534 (minibuffer-complete): Use cycling if appropriate.
7536 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7538 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7539 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7541 2010-05-11 Juri Linkov <juri@jurta.org>
7543 * scroll-all.el (scroll-all-check-to-scroll):
7544 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7546 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7548 * iimage.el (iimage-mode-map): Move initialization into declaration.
7549 (iimage-mode-buffer): Use with-silent-modifications.
7550 Simplify calling convention. Adjust callers.
7551 (iimage-mode): Don't run hook redundantly.
7553 * minibuffer.el (completion-pcm--pattern->regex):
7554 Fix last change (bug#6160).
7556 2010-05-10 Juri Linkov <juri@jurta.org>
7558 Remove nodes visited during Isearch from the Info history.
7559 * info.el (Info-isearch-initial-history)
7560 (Info-isearch-initial-history-list): New variables.
7561 (Info-isearch-start): Record initial values of
7562 Info-isearch-initial-history and Info-isearch-initial-history-list.
7563 Add Info-isearch-end to isearch-mode-end-hook.
7564 (Info-isearch-end): New function.
7566 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7568 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7569 format string, in order to work around a bug in pdksh.
7570 Reported by Gilles Pion <gpion@lfdj.com>.
7571 (tramp-handle-verify-visited-file-modtime): Do not send a command
7572 when the connection is not established.
7573 (tramp-handle-set-file-times): Simplify the check for utc.
7575 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7577 Fix use of `filter-buffer-substring' (rework previous change).
7578 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7579 (cua-repeat-replace-region):
7580 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7581 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7582 (cua-cut-region-to-global-mark): Use it.
7584 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7586 * progmodes/sql.el: Version 2.1.
7587 (sql-product-alist): Redesign structure of product info.
7588 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7589 (sql-port, sql-port-history): New variables.
7590 (sql-interactive-product): New variable.
7591 (sql-send-terminator): New variable.
7592 (sql-imenu-generic-expression): Add "Types" imenu entry.
7593 (sql-oracle-login-params, sql-sqlite-login-params)
7594 (sql-mysql-login-params, sql-solid-login-params)
7595 (sql-sybase-login-params, sql-informix-login-params)
7596 (sql-ingres-login-params, sql-ms-login-params)
7597 (sql-postgres-login-params, sql-interbase-login-params)
7598 (sql-db2-login-params, sql-linter-login-params)
7599 (sql-oracle-scan-on): New variables.
7600 (sql-mode-map): Add C-c C-i to start interactive mode.
7601 (sql-mode-menu): Update existing menu entries.
7602 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7603 (sql-mode-oracle-font-lock-keywords)
7604 (sql-mode-postgres-font-lock-keywords)
7605 (sql-mode-ms-font-lock-keywords)
7606 (sql-mode-sybase-font-lock-keywords)
7607 (sql-mode-informix-font-lock-keywords)
7608 (sql-mode-interbase-font-lock-keywords)
7609 (sql-mode-ingres-font-lock-keywords)
7610 (sql-mode-solid-font-lock-keywords)
7611 (sql-mode-mysql-font-lock-keywords)
7612 (sql-mode-sqlite-font-lock-keywords)
7613 (sql-mode-db2-font-lock-keywords)
7614 (sql-mode-linter-font-lock-keywords): Update initialization to
7615 reduce run-time complexity.
7616 (sql-add-product, sql-del-product): New functions.
7617 (sql-set-product-feature, sql-get-product-feature): New functions.
7618 (sql-product-font-lock): Update product API.
7619 (sql-add-product-keywords): New function.
7620 (sql-highlight-product): Update product API.
7621 (sql-help-list-products): New function.
7622 (sql-help): Dynamically lists free and non-free products.
7623 (sql-get-login): Correct bug in handling history and added
7625 (sql-copy-column): Copy without properties.
7626 (sqli-input-sender): Apply filters to SQLi input.
7627 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7628 Implement as a filter.
7629 (sql-escape-newlines-filter): Implement as a filter.
7630 (sql-remove-tabs-filter): New function.
7631 (sql-send-magic-terminator): New function.
7632 (sql-send-string): Implement magic terminator.
7633 (sql-send-region): Use `sql-send-string'.
7634 (sql-interactive-mode): Use product API.
7635 (sql-product-interactive): Use product API.
7636 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7637 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7638 (sql-db2, sql-linter): Use `sql-product-interactive'.
7639 (sql-connect): New function.
7640 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7641 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7642 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7643 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7646 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7648 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7649 New custom variable.
7650 (completion-pcm--string->pattern): Use it.
7651 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7652 Make it handle any symbol as `any'.
7653 (completion-pcm--merge-completions): Extract common suffix for the new
7654 `prefix' symbol as well.
7655 (completion-substring--all-completions): Use the new `prefix' symbol.
7657 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7659 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7661 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7662 (tramp-compat-funcall): New defmacro.
7663 (tramp-compat-line-beginning-position)
7664 (tramp-compat-line-end-position)
7665 (tramp-compat-temporary-file-directory)
7666 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7667 (tramp-compat-copy-file, tramp-compat-copy-directory)
7668 (tramp-compat-delete-file, tramp-compat-delete-directory)
7669 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7670 * net/tramp.el (top, with-progress-reporter)
7671 (tramp-rfn-eshadow-setup-minibuffer)
7672 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7673 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7674 (tramp-completion-mode-p, tramp-check-for-regexp)
7675 (tramp-open-connection-setup-interactive-shell)
7676 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7677 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7678 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7679 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7680 (tramp-reporter-dump-variable, tramp-load-report-modules)
7681 (tramp-append-tramp-buffers)
7682 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7684 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7686 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7688 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7689 buffer-modtime. Adjust users.
7691 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7693 * international/mule.el (auto-coding-alist): Only purecopy
7694 car of each item, not the whole list (Bug#6083).
7696 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7698 * progmodes/js.el (js-mode): Make paragraph variables local before
7699 calling c-setup-paragraph-variables (Bug#6071).
7701 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7703 * composite.el (compose-region, reference-point-alist): Fix typos
7706 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7708 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7709 gnuplot's "set" command.
7711 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7713 * abbrev.el (last-abbrev-text): Doc fix.
7714 (abbrev-prefix-mark): Don't escape parenthesis.
7716 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7718 * composite.el (find-composition): Doc fix.
7720 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7722 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7723 (sql-oracle-program, sql-sqlite-options)
7724 (sql-query-placeholders-and-send): Doc fixes.
7725 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7726 (sql-imenu-generic-expression, sql-buffer)
7727 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7728 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7729 (sql-mode-sybase-font-lock-keywords)
7730 (sql-mode-informix-font-lock-keywords)
7731 (sql-mode-interbase-font-lock-keywords)
7732 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7733 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7734 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7735 (sql-product-feature, sql-highlight-product)
7736 (comint-line-beginning-position, sql-rename-buffer)
7737 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7738 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7739 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7740 Fix typos in docstrings.
7742 2010-05-08 Juri Linkov <juri@jurta.org>
7744 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7745 property instead of `invisible' and `after-string' (bug#5998).
7747 2010-05-08 Juri Linkov <juri@jurta.org>
7749 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7751 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7753 * filecache.el (file-cache-add-directory-list)
7754 (file-cache-add-directory-recursively): Fix typos in docstrings.
7756 2010-05-08 Kenichi Handa <handa@m17n.org>
7758 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7759 (gujarati-composable-pattern): Fix typo.
7761 2010-05-08 Kenichi Handa <handa@m17n.org>
7763 * language/indian.el (oriya-composable-pattern)
7764 (tamil-composable-pattern, malayalam-composable-pattern):
7765 Add two-part vowels to "v" (vowel sign).
7767 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7769 * files.el (copy-directory): Handle symlinks (Bug#5982).
7771 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7773 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7774 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7777 2010-05-08 Glenn Morris <rgm@gnu.org>
7779 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7781 * minibuffer.el (completion-at-point): Doc fix.
7783 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7785 * electric.el (Electric-command-loop): Minor tweak.
7787 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7788 better with dedicated windows.
7790 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7792 * Version 23.2 released.
7794 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7795 Stefan Monnier <monnier@iro.umontreal.ca>
7797 Highlight vendor specific properties.
7798 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7799 (css-proprietary-property): New face.
7800 (css-font-lock-keywords): Use them.
7802 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7804 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7806 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7808 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7809 * files.el (auto-mode-alist): Remove redundant entries.
7811 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7812 * simple.el (auto-save-mode): Move from files.el.
7813 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7815 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7817 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7819 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7821 * mail/binhex.el (binhex-decode-region-internal)
7822 * mail/uudecode.el (uudecode-decode-region-internal)
7823 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7824 (dns-read-type, dns-query)
7825 * pgg-parse.el (pgg-parse-armor)
7826 * pgg.el (pgg-verify-region)
7827 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7830 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7832 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7834 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7836 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7837 * emulation/cua-base.el (cua-repeat-replace-region):
7838 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7839 (cua-cut-region-to-global-mark):
7840 Remove text properties with `set-text-properties'.
7842 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7844 * net/tramp.el (top, with-progress-reporter):
7845 Use `symbol-function' inside `funcall'.
7847 * net/tramp-compat.el (tramp-compat-file-attributes)
7848 (tramp-compat-delete-file, tramp-compat-delete-directory):
7849 Handle only `wrong-number-of-arguments' error.
7851 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7852 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7855 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7857 * minibuffer.el (completion--sreverse, completion--common-suffix):
7859 (completion-pcm--merge-completions): Extract common suffix when safe.
7861 * emacs-lisp/easy-mmode.el (define-minor-mode):
7862 Make :variable more flexible.
7863 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7865 2010-05-05 Juri Linkov <juri@jurta.org>
7867 Add `slow' and `history' tags to the desktop data.
7869 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7870 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7871 (Info-finder-find-node): Require `finder.el' to be able
7872 to restore node from the desktop.
7873 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7874 data `Info-history' and `slow' tag in the assoc list.
7875 (Info-restore-desktop-buffer): Don't restore nodes with the
7876 `slow' tag. Restore `Info-history'.
7878 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7880 Add FORCE argument to `delete-file'.
7882 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7883 forcing to delete the temporary file.
7884 (ange-ftp-delete-file): Add FORCE arg.
7885 (ange-ftp-rename-remote-to-remote)
7886 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7887 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7888 Force file deletion.
7890 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7892 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7893 (tramp-handle-make-symbolic-link, tramp-handle-load)
7894 (tramp-do-copy-or-rename-file-via-buffer)
7895 (tramp-do-copy-or-rename-file-directly)
7896 (tramp-do-copy-or-rename-file-out-of-band)
7897 (tramp-handle-process-file, tramp-handle-call-process-region)
7898 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7899 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7900 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7902 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7903 (tramp-fish-handle-make-symbolic-link)
7904 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7906 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7907 Use `tramp-compat-delete-file'.
7909 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7910 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7912 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7913 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7915 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7916 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7917 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7918 Use `tramp-compat-delete-file'.
7920 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7923 * subr.el (add-minor-mode): Use push.
7924 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7925 * emulation/edt.el (edt-select-mode): Simplify.
7927 Use define-minor-mode in more cases.
7928 * term/tvi970.el (tvi970-set-keypad-mode):
7929 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7930 (normal-erase-is-backspace-mode):
7931 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7932 (set-scroll-bar-mode-1): (Re)move to its sole caller.
7933 (get-scroll-bar-mode): New function.
7934 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7936 Use define-minor-mode for less obvious cases.
7937 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7938 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7939 * international/iso-ascii.el (iso-ascii-mode):
7940 * frame.el (auto-raise-mode, auto-lower-mode):
7941 * composite.el (global-auto-composition-mode): Use define-minor-mode.
7943 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
7945 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7946 in order to see error messages for failed logins.
7948 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
7950 * diff.el (diff-sentinel):
7952 * epg.el (epg--make-temp-file, epg-decrypt-string)
7953 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7955 * jka-compr.el (jka-compr-partial-uncompress)
7956 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7958 * server.el (server-sentinel): Use delete-file's new FORCE arg
7961 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7963 Use define-minor-mode where applicable.
7964 * view.el (view-mode):
7965 * type-break.el (type-break-query-mode)
7966 (type-break-mode-line-message-mode):
7967 * textmodes/reftex.el (reftex-mode):
7968 * term/vt100.el (vt100-wide-mode):
7969 * tar-mode.el (tar-subfile-mode):
7970 * savehist.el (savehist-mode):
7971 * ibuf-ext.el (ibuffer-auto-mode):
7972 * composite.el (auto-composition-mode):
7973 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7974 Use define-minor-mode.
7975 (vhdl-mode): Use static mode-line format.
7976 (vhdl-mode-line-update): Delete.
7977 (vhdl-create-mode-menu, vhdl-activate-customizations)
7978 (vhdl-hs-minor-mode): Don't bother calling it.
7980 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7982 * simple.el (with-wrapper-hook): Move.
7983 (buffer-substring-filters): Mark obsolete.
7984 (filter-buffer-substring-functions): New variable.
7985 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
7987 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7988 Michael Albinus <michael.albinus@gmx.de>
7990 Implement compression for inline methods.
7992 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7993 (tramp-copy-size-limit): Allow also nil.
7994 (tramp-inline-compress-commands): New defconst.
7995 (tramp-find-inline-compress, tramp-get-inline-compress)
7996 (tramp-get-inline-coding): New defuns.
7997 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7998 replaced by `tramp-get-inline-coding'.
7999 (tramp-handle-file-local-copy, tramp-handle-write-region)
8000 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8002 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8004 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8005 Remove unused functions.
8007 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8008 Set find-tag-default-function as a variable rather than a property.
8010 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8011 * progmodes/etags.el (tags-completion-at-point-function):
8012 Remove left over interactive spec. Add autoloading stub.
8013 (complete-tag): Use tags-completion-at-point-function.
8015 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8017 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8019 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8021 * ido.el (ido-init-completion-maps): Remove C-v binding.
8022 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8024 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8026 * minibuffer.el (tags-completion-at-point-function): New function.
8027 (completion-at-point-functions): Use it.
8029 * progmodes/etags.el (complete-tag): Revert last change.
8031 2010-04-29 Alan Mackenzie <acm@muc.de>
8033 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8034 off-by-one error (in end of macro position).
8036 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8038 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8039 firefox is absent. Don't autoload.
8040 (browse-url-galeon-program): Don't autoload.
8042 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8044 * bindings.el (complete-symbol): Move into minibuffer.el.
8046 * minibuffer.el (complete-tag): Move from etags.el. If tags
8047 completion cannot be performed, return nil instead of signalling
8049 (completion-at-point): Make it an alias for complete-symbol.
8050 (complete-symbol): Move from bindings.el, and replace with the
8051 body of completion-at-point.
8053 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8055 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8057 * net/tramp.el (tramp-remote-selinux-p): New defun.
8058 (tramp-handle-file-selinux-context)
8059 (tramp-handle-set-file-selinux-context): Use it.
8061 2010-04-28 Sam Steingold <sds@gnu.org>
8063 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8064 `safe-local-variable' if the value is a string or a symbol with
8065 the property `bug-reference-url-format'.
8067 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8069 * progmodes/bug-reference.el (bug-reference-url-format):
8070 Revert 2010-04-27 change due to security risk.
8072 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8074 Make it possible to locally disable a globally enabled mode.
8075 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8076 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8077 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8078 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8079 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8080 that subsequent hooks get a chance to disable it.
8082 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8084 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8085 Avoid re-enabling a minor mode after the user turned the minor mode
8086 off if MODE-enable-in-buffers is run twice (typically once from
8087 fundamental-mode's after-change-major-mode-hook and a second time from
8088 run-mode-hook's own after-change-major-mode-hook).
8090 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8092 2010-04-27 Sam Steingold <sds@gnu.org>
8094 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8095 `safe-local-variable' if the value is a string or a function, as
8096 documented and implemented on 2010-04-02.
8098 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8100 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8101 when method is 'kill.
8103 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8105 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8106 condition in default directory check.
8107 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8108 Kill ispell process when killing its associated buffer.
8110 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8112 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8113 but we aren't using it.
8115 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8117 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8118 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8120 2010-04-24 Glenn Morris <rgm@gnu.org>
8122 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8123 Ignore VCS-ignore files, and deleted nextstep preferences files.
8124 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8125 (authors-ambiguous-files): New list.
8126 (authors-valid-file-names): Add some deleted files.
8127 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8128 (authors-disambiguate-file-name): New function. (Bug#5501)
8129 (authors-canonical-file-name): Doc fix.
8130 Don't warn about obsolete files.
8131 (authors-canonical-file-name, authors-scan-el):
8132 Use authors-disambiguate-file-name.
8134 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8135 Add autoload cookies.
8136 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8137 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8138 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8139 They have definitions / compiler macros in cl.el.
8140 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8141 Replace manual autoloads with generated ones.
8142 (htmlfontify-unload-rgb-file): Remove autoload.
8143 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8145 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8147 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8148 (byte-compile-setq-default): Optimize for the
8149 single-var case and don't call byte-compile-form in this case to avoid
8150 inf-loop with byte-compile-set-default.
8152 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8154 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8156 Implement SELINUX backends.
8158 * net/tramp.el (tramp-file-name-handler-alist):
8159 Add `file-selinux-context' and `set-file-selinux-context'.
8160 (tramp-handle-file-selinux-context)
8161 (tramp-handle-set-file-selinux-context): New defuns.
8162 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8163 Handle PRESERVE-SELINUX-CONTEXT.
8165 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8166 Add `file-selinux-context' and `set-file-selinux-context'.
8167 (tramp-gvfs-handle-file-selinux-context)
8168 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8169 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8171 * net/ange-ftp.el (ange-ftp-copy-file):
8172 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8173 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8174 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8175 Add PRESERVE-SELINUX-CONTEXT.
8177 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8179 Synchronize with Tramp repository.
8181 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8182 (tramp-action-process-alive, tramp-action-out-of-band)
8183 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8184 (tramp-exists-file-name-handler): Fix docstring.
8185 (with-progress-reporter): New defmacro.
8186 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8187 (tramp-maybe-open-connection): Use it.
8189 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8191 Detect ssh 'ControlMaster' argument automatically in some cases.
8193 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8194 (tramp-default-method): Use it.
8196 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8198 * net/tramp.el (tramp-handle-copy-file): Add new optional
8199 parameter `preserve-selinux-context'.
8200 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8202 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8204 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8205 Ensure, that non remote files are still checked. Oops.
8207 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8211 * icomplete.el (icomplete-completions): Use `non-essential'.
8213 * net/tramp.el (tramp-connectable-p): New defun.
8214 (tramp-handle-expand-file-name)
8215 (tramp-completion-handle-file-name-all-completions)
8216 (tramp-completion-handle-file-name-completion): Use it.
8218 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8222 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8224 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8226 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8228 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8231 * info.el (info-tool-bar-map): Add labels.
8233 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8235 * cus-edit.el (custom-commands): Add labels for tool bar.
8236 (custom-buffer-create-internal, Custom-mode): Adjust for
8237 labels in custom-commands.
8239 * dynamic-setting.el: Renamed from font-setting.el.
8241 2010-04-21 John Wiegley <jwiegley@gmail.com>
8243 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8244 toggles the use of virtual buffers.
8245 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8246 (ido-toggle-virtual-buffers): New function.
8248 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8250 Use `define-derived-mode'; fix window selection; doc fixes.
8251 * play/tetris.el (tetris, tetris-update-speed-function)
8252 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8253 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8254 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8255 (tetris-pause-game): Fix typos in docstrings.
8256 (tetris-mode-map, tetris-null-map):
8257 Move initialization into declaration.
8258 (tetris-mode): Define with `define-derived-mode';
8259 set show-trailing-whitespace to nil.
8260 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8262 2010-04-21 Karel Klíč <kklic@redhat.com>
8264 * files.el (backup-buffer): Handle SELinux context, and return it
8265 if a backup was made by renaming.
8266 (backup-buffer-copy): Set SELinux context to the target file.
8267 (basic-save-buffer): Set SELinux context of the newly written file.
8268 (basic-save-buffer-1): Now it also returns any SELinux context.
8269 (basic-save-buffer-2): Set SELinux context of the newly created file,
8271 * net/tramp.el (tramp-file-name-for-operation):
8272 Add file-selinux-context.
8274 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8276 Make the log-edit comments use RFC822 format throughout.
8278 * vc.el (vc-checkin, vc-modify-change-comment):
8279 Adjust to new vc-start/finish-logentry.
8280 (vc-find-conflicted-file): New command.
8281 (vc-transfer-file): Adjust to new vc-checkin.
8282 (vc-next-action): Improve scoping.
8284 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8285 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8287 * vc-git.el (vc-git-log-edit-mode): Remove.
8288 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8289 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8291 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8292 (vc-start-logentry): Remove argument `extra'.
8293 (vc-finish-logentry): Remove extra args.
8295 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8296 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8297 (vc-bzr-conflicted-files): New function.
8299 * log-edit.el (log-edit-extra-flags)
8300 (log-edit-before-checkin-process): Remove.
8301 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8302 (log-edit-headers-alist): New var.
8303 (log-edit-header-contents-regexp): New const.
8304 (log-edit-match-to-eoh): New function.
8305 (log-edit-font-lock-keywords): Use them.
8306 (log-edit): Insert a "Summary:" header as default.
8307 (log-edit-mode): Mark font-lock rules as case-insensitive.
8308 (log-edit-done): Cleanup headers.
8309 (log-view-process-buffer): Remove.
8310 (log-edit-extract-headers): New function to replace it.
8312 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8314 * subr.el (default-direction-reversed): Remove obsolescence info.
8316 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8318 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8321 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8322 I.e. include text after point in the completion region.
8323 Also, return nil when we're not after/in a symbol.
8325 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8326 default enable-multibyte-characters.
8328 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8330 * international/mule.el: Help the user choose a valid coding-system.
8331 (read-buffer-file-coding-system): New function.
8332 (set-buffer-file-coding-system): Use it. Prompt the user if the
8333 coding-system cannot encode all the chars.
8335 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8336 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8337 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8338 Don't use *vc-bzr-shelve*.
8340 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8342 Fix the version number for added files.
8343 * vc-hg.el (vc-hg-working-revision): Check if the file is
8344 registered after hg parent fails (Bug#5961).
8346 2010-04-19 Glenn Morris <rgm@gnu.org>
8348 * htmlfontify.el (htmlfontify-buffer)
8349 (htmlfontify-copy-and-link-dir): Autoload entry points.
8351 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8353 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8354 name relative to the project root (Bug#5960).
8356 2010-04-19 Glenn Morris <rgm@gnu.org>
8358 * vc-git.el (vc-git-print-log): Doc fix.
8360 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8362 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8364 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8366 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8367 default settings (Bug#5928).
8369 2010-04-19 Glenn Morris <rgm@gnu.org>
8371 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8373 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8375 2010-04-19 Kenichi Handa <handa@m17n.org>
8377 * language/indian.el (malayalam-composable-pattern): Fix previous
8378 change (add U+0D4D "SIGN VIRAMA").
8379 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8380 (tamil-composable-pattern): Fix typo in the regexp.
8381 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8382 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8383 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8385 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8387 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8388 paragraph-separate (Bug#5821).
8390 2010-04-19 Juri Linkov <juri@jurta.org>
8392 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8394 * info.el (Info-find-node-2): Comment out code that skips
8396 (Info-mouse-follow-link): New command.
8397 (Info-link-keymap): New keymap.
8398 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8399 Return a string with links instead of inserting breadcrumbs
8401 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8402 Instead of putting the `invisible' text property over the Info
8403 header, make an overlay over the Info header with the `invisible'
8404 property and `after-string' set to the string returned by
8407 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8409 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8410 Reported by monkey@sandpframing.com.
8412 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8414 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8415 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8416 available in the "keyseq cache" any more.
8418 * custom.el (defcustom): Add edebug spec.
8420 2010-04-18 Juri Linkov <juri@jurta.org>
8422 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8424 * view.el (view-file, view-buffer): Move test for special mode-class
8425 from view-file to view-buffer.
8427 * tar-mode.el (tar-extract): Turn if's into one cond
8428 like in arc-mode.el.
8430 2010-04-18 Juri Linkov <juri@jurta.org>
8432 Add 7z archive format support (bug#5475).
8434 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8435 (archive-7z-extract): New defcustom.
8436 (archive-find-type): Add magic string for 7z.
8437 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8438 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8439 `buffer' arg of `call-process'.
8440 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8441 call the function `archive-7z-extract' with the variable
8442 `archive-7z-extract' let-bound to `archive-zip-extract'.
8443 (archive-7z-summarize, archive-7z-extract): New functions.
8445 * international/mule.el (auto-coding-alist):
8446 * files.el (auto-mode-alist): Add 7z file extension.
8448 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8450 * loadup.el: Setup hash-cons for pure data.
8452 Fix duplicate entries in cedet's loaddefs.el files.
8453 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8454 Should make most file-local generated-autoload-file unnecessary.
8455 (print-readably): Silence warnings.
8456 (autoload-find-destination): Take load-name as an arg to make sure
8457 it's the same as the one that will be in the file.
8458 (autoload-generate-file-autoloads): Adjust to above changes.
8459 Try to make the dataflow a bit simpler.
8461 * cvs-status.el (cvs-refontify): Remove unused.
8463 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8465 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8467 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8468 twos-complement mode.
8470 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8472 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8473 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8474 (calc-inverse): Add "Option" to message, as appropriate.
8475 (calc-hyperbolic): Add "Option" to message, as appropriate.
8476 (calc-option, calc-is-option): New functions.
8478 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8479 (calc-option-prefix-help): New function.
8481 * calc/calc-misc.el (calc-help): Add "Option" entry.
8483 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8484 (calc-option-flag): New variable.
8485 (calc-do): Set `calc-option-flag to nil.
8486 (calc-set-mode-line): Add "Opt " as appropriate.
8488 2010-04-16 Juri Linkov <juri@jurta.org>
8490 Move scrolling commands from simple.el to window.el
8491 because their primitives are implemented in window.c.
8493 * simple.el (scroll-error-top-bottom)
8494 (scroll-up-command, scroll-down-command, scroll-up-line)
8495 (scroll-down-line, scroll-other-window-down)
8496 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8497 * window.el (scroll-error-top-bottom)
8498 (scroll-up-command, scroll-down-command, scroll-up-line)
8499 (scroll-down-line, scroll-other-window-down)
8500 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8501 Move from simple.el to window.el because their primitives are
8502 implemented in window.c.
8504 2010-04-16 Juri Linkov <juri@jurta.org>
8506 * isearch.el (isearch-lookup-scroll-key): Check both
8507 `isearch-scroll' and `scroll-command' properties.
8508 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8510 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8512 * simple.el (scroll-up-command, scroll-down-command)
8513 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8515 2010-04-15 Juri Linkov <juri@jurta.org>
8517 * simple.el (scroll-up-command, scroll-down-command)
8518 (scroll-up-line, scroll-down-line): Put `scroll-command'
8519 property on the these symbols. Remove them from
8520 `scroll-preserve-screen-position-commands'.
8522 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8523 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8524 Remove it from `scroll-preserve-screen-position-commands'.
8526 * isearch.el (isearch-allow-scroll): Doc fix.
8528 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8530 * net/tramp.el (tramp-error-with-buffer): Don't show the
8531 connection buffer when we are in completion mode.
8532 (tramp-file-name-handler): Catch the error for some operations
8533 when we are in completion mode. This gives the user the chance to
8534 correct the file name in the minibuffer.
8536 2010-04-15 Glenn Morris <rgm@gnu.org>
8538 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8540 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8542 Simplify by using `define-derived-mode'.
8543 * info.el (Info-mode):
8544 * calendar/todo-mode.el (todo-mode):
8545 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8546 (gomoku-mode-map): Move initialization into declaration.
8548 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8551 * ido.el (ido-file-name-all-completions-1):
8552 * minibuffer.el (minibuffer-completion-help):
8553 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8555 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8557 * simple.el (non-essential): New var.
8559 Add a new field `location' to bookmarks for non-file bookmarks.
8560 * bookmark.el (bookmark-location): Use the new field, if present.
8561 (bookmark-insert-location): Undo last change, not needed any more.
8562 * man.el (Man-bookmark-make-record):
8563 * woman.el (woman-bookmark-make-record): Add `location' field.
8565 2010-04-14 Juri Linkov <juri@jurta.org>
8567 * simple.el (scroll-error-top-bottom): New defcustom.
8568 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8570 * emulation/pc-select.el (pc-select-override-scroll-error):
8571 Obsolete in favor of `scroll-error-top-bottom'.
8573 2010-04-14 Juri Linkov <juri@jurta.org>
8575 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8576 `scroll-up-command' and `M-v' to `scroll-down-command'.
8578 * emulation/cua-rect.el (cua--init-rectangles):
8579 * forms.el (forms--change-commands):
8580 * image-mode.el (image-mode-map):
8581 Remap scroll-down-command and scroll-up-command
8582 in addition to scroll-down and scroll-up.
8584 2010-04-14 Juri Linkov <juri@jurta.org>
8586 * mwheel.el (scroll-preserve-screen-position-commands):
8587 Add mwheel-scroll to this list of commands.
8589 * simple.el (scroll-preserve-screen-position-commands):
8590 Add scroll-up-command, scroll-down-command, scroll-up-line,
8591 scroll-down-line to this list of commands.
8593 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8595 * obsolete/complete.el: Move from lisp/complete.el.
8597 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8599 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8600 to the minor mode function now turns the mode ON unconditionally.
8602 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8604 * vc-dir.el (vc-dir-kill-line): New command.
8605 (vc-dir-mode-map): Bind it to C-k.
8607 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8609 * woman.el: Add bookmark declarations to silence the compiler.
8610 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8611 step to compatibility between man and woman bookmarks.
8612 Adjust for Man-default-bookmark-title renaming.
8613 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8615 * man.el: Add bookmark declarations to silence the compiler.
8616 (Man-name-local-regexp): Make it match NAME as well.
8617 (Man-getpage-in-background): Return the buffer.
8618 (Man-notify-when-ready): Use `case'.
8619 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8620 Don't hardcode "NAME". Simplify.
8621 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8622 Rename from Man-bookmark-make-record.
8623 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8624 we have the actual man-args. Use Man-getpage-in-background rather
8625 than `man' since the arg is already processed. Let bookmark.el do the
8626 window handling. Only wait for the relevant process.
8627 Don't forget to autoload.
8629 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8631 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8633 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8635 (woman-mode): Setup bookmark support.
8637 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8638 (man-bookmark-jump): New functions.
8639 (Man-mode): Setup bookmark support.
8641 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8643 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8644 recognize ssh-keygen prompt (Bug#2817).
8646 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8648 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8650 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8652 Synchronize with Tramp repository.
8654 * net/tramp.el (tramp-completion-function-alist)
8655 (tramp-file-name-regexp, tramp-chunksize)
8656 (tramp-local-coding-commands, tramp-remote-coding-commands):
8658 (tramp-remote-process-environment): Use `format' instead of `concat'.
8659 (tramp-handle-directory-files-and-attributes)
8660 (tramp-get-remote-path): Use `copy-tree'.
8661 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8662 compatibility: Use `completion-ignore-case' if
8663 `read-file-name-completion-ignore-case' does not exist.
8664 (tramp-do-copy-or-rename-file-directly): Do not use
8665 `tramp-handle-file-remote-p'.
8666 (tramp-do-copy-or-rename-file-out-of-band):
8667 Use `tramp-compat-delete-directory'.
8668 (tramp-do-copy-or-rename-file-out-of-band)
8669 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8670 Use `format-spec-make'.
8671 (tramp-find-foreign-file-name-handler)
8672 (tramp-advice-make-auto-save-file-name)
8673 (tramp-set-auto-save-file-modes): Remove superfluous check for
8674 `stringp'. This is done inside `tramp-tramp-file-p'.
8675 (tramp-debug-outline-regexp): New defconst.
8676 (tramp-get-debug-buffer): Use it.
8677 (tramp-check-for-regexp): Use (forward-line 1).
8678 (tramp-set-auto-save-file-modes): Adapt version check.
8680 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8681 Wrap call of `featurep' for 2nd argument.
8682 (tramp-compat-make-temp-file): Simplify fallback implementation.
8683 (tramp-compat-copy-tree): Remove function.
8684 (tramp-compat-delete-directory): Provide implementation for older
8687 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8688 Do not use `tramp-fish-handle-file-attributes.
8690 * net/trampver.el: Update release number.
8692 2010-04-10 Glenn Morris <rgm@gnu.org>
8694 * progmodes/compile.el (compilation-save-buffers-predicate):
8695 Add missing :version tag.
8697 2010-04-09 Sam Steingold <sds@gnu.org>
8699 * progmodes/compile.el (compilation-save-buffers-predicate):
8700 Remove the "autoload" cookie.
8702 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8703 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8704 and `bug-reference-prog-mode' can be used in hooks directly.
8706 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8708 Add --author support to git commit.
8709 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8710 (vc-git-log-edit-mode): New minor mode.
8711 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8714 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8716 * vc-hooks.el, vc-git.el: Improve documentation comments.
8718 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8720 Fix some of the problems in defsubst* (bug#5728).
8721 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8722 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8724 2010-04-07 Sam Steingold <sds@gnu.org>
8726 * progmodes/compile.el (compilation-save-buffers-predicate):
8727 New custom variable.
8728 (compile, recompile): Pass it to `save-some-buffers'.
8730 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8732 * wid-edit.el (widget-choose): Move cursor to the second line of
8733 the buffer (Bug#5695).
8735 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8737 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8738 * vc.el (vc-print-log-setup-buttons): New function split out from
8739 vc-print-log-internal.
8740 (vc-log-internal-common): New function, a parametrized version of
8741 vc-print-log-internal.
8742 (vc-print-log-internal): Just call vc-log-internal-common with the
8744 (vc-incoming-outgoing-internal):
8745 (vc-log-incoming, vc-log-outgoing): New functions.
8746 (vc-log-view-type): New permanent local variable.
8748 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8750 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8751 of the dynamic bound vc-short-log.
8752 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8754 * vc-git.el (vc-git-log-outgoing): New function.
8755 (vc-git-log-view-mode): Use vc-log-view-type instead
8756 of the dynamic bound vc-short-log.
8758 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8759 of the dynamic bound vc-short-log. Highlight the tag.
8760 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8761 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8762 (vc-hg-incoming-mode): Remove.
8763 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8765 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8767 Fix default-directory for vc-root-diff.
8768 * vc.el (vc-root-diff): Bind default-directory to the root
8769 directory for the diff command.
8771 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8773 * progmodes/verilog-mode.el (verilog-forward-sexp):
8774 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8775 word keywords, suggested by Steve Pearlmutter.
8776 (verilog-pretty-declarations): Support lineup of declarations in
8778 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8779 fix bug for /* / comments.
8780 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8781 Speed up and simplfy as this is never called with a bound.
8782 (verilog-pretty-declarations): Enhance to line up declarations
8783 inside a parameter list, suggested by Alan Morgan.
8784 (verilog-pretty-expr): Tune assignment regular expression match
8785 string for corner cases; also use markers instead of character
8786 number as indent changes the later.
8788 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8790 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8792 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8793 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8794 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8795 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8798 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8799 1800-2009 keywords, including "global.".
8801 2010-04-06 John Wiegley <jwiegley@gmail.com>
8803 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8804 appearing in buffer list (if a live buffer name matched a recentf
8805 file basename). Should use uniquify to offer a real solution.
8807 2010-04-06 John Wiegley <jwiegley@gmail.com>
8809 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8810 comment to code, and add a :version tag.
8811 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8813 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8815 Enable recentf-mode if using virtual buffers.
8816 * ido.el (recentf-list): Declare for byte-compiler.
8817 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8818 (ido-make-buffer-list): Simplify.
8819 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8821 2010-04-05 Juri Linkov <juri@jurta.org>
8823 Scrolling commands which scroll a line instead of full screen.
8824 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8826 * simple.el (scroll-up-line, scroll-down-line): New commands.
8827 Put property isearch-scroll=t on them.
8829 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8832 2010-04-05 Juri Linkov <juri@jurta.org>
8834 Scrolling commands which do not signal errors at top/bottom.
8835 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8837 * simple.el (scroll-up-command, scroll-down-command): New commands.
8838 Put property isearch-scroll=t on them.
8840 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8841 `scroll-down-command' and [next] from `scroll-up' to
8842 `scroll-up-command'.
8844 * emulation/cua-base.el: Put property CUA=move on
8845 `scroll-up-command' and `scroll-down-command'.
8846 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8847 and `scroll-down-command' to `cua-scroll-down'.
8849 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8851 * help.el (describe-mode): Return nil.
8853 2010-04-04 John Wiegley <jwiegley@gmail.com>
8855 * ido.el (ido-use-virtual-buffers): New variable to indicate
8856 whether "virtual buffer" support is enabled for IDO.
8857 (ido-virtual): Face used to indicate virtual buffers in the list.
8858 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8859 exists, but a virtual buffer of that name does (which would be why
8860 it was in the list), recreate the buffer by reopening the file.
8861 (ido-make-buffer-list): If virtual buffers are being used, call
8862 `ido-add-virtual-buffers-to-list' before the make list hook.
8863 (ido-virtual-buffers): New variable which contains a copy of the
8864 current contents of the `recentf-list', albeit pared down for the
8865 sake of speed, and with proper faces applied.
8866 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8867 create a list of "virtual buffers" to present to the user in
8868 addition to the currently open set. Note that this logic could
8869 get rather slow if that list is too large. With the default
8870 `recentf-max-saved-items' of 200, there is little speed penalty.
8872 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8874 * font-lock.el: Require CL when compiling.
8875 (font-lock-turn-on-thing-lock): Use `case'.
8877 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8879 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8882 2010-04-02 Juri Linkov <juri@jurta.org>
8884 * ehelp.el (electric-help-orig-major-mode):
8885 New buffer-local variable.
8886 (electric-help-mode): Set it to original major-mode. Doc fix.
8887 (with-electric-help): Use `electric-help-orig-major-mode' instead
8888 of (default-value 'major-mode). Doc fix.
8889 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8891 2010-04-02 Sam Steingold <sds@gnu.org>
8893 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8894 `vc-hg-command' with a list of flags.
8896 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8897 Also accept "patch" and "RFE".
8898 (bug-reference-fontify): `bug-reference-url-format' can also be a
8899 function to be able to handle the bug kind.
8900 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8902 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8904 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8905 value to fboundp, it may not be a symbol.
8907 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8909 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8911 2010-03-31 Juri Linkov <juri@jurta.org>
8913 * simple.el (next-line, previous-line): Re-throw a signal
8914 with `signal' instead of using `ding'.
8915 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8917 2010-03-31 Juri Linkov <juri@jurta.org>
8919 * simple.el (keyboard-escape-quit): Raise deselecting the active
8920 region higher than exiting the minibuffer.
8921 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8923 2010-03-31 Juri Linkov <juri@jurta.org>
8925 * image.el (image-animated-p): Use `image-metadata' instead of
8926 `image-extension-data'. Get GIF extenstion data from metadata
8927 property `extension-data'.
8929 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8931 * simple.el (append-to-buffer): Simplify.
8933 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
8935 * textmodes/artist.el (artist-mode): Fix typo in docstring.
8936 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
8938 2010-03-31 Kenichi Handa <handa@m17n.org>
8940 * language/sinhala.el (composition-function-table): Fix regexp for
8941 the new Unicode specification.
8943 * language/indian.el (devanagari-composable-pattern)
8944 (tamil-composable-pattern, kannada-composable-pattern)
8945 (malayalam-composable-pattern): Adjust for the new Unicode
8947 (bengali-composable-pattern, gurmukhi-composable-pattern)
8948 (gujarati-composable-pattern, oriya-composable-pattern)
8949 (telugu-composable-pattern): New variables to cope with the new
8950 Unicode specification. Use them in composition-function-table.
8952 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8954 Make tmm-menubar work for the Buffers menu again (bug#5726).
8955 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8956 vectors rather than cons cells, as used in menu-bar-update-buffers.
8958 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8960 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8961 (js-insert-and-indent): Revert 2009-08-15 change, restoring
8962 electric punctuation for "{}();,:" (Bug#5586).
8964 * mail/sendmail.el (mail-default-directory): Doc fix.
8966 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8968 * mail/sendmail.el (mail-default-directory): Doc fix.
8970 2010-03-31 Eli Zaretskii <eliz@gnu.org>
8972 * subr.el (version-regexp-alist, version-to-list)
8973 (version-list-<, version-list-=, version-list-<=)
8974 (version-list-not-zero, version<, version<=, version=): Doc fix.
8977 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
8979 * vc.el (vc-root-diff): Doc fix.
8981 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8983 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8985 * simple.el (append-to-buffer): Fix last change.
8987 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8989 * simple.el (append-to-buffer): Ensure that point is preserved if
8990 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8993 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8995 * files.el (auto-mode-case-fold): Change default to t.
8997 2010-03-30 Juri Linkov <juri@jurta.org>
8999 * dired-x.el (dired-omit-mode): Doc fix.
9001 2010-03-30 Juri Linkov <juri@jurta.org>
9003 * replace.el (occur-accumulate-lines): Move occur-engine related
9004 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9005 to be located after `occur-engine'.
9007 2010-03-30 Juri Linkov <juri@jurta.org>
9009 Make occur handle multi-line matches cleanly with context.
9010 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9012 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9013 (occur-engine): Add local variables `ret', `prev-after-lines',
9014 `prev-lines'. Use more arguments for `occur-context-lines'.
9015 Set first elem of its returned list to `data', and the second elem
9016 to `prev-after-lines'. Don't print the separator line.
9017 In the end, print remaining context after-lines.
9018 (occur-context-lines): Add new arguments `begpt', `endpt',
9019 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9020 after-lines of the previous match with before-lines of the
9021 current match and not overlap them. Return a list with two
9022 values: the output line and the list of context after-lines.
9024 2010-03-30 Juri Linkov <juri@jurta.org>
9026 * replace.el (occur-accumulate-lines): Fix a bug where the first
9027 context line at the beginning of the buffer was missing.
9029 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9031 * files.el: Make bidi-display-reordering safe variable for boolean
9034 2010-03-29 Phil Hagelberg <phil@evri.com>
9035 Chong Yidong <cyd@stupidchicken.com>
9037 * subr.el: Extend progress reporters to perform "spinning".
9038 (progress-reporter-update, progress-reporter-do-update):
9039 Handle non-numeric value arguments.
9040 (progress-reporter--pulse-characters): New var.
9042 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9044 * progmodes/compile.el (compilation-start): Fix regexp detection
9045 of initial cd command (Bug#5771).
9047 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9049 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9051 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9053 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9054 * progmodes/gdb-mi.el: Restore.
9055 * progmodes/gdb-ui.el: Remove.
9056 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9058 2010-03-25 Glenn Morris <rgm@gnu.org>
9060 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9061 all dired buffers, even tramp ones. (Bug#5755)
9063 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9065 Add "union tags" in mpc.el.
9066 * mpc.el: Remove backward compatibility code.
9067 (mpc-browser-tags): Change default.
9068 (mpc--find-memoize-union-tags): New var.
9069 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9070 (mpc-cmd-find): Handle the case where the playlist does not exist.
9072 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9073 (mpc-cmd-add): Use mpc-cmd-flush.
9074 (mpc-tagbrowser-tag-name): New fun.
9075 (mpc-tagbrowser-buf): Use it.
9076 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9078 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9081 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9082 Use replace-regexp-in-string.
9083 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9084 (makefile-imake-mode-syntax-table): Move init into defvar.
9085 (makefile-mode): Use define-derived-mode.
9087 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9088 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9089 not be present any more.
9091 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9093 * faces.el (set-face-attribute): Fix typo in docstring.
9094 (face-valid-attribute-values): Reflow docstring.
9096 2010-03-24 Glenn Morris <rgm@gnu.org>
9098 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9100 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9102 * indent.el (indent-for-tab-command): Doc fix.
9104 2010-03-24 Alan Mackenzie <acm@muc.de>
9106 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9107 Fix off-by-one error. Fixes bug #5747.
9109 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9111 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9112 (image-dired-read-comment): Doc fix.
9114 * json.el (json-object-type, json-array-type, json-key-type)
9115 (json-false, json-null, json-read-number):
9116 * minibuffer.el (completion-in-region-functions):
9117 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9118 (cal-tex-cursor-week):
9119 * emacs-lisp/trace.el (trace-function):
9120 * eshell/em-basic.el (eshell/printnl):
9121 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9122 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9123 * obsolete/levents.el (allocate-event, event-key, event-object)
9124 (event-point, event-process, event-timestamp, event-to-character)
9125 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9126 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9127 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9128 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9129 (reftex-highlight-selection): Fix typos in docstrings.
9131 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9133 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9135 2010-03-24 Glenn Morris <rgm@gnu.org>
9137 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9138 2008-02-13 without comment; mark it obsolete.
9139 (rmail-highlight-headers): Use rmail-highlight-face once more.
9141 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9143 * woman.el (woman2-process-escapes): Only consume the newline if
9144 the filler character is on a line by itself (Bug#5729).
9146 2010-03-24 Kenichi Handa <handa@m17n.org>
9148 * language/indian.el (devanagari-composable-pattern): Add more
9151 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9153 * net/trampver.el: Update release number.
9155 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9157 * net/tramp.el (tramp-find-executable):
9158 Use `tramp-get-connection-buffer'. Make the regexp for checking
9159 output of "wc -l" more robust.
9160 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9161 (tramp-open-connection-setup-interactive-shell): Remove workaround
9162 for OpenSolaris bug, it is not needed anymore.
9164 2010-03-24 Glenn Morris <rgm@gnu.org>
9166 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9168 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9170 * files.el (auto-mode-alist): Accept more verilog file patterns.
9172 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9174 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9176 2010-03-24 Glenn Morris <rgm@gnu.org>
9178 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9179 log-edit-before-checkin-process.
9181 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9183 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9185 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9186 (log-view-process-buffer, log-edit-extra-flags): Declare.
9188 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9190 2010-03-23 Sam Steingold <sds@gnu.org>
9192 Fix bug#5620: recalculate all markers on compilation buffer
9193 modifications, not on file modifications.
9194 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9195 the buffer modification time, for buffers not associated with files.
9196 (compilation-mode): Create it.
9197 (compilation-filter): Update it.
9198 (compilation-next-error-function): Use it instead of
9199 `visited-file-modtime' for timestamp.
9201 2010-03-23 Juri Linkov <juri@jurta.org>
9203 Implement Occur multi-line matches.
9204 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9206 * replace.el (occur): Doc fix.
9207 (occur-engine): Set `begpt' to the beginning of the first line.
9208 Set `endpt' to the end of the last match line. At first, count
9209 line numbers between `origpt' and `begpt'. Split out code from
9210 `out-line' variable to new let-bindings `match-prefix' and
9211 `match-str'. In `out-line' add non-numeric prefix to all
9212 non-first lines of multi-line matches. Finally, count lines
9213 between `begpt' and `endpt' and add to `lines'.
9215 2010-03-23 Juri Linkov <juri@jurta.org>
9217 * replace.el (occur-accumulate-lines, occur-engine):
9218 Use `occur-engine-line' instead of duplicate code.
9219 (occur-engine-line): New function created from duplicate code
9220 in `occur-accumulate-lines' and `occur-engine'.
9222 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9223 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9225 2010-03-23 Juri Linkov <juri@jurta.org>
9227 * finder.el: Remove TODO tasks.
9229 * info.el (Info-finder-find-node): Add node "all"
9230 with all package info. Handle a list of multiple keywords
9232 (info-finder): In interactive use with a prefix argument,
9233 use `completing-read-multiple' to read a list of keywords
9236 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9238 Add a new completion style `substring'.
9239 * minibuffer.el (completion-basic--pattern): New function.
9240 (completion-basic-try-completion, completion-basic-all-completions):
9242 (completion-substring--all-completions)
9243 (completion-substring-try-completion)
9244 (completion-substring-all-completions): New functions.
9245 (completion-styles-alist): New style `substring'.
9247 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9249 Get rid of .elc files after removal of the corresponding .el.
9250 * Makefile.in (compile-clean): New target.
9251 (compile-main): Use it.
9253 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9255 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9256 don't do make there. When compiling with separate object dir, there
9257 is no Makefile there.
9259 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9261 Get rid of the ELCFILES abomination, again.
9262 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9263 (all, compile): Don't call compile-last.
9264 (compile-main): Build the "elcfiles" list dynamically.
9265 (compile-targets): New (internal) target.
9267 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9269 * Makefile.in (top_srcdir): Define.
9270 (abs_top_builddir): Define.
9271 (srcdir): Don't append `/..'.
9272 (EMACS): Use ${abs_top_builddir}.
9273 (all, compile, compile-always, compile-last): Don't set emacswd.
9274 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9276 (lisp): Use $(srcdir) instead of @srcdir@.
9278 2010-03-21 Juri Linkov <juri@jurta.org>
9280 Fix message of multi-line occur regexps and multi-buffer header lines.
9281 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9283 * replace.el (occur-1): Don't display regexp if it is longer
9284 than window-width. Use `query-replace-descr' to display regexp.
9285 (occur-engine): Don't display regexp in the buffer header for
9286 multi-buffer occur. Display a separate header line with total
9287 match count and regexp for multi-buffer occur.
9288 Use `query-replace-descr' to display regexp.
9290 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9292 * net/secrets.el: Fix parenthesis.
9293 (secrets-enabled): Fix parenthesis.
9295 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9297 Use more relative file and directory names.
9298 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9299 (setwins, setwins_almost, setwins_for_subdirs):
9300 Don't `cd'; output relative names.
9301 (all, compile, compile-always, compile-last): Set emacswd.
9302 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9303 Just cd to the lisp source dir so we can use relative file names.
9305 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9307 2010-03-20 Glenn Morris <rgm@gnu.org>
9309 * textmodes/rst.el: Use faces for font-lock customization, and make the
9310 old -face variables obsolete.
9311 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9312 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9313 (rst-block-face, rst-external-face, rst-definition-face)
9314 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9315 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9317 (rst-font-lock-keywords-function): Update for above changes.
9319 2010-03-20 Juri Linkov <juri@jurta.org>
9322 * obsolete/s-region.el: Move to obsolete.
9324 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9326 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9328 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9330 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9332 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9334 Add special markup processing for commit logs.
9335 * log-edit.el (log-edit-extra-flags): New variable.
9336 (log-edit): Add new argument MODE. Use that mode when non-nil
9337 instead of the log-view-mode.
9338 (log-view-process-buffer): New function.
9340 * vc.el: Document that the checkin method takes optional
9341 arguments. Document new backend specific method: log-view-mode.
9342 (vc-default-log-edit-mode): New function.
9343 (vc-checkin): Use a backend specific log-view-mode.
9344 Pass extra arguments to the checkin method.
9345 (vc-modify-change-comment): Pass a dummy extra argument.
9347 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9349 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9350 (vc-finish-logentry): Process the log buffer before passing it
9351 down. Pass log-edit-extra-flags.
9353 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9355 (log-edit-extra-flags, log-edit-before-checkin-process):
9358 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9360 (log-edit-extra-flags, log-edit-before-checkin-process):
9362 (vc-hg-log-edit-mode): New derived mode.
9364 * vc-arch.el (vc-arch-checkin):
9365 * vc-cvs.el (vc-cvs-checkin):
9366 * vc-git.el (vc-git-checkin):
9367 * vc-mtn.el (vc-mtn-checkin):
9368 * vc-rcs.el (vc-rcs-checkin):
9369 * vc-sccs.el (vc-sccs-checkin):
9370 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9372 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9374 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9377 2010-03-19 Glenn Morris <rgm@gnu.org>
9379 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9381 2010-03-18 Glenn Morris <rgm@gnu.org>
9383 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9385 * replace.el (query-replace-history): Give it a doc string.
9386 (map-query-replace-regexp): Use query-replace-from-history-variable
9387 and query-replace-to-history-variable.
9389 * mail/hashcash.el (declare-function): Remove duplicate definition.
9391 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9392 Make it an obsolete alias for report-emacs-bug-address.
9393 (message-strip-special-text-properties): Declare.
9394 (report-emacs-bug): Remove test for a pretest bug address.
9395 Combine message-mode-specific code.
9397 * mail/supercite.el: Don't require sendmail.
9398 (mh-in-header-p): Declare rather than using with-no-warnings.
9399 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9400 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9402 * calendar/cal-french.el: Convert to utf-8.
9404 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9407 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9409 * net/secrets.el (secrets-enabled): New variable. Use it instead
9412 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9414 * net/secrets.el (top): Register the D-Bus signals only when the
9415 service "org.freedesktop.secrets" can be pinged.
9416 Provide subfeature `enabled'.
9418 2010-03-14 Juri Linkov <juri@jurta.org>
9420 Add finder unknown keywords.
9422 * finder.el (finder-unknown-keywords): New function.
9424 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9425 to create a Finder node with unknown keywords.
9427 2010-03-14 Juri Linkov <juri@jurta.org>
9429 * finder.el (finder-compile-keywords): Replace `princ' with
9430 `prin1' on a list of symbols interned from keyword strings.
9432 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9433 a comma, then split keywords using a comma and optional whitespace.
9434 Otherwise, split by whitespace.
9442 * progmodes/mixal-mode.el: Fix keywords.
9444 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9446 * Makefile.in (ELCFILES): Add net/secrets.elc.
9448 * net/secrets.el: New file.
9450 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9452 * facemenu.el (list-colors-display, list-colors-print): New arg
9453 callback. Use it to allow selecting colors.
9455 * wid-edit.el (widget-image-insert): Insert image prop even if the
9456 current display is non-graphic.
9457 (widget-field-value-set): New fun.
9458 (editable-field): Use it.
9459 (widget-field-value-get): Clean up unused var.
9460 (widget-color-value-create, widget-color--choose-action):
9461 New funs. Allow using list-colors-display to choose color.
9463 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9465 * cus-edit.el: Resort topmost custom groups.
9466 (custom-buffer-sort-alphabetically): Default to t.
9467 (customize-apropos): Use apropos-parse-pattern.
9468 (custom-search-field): New var.
9469 (custom-buffer-create-internal): Add custom-apropos search field.
9470 (custom-add-parent-links): Don't display parent doc.
9471 (custom-group-value-create): Don't sort top-level custom group.
9472 (custom-magic-value-create): Show visibility button before option name.
9474 (custom-variable-state): New fun, from custom-variable-state-set.
9475 (custom-variable-state-set): Use it.
9476 (custom-group-value-create): Hide options with standard values
9477 using the :hidden-states property. Use progress reporter.
9479 (custom-show): Simplify.
9480 (custom-visibility): Disable images by default.
9481 (custom-variable): New property :hidden-states.
9482 (custom-variable-value-create): Enable images for
9483 custom-visibility widgets. Use :hidden-states property to
9484 determine initial visibility.
9486 * wid-edit.el (widget-image-find): Give images center ascent.
9487 (visibility): Add :on-image and :off-image properties.
9488 (widget-visibility-value-create): Use them.
9490 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9492 * cus-edit.el (processes): Remove from development group.
9493 (oop, hypermedia): Delete group.
9494 (comm): Promote to top-level group.
9496 * net/browse-url.el (browse-url):
9497 * net/xesam.el (xesam):
9498 * net/tramp.el (tramp):
9499 * net/goto-addr.el (goto-address):
9500 * net/ange-ftp.el (ange-ftp): Put in comm group.
9502 * view.el (view): Remove from editing group.
9504 * uniquify.el (uniquify): Put in files group.
9506 * net/browse-url.el (browse-url):
9507 * ps-print.el (postscript): Put in external group.
9509 * cus-edit.el (outlines):
9510 * textmodes/text-mode.el (text-mode-hook):
9511 * textmodes/table.el (table):
9512 * textmodes/picture.el (picture):
9513 * outline.el (outlines): Put in wp group.
9515 * nxml/nxml-mode.el (nxml): Remove from wp group.
9517 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9519 * mail/metamail.el (metamail): Remove from hypermedia group.
9521 * cus-edit.el (abbrev):
9522 * whitespace.el (whitespace):
9523 * vcursor.el (vcursor):
9524 * reveal.el (reveal):
9525 * hl-line.el (hl-line): Put in convenience group.
9527 * epg-config.el (epg): Put in data group.
9529 * emulation/pc-select.el (pc-select): Put in emulations group.
9531 * calculator.el (calculator): Put in applications group.
9533 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9535 Add .dir-locals.el support for file-less buffers.
9536 * files.el (hack-local-variables): Split out code to apply local
9537 variable settings ...
9538 (hack-local-variables-apply): ... here. New function.
9539 (hack-dir-local-variables): Use the default directory for when the
9540 buffer does not have an associated file.
9541 (hack-dir-local-variables-non-file-buffer): New function.
9542 * diff-mode.el (diff-mode):
9543 * vc-annotate.el (vc-annotate-mode):
9544 * vc-dir.el (vc-dir-mode):
9545 * log-edit.el (log-edit-mode):
9546 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9548 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9550 Add support for shelving snapshots and for showing shelves.
9551 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9552 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9554 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9555 (vc-bzr-extra-menu-map): Map them.
9557 2010-03-11 Glenn Morris <rgm@gnu.org>
9559 * cus-edit.el (customize-changed-options-previous-release):
9562 * image.el (image-animate-max-time): Fix :version tag.
9564 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9568 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9570 * vc-git.el (vc-git-revision-table): Include remote branches.
9572 2010-03-10 Kim F. Storm <storm@cua.dk>
9575 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9577 * image.el (image-animate-max-time): New defcustom.
9578 (image-animated-types): New defconst.
9579 (create-animated-image, image-animate-timer)
9580 (image-animate-start, image-animate-stop, image-animate-timeout)
9581 (image-animated-p): New functions.
9583 * image-mode.el (image-toggle-display-image):
9584 Replace `create-image' with `create-animated-image'.
9586 2010-03-09 Miles Bader <miles@gnu.org>
9588 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9589 instead of "format:"; this ensures that the output is
9592 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9594 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9595 that all errors are caught, and that the return value is always a
9598 2010-03-08 Kenichi Handa <handa@m17n.org>
9600 * language/misc-lang.el (windows-1256): New coding system.
9601 (cp1256): New alias of windows-1256 (bug#5690).
9603 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9605 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9606 call to rfc822-bad-address. (Bug#5692)
9608 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9610 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9611 Use vc-git-root as default directory for revision path (Bug#5657).
9613 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9615 * calculator.el (calculator): Don't bind split-window-keep-point
9618 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9620 * vc-git.el: Re-flow to fit into 80 columns.
9621 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9622 Remove spurious `quote' element in each case alternative.
9623 (vc-git-show-log-entry): Use prog1.
9624 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9626 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9628 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9630 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9632 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9633 definition, not the name (Bug#5481).
9635 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9637 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9638 argument with a local variable. (Bug#5670)
9640 2010-03-02 Juri Linkov <juri@jurta.org>
9642 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9644 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9646 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9647 error when FILENAME and NEWNAME are existing remote directories.
9649 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9652 2010-03-02 Glenn Morris <rgm@gnu.org>
9654 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9655 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9657 2010-03-01 Kenichi Handa <handa@m17n.org>
9659 * language/burmese.el (burmese-composable-pattern): Rename from
9660 myanmar-composable-pattern.
9662 * international/characters.el (script-list):
9663 * international/fontset.el (script-representative-chars):
9664 Change myanmar to burmese.
9665 (otf-script-alist): Likewise.
9666 (setup-default-fontset): Likewise. Re-fix :otf spec.
9668 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9670 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9672 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9674 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9676 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9678 * net/tramp.el (tramp-handle-write-region): START can be a string.
9679 Take care in the checks. Reported by Dan Davison
9680 <davison@stats.ox.ac.uk>.
9682 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9684 * net/dbus.el (dbus-introspect, dbus-get-property)
9685 (dbus-set-property, dbus-get-all-properties):
9686 Use `dbus-call-method' when noninteractive. (Bug#5645)
9688 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9690 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9691 * emacs-lisp/elint.el (elint-add-required-env):
9692 * calendar/icalendar.el (icalendar--add-diary-entry):
9693 * calc/calcalg2.el (math-tracing-integral):
9694 * files.el (recover-session-finish): Use with-current-buffer
9695 instead of save-excursion.
9697 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9699 Fix in-buffer completion when after-change-functions modify the buffer.
9700 * minibuffer.el (completion--replace): New function.
9701 (completion--do-completion): Use it and use relative movement.
9703 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9705 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9707 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9709 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9710 Allow the characters _<> in the stack entry (Bug#5653).
9712 2010-02-26 Kenichi Handa <handa@m17n.org>
9714 * language/burmese.el: Fix entries in composition-function-table.
9715 (myanmar-composable-pattern): New variable.
9717 * international/fontset.el (setup-default-fontset): Add an entry
9720 * international/characters.el (script-list): Add Myanmar
9723 2010-02-26 Glenn Morris <rgm@gnu.org>
9725 * custom.el (custom-initialize-delay): Doc fix.
9727 * mail/sendmail.el (send-mail-function): Autoload the call
9728 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9730 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9732 * files.el (hack-local-variables-filter): For eval forms, also
9733 check safe-local-variable-p (Bug#5636).
9735 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9737 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9738 setting the modes by `ignore-errors'. It might fail, for example
9739 if the file is not owned by the user but the group.
9740 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9742 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9744 * files.el (directory-listing-before-filename-regexp):
9745 Use stricter matching for iso-style dates, to avoid false matches with
9746 date-like filenames (Bug#5597).
9748 * htmlfontify.el (htmlfontify): Doc fix.
9750 * eshell/eshell.el (eshell): Doc fix.
9752 * startup.el (fancy-about-screen): In mode-line, apply
9753 mode-line-buffer-id face only to the buffer name (Bug#5613).
9755 2010-02-20 Kevin Ryde <user42@zip.com.au>
9757 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9758 In `watcom' anchor regexp to start of line, to avoid slowness
9761 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9763 * subr.el (remove-yank-excluded-properties): Explain in a comment
9764 why `category' property is removed.
9766 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9768 * isearch.el (isearch-update-post-hook, isearch-update):
9769 Revert 2010-02-17 change.
9771 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9773 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9774 (icalendar--convert-weekly-to-ical)
9775 (icalendar--convert-yearly-to-ical)
9776 (icalendar--convert-block-to-ical)
9777 (icalendar--convert-cyclic-to-ical)
9778 (icalendar--convert-anniversary-to-ical): Take care of time
9779 specifications where hour has 1-digit only (Bug#5549).
9781 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9783 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9784 of disassemble output in GDB 7.1.
9786 2010-02-19 Glenn Morris <rgm@gnu.org>
9788 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9789 property. (Bug#5593)
9791 2010-02-18 Sam Steingold <sds@gnu.org>
9793 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9795 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9797 Use abbreviated file names in bookmarks (bug#5591).
9798 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9799 calls to expand-file-name.
9800 (bookmark-relocate): Use abbreviated file names in bookmarks.
9801 (bookmark-load): Use abbreviated file names in messages.
9803 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9805 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9806 expand "." and "..". Reported by Thierry Volpiatto
9807 <thierry.volpiatto@gmail.com>.
9809 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9811 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9812 permissions of the temporary file to "0600". In case the remote
9813 file has no read permissions for the owner, there might be
9814 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9816 22010-02-18 Glenn Morris <rgm@gnu.org>
9818 * emacs-lisp/authors.el (authors-renamed-files-alist):
9819 Add entries for INSTALL.CVS.
9821 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9823 * vc-bzr.el: Fix typo in Known Bugs section.
9825 * isearch.el (isearch-update-post-hook): New hook.
9826 (isearch-update): Use the new hook.
9828 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9830 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9831 Fix errors in copying directories.
9832 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9833 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9834 (tramp-handle-delete-file)
9835 (tramp-handle-dired-recursive-delete-directory)
9836 (tramp-handle-write-region): Flush also the cache for the upper
9839 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9841 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9843 * cus-edit.el (hardware): Doc fix.
9845 * man.el (man): Add to external custom group.
9847 * delim-col.el (columns): Move to wp custom group.
9849 * doc-view.el (doc-view): Add to data custom group.
9851 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9853 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9854 by ispell-parse-output (Bug#5575).
9856 2010-02-16 Kenichi Handa <handa@m17n.org>
9858 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9859 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9860 (skkdic-convert): Use `euc-japan' coding system for writing.
9862 2010-02-16 Glenn Morris <rgm@gnu.org>
9864 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9865 tex-main-file before using it. (Bug#5562)
9867 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9869 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9870 warnings, since it is annoying for the user to see them each time he
9873 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9875 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9876 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9877 instead of PROC for caching "first-password-request". Otherwise,
9878 new processes would not profit from passwords already entered.
9880 * net/tramp-cache.el (tramp-dump-connection-properties):
9881 Don't save "first-password-request" property.
9883 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9885 * outline.el (outline-head-from-level):
9886 * simple.el (with-wrapper-hook):
9887 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9888 (elint-defun, elint-buffer-env, elint-top-form-logged)
9889 (elint-unbound-variable):
9890 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9891 Fix typos in docstrings.
9893 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9895 * files.el (insert-directory): When WILDCARD-REGEXP and
9896 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9897 whole directory. (Bug#5551)
9899 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9900 dired's alignment sanity. (Bug#5516)
9902 2010-02-14 Juri Linkov <juri@jurta.org>
9904 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9905 Remove remaining ^H with their preceding chars. (Bug#5566)
9907 2010-02-13 Glenn Morris <rgm@gnu.org>
9909 * simple.el (transpose-subr): Give it a doc-string.
9911 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9914 2010-02-12 Juri Linkov <juri@jurta.org>
9916 * arc-mode.el (archive-unique-fname): Make directories for nested
9917 archives. (Bug#5540)
9919 2010-02-12 Juri Linkov <juri@jurta.org>
9921 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
9923 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9925 * subr.el (copy-overlay): Handle deleted overlays.
9927 * man.el (Man-completion-table): Don't signal an error if we can't run
9928 manual-program (bug#4056).
9930 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
9932 * textmodes/artist.el (artist-mt): Fix typos in docstring.
9934 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9936 * info.el (Info-bookmark-jump): Simplify.
9938 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9939 (bookmark-default-handler): Accept new bookmark field `buffer'.
9941 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
9943 * iswitchb.el (iswitchb-completions): Revert last change.
9945 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
9947 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9948 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9949 This prevents file names like "~/" being listed literally.
9951 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9953 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9954 Remove dead code. (Bug#5546)
9956 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
9958 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9959 correctly (Bug#5548).
9961 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
9963 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9964 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9966 2010-02-08 Kenichi Handa <handa@m17n.org>
9968 * international/mule-util.el (with-coding-priority): Add autoload
9969 cookie for putting `lisp-indent-function'.
9971 2010-02-07 Glenn Morris <rgm@gnu.org>
9973 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9974 Move F2003 named interfaces from keywords-2 to keywords-1, and
9975 use function-name-face rather than constant-face.
9976 Simplify "abstract interface" regexp.
9978 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
9980 * eshell/esh-util.el (eshell-file-attributes): New optional arg
9981 ID-FORMAT. Pass it to `file-attributes'.
9983 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9985 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9987 * faces.el (set-face-attribute): Allow calling
9988 internal-set-lisp-face-attribute with 'unspecified family and
9989 foundry argument (Bug#5536).
9991 2010-02-07 Glenn Morris <rgm@gnu.org>
9993 * progmodes/f90.el (f90-font-lock-keywords-2)
9994 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9995 Handle F2003 named interfaces.
9997 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
9999 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10000 beg and end before calling c-get-state-before-change-functions.
10002 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10004 * vc-bzr.el (vc-bzr-dir-extra-headers):
10005 Disable the pending merges header.
10007 2010-02-05 Juri Linkov <juri@jurta.org>
10009 * doc-view.el (doc-view-mode):
10010 * image-mode.el (image-mode): Put property mode-class=special.
10013 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10015 * vc-svn.el (vc-svn-revision-table): New function.
10017 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10019 * net/ange-ftp.el (ange-ftp-insert-directory):
10020 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10021 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10022 Handle also directories. (Bug#5478)
10024 2010-02-05 Glenn Morris <rgm@gnu.org>
10026 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10028 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10030 * startup.el (command-line-1): Convert options beginning with a
10031 single dash as well (Bug#5519).
10033 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10035 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10036 * minibuffer.el (completion-initials-expand): Only check the presence
10037 of delims *within* the boundaries, since otherwise the / delim is
10038 always found for files.
10040 Fix up various corner case problems.
10041 * doc-view.el (doc-view-last-page-number): New function.
10042 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10043 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10044 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10045 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10046 (doc-view-convert-current-doc): Don't create the resolution.el file
10048 (doc-view-pdf/ps->png): Do it here instead.
10049 (doc-view-already-converted-p): Check that resolution.el is present.
10050 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10051 windows that are not yet showing images.
10053 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10055 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10056 `dired-uncache' for every elemnt which is an absolute file name.
10058 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10059 directory, handle its directory component.
10060 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10061 function is called permanently and creates noise, otherwise.
10063 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10064 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10065 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10067 2010-02-04 David Burger <dburger@google.com> (tiny change)
10069 * macros.el (apply-macro-to-region-lines):
10070 Minor simplification. (Bug#5485)
10072 2010-02-04 Glenn Morris <rgm@gnu.org>
10074 * mail/rmail.el (rmail-show-message-1): Handle malformed
10075 quoted-printable text. (Bug#5441)
10077 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10079 * simple.el (visual-line-mode): Capitalize lighter.
10081 2010-02-03 John Wiegley <jwiegley@gmail.com>
10083 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10084 list of files considered for "virtual buffer" completions.
10086 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10088 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10089 also in case of (and (not full) (not wildcard)). This is needed
10090 when dired is called with a list of files, which are not in
10091 `default-directory'. (Bug#5478)
10093 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10095 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10097 2010-02-02 Juri Linkov <juri@jurta.org>
10099 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10100 from unidiff to allow function-line after @@.
10102 2010-02-02 Juri Linkov <juri@jurta.org>
10104 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10105 '(RCS SCCS) with inverted condition.
10107 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10109 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10112 2010-02-01 Juri Linkov <juri@jurta.org>
10114 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10115 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10116 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10117 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10119 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10121 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10122 (doc-view-revert-buffer): New command.
10123 (doc-view-mode-map): Use it.
10125 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10127 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10128 pending merge is detected.
10130 2010-01-31 Juri Linkov <juri@jurta.org>
10132 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10133 beginning of interactive spec like all other grep commands do.
10134 Put "all" in front of "gz". (Bug#5260)
10136 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10138 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10140 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10142 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10143 regexp is incorrect (Bug#5476).
10145 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10147 * net/tramp.el (tramp-handle-insert-directory): Handle also
10148 symlinks, when FILENAME is not in `default-directory'.
10150 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10152 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10153 FILE is not in `default-directory'. (Bug#5478)
10155 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10156 of SWITCHES. Handle the case, FILENAME is not in
10157 `default-directory'. (Bug#5478)
10158 (tramp-register-file-name-handlers): Add safe-magic property.
10160 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10162 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10165 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10167 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10168 (flymake-master-make-header-init): Add other C++ filename masks.
10169 (flymake-find-possible-master-files)
10170 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10172 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10174 Fix some busybox annoyances.
10176 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10177 not responding." string.
10178 (tramp-open-connection-setup-interactive-shell): Dump stty
10179 settings. Enable "neveropen" arg for all `tramp-send-command'
10180 calls. Handle "=" in variable values properly.
10181 (tramp-find-inline-encoding): Raise an error, when no encoding is
10183 (tramp-wait-for-output): Check, whether PROC buffer is available.
10184 Remove spurious " ^H" sequences, sent by busybox.
10185 (tramp-get-ls-command): Suppress coloring, if possible.
10187 2010-01-28 Glenn Morris <rgm@gnu.org>
10189 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10191 * log-edit.el (log-edit-strip-single-file-name): Add missing
10192 :safe, :group, and :version tags.
10194 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10196 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10197 buffers. (Bug#5477)
10199 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10201 * files.el (delete-directory): Handle moving to trash without
10202 first doing recursion (Bug#5436).
10204 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10206 * vc-hooks.el (vc-path): Mark as obsolete.
10208 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10210 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10213 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10215 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10217 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10219 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10221 * vc-bzr.el (vc-bzr-revision-table): New function.
10223 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10225 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10226 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10228 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10230 Remove support for adding --signoff on commit.
10231 Future support will use an incompatible generic mechanism.
10232 * vc-git.el (vc-git-add-signoff): Remove variable.
10233 (vc-git-toggle-signoff): Remove function.
10234 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10236 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10237 Rename from xterm-set-background-mode. Return t if the background mode
10239 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10240 earlier, call it again in case the background mode has changed.
10242 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10244 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10247 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10249 * emacs-lisp/assoc.el (aelement): Doc fix.
10250 (aput, adelete, amake): Use lexical-let (Bug#5450).
10252 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10254 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10255 is the same as subprogram call, not declaration. (Bug#5435).
10257 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10259 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10260 (tramp-smb-maybe-open-connection): Use it.
10262 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10264 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10266 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10268 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10269 just because we see "encoding: 8bit".
10270 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10272 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10274 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10276 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10278 * jka-compr.el (jka-compr-load): If load-file is not in
10279 load-history, try its file-truename version. (bug#5447)
10281 2010-01-21 Alan Mackenzie <acm@muc.de>
10283 Fix a situation where deletion of a cpp construct throws an error.
10284 * progmodes/cc-engine.el (c-invalidate-state-cache):
10285 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10286 special cpp construct is still in the buffer.
10287 (c-parse-state): Record the special cpp with markers, not numbers.
10289 2010-01-21 Kenichi Handa <handa@m17n.org>
10291 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10292 process last-command-event, as it is now decoded first (Bug#5380).
10294 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10296 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10298 2010-01-20 Glenn Morris <rgm@gnu.org>
10300 * indent.el (tab-always-indent): Fix custom-type.
10302 2010-01-19 Alan Mackenzie <acm@muc.de>
10304 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10305 buffer throws "args out of range".
10306 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10307 playing the role of delimiter.
10309 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10311 * progmodes/ada-mode.el: Fix bug#5400.
10312 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10313 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10314 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10315 Improve comments in "is" portion. Handle null procedure declaration.
10316 (ada-move-to-end): Improve doc string.
10318 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10320 * ido.el (ido-cur-list): Initialize to nil.
10321 Remove obsolete information from commentary.
10322 (ido-choice-list): Initialize to nil.
10323 (ido-get-bufname): Reject minibuffers.
10324 (ido-make-buffer-list): If "default" is a nonexistent
10325 buffer, ignore it, as per the function's comment.
10326 (ido-kill-buffer-internal): New function.
10327 (ido-kill-buffer-at-head): Use it.
10328 (ido-visit-buffer): Likewise.
10330 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10332 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10334 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10336 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10337 Fix typos in chart titles.
10339 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10340 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10341 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10342 (describe-class, eieio-describe-generic, describe-generic):
10343 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10344 (eieio-speedbar-expand):
10345 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10346 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10347 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10348 (viper-del-backward-char-in-replace, viper-backward-indent)
10349 (viper-brac-function, viper-register-to-point, viper-submit-report):
10350 * net/tramp.el (tramp-remote-coding-commands):
10351 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10352 Fix typos in docstrings.
10354 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10356 * mail/sendmail.el (mail-yank-original): Set the mark if the
10357 specified function for yanking does not do it.
10359 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10361 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10363 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10364 resyncing a directory.
10366 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10368 * progmodes/ada-mode.el: Fix bug#1920.
10369 (ada-ident-re): Delete ., allow multibyte characters.
10370 (ada-goto-label-re): New; matches goto labels.
10371 (ada-block-label-re): New; matches block labels.
10372 (ada-label-re): New; matches both.
10373 (ada-named-block-re): Deleted; callers changed to use
10374 `ada-block-label-re' instead.
10375 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10376 Use `ada-block-label-re'.
10377 (ada-indent-on-previous-lines): Improve handling of goto labels.
10378 (ada-get-indent-block-start): Special-case block label.
10379 (ada-get-indent-label): Split into `ada-indent-block-label' and
10380 `ada-indent-goto-label'.
10381 (ada-goto-stmt-start, ada-goto-next-non-ws):
10382 Optionally ignore goto labels.
10383 (ada-goto-next-word): Simplify.
10384 (ada-indent-newline-indent-conditional): Insert newline before
10385 trying to fix indentation; doc fix.
10387 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10389 * calc/calc.el (calc-command-flags): Give it an initial value.
10391 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10393 * files.el (minibuffer-with-setup-hook):
10394 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10395 (artist-key-draw-continously, artist-key-do-continously-continously)
10396 (artist-key-set-point-continously, artist-mouse-draw-continously):
10397 Fix typos in docstrings.
10399 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10401 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10402 Never return t (Bug#3898).
10404 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10406 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10407 can parse the output of the external commands (Bug#5279).
10409 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10411 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10413 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10415 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10417 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10419 * startup.el (command-line): Remove unused --icon-type arg.
10420 Handle --display arg, passing it to command-line-1 (Bug#5392).
10422 2010-01-16 Mario Lang <mlang@delysid.org>
10424 * emacs-lisp/chart.el (chart-translate-namezone):
10425 * textmodes/artist.el (artist-compute-popup-menu-table):
10426 Remove duplicated words in doc-strings.
10428 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10430 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10431 to mairix-search to suppress threading (Bug#5342).
10433 2010-01-15 Kenichi Handa <handa@m17n.org>
10435 * international/mule-cmds.el (canonicalize-coding-system-name):
10436 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10438 2010-01-15 Glenn Morris <rgm@gnu.org>
10440 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10442 * wid-edit.el (widget-keymap): Doc fix.
10444 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10445 former seems to be more widely accepted by various svn versions.
10447 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10449 * find-cmd.el (find-constituents):
10450 * vc-arch.el (vc-arch-root):
10451 * window.el (window-body-height, pop-up-frames):
10452 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10453 * progmodes/ada-stmt.el (ada-if):
10454 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10455 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10456 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10457 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10459 * progmodes/flymake.el (flymake-post-syntax-check):
10460 Fix typo in error message.
10462 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10464 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10465 which is always a string. (Bug#5313)
10467 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10469 * progmodes/ada-xref.el (ada-default-prj-properties):
10470 Simplify previous change.
10472 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10474 * progmodes/ada-xref.el (ada-default-prj-properties):
10475 Default ada_project_path to $ADA_PROJECT_PATH.
10477 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10479 * progmodes/ada-mode.el (ada-create-keymap):
10480 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10482 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10484 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10485 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10486 (ada-get-current-indent, ada-imenu-generic-expression)
10487 (ada-which-function): Check for it.
10489 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10491 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10492 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10494 2010-01-14 Glenn Morris <rgm@gnu.org>
10496 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10498 2010-01-14 Kenichi Handa <handa@m17n.org>
10500 * composite.el (auto-composition-mode): Make it a buffer local
10501 variable (permanent-local).
10502 (auto-composition-function): Set the default value to
10503 auto-compose-chars.
10504 (auto-composition-mode): Make it a simple function, not a minor mode.
10505 (global-auto-composition-mode): Likewise.
10506 (turn-on-auto-composition-if-enabled): Delete it.
10508 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10510 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10512 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10514 * files.el (copy-directory): Compute target for recursive
10515 directories with identical names. (Bug#5343)
10517 2010-01-12 Glenn Morris <rgm@gnu.org>
10519 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10520 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10522 2010-01-11 Sam Steingold <sds@gnu.org>
10524 * imenu.el (imenu-default-create-index-function): Detect infinite
10525 loops caused by imenu-prev-index-position-function.
10527 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10529 * htmlfontify.el (htmlfontify-load-rgb-file)
10530 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10531 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10532 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10533 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10534 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10535 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10536 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10537 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10538 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10539 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10540 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10541 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10542 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10543 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10544 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10545 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10546 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10547 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10548 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10549 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10550 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10551 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10552 backslash-quoting from parentheses, etc.
10554 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10556 * progmodes/js.el: Autoload javascript-mode alias.
10558 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10560 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10561 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10562 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10563 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10564 Fix typos in docstrings.
10565 (ffap-url-regexp): Doc fix.
10566 (ffap-at-mouse): Fix typo in message.
10568 2010-01-11 Glenn Morris <rgm@gnu.org>
10570 * version.el (emacs-copyright): Set copyright year to 2010.
10572 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10574 * format.el (format-annotate-function): Only set
10575 write-region-post-annotation-function after running to-fn so as not to
10576 affect nested write-region calls (bug#5273).
10578 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10580 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10583 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10585 * man.el (Man-goto-section): Signal error if the section is not
10588 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10590 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10591 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10593 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10595 * progmodes/compile.el: Don't treat compile-command as safe if
10596 compilation-read-command might be nil (Bug#4218).
10598 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10600 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10603 2010-01-08 Kenichi Handa <handa@m17n.org>
10605 * international/fontset.el (build-default-fontset-data):
10606 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10608 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10610 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10611 to `create-file-buffer' as it expects, not just a buffer name.
10612 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10613 to help uniquify. (Bug#3224)
10615 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10617 * font-setting.el (font-setting-change-default-font): Use user-spec
10620 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10622 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10624 2010-01-05 Tom Tromey <tromey@redhat.com>
10626 * progmodes/python.el (python-font-lock-keywords):
10627 Handle qualified decorators (Bug#881).
10629 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10631 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10632 in a lightweight checkout.
10634 2010-01-05 Kenichi Handa <handa@m17n.org>
10636 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10638 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10640 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10642 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10644 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10645 checkouts. (Bug#618)
10646 (vc-bzr-log-view-mode): Also highlight the author.
10647 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10648 (vc-bzr-shelve-menu-map):
10649 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10650 (vc-bzr-shelve-apply): Make prompt more explicit.
10652 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10654 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10655 They are valid characters in URL paths (rfc3986), and at least
10656 Firefox does not understand the encoded version (Bug#3166).
10658 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10660 * progmodes/octave-mod.el (octave-end-keywords)
10661 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10662 Add "end" keyword (Bug#3061).
10663 (octave-end-as-array-index-p): New function.
10664 (calculate-octave-indent): Use it.
10666 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10668 * bookmark.el: Consistently put the text property on the bookmark name.
10669 (bookmark-bmenu-marks-width): Bump back to 2, to include
10671 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10672 property on the bookmark name, instead of not putting it at all.
10673 (bookmark-bmenu-list): Fix where we put the text property.
10675 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10677 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10678 for showing buffer modified state (as added in the previous change).
10680 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10682 * bookmark.el: Show modified state of bookmark buffer more accurately.
10683 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10684 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10685 (with-buffer-modified-unmodified): New macro.
10686 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10687 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10688 Use new macro to preserve the buffer modified state.
10690 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10692 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10693 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10694 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10695 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10696 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10697 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10698 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10700 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10702 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10703 Make the lines in the generated doc string shorter. (Bug#4668)
10705 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10707 * net/rcirc.el: Add follow-link binding (Bug#4738).
10709 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10711 * Makefile.in (bzr-update): Rename from cvs-update.
10712 (cvs-update): New target for backward compatibility.
10714 * makefile.w32-in (bzr-update): Rename from cvs-update.
10715 (cvs-update): New target for backward compatibility.
10717 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10719 * bookmark.el: Remove gratuitous gratitude.
10721 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10723 * bookmark.el (bookmark-bmenu-any-marks): New function.
10724 (bookmark-bmenu-save): Clear buffer modification if no marks.
10726 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10728 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10729 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10730 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10731 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10733 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10734 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10735 To: emacs-devel {_AT_} gnu.org
10736 Subject: bookmark.el bug report
10737 Date: Mon, 28 Dec 2009 14:19:16 +0800
10738 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10740 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10742 * bookmark.el: Improvements suggested by Drew Adams:
10743 (bookmark-bmenu-ensure-position): New name for
10744 `bookmark-bmenu-check-position'. Just ensure the position,
10745 don't return any meaningful value.
10746 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10749 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10751 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10752 (bookmark-yank-point, bookmark-bmenu-check-position):
10753 Fix typos in docstrings.
10754 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10755 (bookmark-name-from-full-record, bookmark-get-position)
10756 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10757 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10758 Remove useless quoting of parenthesis, etc. in docstrings.
10760 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10761 (ediff-append-custom-diff): Fix typo in error message.
10762 (ediff-meta-mark-equal-files): Fix typos in messages.
10764 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10766 * net/imap-hash.el (imap-hash-make): Doc fix.
10767 (imap-hash-test): Fix typo in error message; reflow docstring.
10768 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10769 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10770 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10771 Fix typos in docstrings.
10772 (imap-hash-open-connection): Fix typo in error message.
10774 * play/gomoku.el (gomoku): Fix typos in docstring.
10776 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10777 (gdb-jsonify-buffer): Fix typos in docstring.
10778 (gdb-goto-breakpoint): Fix typo in error message.
10779 ("Display Other Windows"): Fix typo in help message.
10780 (gdb-speedbar-expand-node): Fix typo in question.
10782 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10783 (idlwave-html-system-help-location, idlwave-html-help-location)
10784 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10785 (idlwave-help-browser-generic-args, idlwave-help-directory)
10786 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10787 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10788 (idlwave-online-help, idlwave-help-html-link)
10789 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10790 Fix typos in docstrings.
10791 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10793 (idlwave-help-assistant-start): Fix typo in error message.
10795 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10796 (octave-electric-space): Fix typos in docstrings.
10798 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10800 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10802 2010-01-01 Juri Linkov <juri@jurta.org>
10804 * comint.el (comint-input-ring-size): Make it a defcustom and
10805 increase the default to 500 (Bug#5148).
10807 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10809 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10810 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10811 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10813 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10815 Show working revision correctly for mercurial.
10816 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10817 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10819 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10821 Declare some functions for the byte-compiler.
10822 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10823 (speedbar-timer-fn, speedbar-change-expand-button-char)
10824 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10826 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10828 This changeset reverts GDB Graphical Interface to use annotations.
10829 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10831 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10833 Make vc-dir work on subdirectories of the bzr root.
10834 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
10835 Return file names relative to it.
10836 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10837 relative directory to vc-bzr-after-dir-status.
10839 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10841 * font-lock.el (font-lock-refresh-defaults): New function, which
10842 can be used to let font-lock react to external changes in
10843 variables like font-lock-defaults and keywords.
10844 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10846 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10848 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10850 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10852 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10854 Supersede color.diff settings in git log (bug#5211).
10856 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10857 escape chars in its output when the user has color.diff set to `always'.
10858 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10860 2009-12-26 Kevin Ryde <user42@zip.com.au>
10862 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10863 node. Keep previous "Index" name to work with past coreutils too.
10865 * man.el (man): Revise docstring a bit to show -a and -l as
10866 examples. Add -k description since support for it has otherwise
10867 been a secret. (Further to bug#3717.)
10868 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10869 "no matches" rather than "Can't find manpage", as the latter reads
10870 like -k was interpreted as a page name, which is not so. (Bug#5431)
10872 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10874 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10875 switches. Check also for //SUBDIRED// line.
10877 2009-12-25 Kenichi Handa <handa@m17n.org>
10879 * language/indian.el (devanagari-composable-pattern): Fix to
10880 handle ZWNJ and ZWJ. Use it in composition-function-table for
10882 (malayalam-composable-pattern): Fix previous change.
10884 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10886 * ps-print.el (ps-face-attributes): It was not returning the
10887 attribute face for faces specified as string. Reported by harven
10888 <harven@free.fr>. (Bug#5254)
10889 (ps-print-version): New version 7.3.5.
10891 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10893 * calendar/icalendar.el (icalendar--convert-tz-offset):
10894 Fix timezone names.
10895 (icalendar--convert-tz-offset): Fix the "last-day-problem".
10896 (icalendar--add-diary-entry): Remove the trailing blank that
10897 diary-make-entry inserts.
10899 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10901 Make `file-expand-wildcards' work for remote files.
10903 * files.el (file-expand-wildcards): In case of remote files, check
10904 only local file name part for wildcards. Provide feature 'files
10905 and subfeature 'remote-wildcards. (Bug#5198)
10907 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10908 if there is already an established connection.
10909 (tramp-advice-file-expand-wildcards): Remove it.
10911 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10912 (tramp-advice-file-expand-wildcards): Move from tramp.el.
10913 Activate advice for older GNU Emacs versions. (Bug#5237)
10915 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
10917 Some doc fixes (more needed).
10919 * find-cmd.el (find-constituents): Reflow docstring.
10920 (find-cmd, find-prune, find-command): Fix typos in docstrings.
10921 (find-generic): Doc fix.
10923 2009-12-17 Juri Linkov <juri@jurta.org>
10925 Fix regression from 23.1 to allow multiple modes in Local Variables.
10927 * files.el (hack-local-variables-filter): While ignoring duplicates,
10928 don't take `mode' into account.
10929 (hack-local-variables-filter, hack-dir-local-variables):
10930 Don't remove duplicate `mode' from local-variables-alist (like `eval').
10932 2009-12-17 Juri Linkov <juri@jurta.org>
10934 Make `dired-diff' safer. (Bug#5225)
10936 * dired-aux.el (dired-diff): Signal an error when `file' equals to
10937 `current' or when `file' is a directory of the `current' file.
10939 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
10941 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10942 unconditionally preloaded files.
10944 2009-12-16 Juri Linkov <juri@jurta.org>
10946 Revert to old 23.1 logic of using the file at the mark as default.
10947 * dired-aux.el (dired-diff): Use the file at the mark as default
10948 if it's not the same as the current file, and the target dir is
10949 the current dir or the mark is active. Add the current file
10950 as the arg of `dired-dwim-target-defaults'. Use the default file
10951 in the prompt. (Bug#5225)
10953 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
10955 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10956 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10957 (tramp-check-for-regexp): Check also, when an echoing shell stops
10958 to echo sent commands.
10960 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10962 * Makefile.in: Revert last change (Bug#5191).
10964 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
10966 * vc-hg.el (vc-hg-print-log): Fix argument order.
10967 (vc-hg-working-revision): Make sure the command is executed in a
10968 known environment so that we can parse the output. (Bug#4417)
10970 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10972 * progmodes/python.el (python-symbol-completions): Remove text
10973 properties from symbol string before calling python-send-receive.
10975 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
10977 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10978 when there are values for both file and line. (Bug#5060)
10980 2009-12-14 Juri Linkov <juri@jurta.org>
10982 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10983 whitespace after the file name of the first line of unified format,
10984 because git-diff doesn't output whitespace and file modification time
10985 after the file name.
10987 2009-12-14 David Kastrup <dak@gnu.org>
10989 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10990 check if it already has the `display' property added by
10991 `Info-display-images-node', and not put the `invisible' property
10994 2009-12-13 Glenn Morris <rgm@gnu.org>
10996 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10997 (report-emacs-bug): In message-mode, sort manually before storing
10998 original report text. (Bug#5178)
10999 Remove superfluous save-excursion.
11001 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11003 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11004 when responding to "GetAll" properties.
11006 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11008 * simple.el (compose-mail): Remove mail-setup-with-from from
11009 customization checks.
11011 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11013 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11014 RAR archives created on Unix systems.
11016 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11018 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11019 the varalias that was accidentally removed by the 2009-11-19 change
11022 2009-12-12 Kenichi Handa <handa@m17n.org>
11024 * language/indian.el (indian-compose-regexp): New function.
11025 (malayalam-composable-pattern): Fix the pattern.
11026 (composition-function-table): Set malayalam-composable-pattern for
11027 Malayalam characters.
11029 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11031 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11032 rather than down-mouse-1, based on follow-link conventions.
11034 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11037 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11039 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11040 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11041 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11042 (verilog-leap-to-head, verilog-backward-token):
11043 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11045 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11047 * progmodes/verilog-mode.el (verilog-auto-lineup)
11048 (verilog-nameable-item-re): Cleanup user-visible spelling and
11049 documentation errors. One reported by Gary Delp.
11050 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11051 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11052 package, bug195. Reported by Pierre-David Pfister.
11054 2009-12-11 Glenn Morris <rgm@gnu.org>
11056 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11058 * mail/emacsbug.el: No longer require sendmail.
11059 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11060 (report-emacs-bug-orig-text): Doc fix.
11061 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11062 New local variables, to adapt to different mail-user-agents.
11063 (report-emacs-bug): Fix test for a gnu.org address.
11064 Use overlays for emphasis, since font-lock defeats 'face property.
11065 Pretest bugs also end up at the newsgroup these days.
11066 Stop message-mode stripping text properties.
11067 Set and use the new buffer-local variables.
11068 (report-emacs-bug-hook): Add doc-string.
11069 Remove some unnecessary save-excursions and simplify.
11070 Use the appropriate hook and send-command.
11072 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11073 capitalization of some menu entries.
11075 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11077 * whitespace.el (whitespace-display-char-on):
11078 Ensure `buffer-display-table' is unique when two or more windows are
11079 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11082 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11084 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11085 characters in the Attribute field.
11087 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11089 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11091 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11093 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11094 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11095 Disregard autoload-excludes.
11096 (update-directory-autoloads): Obey autoload-excludes here instead.
11097 But don't store its contents in no-autoloads and remove entries that
11098 refer to excludes files.
11100 2009-12-10 Glenn Morris <rgm@gnu.org>
11102 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11103 (expand-mail-aliases): Define for compiler.
11105 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11106 Define for compiler.
11108 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11109 appropriate for the mail-user-agent in use.
11111 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11113 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11115 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11117 Fix short log parsing and fontification.
11118 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11119 Fix fontification for the [merge] label.
11121 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11123 Drop some properties to avoid surprises (bug#5002).
11124 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11125 (hfy-fontify-buffer): Use it.
11127 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11130 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11131 Adjust all callers.
11132 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11133 args compulsory. Adjust callers.
11134 (ffap-gopher-at-point): Remove unused var `name'.
11136 Get rid of the ELCFILES abomination.
11137 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11138 (compile-elcfiles): New phony target.
11139 (compile-main): Compute ELCFILES dynamically.
11140 (compile-clean): New target to remove left-over elc files.
11141 (compile, all): Use it.
11143 2009-12-09 Kenichi Handa <handa@etlken>
11145 * international/mule-diag.el: Require help-mode instead of help-fns.
11147 2009-12-09 Kenichi Handa <handa@m17n.org>
11149 * international/mule-cmds.el (ucs-names): Supply sufficiently
11150 fine ranges instead of pre-calculating accurate ranges.
11151 Iterate with bigger gc-cons-threshold.
11153 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11155 Add support for stashing a snapshot of the current tree.
11156 * vc-git.el (vc-git-stash-snapshot): New function.
11157 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11159 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11161 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11162 instead of `(beginning|end)-of-line'.
11164 2009-12-08 Glenn Morris <rgm@gnu.org>
11166 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11168 * Makefile.in (ELCFILES): Regenerate.
11170 2009-12-07 Juri Linkov <juri@jurta.org>
11172 Don't lazy-highlight the comint output in history Isearch mode.
11174 * comint.el (comint-history-isearch-search): Instead of
11175 `comint-line-beginning-position', use `comint-after-pmark-p'
11176 to check if point if before the process mark, and go to
11177 `process-mark' in this case.
11179 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11181 * textmodes/tex-mode.el (latex-complete)
11182 (latex-indent-or-complete): Remove.
11183 (latex-mode): Set completion-at-point-functions instead.
11185 Provide a standard completion command and hook it into TAB.
11186 * minibuffer.el (completion-at-point-functions): New var.
11187 (completion-at-point): New command.
11188 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11189 * progmodes/python.el (python-mode-map): Use completion-at-point.
11190 (python-completion-at-point): Rename from python-partial-symbol and
11191 adjust for use in completion-at-point-functions.
11192 (python-mode): Setup completion-at-point for Python completion.
11193 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11194 extracted from lisp-complete-symbol.
11195 (lisp-complete-symbol): Use it.
11196 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11197 setup completion-at-point for Elisp completion.
11198 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11199 Use completion-at-point.
11200 * ielm.el (ielm-map): Use completion-at-point.
11201 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11202 * progmodes/sym-comp.el: Move to...
11203 * obsolete/sym-comp.el: Move from progmodes.
11205 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11207 Prevent save-buffer in Rmail buffers from using the coding-system
11208 of the current message, and from clobbering the encoding mnemonics
11209 in the mode line (Bug#4623).
11211 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11213 (rmail-message-encoding): New variable.
11214 (rmail-write-region-annotate): Record the encoding of the current
11215 message in rmail-message-encoding.
11216 (rmail-after-save-hook): New function, restores the encoding of
11217 the current message after the message collection is saved.
11219 2009-12-07 Juri Linkov <juri@jurta.org>
11221 * progmodes/grep.el (grep-read-files): Use `completing-read'
11222 instead of `read-string'. Set its `collection' arg to
11223 `read-file-name-internal'. (Bug#4301)
11225 2009-12-07 Juri Linkov <juri@jurta.org>
11227 Correctly restore original Isearch point. (Bug#4994)
11229 * isearch.el (isearch-mode): Move `isearch-push-state' after
11230 `(run-hooks 'isearch-mode-hook)'.
11231 (isearch-cancel): When `isearch-push-state-function' is defined,
11232 let-bind `isearch-cmds' to the first state (the last element of
11233 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11234 function and restores the original point). Otherwise, move point
11235 to `isearch-opoint'.
11237 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11239 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11240 chars that don't have names, so the table can be built much faster at
11243 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11245 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11246 change. Suggested by David Kastrup.
11248 * simple.el (compose-mail): Check for incompatibilities and warn.
11249 (compose-mail-user-agent-warnings): New option.
11251 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11253 Support showing a single log entry from vc-annotate.
11254 * vc.el (print-log): Add a new argument: START-REVISION.
11255 (vc-print-log-internal): Add a new optional argument and
11256 pass it to the backend.
11257 (vc-print-log, vc-print-root-log): Adjust callers.
11258 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11259 buffer already displays the requested log entry, use it.
11260 Otherwise display only the log entry in question.
11261 * vc-svn.el (vc-svn-print-log):
11262 * vc-mtn.el (vc-mtn-print-log):
11263 * vc-hg.el (vc-hg-state):
11264 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11265 (vc-git-show-log-entry): Return t on success.
11266 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11267 (vc-bzr-show-log-entry): Return t on success.
11268 * vc-rcs.el (vc-rcs-print-log):
11269 * vc-sccs.el (vc-sccs-print-log):
11270 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11272 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11274 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11275 Add menus to the meta mode. (Bug#5043)
11277 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11279 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11282 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11284 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11286 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11287 Berbain <raphael.berbain@gmail.com>.
11289 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11291 (tramp-initial-end-of-output): New defconst.
11292 (tramp-methods, tramp-find-shell)
11293 (tramp-open-connection-setup-interactive-shell)
11294 (tramp-maybe-open-connection): Use it.
11295 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11296 Handle existence of `#' and `$'.
11298 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11299 Use `tramp-initial-end-of-output'.
11301 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11303 Get the background mode from the terminal for xterm, and set
11305 * term/xterm.el (xterm-set-background-mode): New function.
11306 (terminal-init-xterm): Use it in case xterm supports background
11307 color queries. Recompute faces after getting the background
11310 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11312 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11313 number comment back on its own line, for easier parsing.
11315 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11317 Make it work for non-file buffers (bug#5102).
11318 * doc-view.el (doc-view-current-cache-dir):
11319 Use doc-view-buffer-file-name rather than buffer-file-name.
11320 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11322 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11324 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11325 author field is too short.
11327 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11329 * vc-git.el (vc-git-print-log): Handle a limit argument.
11330 Display the short log in graph form and with labels.
11331 (vc-git-log-view-mode): Handle labels.
11333 Make vc-revert change VC state from 'added to 'unregistered.
11334 * vc-git.el (vc-git-revert): Call git reset first.
11336 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11338 * net/newst-backend.el, net/newst-plainview.el:
11339 * net/newst-reader.el, net/newst-ticker.el:
11340 * net/newst-treeview.el, net/newsticker.el:
11341 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11343 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11345 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11347 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11348 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11349 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11350 Update annotation regexp.
11352 * simple.el (beginning-of-visual-line): Constrain to field
11353 boundaries (Bug#5106).
11355 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11357 * xml.el (xml-substitute-numeric-entities):
11358 Move newsticker--decode-numeric-entities in newst-backend.el to
11359 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11360 * net/newst-backend.el (newsticker--parse-generic-feed)
11361 (newsticker--parse-generic-items)
11362 (newsticker--decode-numeric-entities):
11363 Move newsticker--decode-numeric-entities in newst-backend.el to
11364 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11366 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11368 * progmodes/js.el (js--js-not): Add null to the list of values.
11370 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11372 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11374 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11376 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11377 delimiter if it is at the end of the current line.
11378 (bibtex-generate-url-list): Fix docstring.
11380 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11382 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11383 minibuffer's content with itself.
11384 Fold the confirm-after-completion case into the `confirm' case.
11385 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11387 2009-12-06 Kevin Ryde <user42@zip.com.au>
11389 * ffap.el (ffap-rfc-path): Make this a defcustom since
11390 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11392 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11393 manuals, similar to existing setup for help-mode. (Bug#3913.)
11395 2009-12-05 Juri Linkov <juri@jurta.org>
11397 Save and restore dired buffer's point positions too. (Bug#4880)
11399 * dired.el (dired-save-positions): Return in the first element
11400 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11402 (dired-restore-positions): First restore buffer's position.
11403 While restoring window's positions, check if window still displays
11404 the original buffer.
11406 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11408 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11411 * shell.el (shell): Require ansi-color (Bug#5113).
11413 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11415 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11417 2009-12-05 Alan Mackenzie <acm@muc.de>
11419 * progmodes/cc-mode.el (c-before-hack-hook)
11420 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11421 `c-file-style' to work again. This reversion restores the current
11422 software to its state in Emacs 23.1. (Bug#4146)
11424 2009-12-05 Kevin Ryde <user42@zip.com.au>
11426 * textmodes/sgml-mode.el (sgml-lexical-context):
11427 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11429 2009-12-05 Juri Linkov <juri@jurta.org>
11431 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11432 for virtual nodes. (Bug#4147)
11433 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11434 when moving from a virtual node.
11435 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11436 (Info-mode): Add `Info-virtual-index' to the docstring.
11438 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11440 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11441 track of the buffer position of the end of a BibTeX entry as this
11442 position may change during reformatting.
11443 (bibtex-format-entry): Remove whitespace before processing
11444 numerical fields so that we recognize the latter properly.
11445 (bibtex-reformat): Do not use push which changes the global value
11446 of bibtex-entry-format.
11447 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11448 (bibtex-field-re-init): Replace only space characters by regexp
11450 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11451 (bibtex-initialize): Also update bibtex-strings.
11452 (bibtex-kill-field): Preserve white space at end of entry.
11453 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11454 Update bibtex-reference-keys.
11456 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11458 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11459 point after a star, if that's the only place where modifications can
11462 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11464 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11467 2009-12-04 Juri Linkov <juri@jurta.org>
11469 * proced.el (proced): Call `(proced-update t)' to update process
11470 information instead of only running proced-post-display-hook.
11471 (proced-send-signal): Add a leading space to the buffer name
11472 " *Marked Processes*" to make this buffer ephemeral.
11474 2009-12-04 Juri Linkov <juri@jurta.org>
11476 * dired.el (dired-auto-revert-buffer): New defcustom.
11477 (dired-internal-noselect): Use it.
11479 2009-12-04 Juri Linkov <juri@jurta.org>
11481 Change roles of modes and functions in image-mode.el (Bug#5062).
11483 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11484 in `auto-mode-alist'.
11485 (image-mode-previous-major-mode): New variable.
11486 (image-minor-mode-map): Rename from `image-mode-text-map'.
11487 (image-mode): Move graceful error-handling code from
11488 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11489 (image-minor-mode): Remove all image-handling code.
11490 Replace `image-mode-text-map' with `image-minor-mode-map'.
11491 Check for `image-type' in mode-line format string.
11492 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11493 (image-mode-as-text): New function with most code from
11494 `image-mode-maybe'.
11495 (image-toggle-display-text): Move code that removes image
11496 properties from `image-toggle-display' to here.
11497 (image-toggle-display-image): New function with code that adds
11498 image properties copied from `image-toggle-display'.
11499 (image-toggle-display): Remove most code with leaving only code
11500 that toggles between `image-mode-as-text' and `image-mode'.
11502 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11504 * net/newst-treeview.el
11505 (newsticker--treeview-list-highlight-start): Restored call to
11506 save-excursion: Selected item was stuck.
11507 (newsticker--treeview-list-select): New.
11508 (newsticker--treeview-item-show-text)
11509 (newsticker--treeview-item-show)
11510 (newsticker--treeview-item-update): Use new
11511 newsticker-treeview-item-mode.
11512 (newsticker-treeview-update): Keep current item.
11513 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11514 (newsticker--treeview-first-feed): Doc change.
11515 (newsticker-treeview-list-menu)
11516 (newsticker-treeview-item-menu): Add menu entries.
11517 (newsticker-treeview-item-mode): New.
11519 * net/newst-backend.el (newsticker-customize): Delete other
11522 2009-12-04 Sam Steingold <sds@gnu.org>
11524 * log-view.el (log-view-mode-map): "q" calls quit-window,
11525 like in all the other non-self-insert buffers.
11527 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11530 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11531 key decoding rather than do it manually via last-input-event +
11533 (term-exec): Use delete-and-extract-region.
11534 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11535 (term-process-pager): Remove unused var `i'.
11536 (term-dynamic-simple-complete): Make obsolete.
11537 (serial-update-config-menu): Remove unused vars `y' and `str'.
11538 (term-update-mode-line): Remove unused var `temp'.
11540 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11542 Limit the number of log entries displayed by default.
11543 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11544 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11545 using a prefix argument.
11547 2009-12-03 Glenn Morris <rgm@gnu.org>
11549 * progmodes/idlwave.el (class): Restore still useful declaration.
11551 2009-12-03 Alan Mackenzie <acm@muc.de>
11553 Enhance `c-parse-state' to run efficiently in "brace deserts".
11555 * progmodes/cc-mode.el (c-basic-common-init):
11556 Call c-state-cache-init.
11557 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11558 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11559 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11561 * progmodes/cc-langs.el (c-before-font-lock-function):
11562 c-extend-and-neutralize-syntax-in-CPP has been renamed
11563 c-neutralize-syntax-in-and-mark-CPP.
11565 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11566 with `category' properties now, not `syntax-table' ones.
11568 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11569 enhanced (but slower) version of c-end-of-macro that won't land
11570 inside a literal or on another awkward character.
11571 (c-state-cache-too-far, c-state-cache-start)
11572 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11573 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11574 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11575 (c-state-min-scan-pos, c-state-brace-pair-desert)
11576 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11577 buffer local variables.
11578 (c-state-literal-at, c-state-lit-beg)
11579 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11580 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11581 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11582 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11583 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11584 (c-renarrow-state-cache)
11585 (c-append-lower-brace-pair-to-state-cache)
11586 (c-state-push-any-brace-pair, c-append-to-state-cache)
11587 (c-remove-stale-state-cache)
11588 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11589 (c-invalidate-state-cache-1, c-parse-state-1)
11590 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11591 (c-parse-state): Enhance and refactor.
11592 (c-debug-parse-state): Amend to deal with all the new variables.
11594 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11595 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11596 modify to use category text properties rather than syntax-table ones.
11597 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11598 to switch off/on the syntactic paren property of C++ template
11599 delimiters using the category property.
11600 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11601 template delims suppressed.
11602 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11603 New constant/macros which apply category properties to the start
11604 and end of preprocessor constructs.
11605 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11606 "comment out" the syntactic value of characters in preprocessor
11608 (c-with-cpps-commented-out)
11609 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11610 with characters in all or all but one preprocessor constructs
11613 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11615 * proced.el (proced-filter-alist): Use regexp-quote.
11617 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11620 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11621 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11622 arguments. Expand `default-directory'.
11624 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11625 the benefit of returning an expanded localname.
11626 (tramp-tramp-file-p): Handle the case NAME is not a string.
11628 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11630 Add support for bzr shelve/unshelve.
11631 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11632 (vc-bzr-extra-menu-map): New variables.
11633 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11634 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11635 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11636 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11637 (vc-bzr-dir-extra-headers): Display shelves.
11639 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11641 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11643 * textmodes/bibtex.el (bibtex-complete-internal):
11644 Use completion-in-region.
11645 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11647 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11649 Support applying stashes. Improve UI.
11650 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11651 (vc-git-stash-apply, vc-git-stash-pop)
11652 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11653 (vc-git-stash-menu): New functions.
11654 (vc-git-stash-menu-map): New variable.
11655 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11657 2009-12-03 Glenn Morris <rgm@gnu.org>
11659 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11660 (vc-print-log-internal): Fix previous change.
11661 (vc-revert): Correct pluralization.
11663 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11665 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11666 it to be an alist any more.
11667 (makefile-complete): Use completion-in-region.
11669 * progmodes/octave-mod.el (octave-complete-symbol):
11670 Use completion-in-region.
11673 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11674 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11675 (idlwave-complete-class): Don't quote lambda.
11676 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11677 (idlwave-mode-map): Move initialization into declaration.
11678 (idlwave-action-and-binding): Use backquotes.
11679 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11681 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11682 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11683 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11684 `parts', and `all-parts'.
11685 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11686 (idlwave-convert-xml-system-routine-info): Remove unused string
11688 (idlwave-display-user-catalog-widget): Use dolist.
11689 (idlwave-scanning-lib): Declare dynamically-scoped var.
11690 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11691 (completion-highlight-first-word-only): Declare to silence bytecomp.
11692 (idlwave-popup-select): Tighten scope of `resp'.
11693 (idlwave-find-struct-tag): Remove unused var `beg'.
11694 (idlwave-after-load-rinfo-hook): Declare.
11695 (idlwave-sintern-class-info): Remove unused var `taglist'.
11696 (idlwave-find-class-definition): Remove unused var `list'.
11697 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11698 (idlwave-what-module-find-class): Remove unused var `classes'.
11700 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11702 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11704 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11706 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11707 buffers visited. Remove redundant current-buffer-saving.
11709 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11711 Use completion-in-buffer and remove uses of dynamic scoping.
11712 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11713 (pascal-buffer-to-use, pascal-flag): Don't declare.
11714 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11715 (pascal-get-completion-decl, pascal-keyword-completion):
11716 Add `pascal-str' argument, save-excursion,
11717 return the found completions, and don't filter with pascal-pred.
11718 (pascal-completion-cache): New var.
11719 (pascal-completion): Don't switch buffer any more (it was never
11720 necessary). Don't save-excursion any more (it's done by the called
11721 subroutines). Use a cache to avoid redundant computations.
11722 Use complete-with-action rather than pascal-completion-response and
11723 let it apply the predicate as well.
11724 (pascal-complete-word): Use completion-in-buffer when
11725 pascal-toggle-completions is nil.
11726 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11728 (pascal-comp-defun): Don't change buffer any more.
11729 Use complete-with-action rather than pascal-completion-response and
11730 let it apply the predicate as well.
11731 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11734 2009-12-02 Kenichi Handa <handa@m17n.org>
11736 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11737 shape for all Indic scripts.
11739 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11741 Use completion-in-buffer.
11742 * wid-edit.el (widget-field-text-end): New function.
11743 (widget-field-value-get): Use it.
11744 (widget-string-complete, widget-file-complete)
11745 (widget-color-complete): Use it and completion-in-region.
11746 (widget-complete): Don't narrow the buffer.
11748 2009-12-02 Glenn Morris <rgm@gnu.org>
11750 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11751 (rmail-select-summary): Use rmail-pop-to-buffer.
11752 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11753 rmail-pop-to-buffer, to prevent horizontal splits.
11755 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11756 save-excursion with save-current-buffer.
11757 Widen before searching. (Bug#5093)
11758 (diary-list-sexp-entries): Remove superfluous save-excursion.
11760 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11762 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11765 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11767 * ido.el (ido-file-internal): Handle filenames at point that do
11768 not have a directory part. (Bug#5049)
11770 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11772 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11773 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11775 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11777 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11778 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11781 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11783 * comint.el (comint-insert-input): Ignore clicks to the right of
11784 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11786 * vc.el (vc-print-log-internal): Don't wait for the process to
11787 terminate before setting up the major mode.
11789 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11792 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11795 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11797 2009-12-01 Glenn Morris <rgm@gnu.org>
11799 * window.el (window--display-buffer-2): Fix previous changes.
11801 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11803 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11805 2009-12-01 Glenn Morris <rgm@gnu.org>
11807 * Makefile.in (ELCFILES): Add mpc.elc.
11809 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11811 * mpc.el: New file.
11813 2009-12-01 Glenn Morris <rgm@gnu.org>
11815 * window.el (window-to-use): Define for compiler.
11817 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11818 consistent with others (no final period).
11820 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11821 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11823 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11825 Make vc-print-log buttons work.
11826 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11828 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11830 * savehist.el (savehist-autosave-interval): Allow setting to nil
11831 through customize. (Bug#5056)
11833 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11835 Fix references to jit-lock properties.
11836 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11837 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11838 (perl-font-lock-special-syntactic-constructs):
11839 Quote jit-lock-defer-multiline property.
11841 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11843 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11845 2009-11-30 Juri Linkov <juri@jurta.org>
11847 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11848 value `buffer' of `multi-isearch-next-buffer-current-function'.
11849 Use `(current-buffer)' when `buffer' is nil.
11850 (multi-isearch-next-buffer-from-list): Don't fallback to
11851 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11853 2009-11-30 Juri Linkov <juri@jurta.org>
11855 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11856 of buffers with `get-buffer' to `multi-isearch-buffers'.
11857 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11858 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11859 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11860 FILES with `expand-file-name' converting relative file names
11861 to absolute. Doc fix. (Bug#4727)
11863 2009-11-30 Juri Linkov <juri@jurta.org>
11865 * misearch.el (multi-isearch-read-buffers)
11866 (multi-isearch-read-matching-buffers): New functions.
11867 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11868 Use them in the `interactive' spec. Doc fix.
11869 (multi-isearch-read-files, multi-isearch-read-matching-files):
11871 (multi-isearch-files, multi-isearch-files-regexp):
11872 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11874 2009-11-30 Juri Linkov <juri@jurta.org>
11876 * doc-view.el (doc-view-continuous):
11877 Rename from `doc-view-continuous-mode'.
11878 (doc-view-menu): Move "Toggle display" to the top.
11879 Add submenu "Continuous" with radio buttons "Off"/"On"
11880 and "Save as Default".
11881 (doc-view-scroll-up-or-next-page)
11882 (doc-view-scroll-down-or-previous-page)
11883 (doc-view-next-line-or-next-page)
11884 (doc-view-previous-line-or-previous-page):
11885 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11887 2009-11-30 Juri Linkov <juri@jurta.org>
11889 * comint.el (comint-mode-map): Rebind `M-r' from
11890 `comint-previous-matching-input' to
11891 `comint-history-isearch-backward-regexp'.
11892 Unbind `M-s' to allow global key binding `M-s'.
11893 Add menu items for `comint-history-isearch-backward' and
11894 `comint-history-isearch-backward-regexp'. (Bug#3746)
11896 2009-11-30 Juri Linkov <juri@jurta.org>
11898 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11899 For def=recenter, replace `recenter' with `recenter-top-bottom'
11900 that is called with `this-command' and `last-command' let-bound
11901 to `recenter-top-bottom'. When the last `def' was not `recenter',
11902 set `recenter-last-op' to nil. (Bug#4981)
11904 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11906 Minor cleanup and simplification.
11907 * filecache.el (file-cache-add-directory)
11908 (file-cache-add-directory-recursively)
11909 (file-cache-add-from-file-cache-buffer)
11910 (file-cache-delete-file-regexp, file-cache-delete-directory)
11911 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11912 (file-cache-temp-minibuffer-message): Delete function.
11913 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11915 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11916 Don't signal an error when bumping into EOB in tr, s, or y.
11918 2009-11-29 Juri Linkov <juri@jurta.org>
11920 * startup.el (fancy-about-text): Fix wording of Guided Tour.
11923 * descr-text.el (describe-char-unidata-list): Use lowercase name
11924 for "Unicode name" like in other tags.
11926 2009-11-29 Juri Linkov <juri@jurta.org>
11928 * ediff-util.el (ediff-minibuffer-with-setup-hook):
11929 New compatibility macro.
11930 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11932 2009-11-29 Juri Linkov <juri@jurta.org>
11934 Add defcustom to define the cycling order of `recenter-top-bottom'.
11937 * window.el (recenter-last-op): Doc fix.
11938 (recenter-positions): New defcustom.
11939 (recenter-top-bottom): Rewrite to use `recenter-positions'.
11940 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11942 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
11944 Improve integration of Tramp and ange-ftp in eshell.
11946 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11947 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
11948 (eshell/sudo): Flatten args. Let-bind `default-directory'.
11950 * eshell/esh-util.el (top): Require also Tramp when compiling.
11951 (eshell-directory-files-and-attributes): Check for FTP remote
11953 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11954 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11955 (eshell-file-attributes): Handle ".". Return `entry'.
11957 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11958 (ange-ftp-directory-files-and-attributes)
11959 (ange-ftp-real-directory-files-and-attributes): New defuns.
11961 * net/tramp.el (tramp-maybe-open-connection): Open the remote
11962 shell with "exec" when possible. This prevents trailing prompts
11963 in `start-file-process'.
11965 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11967 Try and remove assumptions about point-min==1.
11968 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11969 (rng-compute-mode-line-string): Show the validation percentage in
11970 terms of the narrowed text, not the widened text.
11971 (rng-do-some-validation): Don't catch internal errors when debugging.
11972 (rng-first-error): Simplify.
11973 (rng-after-change-function): Remove work around. AFAIK the bug has
11974 been fixed a while ago.
11976 * image-mode.el (image-minor-mode): Exit more gracefully when the image
11977 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11979 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11981 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11982 `cd' doesn't always do it for us (bug#5067).
11984 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11985 on 2009-10-25 as part of some other change (bug#5067).
11987 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11989 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11991 (byte-compile-warnings): Use byte-compile-warning-types.
11992 (byte-compile-save-excursion): Warn about use of set-buffer right
11993 after save-excursion.
11995 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11996 the excursion as well.
11998 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12000 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12001 providing a Tramp related implementation of "su" and "sudo".
12002 (eshell-unix-initialize): Add "su" and "sudo".
12004 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12006 * net/socks.el (socks-send-command): Convert binary request to
12007 unibyte before sending. This fixes mishandling of some port
12008 numbers such as 129.
12010 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12012 * help.el (describe-bindings-internal): Remove `interactive'.
12014 * man.el (Man-completion-table): Trim a terminating "(".
12015 Remove the space between name page a section.
12016 Add the command's description on the `help-echo' property.
12017 Remove `process-connection-type' binding since it's unused by
12019 Provide completion for the "<section> <name>" format as well.
12020 (Man-default-man-entry): Remove spurious var shadowing the argument.
12022 2009-11-26 Kevin Ryde <user42@zip.com.au>
12024 * log-view.el: Add "Keywords: tools", since its other keywords
12025 aren't in finder-known-keywords, and following vc.el.
12027 * sha1.el (sha1-string-external): default-directory "/" in case
12028 otherwise non-existent. process-connection-type pipe for touch of
12029 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12031 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12033 Misc coding convention cleanups.
12034 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12035 hfy-init-kludge-hooks.
12036 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12037 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12038 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12040 (hfy-slant, hfy-weight): Use tables rather than code.
12041 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12042 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12043 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12044 (hfy-face-to-css): Remove `nconc' with single arg.
12045 (hfy-p-to-face-lennart): Use `or'.
12046 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12047 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12048 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12049 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12050 (hfy-force-fontification): Use run-hooks.
12052 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12054 Various minor fixes.
12055 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12056 Javascript belongs in the header, not the body.
12057 (hfy-javascript): Remove.
12058 (hfy-fontify-buffer): Don't insert it any more.
12059 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12060 Fix bug in invis handling when there were no invis props in a chunk.
12062 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12064 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12066 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12068 * finder.el (finder-mode-map): Add a menu.
12070 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12072 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12073 "unsigned" structs.
12075 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12076 fork" statement better.
12078 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12080 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12081 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12082 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12083 Reported by Clay Douglass.
12085 (verilog-auto-inst, verilog-auto-star-safe)
12086 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12087 Fix removing "// Interfaces" when saving .* expansions.
12088 Reported by Pierre-David Pfister.
12090 2009-11-26 Glenn Morris <rgm@gnu.org>
12092 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12095 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12097 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12098 Really use previous revision.
12100 2009-11-25 Kevin Ryde <user42@zip.com.au>
12102 * man.el (Man-completion-table): default-directory "/" in case
12103 doesn't otherwise exist. process-environment COLUMNS=999 so as
12104 not to truncate long names. process-connection-type pipe to avoid
12105 any chance of hitting the pseudo-tty TIOCGWINSZ.
12106 (man): completion-ignore-case t for friendliness and since man
12107 itself is case-insensitive on the command line.
12108 Further to Bug#3717.
12110 * arc-mode.el: Add "Keywords: files", so the details in its
12111 commentary can be reached from finder-by-keyword.
12112 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12113 editing mode, but it's comms related and sgml-mode.el has "comm"
12115 * textmodes/bibtex-style.el: Add "Keywords: tex".
12116 * international/isearch-x.el, international/ja-dic-cnv.el:
12117 * international/ja-dic-utl.el, international/kkc.el:
12118 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12120 2009-11-25 Juri Linkov <juri@jurta.org>
12122 * man.el (Man-completion-table): Modify regexp to include
12123 section names to completion strings. (Bug#3717)
12125 2009-11-25 Juri Linkov <juri@jurta.org>
12127 Search recursively in gzipped files. (Bug#4982)
12129 * progmodes/grep.el (grep-highlight-matches): Add new options
12130 `always' and `auto'. Doc fix.
12131 (grep-process-setup): Check `grep-highlight-matches' for
12132 `auto-detect' to determine the need to compute grep defaults.
12133 Move Windows/DOS specific --colors settings handling
12134 to `grep-compute-defaults'. Check `grep-highlight-matches'
12135 to get the value of "--color=".
12136 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12137 has the value `auto-detect'. Move Windows/DOS specific settings
12138 from `grep-process-setup'.
12139 (zrgrep): New command with alias `rzgrep'.
12141 2009-11-25 Juri Linkov <juri@jurta.org>
12143 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12144 to nil instead of switching off view-mode. (Bug#4896)
12146 2009-11-25 Juri Linkov <juri@jurta.org>
12148 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12150 * mwheel.el (mwheel-scroll-up-function)
12151 (mwheel-scroll-down-function): New defvars.
12152 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12153 `scroll-up', and `mwheel-scroll-down-function' instead of
12156 * doc-view.el (doc-view-scroll-up-or-next-page)
12157 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12158 Use this ARG in the call to image-scroll-up/image-scroll-down.
12159 Change `interactive' spec to "P". Goto next/previous page only
12160 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12161 SPC/DEL case). Doc fix.
12162 (doc-view-next-line-or-next-page)
12163 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12165 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12166 `doc-view-scroll-up-or-next-page', and buffer-local
12167 `mwheel-scroll-down-function' to
12168 `doc-view-scroll-down-or-previous-page'.
12170 2009-11-25 Juri Linkov <juri@jurta.org>
12172 Provide additional default values (directories at other Dired
12173 windows) via M-n in the minibuffer of some Dired commands.
12175 * dired-aux.el (dired-diff, dired-compare-directories)
12176 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12177 `minibuffer-default' in `minibuffer-with-setup-hook'.
12178 (dired-dwim-target-directory): Find a window that displays Dired
12179 buffer instead of failing when the next window is not Dired.
12180 Use `get-window-with-predicate' to find for the next Dired window.
12181 (dired-dwim-target-defaults): New function.
12183 * ediff-util.el (ediff-read-file-name):
12184 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12185 in `minibuffer-with-setup-hook'.
12187 2009-11-25 Juri Linkov <juri@jurta.org>
12189 Provide additional default values (file name at point or at the
12190 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12192 * minibuffer.el (read-file-name-defaults): New function.
12193 (read-file-name): Reset `minibuffer-default' to nil when
12194 it duplicates initial input `insdef'.
12195 Bind `minibuffer-default-add-function' to lambda that
12196 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12197 (minibuffer-insert-file-name-at-point): New command.
12199 * files.el (file-name-at-point-functions): New defcustom.
12200 (find-file-default): Remove defvar.
12201 (find-file-read-args): Don't use `find-file-default'.
12202 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12203 to `read-file-name'.
12204 (find-file-literally): Use `read-file-name' with
12205 `confirm-nonexistent-file-or-buffer'.
12207 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12209 * dired.el (dired-read-dir-and-switches):
12210 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12211 to `read-file-name'.
12212 (dired-file-name-at-point): New function.
12213 (dired-mode): Add hook `dired-file-name-at-point' to
12214 `file-name-at-point-functions'.
12216 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12218 Really make the *Completions* window soft-dedicated (bug#5030).
12219 * window.el (window--display-buffer-2): Add `dedicated' argument.
12220 (display-buffer): Pass it when needed so the dedicated flag is set
12221 after calling set-window-buffer, which would otherwise reset it.
12223 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12225 * progmodes/meta-mode.el (meta-complete-symbol):
12226 * progmodes/etags.el (complete-tag):
12227 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12228 Use completion-in-region.
12230 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12231 (dabbrev-completion): Use completion-in-region.
12232 (dabbrev--abbrev-at-point): Simplify regexp.
12234 * abbrev.el (abbrev--before-point): Use word-motion functions
12235 if :regexp is not specified (bug#5031).
12237 * subr.el (string-prefix-p): New function.
12239 * man.el (Man-completion-cache): New var.
12240 (Man-completion-table): Use it.
12242 * vc.el (vc-print-log-internal): Make `limit' optional for better
12243 compatibility (e.g. with vc-annotate.el).
12245 2009-11-24 Kevin Ryde <user42@zip.com.au>
12247 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12248 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12250 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12251 when .el source file not found or other error.
12253 2009-11-24 Markus Triska <markus.triska@gmx.at>
12255 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12257 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12259 Handle the [back] button properly (bug#4979).
12260 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12261 Use help-setup-xref, help-buffer, and with-help-window.
12262 (describe-char): Add `buffer' argument.
12263 Pass proper command to help-setup-xref. Don't meddle with
12264 help-xref-stack-item directly.
12265 (describe-text-category): Use with-help-window and help-buffer.
12267 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12268 for the displayed buffer (bug#4887).
12270 * man.el (Man-completion-table): New function.
12273 2009-11-24 David Reitter <david.reitter@gmail.com>
12275 * vc-git.el (vc-git-registered): Use checkout directory (where
12276 .git is) rather than the file's directory and a relative path spec
12277 to work around a bug in git.
12279 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12281 Improve handling of processes on remote hosts.
12283 * eshell/esh-util.el (eshell-path-env): New defvar.
12284 (eshell-parse-colon-path): New defun.
12285 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12287 * eshell/esh-ext.el (eshell-search-path):
12288 Use `eshell-parse-colon-path'.
12289 (eshell-remote-command): Remove argument HANDLER.
12290 (eshell-external-command): Check for FTP remote connection.
12292 * eshell/esh-proc.el (eshell-gather-process-output):
12293 Use `file-truename', in order to start also symlinked files.
12294 Apply `start-file-process' instead of `start-process'.
12295 Shorten `command' to the local file name part.
12297 * eshell/em-cmpl.el (eshell-complete-commands-list):
12298 Use `eshell-parse-colon-path'.
12300 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12302 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12303 to `eshell-directory-change-hook'.
12305 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12307 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12308 because it could be enabled automatically if view-read-only is non-nil.
12310 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12312 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12313 made on 2009-11-22.
12315 2009-11-24 Glenn Morris <rgm@gnu.org>
12317 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12318 deleted variable bookmark-bmenu-bookmark-column.
12320 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12322 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12324 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12326 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12327 two slashes to the "file:" prefix.
12328 (browse-url-file-url): De-munge Cygwin filenames before passing
12329 them to Windows browser.
12330 (browse-url-default-windows-browser): Use call-process.
12332 2009-11-23 Juri Linkov <juri@jurta.org>
12334 Implement DocView Continuous mode. (Bug#4896)
12335 * doc-view.el (doc-view-continuous-mode): New defcustom.
12336 (doc-view-mode-map): Bind C-n/<down> to
12337 `doc-view-next-line-or-next-page', C-p/<up> to
12338 `doc-view-previous-line-or-previous-page'.
12339 (doc-view-next-line-or-next-page)
12340 (doc-view-previous-line-or-previous-page): New commands.
12342 2009-11-23 Juri Linkov <juri@jurta.org>
12344 Implement Isearch in comint input history. (Bug#3746)
12345 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12346 `isearch-mode-hook'.
12347 (comint-history-isearch): New defcustom.
12348 (comint-history-isearch-backward)
12349 (comint-history-isearch-backward-regexp): New commands.
12350 (comint-history-isearch-message-overlay): New buffer-local variable.
12351 (comint-history-isearch-setup, comint-history-isearch-end)
12352 (comint-goto-input, comint-history-isearch-search)
12353 (comint-history-isearch-message, comint-history-isearch-wrap)
12354 (comint-history-isearch-push-state)
12355 (comint-history-isearch-pop-state): New functions.
12357 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12359 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12361 (tramp-handle-make-symbolic-link)
12362 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12364 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12365 (tramp-handle-process-file): Use it.
12367 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12369 * window.el (move-to-window-line-last-op): Remove.
12370 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12372 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12374 Make M-r mirror the new cycling behavior of C-l.
12375 * window.el (move-to-window-line-last-op): New var.
12376 (move-to-window-line-top-bottom): New command.
12377 (global-map): Bind M-r move-to-window-line-top-bottom.
12379 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12381 * dired-x.el (dired-guess-shell-alist-default):
12382 Support xz format. (Bug#4953)
12384 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12386 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12387 last-command-char/last-command-event.
12388 (viper-prefix-arg-value): Do correct conversion of event-char for
12391 * emulation/viper-util.el, emulation/viper.el:
12392 Use viper-last-command-char instead of
12393 last-command-char/last-command-event.
12395 * ediff-init.el, ediff-mult.el, ediff-util.el:
12396 Replace last-command-char and last-command-event
12397 with (ediff-last-command-char) everywhere.
12399 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12400 created in fundamental mode.
12402 * ediff.el (ediff-version): Revert the change of interactive-p to
12403 called-interactively-p.
12405 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12407 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12408 generation from word-movement command names.
12410 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12412 * cus-start.el (all): Add native condition for font-use-system-font.
12414 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12416 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12417 Correct the patch from 2009-11-18. (Bug#3910)
12419 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12421 * progmodes/subword.el: Rename from lisp/subword.el.
12423 * subword.el: Rename to progmodes/subword.el.
12425 * Makefile.in (ELCFILES): Adapt to subword.el move.
12427 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12428 Stefan Monnier <monnier@iro.umontreal.ca>
12430 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12431 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12432 (bookmark-bmenu-show-filenames): Use push.
12433 (bookmark-bmenu-hide-filenames): Use local var instead of
12434 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12435 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12436 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12437 filenames now that the bookmark names are always available.
12439 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12441 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12442 (bookmark-search-pattern): Move and leave unbound.
12443 (bookmark-bmenu-mode-map): Change binding.
12444 (bookmark-read-search-input): Simplify.
12445 Don't use text-char-description. Don't error on non-char events.
12446 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12447 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12448 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12449 Use a local var for the timer.
12450 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12451 (i.e. bookmark-bmenu-search).
12453 2009-11-21 Glenn Morris <rgm@gnu.org>
12455 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12457 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12459 * net/browse-url.el (browse-url-default-windows-browser):
12460 Use cygstart for cygwin.
12462 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12464 * bookmark.el: Formatting and doc fixes only:
12465 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12466 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12467 Minor grammar and punctuation fixes in doc string.
12468 (bookmark-read-search-input): Adjust to fit within 80 columns.
12470 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12472 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12473 (c-backward-into-nomenclature): Adapt to subword renaming.
12475 * subword.el (subword-forward, subword-backward, subword-mark)
12476 (subword-kill, subword-backward-kill, subword-transpose)
12477 (subword-downcase, subword-upcase, subword-capitalize)
12478 (subword-forward-internal, subword-backward-internal):
12479 Rename from forward-subword, backward-subword, mark-subword,
12480 kill-subword, backward-kill-subword, transpose-subwords,
12481 downcase-subword, upcase-subword, capitalize-subword,
12482 forward-subword-internal, backward-subword-internal.
12484 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12486 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12488 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12490 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12491 (bookmark-bmenu-filter-alist-by-regexp)
12492 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12493 (bookmark-bmenu-search): New command.
12494 (bookmark-bmenu-mode-map): Bind it.
12496 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12498 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12499 backward-subword to quit the byte-compiler.
12501 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12503 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12505 * progmodes/cc-cmds.el (c-update-modeline)
12506 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12507 Refer to subword.el functions instead of cc-subword.el.
12509 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12510 subword.el functions instead of cc-subword.el.
12512 * progmodes/cc-subword.el: Rename to subword.el.
12513 * subword.el: Rename from progmodes/cc-subword.el.
12514 (subword-mode-map): Rename from c-subword-mode-map.
12515 (subword-mode): Rename from c-subword-mode.
12516 (global-subword-mode): New global minor mode.
12517 (forward-subword): Rename from c-forward-subword.
12518 (backward-subword): Rename from c-backward-subword.
12519 (mark-subword): Rename from c-mark-subword.
12520 (kill-subword): Rename from c-kill-subword.
12521 (backward-kill-subword): Rename from c-backward-kill-subword.
12522 (transpose-subwords): Rename from c-tranpose-subword.
12523 (downcase-subword): Rename from c-downcase-subword.
12524 (capitalize-subword): Rename from c-capitalize-subword.
12525 (forward-subword-internal): Rename from c-forward-subword-internal.
12526 (backward-subword-internal): Rename from c-backward-subword-internal.
12528 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12530 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12531 from a dired buffer.
12532 (vc-dired-deduce-fileset): New function.
12533 (vc-root-diff, vc-print-root-log): Use it.
12535 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12536 nil LIMIT argument to vc-print-log-internal.
12538 2009-11-20 Glenn Morris <rgm@gnu.org>
12540 * Makefile.in (ELCFILES): Regenerate.
12542 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12544 * calc/calc.el (calc-set-mode-line):
12545 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12546 (math-format-number): Rename `math-format-complement-signed' to
12547 `math-format-twos-complement'.
12549 * calc/calc-bin.el (math-format-twos-complement): Rename from
12550 math-format-complement-signed.
12551 (calc-radix): Rename `calc-complement-signed-mode' to
12552 `calc-twos-complement-mode'.
12553 (calc-octal-radix, calc-hex-radix): Add an argument for
12556 * calc/calc-embed.el (calc-embedded-mode-vars):
12557 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12559 * calc/calc-ext.el (calc-init-extensions):
12560 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12561 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12563 * calc/calc-units.el (math-build-units-table-buffer):
12564 Let `calc-twos-complement-mode' be nil.
12566 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12569 * calc/calc-vec.el (calcFunc-vunpack):
12570 * calc/calc-aent.el (calc-do-calc-eval):
12571 * calc/calc-forms.el (math-format-date):
12572 * calc/calc-graph.el (calc-graph-plot):
12573 * calc/calc-math.el (math-use-emacs-fn):
12574 * calc/calccomp.el (math-compose-expr):
12575 Let `calc-twos-complement-mode' be nil.
12577 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12579 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12580 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12581 * minibuffer.el (completion-in-region-functions): New hook.
12582 (completion-in-region): New function.
12583 * emacs-lisp/lisp.el (lisp-complete-symbol):
12584 * pcomplete.el (pcomplete-std-complete): Use it.
12586 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12588 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12589 (latex-complete-alist): New vars.
12590 (latex-string-prefix-p, latex-complete-bibtex-keys)
12591 (latex-complete-envnames, latex-complete-refkeys)
12592 (latex-complete-data): New functions.
12593 (latex-complete, latex-indent-or-complete): New commands.
12595 * window.el (display-buffer-mark-dedicated): New var.
12596 (display-buffer): Obey it.
12597 * minibuffer.el (minibuffer-completion-help): Use it.
12599 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12601 * filecache.el (file-cache-add-file): Use push and cons.
12602 (file-cache-delete-file-regexp): Use push.
12603 (file-cache-complete): Use completion-in-region.
12605 * simple.el (with-wrapper-hook): Fix thinko.
12607 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12608 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12609 Use with-current-buffer and string-to-number.
12610 (hfy-fallback-colour-values): Use assoc-string.
12611 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12612 (hfy-face-at): Remove unused var `found-face'.
12613 (hfy-compile-stylesheet): Remove unused var `css'.
12614 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12616 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12617 Use with-current-buffer.
12618 (hfy-text-p): Use expand-file-name and fewer setq.
12620 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12622 * htmlfontify.el, hfy-cmap.el: New files.
12624 2009-11-19 Juri Linkov <juri@jurta.org>
12626 * minibuffer.el (completions-format): New defcustom.
12627 (completion--insert-strings): Implement vertical format.
12629 * simple.el (switch-to-completions): Move point to the first
12630 completion when point was at the beginning of the buffer.
12632 2009-11-19 Juri Linkov <juri@jurta.org>
12634 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12636 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12638 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12640 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12641 (mail-signature): Change default to t.
12642 (mail-from-style): Deprecate `system-default' value.
12643 (mail-insert-from-field): For default value of mail-from-style,
12644 default to `angles' unless `angles' needs quoting and `parens'
12646 (mail-citation-prefix-regexp): Use citation regexp from
12649 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12651 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12652 Set variables for computing the prompt for reading password.
12654 2009-11-19 Glenn Morris <rgm@gnu.org>
12656 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12658 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12660 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12661 (newsticker-treeview-listwindow-height): Fix custom type.
12663 2009-11-19 Kenichi Handa <handa@m17n.org>
12665 * descr-text.el (describe-char-padded-string): Compose with TAB
12666 only if there's a font for CH.
12667 (describe-char): Fix the condition for detecting a trivial composition.
12669 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12671 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12672 more accurate version of the regexp. (Bug#3910)
12674 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12676 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12678 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12680 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12681 (font-setting-change-default-font): Fix typo in docstring.
12683 2009-11-18 Alan Mackenzie <acm@muc.de>
12685 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12687 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12689 * font-setting.el (font-use-system-font): Move ...
12691 * cus-start.el (all): ... to here.
12693 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12695 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12696 Don't set `ad-return-value' if `ad-do-it' doesn't.
12698 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12701 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12703 * menu-bar.el: Put "Use system font" in Option-menu.
12704 (menu-bar-options-save): Add font-use-system-font.
12706 * loadup.el: If feature system-font-setting or font-render-setting is
12707 there, load font-setting.
12709 * Makefile.in (ELCFILES): Add font-settings.el.
12710 * font-setting.el: New file.
12712 2009-11-17 Glenn Morris <rgm@gnu.org>
12714 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12716 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12717 Preserve point in the list buffer. (Bug#4939)
12719 (newsticker--treeview-list-update-highlight)
12720 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12722 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12724 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12727 * calc/calc-ext.el (calc-init-extensions): Remove references to
12730 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12732 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12733 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12736 2009-11-16 Kevin Ryde <user42@zip.com.au>
12738 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12739 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12741 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12742 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12743 Ignore trailing spaces by omit-nulls to split-string (fixing
12744 regression from Emacs 21 due to the incompatible split-string
12745 change). (Bug #4928.)
12747 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12749 * vc.el (vc-log-show-limit): Default to 2000.
12750 (vc-print-log-internal): Insert buttons to request more entries
12751 when limiting the output.
12753 * vc-sccs.el (vc-sccs-print-log):
12754 * vc-rcs.el (vc-rcs-print-log):
12755 * vc-cvs.el (vc-cvs-print-log):
12756 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12759 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12761 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12762 error when `tramp-gvfs-dbus-event-vector' is set.
12763 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12765 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12767 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12769 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12771 * net/dbus.el (dbus-unregister-service): New defun.
12772 (dbus-register-property): Register the handlers of
12773 "org.freedesktop.DBus.Properties" for SERVICE.
12774 (dbus-property-handler): Fix docstring.
12776 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12778 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12779 Quote doc string reference in defvaralias as it is not in special form.
12780 (byte-compile-output-docform): Doc fix.
12782 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12784 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12785 (calc-complement-signed-mode): New variables.
12786 (calc-set-mode-line): Add indicator for twos-complements.
12787 (math-format-number): Format twos-complement notation.
12789 * calc/calc-bin.el (calc-word-size): Reset the variables
12790 `math-2-word-size' and `math-half-2-word-size'.
12791 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12792 (calc-symclip): New functions.
12794 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12796 * calc/calc-embed.el (calc-embedded-mode-vars):
12797 Add `calc-complement-signed-mode' to the list of modes.
12799 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12800 (calc-b-oper-keys): Add `calc-symclip' to list.
12802 * calc/calc-ext.el (math-read-number-fancy): Read complement
12804 (calc-init-extensions): Add binding for `calc-symclip'.
12805 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12807 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12809 (calc-modes-menu): Add item for twos complement mode.
12811 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12813 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12815 * register.el (jump-to-register, insert-register): Handle Semantic
12816 tags. From commented-out advice in semantic/senator.el.
12818 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12820 * vc.el (vc-log-show-limit): New variable.
12821 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12822 when using a prefix argument.
12823 (vc-print-log-internal): Add new argument LIMIT.
12825 * vc-svn.el (vc-svn-print-log):
12826 * vc-mtn.el (vc-mtn-print-log):
12827 * vc-hg.el (vc-hg-print-log):
12828 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12829 pass it to the log command when set. Make the BUFFER argument
12832 * vc-sccs.el (vc-sccs-print-log):
12833 * vc-rcs.el (vc-rcs-print-log):
12834 * vc-git.el (vc-git-print-log):
12835 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12836 ignore it. Make the BUFFER argument non-optional
12838 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12840 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12842 * dired.el (dired-mode-map): Move encryption items to "Operate"
12845 * strokes.el (strokes-update-window-configuration): Make strokes
12846 buffer current before erasing (Bug#4906).
12848 2009-11-15 Juri Linkov <juri@jurta.org>
12850 * simple.el (set-mark-default-inactive): Add :type, :group
12851 and :version. (Bug#4876)
12853 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12855 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12856 (archive-unique-fname): ... here. (Bug#4929)
12858 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12860 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12863 * novice.el (disabled-command-function): Add useful args.
12864 Setup the help buffer so that [back] works.
12865 Remove redundant call to help-mode.
12866 (disabled-command-function): Use `case'.
12867 (en/disable-command): New function extracted from enable-command.
12868 (enable-command, disable-command): Use it.
12870 2009-11-14 Glenn Morris <rgm@gnu.org>
12872 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12873 constants. (Bug#4913)
12875 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12877 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12879 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12880 defined in C that have no doc-strings. (Bug#1063)
12882 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12884 * cus-edit.el (data, files):
12885 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12887 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12889 * simple.el (shell-command): Doc fix (Bug#4891).
12891 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12893 2009-11-14 Glenn Morris <rgm@gnu.org>
12895 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12896 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12897 If they are already loaded, eval-after-load will do the right thing.
12899 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12902 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12904 * simple.el (x-selection-owner-p): Declare.
12905 (read-mail-command): Use custom radio type rather than choice.
12906 (completion-no-auto-exit): Doc fix.
12908 * custom.el (defgroup):
12909 * epg-config.el (epg): Doc fixes.
12911 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12913 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12914 * international/ccl.el (define-ccl-program): Do not purecopy the
12915 docstring, defconst does it anyway.
12917 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12919 * add-log.el (add-change-log-entry): Avoid displaying the changelog
12922 * x-dnd.el (x-dnd-maybe-call-test-function):
12923 * window.el (split-window-vertically):
12924 * whitespace.el (whitespace-help-on):
12925 * vc-rcs.el (vc-rcs-consult-headers):
12926 * userlock.el (ask-user-about-lock-help)
12927 (ask-user-about-supersession-help):
12928 * type-break.el (type-break-force-mode-line-update):
12929 * time-stamp.el (time-stamp-conv-warn):
12930 * terminal.el (te-set-output-log, te-more-break, te-filter)
12931 (te-sentinel, terminal-emulator):
12932 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12933 (term-write-input-ring, term-check-source, term-start-output-log):
12934 (term-display-buffer-line, term-dynamic-list-completions):
12935 (term-ansi-make-term, serial-term):
12936 * subr.el (selective-display):
12937 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12938 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12939 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12940 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12941 (speedbar-remove-localized-speedbar-support)
12942 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12943 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12944 (speedbar-buffers-line-directory):
12945 * simple.el (shell-command-on-region, append-to-buffer)
12946 (prepend-to-buffer):
12947 * shadowfile.el (shadow-save-todo-file):
12948 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12949 (scroll-bar-maybe-set-window-start):
12950 * sb-image.el (speedbar-image-dump):
12951 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12952 (load-save-place-alist-from-file):
12953 * ps-samp.el (ps-print-message-from-summary):
12954 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12955 (ps-background-image, ps-begin-job, ps-do-despool):
12956 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12957 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12958 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12959 (pr-call-process, pr-file-list, pr-interface-save):
12960 * novice.el (disabled-command-function)
12961 (enable-command, disable-command):
12962 * mouse.el (mouse-buffer-menu-alist):
12963 * mouse-copy.el (mouse-kill-preserving-secondary):
12964 * macros.el (kbd-macro-query):
12965 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12966 * informat.el (batch-info-validate):
12967 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12968 * hippie-exp.el (try-expand-dabbrev-visible):
12969 * help-mode.el (help-make-xrefs):
12970 * help-fns.el (describe-variable):
12971 * generic-x.el (bat-generic-mode-run-as-comint):
12972 * finder.el (finder-mouse-select):
12973 * find-dired.el (find-dired-sentinel):
12974 * filesets.el (filesets-file-close):
12975 * files.el (list-directory):
12976 * faces.el (list-faces-display, describe-face):
12977 * facemenu.el (list-colors-display):
12978 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12979 * epg.el (epg--process-filter, epg-cancel):
12980 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12981 (epa--read-signature-type):
12982 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12983 (emerge-file-names):
12984 * ehelp.el (electric-helpify):
12985 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12986 * ediff-vers.el (rcs-ediff-view-revision):
12987 * ediff-util.el (ediff-setup):
12988 * ediff-mult.el (ediff-append-custom-diff):
12989 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12991 * echistory.el (Electric-command-history-redo-expression):
12992 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12993 * disp-table.el (describe-display-table):
12994 * dired.el (dired-find-buffer-nocreate):
12995 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12996 * dabbrev.el (dabbrev--same-major-mode-p):
12997 * chistory.el (list-command-history):
12998 * apropos.el (apropos-documentation):
12999 * allout.el (allout-obtain-passphrase):
13000 (allout-copy-exposed-to-buffer):
13001 (allout-verify-passphrase): Use with-current-buffer.
13003 2009-11-13 Glenn Morris <rgm@gnu.org>
13005 * Makefile.in (ELCFILES): Regenerate.
13007 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13009 * net/dbus.el (dbus-registered-objects-table): Rename from
13010 `dbus-registered-functions-table', because it contains also properties.
13011 (dbus-unregister-object): Unregister also properties.
13012 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13013 Use a timeout of 500 msec, in order to not block.
13014 (dbus-register-property, dbus-property-handler): New defuns.
13016 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13018 * simple.el (minibuffer-default-add-completions): Drop deprecated
13021 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13023 * textmodes/artist.el (artist-mouse-choose-operation):
13024 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13025 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13026 (artist-compute-up-event-key): New function.
13027 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13029 2009-11-13 Kenichi Handa <handa@m17n.org>
13031 * language/japan-util.el: Make sure that the value of jisx0208
13032 property is jisx0208 character.
13034 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13036 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13037 car or each item, not the whole list.
13039 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13041 * minibuffer.el (minibuffer-completion-help):
13042 Use minibuffer-hide-completions.
13044 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13046 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13047 (dired-revert): Use them (bug#4880).
13049 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13051 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13053 2009-11-12 Juri Linkov <juri@jurta.org>
13055 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13057 (find-file-literally-at-point): Alias of `ffap-literally'.
13059 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13061 * textmodes/ispell.el (ispell-skip-region-alist):
13062 * textmodes/css-mode.el (auto-mode-alist):
13063 * progmodes/compile.el (auto-mode-alist):
13064 * international/mule.el (ctext-non-standard-encodings-alist)
13065 (ctext-non-standard-encodings-regexp):
13066 * simple.el (shell-command-switch, text-read-only):
13067 * replace.el (occur-mode-map):
13068 * paths.el (rmail-file-name):
13069 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13070 * find-file.el (ff-special-constructs):
13071 * files.el (file-name-handler-alist):
13072 * composite.el: Purecopy strings.
13074 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13076 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13078 * widget.el (define-widget): Purecopy the docstring.
13079 * international/mule-cmds.el (charset): Do not purecopy the
13080 docstring here, define-widget does it.
13082 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13083 * textmodes/bibtex-style.el (auto-mode-alist):
13084 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13085 * progmodes/compile.el (compile-command):
13086 * language/korea-util.el (default-korean-keyboard):
13087 * international/mule-conf.el (file-coding-system-alist):
13088 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13089 * tooltip.el (tooltip-frame-parameters):
13090 * newcomment.el (comment-end, comment-padding):
13091 * dired.el (dired-trivial-filenames):
13092 * comint.el (comint-file-name-prefix): Purecopy initial values.
13094 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13096 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13097 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13099 (tramp-advice-make-auto-save-file-name)
13100 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13101 after removing the advice.
13103 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13105 * progmodes/grep.el (grep-regexp-alist):
13106 * international/mule-cmds.el (iso-2022-control-alist):
13107 * emacs-lisp/timer.el (timer-duration-words):
13108 * subr.el (version-separator, version-regexp-alist):
13109 * minibuffer.el (completion-styles-alist):
13110 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13111 Change defvars to defconsts.
13113 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13114 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13115 * international/mule-conf.el: Allow to be byte compiled.
13117 * international/mule.el (define-charset): Purecopy props.
13118 (load-with-code-conversion): Purecopy doc string and file name.
13119 (put-charset-property): Purecopy strings.
13120 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13122 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13123 (define-char-code-property): Correctly purecopy the table.
13125 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13127 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13129 * subr.el (add-hook): Purecopy strings.
13130 (eval-after-load): Purecopy load-history-regexp and the form.
13132 * custom.el (custom-declare-group): Purecopy load-file-name.
13134 * subr.el (menu-bar-separator): New defconst.
13135 * net/eudc.el (eudc-tools-menu):
13136 * international/mule-cmds.el (set-coding-system-map)
13137 (mule-menu-keymap):
13138 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13139 * vc-hooks.el (vc-menu-map):
13140 * replace.el (occur-mode-map):
13141 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13142 (menu-bar-edit-menu, menu-bar-goto-menu)
13143 (menu-bar-custom-menu, menu-bar-showhide-menu)
13144 (menu-bar-options-menu, menu-bar-tools-menu)
13145 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13146 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13147 (menu-bar-help-menu):
13148 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13149 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13151 * term/x-win.el (x-gtk-stock-map):
13152 * progmodes/vera-mode.el (auto-mode-alist):
13153 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13154 (inferior-lisp-program, inferior-lisp-load-command):
13155 * progmodes/hideshow.el (hs-special-modes-alist):
13156 * progmodes/gud.el (same-window-regexps):
13157 * progmodes/grep.el (grep-program, find-program, xargs-program):
13158 * net/telnet.el (same-window-regexps):
13159 * net/rlogin.el (same-window-regexps):
13160 * language/ethiopic.el (font-ccl-encoder-alist):
13161 * vc-sccs.el (vc-sccs-master-templates):
13162 * vc-rcs.el (vc-rcs-master-templates):
13163 * subr.el (cl-assertion-failed):
13164 * simple.el (next-error-overlay-arrow-position):
13165 * lpr.el (lpr-command):
13166 * locate.el (locate-ls-subdir-switches):
13167 * info.el (same-window-regexps, info)
13168 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13169 * image-mode.el (image-mode, auto-mode-alist):
13170 * hippie-exp.el (hippie-expand-ignore-buffers):
13171 * format.el (format-alist):
13172 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13174 * facemenu.el (facemenu-keybindings):
13175 * dired.el (dired-listing-switches, dired-chown-program):
13176 * diff.el (diff-switches, diff-command):
13177 * cus-edit.el (same-window-regexps):
13178 * bindings.el (mode-line-mule-info)
13179 (mode-line-buffer-identification): Purecopy strings.
13181 2009-11-11 Juri Linkov <juri@jurta.org>
13183 * simple.el (dired-get-filename) <declare-function>:
13184 Tell the byte-compiler about dired-get-filename.
13185 (shell-command): In Dired mode, get filename from the current line
13186 as the default value.
13188 2009-11-10 Glenn Morris <rgm@gnu.org>
13190 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13191 * calendar/holidays.el, progmodes/cperl-mode.el:
13192 Update x-popup-menu declarations.
13194 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13195 (list-load-path-shadows): Use dolist.
13196 (list-load-path-shadows): Use with-current-buffer.
13198 2009-11-10 Juri Linkov <juri@jurta.org>
13200 * minibuffer.el (read-file-name): Support a list of default values
13201 in `default-filename'. Use the first file name where only one
13202 element is required. Doc fix.
13204 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13206 * net/dbus.el (dbus-unregister-object): Release service, if no
13207 other method is registered for it.
13209 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13211 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13212 bookmark-sort-flag is non-nil (Bug#4653).
13214 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13216 * emulation/cua-base.el: Add CUA property to some CC mode commands
13219 2009-11-08 Kevin Ryde <user42@zip.com.au>
13221 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13222 at end of sentence (Bug#4818).
13224 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13226 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13227 Handle "see declaration of" MSFT statements (Bug#4100).
13229 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13231 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13232 (tramp-advice-file-expand-wildcards): Unload via
13233 `ad-remove-advice'.
13235 * net/trampver.el: Update release number.
13237 2009-11-08 Kevin Ryde <user42@zip.com.au>
13239 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13242 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13244 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13245 in order to keep context in SELinux.
13247 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13249 * dired-aux.el (dired-query): Place cursor in echo area and allow
13252 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13253 menu item if not on a directory (Bug#4701).
13255 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13257 Sync with Tramp 2.1.17.
13259 * net/tramp.el (tramp-handle-copy-directory): Don't use
13260 `file-remote-p' (due to compatibility).
13262 * net/tramp-compat.el (tramp-compat-copy-directory)
13263 (tramp-compat-delete-directory): New defuns.
13265 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13266 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13267 Use `tramp-compat-delete-directory'.
13269 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13270 (tramp-smb-handle-delete-directory):
13271 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13273 * net/trampver.el: Update release number.
13275 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13277 * tar-mode.el (tar-copy): Call write-region on the right buffer
13280 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13281 by hand, if necessary (Bug#4878).
13283 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13285 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13286 align size column (Bug#4839).
13288 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13291 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13293 * progmodes/ld-script.el (auto-mode-alist):
13294 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13296 * cus-face.el (custom-declare-face): Purecopy face spec.
13298 2009-11-06 Kenichi Handa <handa@m17n.org>
13300 * international/uni-bidi.el: Re-generated.
13301 * international/uni-category.el: Re-generated.
13302 * international/uni-combining.el: Re-generated.
13303 * international/uni-mirrored.el: Re-generated.
13305 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13307 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13308 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13309 (tex-start-options, slitex-run-command, latex-run-command)
13310 (tex-run-command, tex-directory):
13311 * textmodes/ispell.el (ispell-html-skip-alists)
13312 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13313 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13314 (adaptive-fill-regexp):
13315 * textmodes/dns-mode.el (auto-mode-alist):
13316 * progmodes/python.el (interpreter-mode-alist):
13317 * progmodes/etags.el (tags-compression-info-list):
13318 * progmodes/etags.el (tags-file-name):
13319 * net/browse-url.el (browse-url-galeon-program)
13320 (browse-url-firefox-program):
13321 * mail/sendmail.el (mail-signature-file)
13322 (mail-citation-prefix-regexp):
13323 * international/mule-conf.el (eight-bit):
13324 * international/latexenc.el (latex-inputenc-coding-alist):
13325 * international/fontset.el (x-pixel-size-width-font-regexp):
13326 * emacs-lisp/warnings.el (warning-type-format):
13327 * emacs-lisp/trace.el (trace-buffer):
13328 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13329 (emacs-lisp-mode-map):
13330 * calendar/holidays.el (holiday-solar-holidays)
13331 (holiday-bahai-holidays, holiday-islamic-holidays)
13332 (holiday-christian-holidays, holiday-hebrew-holidays)
13333 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13334 (hebrew-holidays-1, holiday-oriental-holidays)
13335 (holiday-general-holidays):
13336 * x-dnd.el (x-dnd-known-types):
13337 * tool-bar.el (tool-bar):
13338 * startup.el (site-run-file):
13339 * shell.el (shell-dumb-shell-regexp):
13340 * rfn-eshadow.el (file-name-shadow-tty-properties)
13341 (file-name-shadow-properties):
13342 * paths.el (remote-shell-program, news-directory):
13343 * mouse.el ([C-down-mouse-3]):
13344 * menu-bar.el (menu-bar-tools-menu):
13345 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13346 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13347 (jka-compr-compression-info-list):
13348 * isearch.el (search-whitespace-regexp):
13349 * image-file.el (image-file-name-extensions):
13350 * find-dired.el (find-ls-option):
13351 * files.el (directory-listing-before-filename-regexp)
13352 (directory-free-space-args, insert-directory-program)
13353 (list-directory-brief-switches, magic-fallback-mode-alist)
13354 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13355 (automount-dir-prefix):
13356 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13357 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13358 (face-font-registry-alternatives, face-font-registry-alternatives)
13359 (face-font-family-alternatives):
13360 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13361 (facemenu-foreground-menu, facemenu-face-menu):
13362 * epa-hook.el (epa-file-name-regexp):
13363 * dnd.el (dnd-protocol-alist):
13364 * textmodes/rst.el (auto-mode-alist):
13365 * button.el (default-button): Purecopy strings.
13367 2009-11-06 Glenn Morris <rgm@gnu.org>
13369 * Makefile.in (ELCFILES): Update.
13371 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13373 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13374 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13376 * nxml/xsd-regexp.el (xsdre-gen-categories):
13377 * nxml/xmltok.el (xmltok-parse-entity):
13378 * nxml/rng-parse.el (rng-parse-validate-file):
13379 * nxml/rng-maint.el (rng-format-manual)
13380 (rng-manual-output-force-new-line):
13381 * nxml/rng-loc.el (rng-save-schema-location-1):
13382 * nxml/rng-cmpct.el (rng-c-parse-file):
13383 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13384 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13386 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13388 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13389 Remove extra save-excursions and make-variable-buffer-local's.
13390 Suggested by Stefan Monnier.
13392 (verilog-getopt-file, verilog-module-inside-filename-p)
13393 (verilog-set-define): Merge GNU 1.35 and repair changes from
13394 switching to using with-current-buffer.
13396 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13397 being treated as a number and confusing AUTORESET.
13398 Reported by Dan Dever.
13400 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13401 Add verilog-auto-ignore-concat to fix backward compatibility with
13402 older verilog-modes. Reported by Dan Katz.
13404 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13405 containing closing anchors "...$".
13407 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13408 Reported by Wade Smith.
13410 (verilog-batch-execute-func): Comment on function usage.
13412 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13414 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13417 (verilog-label-re, verilog-calc-1): Support proper indent of named
13420 (verilog-backward-token, verilog-basic-complete-re)
13421 (verilog-beg-of-statement, verilog-indent-re): Support proper
13422 indent of the assert statement at the beginning of a block of text.
13424 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13425 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13428 2009-11-05 Glenn Morris <rgm@gnu.org>
13430 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13431 Emacs 19. (Bug#1531)
13432 (byte-compile-fix-header): Update for the above change.
13433 Drop test for epoch::version.
13435 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13436 * cus-dep.el (custom-make-dependencies):
13437 * finder.el (finder-compile-keywords):
13438 Use autoload-rubric's feature argument.
13440 * calendar/diary-lib.el (top-level): Make load behave more like require.
13442 * vc-git.el (vc-git-stash-map): Move definition before use.
13444 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13446 * custom.el (custom-declare-group): Purecopy standard-value.
13447 (custom-declare-group): Purecopy custom-prefix.
13449 * international/mule.el (load-with-code-conversion):
13450 Call do-after-load-evaluation unconditionally.
13452 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13454 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13456 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13458 2009-11-04 Glenn Morris <rgm@gnu.org>
13460 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13461 (byte-compile-compatibility): Remove option.
13462 (byte-compile-close-variables, byte-compile-fix-header)
13463 (byte-compile-insert-header, byte-compile-output-docform)
13464 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13465 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13466 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13467 (byte-compile-insert, byte-compile-defun):
13468 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13469 (byte-defop-compiler19): Remove.
13470 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13471 used by anything. Replace all calls with byte-defop-compiler.
13473 2009-11-04 Juri Linkov <juri@jurta.org>
13475 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13476 (menu-bar-options-menu): Don't quote the `prop' arg of
13477 `menu-bar-make-mm-toggle'.
13479 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13481 * calendar/calendar.el (cal-loaddefs):
13482 * calendar/diary-lib.el (diary-loaddefs):
13483 * calendar/holidays.el (hol-loaddefs):
13484 * eshell/esh-module.el (esh-groups): Load rather than require.
13486 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13488 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13490 (todo-top-priorities): Only display-buffer when called interactively.
13491 (todo-item-start): Don't save excursion point.
13492 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13493 (todo-insert-item-here, todo-file-item, todo-remove-item):
13494 Adjust uses of todo-item-start and todo-item-end.
13496 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13497 (autoload-rubric): Don't use any more.
13499 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13500 and only put a prop if it is non-nil.
13502 2009-11-03 Juri Linkov <juri@jurta.org>
13504 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13505 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13507 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13508 and "Menu" to make top-level menu item visually one unit (like
13509 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13510 multi-word menu items). Fix :help string for quit-window.
13512 2009-11-03 Glenn Morris <rgm@gnu.org>
13514 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13515 (byte-compile-file-form-define-abbrev-table)
13516 (byte-compile-file-form-custom-declare-variable)
13517 (byte-compile-variable-ref, byte-compile-defvar):
13518 Whether or not a warning is enabled should only affect whether we issue
13519 the warning, not whether or not we collect the relevant data.
13520 Eg warnings can be turned on and off throughout the course of a file.
13522 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13523 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13525 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13527 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13528 * play/mpuz.el (mpuz-create-buffer):
13529 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13530 (lm-print-y,s,noise, lm-print-w0, lm-init):
13531 * play/gomoku.el (gomoku-prompt-for-move):
13532 * play/fortune.el (fortune-in-buffer):
13533 * play/dissociate.el (dissociated-press):
13534 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13535 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13536 * mail/supercite.el (sc-eref-show):
13537 * mail/smtpmail.el (smtpmail-send-it):
13538 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13539 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13540 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13541 (rmail-summary-goto-msg, rmail-summary-expunge)
13542 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13543 (rmail-summary-add-label, rmail-summary-output-menu)
13544 (rmail-summary-output-body):
13545 * mail/rfc822.el (rfc822-addresses):
13546 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13547 * mail/mailpost.el (post-mail-send-it):
13548 * mail/hashcash.el (hashcash-generate-payment):
13549 * mail/feedmail.el (feedmail-run-the-queue)
13550 (feedmail-queue-send-edit-prompt-help-first)
13551 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13552 (feedmail-deduce-address-list):
13553 * eshell/esh-ext.el (eshell-remote-command):
13554 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13555 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13556 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13557 (viper-save-string-in-file, viper-valid-marker):
13558 * emulation/viper-keym.el (viper-toggle-key):
13559 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13560 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13561 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13562 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13563 (viper-exec-form-in-emacs, viper-brac-function):
13564 * emulation/viper.el (viper-delocalize-var):
13565 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13566 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13567 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13568 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13569 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13570 * emulation/edt.el (edt-electric-helpify):
13571 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13572 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13573 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13574 (cua-indent-to-global-mark-column):
13575 * calendar/diary-lib.el (calendar-mark-1):
13576 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13577 Use with-current-buffer.
13578 * emulation/viper.el (viper-delocalize-var): Use dolist.
13580 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13582 * comint.el (comint-replace-by-expanded-history-before-point):
13583 Replace !! with the previous input string literally (Bug#1795).
13585 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13587 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13588 to be made up of whitespace.
13590 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13592 * minibuffer.el (read-file-name): Don't use file dialogs for
13593 remote directories (Bug#99).
13595 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13597 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13599 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13601 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13602 instead of deleting the window or frame.
13604 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13606 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13607 Support face colors.
13609 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13610 New function. Support face colors (Bug#1168).
13611 (tex-common-initialization): Use it.
13613 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13614 mode allows it (Bug#1168).
13616 2009-10-31 Juri Linkov <juri@jurta.org>
13618 * facemenu.el (list-colors-display): Don't mark buffer as
13619 modified (Bug#3948).
13621 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13623 * international/mule-diag.el (list-character-sets-1):
13624 Minor message fix (Bug#3526).
13626 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13627 Fix face property (Bug#4834).
13628 (etags-list-tags, etags-tags-apropos-additional)
13629 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13632 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13635 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13637 * textmodes/two-column.el (2C-split):
13638 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13639 * textmodes/tex-mode.el (tex-set-buffer-directory):
13640 * textmodes/spell.el (spell-region, spell-string):
13641 * textmodes/reftex.el (reftex-erase-buffer):
13642 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13643 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13644 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13645 (reftex-select-item):
13646 * textmodes/reftex-ref.el (reftex-label-info-update)
13647 (reftex-offer-label-menu):
13648 * textmodes/reftex-index.el (reftex-index-change-entry)
13649 (reftex-index-phrases-info):
13650 * textmodes/reftex-global.el (reftex-create-tags-file)
13651 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13652 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13653 (reftex-view-crossref-from-bibtex):
13654 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13655 (reftex-extract-bib-entries-from-thebibliography)
13656 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13657 * textmodes/refbib.el (r2b-capitalize-title):
13658 (r2b-convert-buffer, r2b-help):
13659 * textmodes/page-ext.el (pages-directory)
13660 (pages-directory-goto-with-mouse):
13661 * textmodes/bibtex.el (bibtex-validate-globally):
13662 * textmodes/bib-mode.el (bib-capitalize-title):
13663 * textmodes/artist.el (artist-clear-buffer, artist-system):
13664 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13665 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13666 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13667 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13668 (xscheme-send-control-g-interrupt, xscheme-start-process)
13669 (xscheme-process-sentinel, xscheme-cd):
13670 * progmodes/verilog-mode.el (verilog-read-always-signals)
13671 (verilog-set-define, verilog-getopt-file)
13672 (verilog-module-inside-filename-p):
13673 * progmodes/sh-script.el:
13674 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13675 (python-pdbtrack-grub-for-buffer, python-execute-file):
13676 * progmodes/octave-inf.el (inferior-octave):
13677 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13678 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13679 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13680 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13681 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13682 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13683 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13684 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13685 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13686 (idlwave-shell-examine-display, idlwave-shell-run-region)
13687 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13688 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13689 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13690 (idlwave-help-get-help-buffer):
13691 * progmodes/gud.el (gud-basic-call, gud-find-class)
13692 (gud-tooltip-activate-mouse-motions-if-enabled):
13693 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13694 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13695 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13696 (ebrowse-tags-next-file):
13697 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13698 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13699 (ebnf-eps-finish-and-write):
13700 * progmodes/cpp.el (cpp-edit-save):
13701 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13702 * progmodes/cc-defs.el (c-emacs-features):
13703 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13704 (antlr-directory-dependencies):
13705 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13706 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13707 (ada-find-any-references, ada-make-filename-from-adaname)
13708 (ada-make-body-gnatstub):
13709 * obsolete/rnews.el (news-list-news-groups):
13710 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13711 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13712 * net/rcirc.el (rcirc-debug):
13713 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13714 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13715 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13716 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13717 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13718 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13719 (newsticker--treeview-list-clear-highlight)
13720 (newsticker--treeview-list-update-highlight)
13721 (newsticker--treeview-list-highlight-start)
13722 (newsticker--treeview-tree-update-highlight)
13723 (newsticker--treeview-get-selected-item)
13724 (newsticker-treeview-mark-list-items-old)
13725 (newsticker--treeview-set-current-node):
13726 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13727 * net/newst-backend.el (newsticker--get-news-by-funcall)
13728 (newsticker--get-news-by-wget, newsticker--image-get)
13729 (newsticker--image-sentinel):
13730 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13731 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13732 (eudc-ph-close-session):
13733 * net/eudc.el (eudc-save-options):
13734 * language/thai-word.el (thai-update-word-table):
13735 * language/japan-util.el (japanese-string-conversion):
13736 * international/titdic-cnv.el (tsang-quick-converter)
13737 (ziranma-converter, ctlau-converter):
13738 * international/mule-cmds.el (describe-language-environment):
13739 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13740 (skkdic-convert-postfix, skkdic-convert-prefix):
13741 (skkdic-convert-okuri-nasi, skkdic-convert):
13742 * emacs-lisp/re-builder.el (reb-update-overlays):
13743 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13744 * emacs-lisp/gulp.el (gulp-send-requests):
13745 * emacs-lisp/find-gc.el (trace-call-tree):
13746 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13747 (eieio-describe-generic):
13748 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13749 * emacs-lisp/edebug.el (edebug-outside-excursion):
13750 * emacs-lisp/debug.el (debugger-make-xrefs):
13751 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13752 * emacs-lisp/chart.el (chart-new-buffer):
13753 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13754 Use with-current-buffer.
13755 * textmodes/artist.el (artist-system): Don't call
13756 copy-sequence on a fresh string.
13757 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13759 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13761 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13762 is no item to edit. (Bug#4820)
13763 (todo-top-priorities): Restore point and restore narrowing in Todo
13766 2009-10-31 Glenn Morris <rgm@gnu.org>
13768 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13769 (comint-last-output-start, comint-last-input-start)
13770 (comint-last-input-end): Don't defvar when compiling.
13771 (ange-ftp-process-file): Use bound-and-true-p.
13773 * pcmpl-rpm.el (top-level): Move provide statement to end.
13774 (pcmpl-rpm): Remove unused custom group.
13776 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13778 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13780 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13781 (byte-compile-warnings): Add `constants' as an option.
13782 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13783 (display-call-tree): Update for byte-compile-fdefinition possibly
13784 returning `(macro lambda ...)'. (Bug#4778)
13785 (byte-compile-variable-ref, byte-compile-setq-default):
13786 Respect `constants' member of byte-compile-warnings.
13788 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13790 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13791 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13794 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13796 * textmodes/ispell.el (ispell-skip-region-alist):
13797 * international/mule-conf.el (eight-bit):
13798 * international/fontset.el (font-encoding-alist):
13799 * startup.el (pure-space-overflow-message):
13800 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13801 * paths.el (gnus-nntp-service, rmail-spool-directory)
13802 (term-file-prefix):
13803 * files.el (save-some-buffers-action-alist):
13804 * cmuscheme.el (same-window-buffer-names):
13805 * ielm.el (same-window-buffer-names):
13806 * shell.el (same-window-buffer-names):
13807 * mail/sendmail.el (same-window-buffer-names):
13808 * progmodes/inf-lisp.el (same-window-buffer-names):
13809 * bindings.el (mode-line-client)
13810 (mode-line-column-line-number-mode-map):
13811 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13812 (tibetan-precomposed-regexp): Purecopy string arguments.
13814 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13816 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13817 (calcDigit-nondigit):
13818 * calc/calc-yank.el (calc-copy-to-buffer):
13819 * calc/calc-units.el (calc-invalidate-units-table):
13820 * calc/calc-trail.el (calc-trail-yank):
13821 * calc/calc-store.el (calc-insert-variables):
13822 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13823 * calc/calc-prog.el (calc-read-parse-table):
13824 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13825 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13826 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13827 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13828 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13829 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13830 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13831 * calc/calc-ext.el (calc-realign):
13832 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13833 (calc-embedded-finish-edit, calc-embedded-make-info)
13834 (calc-embedded-finish-command, calc-embedded-stack-change):
13835 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13837 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13838 shell-dynamic-complete-filename in preference to
13839 comint-dynamic-complete-filename.
13841 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13842 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13843 Don't consider whether the display supports colors.
13844 (bookmark-import-new-list): Use dolist.
13845 (bookmark-bmenu-mode-map): Move initialization into declaration.
13846 (bookmark-bmenu-list): Use dolist, simplify.
13847 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13848 (menu-bar-final-items): Use push.
13850 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13852 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13853 it works on remote files.
13854 (vc-hg-diff): Don't pass any `--cwd' argument.
13856 2009-10-27 Kevin Ryde <user42@zip.com.au>
13858 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13859 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13860 (Further to Bug#3921).
13862 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13864 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13865 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13866 calling `tramp-imap-put-file'. Add file size to the call.
13867 (tramp-imap-get-file-entries): Compute also user name, file size,
13869 (tramp-imap-handle-insert-directory): Insert uid and gid.
13870 (tramp-imap-handle-file-attributes): Transform uid and gid
13871 according to `id-format'.
13872 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13873 size in header X-Size.
13875 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13877 * simple.el (transpose-subr): Give clearer error when the mark
13878 is not set. (Bug#4807)
13880 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13882 * net/tramp.el (tramp-perl-file-truename): New defconst.
13883 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13884 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13885 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13886 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13888 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13889 Ignore `dired-call-process'.
13890 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13892 2009-10-26 Julian Scheid <julians37@gmail.com>
13894 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13895 (tramp-get-remote-readlink): New defun.
13896 (tramp-handle-file-truename): Use it.
13897 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13898 file exists if cache value present.
13899 (tramp-check-cached-permissions): New defun.
13900 (tramp-handle-file-readable-p): Use it.
13901 (tramp-handle-file-writable-p): Likewise.
13902 (tramp-handle-file-executable-p): Likewise.
13903 (tramp-handle-file-name-all-completions): Try using Perl to get
13904 partial completions. When perl not available, combine `cd' and
13905 `ls' into single remote operation and use shell expansion to get
13906 partial remote directory contents. Set `file-exists-p' cache for
13907 directory and any files returned by ls. Change cache handling to
13908 support partial directory contents. Use error message emitted by
13909 remote `cd' or Perl code for local tramp-error.
13910 (tramp-do-copy-or-rename-file-directly): Avoid separate
13911 tramp-send-command-and-check call.
13912 (tramp-handle-process-file): Merge three remote ops into one.
13913 Do not flush all caches when `process-file-side-effects' is set.
13914 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13915 file-attributes shows uid/gid to be set already.
13917 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13919 * textmodes/tex-mode.el (tex-dvi-view-command)
13920 (tex-show-queue-command, tex-open-quote):
13921 * progmodes/ruby-mode.el (auto-mode-alist)
13922 (interpreter-mode-alist): Purecopy strings.
13924 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13926 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13927 string for the hook, keymap and abbrev table.
13929 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13931 * x-dnd.el (x-dnd-xdnd-to-action):
13932 * startup.el (fancy-startup-text, fancy-about-text): Change to
13933 defconst from defvar.
13935 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13937 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13938 Purecopy initialization strings.
13940 * mail/sendmail.el (mail-header-separator)
13941 (mail-personal-alias-file):
13942 * mail/rmail.el (rmail-default-dont-reply-to-names)
13943 (rmail-ignored-headers, rmail-retry-ignored-headers)
13944 (rmail-highlighted-headers, rmail-secondary-file-directory)
13945 (rmail-secondary-file-regexp):
13946 * files.el (null-device, file-name-invalid-regexp)
13947 (locate-dominating-stop-dir-regexp)
13948 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13949 (interpreter-mode-alist): Use mapcar instead of mapc.
13951 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13953 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13954 (completion-ignored-extensions):
13955 (debug-ignored-errors): Purecopy strings.
13957 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13959 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13960 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13961 (pcomplete--here): Use push.
13963 * subr.el (all-completions): Declare the 4th arg obsolete.
13965 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13967 * pcomplete.el (pcomplete-unquote-argument-function): New var.
13968 (pcomplete-unquote-argument): New function.
13969 (pcomplete--common-suffix): Always pay attention to case.
13970 (pcomplete--table-subvert): Quote and unquote the text.
13971 (pcomplete--common-quoted-suffix): New function.
13972 (pcomplete-std-complete): Use it and pcomplete-begin.
13974 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13975 we're inside a dedicated or minibuffer window.
13977 2009-10-24 Karl Fogel <kfogel@red-bean.com>
13979 * bookmark.el: Update documentation, especially documentation
13980 of `bookmark-alist' and of the bookmark file format.
13981 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13983 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
13985 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13986 keybindings apply to the mail buffer (Bug#4003). Shrink help
13989 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13990 (global-whitespace-mode, global-whitespace-newline-mode)
13991 (whitespace-toggle-options, global-whitespace-toggle-options):
13992 Doc fix (Bug#3660).
13994 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13995 of xmltok-start before the end tag was inserted (Bug#2840).
13997 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13998 patterns that are preceded by an open-paren (Bug#1320).
14000 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14002 * files.el (delete-directory): Delete symlinks to directories with
14003 delete-file (Bug#4739).
14005 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14007 * vc.el (vc-backend-for-registration): Rename from
14008 vc-get-backend-for-registration. Update callers.
14010 * international/mule-cmds.el (set-language-info-alist):
14012 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14013 (charset): Purecopy the name.
14014 (define-char-code-property): Purecopy string arguments.
14016 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14017 Purecopy string arguments.
14019 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14020 * ediff-hook.el (menu-bar-ediff-menu):
14021 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14022 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14024 2009-10-24 Glenn Morris <rgm@gnu.org>
14026 * comint.el (comint-dynamic-list-completions):
14027 * term.el (term-dynamic-list-completions): Use choose-completion rather
14028 than obsolete alias mouse-choose-completion.
14030 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14031 file-cache-choose-completion.
14032 (file-cache-choose-completion): Handle an optional event argument.
14033 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14035 * progmodes/octave-mod.el (octave-complete-symbol):
14036 Use choose-completion if mouse-choose-completion is ever removed.
14038 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14041 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14044 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14046 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14048 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14049 Ignore `pred' now that we receive one.
14050 Handle test-completion specially.
14052 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14054 * vc.el (vc-responsible-backend): Throw an error if not backend is
14055 found. Remove the REGISTER argument. Move the code dealing with
14057 (vc-get-backend-for-registration): ... here. New function.
14058 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14059 of vc-responsible-backend, pass the file name instead of the
14062 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14064 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14066 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14067 (pcomplete-comint-setup): Don't modify a global var via
14068 accidental side-effects.
14069 (pcomplete-shell-setup): Adjust call accordingly.
14070 (pcomplete-parse-comint-arguments): Use push.
14072 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14074 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14075 Allow uncapitalized info node names (Bug#3921).
14077 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14078 to the DEBUG file (Bug#3781).
14080 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14082 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14083 dictionary entry (Bug#4579).
14085 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14087 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14088 from `rfn-eshadow-update-overlay-hook' when unloading.
14089 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14090 "rsyncc". Adjust doc string.
14091 (tramp-temp-buffer-file-name): New buffer-local defvar.
14092 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14093 Keep temporary file when indicated by method ("rsync" and
14095 (tramp-handle-write-region): Handle APPEND.
14096 (tramp-delete-temp-file-function): New defun. Added to
14097 `kill-buffer-hook'.
14099 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14101 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14103 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14105 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14106 (color-name-rgb-alist, tty-standard-colors)
14107 (tty-color-mode-alist): Change to defconst.
14109 * simple.el (mark-inactive): Purecopy message.
14111 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14112 (global-map, yank-menu):
14113 * textmodes/ispell.el (ispell-menu-map):
14114 * net/eudc.el (eudc-tools-menu):
14115 * international/mule-cmds.el (describe-language-environment-map)
14116 (setup-language-environment-map, set-coding-system-map)
14117 (mule-menu-keymap):
14118 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14119 * replace.el (occur-mode-map):
14120 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14122 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14124 * calc/calc.el (math-read-number, math-read-number-simple):
14125 Use `save-match-data'.
14127 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14129 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14130 rather than fiddling with global-map bindings, since it should only
14131 affect per-terminal settings.
14132 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14134 * minibuffer.el (completion-table-with-terminator): Allow to specify
14135 the terminator-regexp.
14137 * simple.el (switch-to-completions): Look for *Completions* in other
14140 * pcomplete.el: Allow the use of completion-tables.
14141 (pcomplete-std-complete): New command.
14142 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14143 (pcomplete--here): Use a function for `form' rather than an expression,
14144 so it can be byte-compiled.
14145 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14146 Add edebug declaration.
14147 (pcomplete-show-completions): Remove unused var `curbuf'.
14148 (pcomplete-do-complete, pcomplete-stub):
14149 Don't assume `completions' is a list of strings any more.
14151 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14153 * find-dired.el (find-name-arg): Fix typo in docstring.
14155 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14157 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14158 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14160 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14163 * comint.el (comint-read-input-ring, comint-write-input-ring)
14164 (comint-substitute-in-file-name)
14165 (comint-dynamic-complete-as-filename)
14166 (comint-dynamic-simple-complete)
14167 (comint-dynamic-list-filename-completions)
14168 (comint-dynamic-list-completions)
14169 (comint-redirect-results-list-from-process): Minor simplifications.
14171 2009-10-21 Kevin Ryde <user42@zip.com.au>
14173 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14174 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14175 the first form. And insert a blank line after ";;; Code" since
14176 that's usual style. (Bug#4612)
14178 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14180 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14182 * minibuffer.el (completion-table-with-terminator): Properly implement
14183 boundaries, in case `terminator' appears in the suffix.
14184 (completion--embedded-envvar-table): Don't return boundaries if
14185 there's no valid completion. Simplify.
14186 (completion-file-name-table): New completion table extracted from
14187 completion--file-name-table.
14188 (completion--file-name-table): Use it.
14189 (read-file-name-predicate): Declare obsolete.
14190 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14191 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14192 completion-file-name-table, and use the `pred' argument.
14193 * files.el (locate-file-completion-table): Use the `pred' arg rather
14194 than read-file-name-predicate.
14195 (abbreviate-file-name): Use \` rather than ^ for BOS.
14197 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14199 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14200 vc-responsible-backend to register, it causes problems.
14202 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14204 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14206 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14208 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14209 (tramp-smb-handle-file-attributes): Use it.
14210 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14211 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14212 `mapcar'. Use `tramp-smb-get-stat-capability'.
14213 Add `dired-filename' text properties.
14214 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14215 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14218 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14220 * subr.el (read-key-delay): Reduce to 0.01.
14221 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14224 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14226 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14228 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14229 (Info-menu): Remove unused vars `last' and `completions'.
14230 (Info-index-nodes): Remove unused var `node'.
14232 * info.el (Info-complete-menu-item): Use complete-with-action.
14234 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14236 Make vc-annotate work through copies and renames.
14237 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14238 Return the file name too.
14239 (vc-annotate-revision-at-line)
14240 (vc-annotate-find-revision-at-line)
14241 (vc-annotate-revision-previous-to-line)
14242 (vc-annotate-show-log-revision-at-line): Update to get the file
14243 name from vc-annotate-extract-revision-at-line.
14244 (vc-annotate-show-diff-revision-at-line-internal): Change the
14245 argument to mean whether to show a file diff or not. Get the file
14246 name from vc-annotate-extract-revision-at-line.
14247 (vc-annotate-show-diff-revision-at-line):
14248 Update vc-annotate-show-diff-revision-at-line call.
14249 (vc-annotate-warp-revision): Add an optional file argument.
14251 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14252 (vc-git-annotate-extract-revision-at-line): Also return the file
14255 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14256 command. Remove unused code.
14257 (vc-hg-annotate-re): Update to match --follow output.
14258 (vc-hg-annotate-extract-revision-at-line): Also return the file
14261 * vc.el: Update annotate-extract-revision-at-line documentation.
14263 2009-10-18 Kevin Ryde <user42@zip.com.au>
14265 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14266 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14268 * net/browse-url.el (browse-url): Identify alist with "consp and
14269 not functionp" and let all other things go down the `apply' leg,
14270 as suggested by Stefan. (Further to bug#4531.)
14272 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14274 * minibuffer.el (read-file-name): Check for repeat before putting
14275 a default argument in file-name-history (Bug#4657).
14277 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14278 read syntax (Bug#4737).
14280 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14282 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14284 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14285 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14286 entries and make note of obsolete tags.
14288 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14290 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14292 2009-10-18 Glenn Morris <rgm@gnu.org>
14294 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14295 grep, so that binary files (eg international/uni-bidi.el) can match.
14296 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14297 now, and in any case the file header format has changed.
14299 2009-10-17 Glenn Morris <rgm@gnu.org>
14301 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14302 (flyspell-get-word, flyspell-large-region)
14303 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14305 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14307 * Makefile.in (ELCFILES): Add ede/shell.
14309 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14311 * term/common-win.el (x-colors): Purecopy it.
14313 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14315 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14316 permissive for when the buffer is empty.
14317 (tar-header-block-tokenize): Decode the username and groupname.
14318 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14320 2009-10-17 Eric Ludlam <zappo@gnu.org>
14322 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14323 contains multibyte characters, choose first applicable coding
14324 system automatically.
14326 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14328 * international/mule-cmds.el (select-safe-coding-system): If the file
14329 has a coding cookie, use it regardless of any other setting (bug#4712).
14331 2009-10-17 Glenn Morris <rgm@gnu.org>
14333 * foldout.el (foldout-mouse-swallow-events):
14334 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14336 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14337 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14338 (dired-keep-marker-symlink, dired-dwim-target)
14339 (dired-copy-preserve-time): Do not autoload these defcustoms.
14341 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14342 messages from messing up the file coding. (Bug#4623)
14344 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14346 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14347 if no match is found for the current dictionary. (Bug#4578)
14349 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14350 optional, since that is how it is documented, and this is often called
14351 with a nil argument. (Bug#4577)
14352 (flyspell-external-point-words, flyspell-auto-correct-word)
14353 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14354 (flyspell-word-search-backward): Remove nil argument in calls to
14355 flyspell-get-word, since it is not needed now.
14357 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14359 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14361 2009-10-16 Glenn Morris <rgm@gnu.org>
14363 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14365 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14367 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14368 (ange-ftp-file-size): New function.
14369 (ange-ftp-file-attributes): Use it.
14371 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14373 * net/tramp-smb.el (tramp-smb-version): New defvar.
14374 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14377 2009-10-16 Glenn Morris <rgm@gnu.org>
14379 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14380 Maybe copy some custom properties from old to new name. (Bug#4706)
14382 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14384 * subr.el (error, sit-for, start-process-shell-command)
14385 (start-file-process-shell-command): Set the calling convention
14386 after the function definition.
14388 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14390 * subr.el (error, sit-for, start-process-shell-command)
14391 (start-file-process-shell-command): Use the new
14392 set-advertised-calling-convention feature.
14394 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14396 * international/ucs-normalize.el (ucs-normalize-version):
14398 (check-range): Adjust for Unicode 5.2.
14400 2009-10-15 Juri Linkov <juri@jurta.org>
14402 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14403 to the `menu-item' format.
14405 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14407 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14408 if the environment variable does not exist.
14410 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14411 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14413 (tramp-smb-handle-add-name-to-file)
14414 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14415 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14416 (tramp-smb-handle-file-attributes)
14417 (tramp-smb-do-file-attributes-with-stat)
14418 (tramp-smb-handle-file-local-copy)
14419 (tramp-smb-handle-insert-directory)
14420 (tramp-smb-handle-make-directory)
14421 (tramp-smb-handle-make-directory-internal)
14422 (tramp-smb-handle-make-symbolic-link)
14423 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14424 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14425 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14426 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14427 Handle long file names.
14428 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14429 process is running.
14430 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14431 Read share names with "-g" option.
14433 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14435 * net/rcirc.el (rcirc-view-log-file): New command.
14436 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14437 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14440 2009-10-15 Glenn Morris <rgm@gnu.org>
14442 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14443 from the second command-line argument.
14444 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14445 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14446 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14447 w32-batch-update-autoloads.
14448 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14449 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14451 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14452 the headers cannot be located. Simplify, subtracting superflous
14455 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14457 Replace completion-base-size by completion-base-position to fix bugs
14458 such as (bug#4699).
14459 * simple.el (completion-base-position): New var.
14460 (completion-base-size): Mark as obsolete.
14461 (choose-completion): Make it work for mouse events as well.
14462 Pass the new base-position to choose-completion-string.
14463 (choose-completion-guess-base-position): New function, extracted from
14464 choose-completion-delete-max-match.
14465 (choose-completion-delete-max-match): Use it. Make obsolete.
14466 (choose-completion-string): Use the new base-position info.
14467 (completion-root-regexp): Delete.
14468 (completion-setup-function): Preserve completion-base-position.
14469 Eliminate obsolete base-size manipulation.
14470 * minibuffer.el (display-completion-list): Don't mess with base-size.
14471 (minibuffer-completion-help): Set completion-base-position instead.
14472 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14474 * textmodes/bibtex.el (bibtex-complete):
14475 * emacs-lisp/crm.el (crm--choose-completion-string):
14476 Adjust to new calling convention.
14477 * complete.el (partial-completion-mode): Use minibufferp to avoid
14478 bumping into incompatible change to choose-completion-string-functions.
14479 * ido.el (ido-choose-completion-string): Make its calling convention
14481 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14482 base-size manipulation.
14483 (comint-dynamic-list-input-ring): Use dotimes and push.
14484 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14485 fundamental-mode. Use `or'.
14487 2009-10-14 Juri Linkov <juri@jurta.org>
14489 * misearch.el (multi-isearch-next-buffer-from-list)
14490 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14492 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14494 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14497 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14498 string we return is all made up of text from the completions rather
14499 than part from the completions and part from the input (bug#4219).
14501 * ido.el (ido-everywhere): Use define-minor-mode.
14503 * buff-menu.el (list-buffers, ctl-x-map):
14504 Mark the entry points with ;;;###autoload cookies.
14506 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14508 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14509 correctly in the detached head case.
14510 (vc-git-print-log): Remove unused binding.
14512 * vc.el (vc-responsible-backend): When a directory is passed for
14513 for registration create a VC repository if no backend is
14514 responsible for the directory argument.
14515 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14517 * vc.el: Move comments about RCS and SCCS ...
14519 * vc-sccs.el: ... here, respectively.
14521 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14523 * minibuffer.el (completion--file-name-table): Return nil if there's
14524 no file completion, even if substitute-in-file-name changed
14525 the string (bug#4708).
14527 2009-10-13 Juri Linkov <juri@jurta.org>
14529 * files-x.el (read-file-local-variable-value): Don't filter out
14530 minor modes from mode name completion (bug#4664).
14532 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14534 * international/mule-cmds.el (ucs-names): Remove exclusion of
14535 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14537 2009-10-13 Kenichi Handa <handa@m17n.org>
14539 * international/uni-name.el: Regenerated.
14541 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14543 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14544 should be automatically buffer-local, but isn't.)
14546 2009-10-12 Sam Steingold <sds@gnu.org>
14548 * progmodes/compile.el (compilation-next-error-function): Fix the
14549 timestamps if the buffer has been visited before.
14550 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14551 non-anchored patterns, like the perl one (bug#3928).
14553 2009-10-12 Glenn Morris <rgm@gnu.org>
14555 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14558 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14560 * proced.el (proced-unload-function): New function.
14562 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14563 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14566 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14568 2009-10-11 Juri Linkov <juri@jurta.org>
14570 * files-x.el (read-file-local-variable-value):
14571 Provide default value only for bound variables (bug#4664).
14573 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14575 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14576 connection methods like smb.
14578 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14581 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14582 (tramp-smb-file-name-handler-alist): Add handlers for
14583 `add-name-to-file', `make-symbolic-link'.
14584 (tramp-smb-handle-add-name-to-file)
14585 (tramp-smb-do-file-attributes-with-stat)
14586 (tramp-smb-handle-make-symbolic-link)
14587 (tramp-smb-get-cifs-capabilities): New defuns.
14588 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14589 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14590 (tramp-smb-handle-file-local-copy)
14591 (tramp-smb-handle-make-directory-internal)
14592 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14593 The file name syntax depends on cifs capabilities.
14594 (tramp-smb-handle-file-attributes):
14595 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14596 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14597 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14599 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14601 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14602 (eieio-defclass): Apply deftype handler and setf-method properties
14604 (eieio-add-new-slot): Avoid union function from cl library.
14605 (eieio--typep): New function.
14606 (eieio-perform-slot-validation): Use it.
14608 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14610 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14611 Update documentation to refer to the variables documented in r1.135.
14614 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14616 * bookmark.el (Info-suffix-list): Remove this unused variable.
14617 (bookmark-current-point): Remove this obsolete variable.
14618 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14619 Adjust for removal of bookmark-current-point.
14621 (bookmarks-already-loaded, bookmark-current-buffer)
14622 (bookmark-yank-point): Document. (Bug#4188)
14624 2009-10-10 Glenn Morris <rgm@gnu.org>
14626 * frame.el (frame-height): Doc fix.
14628 * calendar/calendar.el (calendar-split-width-threshold): New option.
14629 (calendar-basic-setup): Use calendar-split-width-threshold.
14631 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14633 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14634 Ideographic Supplement" range (U+1F200..U+1F2FF).
14636 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14638 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14639 since the list will have been rebuilt anyway. (Bug#4349)
14641 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14643 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14644 (bookmark-bmenu-execute-deletions): Don't save here, as
14645 bookmark-delete will now do so if necessary.
14646 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14649 2009-10-09 Glenn Morris <rgm@gnu.org>
14651 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14653 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14655 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14656 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14657 argument now, so the two function's behaviors will match. (Bug#3645)
14659 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14661 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14662 (tramp-file-name-real-host, tramp-file-name-port):
14663 Apply `save-match-data'.
14665 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14666 case both directories are remote.
14667 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14668 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14670 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14672 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14674 2009-10-07 Glenn Morris <rgm@gnu.org>
14676 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14679 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14681 * files-x.el (read-file-local-variable): Include some
14682 non-user-variables in the completion table (bug#4664).
14684 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14686 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14689 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14690 (tramp-smb-file-name-handler-alist): Add handler for
14691 `copy-directory', `expand-file-name', `set-file-modes'.
14692 (tramp-smb-handle-copy-directory)
14693 (tramp-smb-handle-expand-file-name)
14694 (tramp-smb-handle-set-file-modes): New defuns.
14695 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14696 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14698 (tramp-smb-handle-insert-directory): Don't flush the cache.
14699 (tramp-smb-maybe-open-connection): Check for samba client and
14702 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14704 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14705 to not error out of search for "^lisp=" fails.
14707 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14709 * makefile.w32-in (WINS_UPDATES): New macro.
14710 (custom-deps, finder-data, autoloads): Use it.
14712 2009-10-07 Glenn Morris <rgm@gnu.org>
14714 * Makefile.in (autoloads): Revert previous change.
14715 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14716 the list of preloaded files passed on the command-line, get
14717 it from src/Makefile.
14719 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14720 show the original buffer rather than a random one.
14722 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14724 * help.el (describe-no-warranty): Place point in a slightly better
14725 position in the GPLv3 text.
14727 2009-10-06 Sam Steingold <sds@gnu.org>
14729 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14730 the comm attribute is present before calling regexp-quote.
14732 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14734 * play/animate.el (animate-string): For good effect, make sure
14735 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14737 * play/animate.el (animate-sequence, animate-birthday-present):
14738 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14740 2009-10-06 Glenn Morris <rgm@gnu.org>
14742 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14744 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14745 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14746 (batch-update-autoloads): Process a string value of autoload-excludes,
14747 set during the build process.
14748 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14750 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14751 inside with-parsed... macro so that `v' is defined.
14753 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14754 * progmodes/fortran.el (fortran-end-of-block)
14755 (fortran-beginning-of-block):
14756 Also push mark in the macro case.
14758 * emerge.el (emerge-show-file-name):
14759 * calc/calc.el (calc-quit):
14760 * calc/calc-misc.el (calc-big-or-small):
14761 * calc/calc-graph.el (calc-graph-view):
14762 * calc/calc-ext.el (calc-reset):
14763 * calendar/calendar.el (calendar-basic-setup):
14764 Use window-full-height-p.
14766 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14767 header we don't understand, don't insert another. (Bug#4624)
14768 If changing mime charset, insert the new one in the right place.
14770 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14772 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14773 (cal-tex-cursor-month): Correctly increment the end date for diary and
14774 holiday listing. (Bug#4626)
14776 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14778 * help-fns.el (describe-function-1): Don't burp if the function is not
14781 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14783 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14784 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14785 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14786 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14788 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14789 (eieio-default-superclass): Reflow docstrings.
14790 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14791 (eieio-unbind-method-implementations, defmethod)
14792 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14793 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14794 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14795 (eieio-slot-originating-class-p, eieio-slot-name-index)
14796 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14797 (constructor, initialize-instance, no-next-method, object-print)
14798 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14799 Fix typos in docstrings.
14800 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14801 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14802 (next-method-p): Doc fixes.
14803 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14804 Fix typos in error messages.
14805 (eieio-defmethod): Fix typo in description of generic method.
14807 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14808 (eieio-persistent-save-interactive, slot-missing):
14809 Fix typos in docstrings.
14810 (eieio-instance-inheritor-slot-boundp): Doc fix.
14812 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14813 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14815 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14816 (eieio-custom-object-apply-reset):
14817 Fix typos in docstrings and error messages.
14819 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14820 Fix typo in docstring.
14822 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14823 (eieio-browse-tree): Doc fix.
14824 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14825 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14826 Fix typos in docstrings.
14828 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14829 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14830 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14831 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14834 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14836 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14837 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14838 Set log-view-vc-backend so that diff can work.
14840 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14842 (vc-diff-internal): Autoload this instead of vc-version-diff.
14844 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14846 * simple.el (eval-expression): Doc fix.
14848 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14850 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14852 * files.el (directory-files-no-dot-files-regexp): New defconst.
14853 (delete-directory): Use it.
14854 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14856 * net/tramp.el (tramp-verbose): Fix docstring.
14857 (tramp-methods): Add recursive option to `tramp-copy-args'.
14858 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14859 "scp1_old", "scp2_old", "rsync", "rsyncc".
14860 (tramp-default-method): Check also for `auth-source-user-or-password'.
14861 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14862 Add handler for `copy-directory'.
14863 (tramp-handle-copy-directory): New defun.
14864 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14865 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14866 Optimize sent command.
14868 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14870 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14871 window if necessary.
14873 * calendar/calendar.el (calendar-basic-setup): Don't call
14874 switch-to-buffer in a dedicated window.
14876 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14878 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14879 don't do anything related to relocating, just return nil.
14880 (bookmark-error-no-filename): New error.
14881 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14882 bookmark has no file. Don't even attempt to handle things that
14883 are not files; the whole point of custom handlers is to keep that
14884 knowledge elsewhere anyway. Tighten some comments.
14885 (bookmark-file-or-variation-thereof): Remove now-unused function.
14886 (bookmark-location): Doc string fix.
14889 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14891 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14892 don't use a file dialog, because they usually don't know how to read
14893 a directory target from the user. (Bug#4230)
14894 Also, make sure the prompt can display directories as well as files.
14896 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14898 * bookmark.el (bookmark-set, bookmark-buffer-name):
14899 Improve doc strings. (Bug#1193)
14901 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14903 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14904 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14905 (bookmark-get-annotation, bookmark-set-annotation)
14906 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14907 (bookmark-set-position, bookmark-get-front-context-string)
14908 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14909 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14910 (bookmark-jump-other-window, bookmark-handle-bookmark)
14911 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14912 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14913 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14914 Improve doc strings to say whether bookmark can be a string or
14915 a record or both, and make other consistency and clarity fixes.
14916 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14917 (bookmark-default-annotation-text, bookmark-yank-word)
14918 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14919 (bookmark-import-new-list, bookmark-maybe-rename)
14920 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14921 (bookmark-bmenu-bookmark): Give these doc strings.
14922 (bookmark-bmenu-check-position): Give this a doc string, but also
14923 add a FIXME comment about how the function may be pointless.
14924 (bookmark-default-handler): Rework doc string and change a
14925 parameter name, to clarify that this takes a bookmark record
14926 not a bookmark name.
14927 (bookmark-set): Change a parameter name to indicate its meaning,
14928 and improve the doc string a bit.
14931 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14933 * bookmark.el (bookmark-alist): Document the new `handler' element
14934 in the param alist.
14935 (bookmark-make-record-function): Adjust documentation for above.
14938 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14940 * info.el (Info-bookmark-make-record): Document this function.
14941 (Info-bookmark-jump): Document with a doc string, not just a comment.
14944 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
14946 * files.el (copy-directory): New defun.
14948 * dired-aux.el (dired-copy-file-recursive): Use it.
14950 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
14952 * files-x.el (modify-dir-local-variable)
14953 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14956 * recentf.el (recentf-unload-function): New function.
14958 2009-10-04 Glenn Morris <rgm@gnu.org>
14960 * window.el (window-full-height-p): Add doc string.
14962 2009-10-04 Martin Rudalics <rudalics@gmx.at>
14964 * window.el (window-full-height-p): New function. (Bug#4543)
14966 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
14968 * vc.el: Remove commented out code.
14969 (vc-derived-from-dir-mode): Remove, unused.
14970 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14972 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
14974 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14975 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
14976 there could be recursive loading when `default-directory' is a
14977 remote file name. (Bug#4614)
14979 2009-10-03 Glenn Morris <rgm@gnu.org>
14981 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14983 (calendar-generate-window): Test for shrinkability rather than width.
14985 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14986 reusing existing buffers, in case we happen to visit two files with the
14987 same basename. (Bug#4593)
14989 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14991 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14992 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14993 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14994 subdirs of cedet as well.
14995 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14997 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14999 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15000 Obey advertised-signature-table.
15002 * help-fns.el (help-function-arglist): Don't check
15003 advertised-signature-table.
15004 (describe-function-1): Do it here instead so it also applies to subrs.
15006 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15008 * simple.el (start-file-process): Say in the doc-string, that file
15009 handlers might not support pty association, if PROGRAM is nil.
15011 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15012 HOST and USER are strings. They are nil, when there are
15013 incomplete entries in ~/.netrc, for example.
15014 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15015 root directory ("device busy" error otherwise).
15017 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15018 Flush file properties of created directory.
15020 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15022 * makefile.w32-in (WINS_BASIC): Remove cedet.
15023 (WINS_CEDET): Add cedet.
15024 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15026 2009-10-02 Kevin Ryde <user42@zip.com.au>
15028 * net/browse-url.el (browse-url): Pass any symbol in
15029 browse-url-browser-function to `apply', since if you've mistakenly put
15030 an unbound symbol then the error is clearer. (Bug#4531)
15032 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15034 * allout.el (allout-init, allout-back-to-current-heading)
15035 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15036 (allout-ascend, allout-up-current-level, allout-end-of-level)
15037 (allout-previous-visible-heading, allout-forward-current-level)
15038 (allout-backward-current-level, allout-show-children):
15039 * apropos.el (apropos-describe-plist):
15040 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15041 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15042 * completion.el (add-completion, add-permanent-completion):
15043 * descr-text.el (describe-text-category, describe-char):
15044 * desktop.el (desktop-lazy-abort):
15045 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15046 * dired.el (dired-build-subdir-alist):
15047 * ediff.el (ediff-version):
15048 * elide-head.el (elide-head, elide-head-show):
15049 * emerge.el (emerge-version):
15051 * face-remap.el (variable-pitch-mode):
15052 * faces.el (describe-face):
15053 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15055 * files.el (find-file-existing, auto-save-mode):
15056 * font-lock.el (font-lock-fontify-buffer):
15057 * help-fns.el (describe-function, describe-variable)
15058 (describe-syntax, describe-categories):
15059 * help.el (view-lossage, describe-bindings, describe-key)
15061 * hexl.el (hexl-current-address):
15062 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15063 * info.el (Info-goto-emacs-key-command-node):
15064 * log-edit.el (log-edit-insert-cvs-template)
15065 (log-edit-insert-cvs-rcstemplate):
15066 * menu-bar.el (menu-bar-mode):
15067 * mouse.el (mouse-appearance-menu):
15068 * newcomment.el (comment-indent-new-line):
15069 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15070 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15071 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15072 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15073 * recentf.el (recentf-mode):
15074 * savehist.el (savehist-mode, savehist-save):
15075 * shadowfile.el (shadow-copy-files):
15076 * simple.el (kill-ring-save, next-line, previous-line)
15077 (normal-erase-is-backspace-mode):
15078 * strokes.el (strokes-update-window-configuration)
15079 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15080 (strokes-xpm-for-stroke):
15081 * time.el (emacs-uptime, emacs-init-time):
15082 * tutorial.el (tutorial--describe-nonstandard-key)
15083 (tutorial--detailed-help):
15084 * type-break.el (type-break-mode)
15085 (type-break-mode-line-message-mode, type-break-query-mode)
15086 (type-break-guesstimate-keystroke-threshold):
15087 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15088 * version.el (emacs-version):
15089 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15090 * winner.el (winner-mode):
15091 * calendar/timeclock.el (timeclock-in, timeclock-out)
15092 (timeclock-status-string, timeclock-change)
15093 (timeclock-workday-remaining-string)
15094 (timeclock-workday-elapsed-string)
15095 (timeclock-when-to-leave-string):
15096 * calendar/todo-mode.el (todo-add-category):
15097 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15098 * emacs-lisp/autoload.el (update-file-autoloads):
15099 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15100 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15101 (checkdoc-message-text, checkdoc-defun):
15102 * emacs-lisp/debug.el (debugger-list-functions):
15103 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15104 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15105 (eieio-describe-generic):
15106 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15107 * emacs-lisp/shadow.el (list-load-path-shadows):
15108 * emulation/cua-base.el (cua-mode):
15109 * emulation/edt.el (edt-set-scroll-margins):
15110 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15111 (tpu-toggle-regexp, tpu-toggle-search-direction)
15112 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15113 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15114 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15115 (viper-set-parsing-style-toggling-macro)
15116 (viper-set-emacs-state-searchstyle-macros):
15117 * emulation/viper.el (viper-set-hooks):
15118 * eshell/esh-mode.el (eshell-truncate-buffer):
15119 * international/mule-cmds.el (prefer-coding-system)
15120 (describe-input-method, describe-language-environment):
15121 * international/mule-diag.el (list-character-sets)
15122 (describe-character-set, describe-coding-system)
15123 (describe-fontset, list-fontsets, list-input-methods):
15124 * mail/sendmail.el (mail-signature):
15125 * net/ange-ftp.el (ange-ftp-copy-file):
15126 * net/browse-url.el (browse-url):
15127 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15128 * net/quickurl.el (quickurl-add-url):
15129 * net/rcirc.el (names, topic):
15130 * net/xesam.el (xesam-mode):
15131 * play/5x5.el (5x5-new-game):
15132 * play/yow.el (apropos-zippy):
15133 * progmodes/ada-mode.el (ada-mode-version):
15134 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15136 (f90-beginning-of-block):
15137 * progmodes/fortran.el (fortran-end-of-block)
15138 (fortran-beginning-of-block):
15139 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15140 * progmodes/python.el (python-describe-symbol, python-shell):
15141 * term/ns-win.el (ns-print-buffer):
15142 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15143 * textmodes/flyspell.el (flyspell-mode-on):
15144 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15145 (pages-directory-for-addresses):
15146 * textmodes/table.el (table-recognize-cell)
15147 (table-query-dimension, table-generate-source)
15148 (table-insert-sequence, table--warn-incompatibility):
15149 * textmodes/tex-mode.el (tex-validate-buffer):
15150 * textmodes/texinfmt.el (texinfmt-version)
15151 (texinfo-format-buffer):
15152 Use `called-interactively-p' instead of `interactive-p'.
15154 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15156 * image-mode.el (image-toggle-display):
15157 * emacs-lisp/elp.el (elp-instrument-function):
15158 * emacs-lisp/advice.el (ad-make-advised-definition):
15159 * emacs-lisp/easy-mmode.el (define-minor-mode):
15160 * net/browse-url.el (browse-url-maybe-new-window):
15161 * progmodes/sh-script.el (sh-learn-buffer-indent):
15162 Pass new argument 'any to `called-interactively-p'.
15164 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15166 * international/uni-bidi.el:
15167 * international/uni-category.el:
15168 * international/uni-combining.el:
15169 * international/uni-comment.el:
15170 * international/uni-decimal.el:
15171 * international/uni-decomposition.el:
15172 * international/uni-digit.el:
15173 * international/uni-lowercase.el:
15174 * international/uni-mirrored.el:
15175 * international/uni-name.el:
15176 * international/uni-numeric.el:
15177 * international/uni-old-name.el:
15178 * international/uni-titlecase.el:
15179 * international/uni-uppercase.el:
15180 Regenerate from Unicode 5.2.0 data.
15182 2009-10-01 Glenn Morris <rgm@gnu.org>
15184 * Makefile.in (ELCFILES): Regenerate.
15186 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15188 * subr.el (interactive-p): Mark obsolete.
15189 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15190 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15191 advertised-signature-table for subroutines as well.
15193 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15194 (set-advertised-calling-convention): New function.
15195 (make-obsolete, define-obsolete-function-alias)
15196 (make-obsolete-variable, define-obsolete-variable-alias):
15197 Make the optional-ness of `when' obsolete.
15198 (define-obsolete-face-alias): Make `when' non-optional.
15199 * help-fns.el (help-function-arglist):
15200 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15201 Use advertised-signature-table.
15203 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15205 * files.el (delete-directory): New defun. The original function
15206 in fileio.c has been renamed to `delete-directory-internal'.
15208 * dired.el (dired-delete-file): Call `delete-directory' with
15209 RECURSIVE parameter.
15211 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15212 parameter RECURSIVE. Implementation is missing.
15214 * net/tramp.el (tramp-handle-make-directory): Flush upper
15215 directory's file properties.
15216 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15217 (tramp-handle-dired-recursive-delete-directory): Flush directory
15218 properties after the remove command only.
15220 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15221 Handle optional parameter RECURSIVE.
15223 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15224 Handle optional parameter RECURSIVE.
15226 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15227 connection timeout.
15228 (tramp-smb-handle-delete-directory): Handle optional parameter
15231 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15233 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15234 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15235 (byte-compile-defmacro): Use backquotes.
15237 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15239 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15240 has no associated file.
15241 (vc-resynch-buffer): Use vc-dir-buffers.
15243 2009-10-01 Glenn Morris <rgm@gnu.org>
15245 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15246 (chart-file-count):
15247 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15248 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15249 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15250 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15251 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15252 (eieio-copy-parents-into-subclass, make-instance, class-children)
15253 (eieio-generic-form):
15255 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15256 match-data. (Bug#4555).
15258 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15259 rather than parsing it as a regexp. This relaxes the layout
15260 requirements and makes errors easier to detect.
15261 (check-declare-verify): Check file is regular.
15262 (check-declare-directory): Doc fix.
15263 * subr.el (declare-function): Doc fix.
15265 * ibuffer.el (ibuffer-format-qualifier):
15266 * isearch.el (hi-lock-regexp-okay):
15267 * calc/calc.el (math-zerop):
15268 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15269 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15270 Remove unused declarations.
15272 2009-09-30 Eric Ludlam <zappo@gnu.org>
15274 * emacs-lisp/eieio.el (boolean-p): Delete.
15276 2009-09-30 Glenn Morris <rgm@gnu.org>
15278 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15280 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15281 filename is not a string.
15283 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15285 * files.el (safe-local-eval-forms): Fix typo.
15287 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15289 * vc-hooks.el (vc-dir-buffers): New var.
15290 (vc-state-refresh): New function.
15291 (vc-state): Use it.
15292 (vc-after-save): Always ask the backend to recompute the new state.
15293 Always call vc-dir if necessary, using vc-dir-buffers.
15294 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15295 Use vc-dir-buffers.
15296 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15297 (vc-dir-prepare-status-buffer, vc-dir-update)
15298 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15299 Don't call expand-file-name on default-directory.
15301 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15303 * speedbar.el (speedbar-item-delete):
15304 * calc/calc-prog.el (calc-kbd-if):
15305 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15307 * epa.el (epa-key-list-mode-map):
15308 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15310 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15311 (hs-show-hook): Fix typo in docstring.
15313 2009-09-29 Glenn Morris <rgm@gnu.org>
15315 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15316 file-name-nondirectory call preventing location of cedet files.
15317 (check-declare-verify): Use literal search rather than re-search.
15318 Add basic defmethod and defclass, and define-overloadable-function.
15320 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15321 Use tramp-compat-file-attributes rather than nonexistent
15322 tramp-compat-handle-file-attributes.
15324 * Makefile.in (lisptagsfiles4): New.
15325 (AUTOGENEL): Add cedet loaddefs files.
15326 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15327 (update-elclist, compile-always, backup-compiled-files)
15328 (bootstrap-clean): Add yet another directory level.
15329 (update-elclist): Use LC_COLLATE rather than COLLATE.
15330 (ELCFILES): Update, via `make update-elclist'.
15332 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15334 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15335 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15336 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15338 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15340 * Makefile.in (lisptagsfiles3): Define.
15341 (TAGS, TAGS-LISP): Use it.
15342 (update-elclist): Add third directory level to look for elc files.
15343 (compile-always): Likewise.
15344 (backup-compiled-files): Likewise.
15345 (bootstrap-clean): Likewise.
15346 (ELCFILES): Update.
15348 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15350 * Makefile.in (ELCFILES): Add CEDET files.
15352 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15354 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15356 * net/tramp.el (top): Require tramp-imap.
15358 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15359 Use `tramp-compat-handle-file-attributes'.
15361 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15363 * net/tramp-imap.el: New package.
15365 2009-09-28 Eric Ludlam <zappo@gnu.org>
15367 * emacs-lisp/chart.el:
15368 * emacs-lisp/eieio-base.el:
15369 * emacs-lisp/eieio-comp.el:
15370 * emacs-lisp/eieio-custom.el:
15371 * emacs-lisp/eieio-datadebug.el:
15372 * emacs-lisp/eieio-opt.el:
15373 * emacs-lisp/eieio-speedbar.el:
15374 * emacs-lisp/eieio.el: New files.
15376 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15378 * whitespace.el (whitespace-trailing-regexp)
15379 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15382 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15384 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15387 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15388 menu-bar-ediff-menu.
15390 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15391 define-overloadable-function.
15393 * progmodes/autoconf.el: Provide autoconf as well, so that this
15394 file can be `require'd.
15396 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15398 * emacs-lisp/autoload.el (generated-autoload-feature)
15399 (generated-autoload-load-name): New vars.
15400 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15401 (make-autoload): Recognize define-overloadable-function and
15402 defclass forms (for EIEIO).
15404 * Makefile.in (update-subdirs): Exclude cedet directory.
15406 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15408 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15410 * faces.el: Default light-background background for region face to
15411 ns_selection_color under NS.
15413 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15415 * net/imap-hash.el: New library, see NEWS.
15417 * Makefile.in (ELCFILES): Add imap-hash.el.
15419 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15421 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15422 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15423 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15424 definition where the docstring could be taken for the return value.
15426 2009-09-26 Glenn Morris <rgm@gnu.org>
15428 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15429 Add option to only show images below a certain size.
15430 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15431 save-excursion calls.
15433 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15435 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15436 subdirectories) and eieio.
15438 2009-09-26 Alan Mackenzie <acm@muc.de>
15440 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15441 Correct buggy bracketing. (Bug#4289)
15443 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15444 character constants (as case labels). (Bug#4289)
15446 2009-09-25 Juri Linkov <juri@jurta.org>
15448 * files.el (safe-local-eval-forms): Allow time-stamp in
15449 before-save-hook (Bug#4554).
15451 2009-09-25 Drew Adams <drew.adams@oracle.com>
15453 * menu-bar.el (list-buffers-directory): Doc fix.
15455 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15457 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15458 Try and avoid copying twice the same paragraph.
15459 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15460 Remove save-excursion.
15461 (log-edit-changelog-entry): Do it here instead.
15463 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15465 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15466 when available, instead of hardcoding mode names. Doc fix.
15468 * menu-bar.el (list-buffers-directory): Add docstring.
15469 Make automatically buffer-local.
15471 * dired.el (dired-mode):
15472 * files.el (cd-absolute):
15473 * pcvs.el (cvs-temp-buffer):
15474 * pcvs-util.el (cvs-get-buffer-create):
15475 * shell.el (shell-mode):
15476 * vc-dir.el (vc-dir-mode):
15477 Don't make `list-buffers-directory' buffer local.
15479 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15481 * comint.el (comint-exec, comint-run, make-comint):
15482 Doc fixes (Bug#4542).
15484 2009-09-25 Glenn Morris <rgm@gnu.org>
15486 * mail/rmailmm.el (rmail-mime): New custom group.
15487 Move all defcustoms in this file into this group.
15488 (rmail-mime-media-type-handlers-alist): Revert previous change.
15489 (rmail-mime-show-images): New option.
15490 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15491 references to it, since it wasn't actually used for anything.
15492 (rmail-mime-insert-image): New function.
15493 (rmail-mime-image): Use rmail-mime-insert-image.
15494 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15495 obey the value of `rmail-mime-show-images' option. Print the size of
15498 2009-09-25 David Engster <deng@randomsample.de>
15500 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15502 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15504 * whitespace.el: Does not highlight trailing spaces While point is
15505 at end of line. Does not highligt spaces at beginning of buffer
15506 while point is at beginning of buffer. Does not highlight spaces
15507 at end of buffer while point is at end of buffer. (Bug#4177)
15509 (whitespace-display-mappings): Adjust initialization.
15510 (whitespace-point, whitespace-font-lock-refontify): New vars.
15511 (whitespace-color-on, whitespace-color-off): Adjust code.
15512 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15513 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15514 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15516 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15518 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15520 * textmodes/sgml-mode.el: Remove xml-mode alias.
15522 * files.el (auto-mode-alist, conf-mode-maybe)
15523 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15525 2009-09-24 Alan Mackenzie <acm@muc.de>
15527 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15528 c-forward-conditionals, but it doesn't move point and doesn't set
15530 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15531 (c-down-conditional-with-else, c-backward-conditional)
15532 (c-forward-conditional): Refactor to use c-scan-conditionals.
15534 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15536 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15537 (help-default-arg-highlight): Remove.
15538 (help-highlight-arg): New function.
15539 (help-do-arg-highlight): Use it.
15540 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15542 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15544 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15545 Undo last change, which didn't fix the problem and introduced others.
15547 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15549 * progmodes/gdb-mi.el: Don't require speedbar.
15550 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15552 2009-09-24 Glenn Morris <rgm@gnu.org>
15554 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15556 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15558 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15559 there is no newline after the final mime boundary. (Bug#4539)
15560 Move markers on insertion so that any buttons inserted don't end up in
15561 the next part of a multipart message.
15562 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15563 (rmail-mime-bulk-handler): Optionally handle images.
15564 (rmail-mime-image): New button action.
15565 (rmail-mime-image-handler): New function.
15566 (rmail-mime-mode): New mode.
15567 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15569 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15571 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15572 than just dropping elements from it (bug#4504).
15574 * term.el (term-set-scroll-region): Don't move cursor any more.
15575 (term-handle-ansi-escape): Call term-goto here instead.
15576 Suggested by Ivan Kanis <apple@kanis.eu>.
15578 * term.el: Require CL.
15579 (term-ansi-reset): New function.
15580 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15581 (term-handle-colors-array): Simplify.
15583 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15585 * allout.el (allout-overlay-interior-modification-handler)
15586 (allout-obtain-passphrase):
15587 * epa-file.el (epa-file-write-region):
15588 * ps-print.el (ps-begin-job):
15589 * vc-hooks.el (vc-toggle-read-only):
15590 * vc-rcs.el (vc-rcs-rollback):
15591 * vc-sccs.el (vc-sccs-rollback):
15592 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15593 (vc-version-diff, vc-revert, vc-rollback):
15594 * wdired.el (wdired-check-kill-buffer):
15595 * emacs-lisp/authors.el (authors):
15596 * net/socks.el (socks-open-connection):
15597 * net/zeroconf.el (zeroconf-service-add-hook):
15598 * obsolete/vc-mcvs.el (vc-mcvs-register):
15599 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15600 (gdb-select-frame):
15601 * progmodes/grep.el (lgrep, rgrep):
15602 * progmodes/idlw-help.el (idlwave-help-check-locations)
15603 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15604 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15605 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15606 (reftex-toc-rename-label): Fix typos in error messages.
15608 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15609 (dired-copy-how-to-fn): Doc fix.
15610 (dired-files-attributes, dired-read-shell-command):
15611 Fix typos in docstrings.
15613 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15614 (dired-x-find-file-other-window): Reflow docstrings.
15615 (dired-omit-marker-char, dired-read-shell-command)
15616 (dired-x-submit-report): Fix typos in docstrings.
15618 * shell.el (shell-mode-hook):
15619 * view.el (View-scroll-line-forward):
15620 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15621 Fix typos in docstrings.
15623 * net/dig.el (dig-invoke): Fix typo in docstring.
15624 (query-dig): Reflow docstring.
15626 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15627 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15628 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15629 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15630 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15631 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15632 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15633 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15634 (idlwave-completion-map, idlwave-current-indent)
15635 (idlwave-custom-ampersand-surround, idlwave-customize)
15636 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15637 (idlwave-define-abbrev, idlwave-determine-class-special)
15638 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15639 (idlwave-end-block-reg, idlwave-end-of-statement)
15640 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15641 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15642 (idlwave-explicit-class-listed, idlwave-file-header)
15643 (idlwave-fill-paragraph, idlwave-find-class-definition)
15644 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15645 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15646 (idlwave-in-quote, idlwave-indent-action-table)
15647 (idlwave-indent-expand-table, idlwave-indent-line)
15648 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15649 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15650 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15651 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15652 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15653 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15654 (idlwave-outlawed-buffers, idlwave-popup-select)
15655 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15656 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15657 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15658 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15659 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15660 (idlwave-statement-type, idlwave-struct-skip)
15661 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15662 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15663 (idlwave-what-module-find-class): Fix typos in docstrings.
15664 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15665 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15666 (idlwave-find-module, idlwave-find-structure-definition)
15667 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15668 (idlwave-list-load-path-shadows, idlwave-next-statement)
15669 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15670 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15671 (idlwave-template): Reflow docstrings.
15673 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15674 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15675 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15676 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15677 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15678 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15679 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15680 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15681 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15682 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15683 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15684 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15685 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15686 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15687 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15688 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15689 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15690 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15691 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15692 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15693 Fix typos in docstrings.
15694 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15695 (idlwave-shell-hide-output, idlwave-shell-mode)
15696 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15699 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15701 2009-09-24 Ivan Kanis <apple@kanis.eu>
15703 * term.el (term-bold-attribute): New var.
15704 (term-handle-colors-array): Use it.
15706 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15708 * progmodes/gdb-mi.el (gdb-version): New variable.
15709 (gdb-non-stop-handler): Set gdb-version.
15710 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15711 Condition "--thread" option on gdb-version.
15712 (gdb-invalidate-threads): Remove unused argument.
15714 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15716 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15717 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15719 2009-09-23 Glenn Morris <rgm@gnu.org>
15721 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15722 replying to mail without References or Message-Id. (Bug#4525)
15724 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15726 * term/ns-win.el (ns-reg-to-script): New variable.
15728 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15730 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15732 2009-09-22 Sam Steingold <sds@gnu.org>
15734 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15735 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15736 to 1 because hg returns status 1 when nothing is found.
15737 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15739 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15741 * textmodes/fill.el: Convert to utf-8 encoding.
15742 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15745 * add-log.el (change-log-fill-forward-paragraph): New function.
15746 (change-log-mode): Use it so fill-region DTRT.
15747 Set fill-indent-according-to-mode here rather than in
15748 change-log-fill-paragraph.
15749 (change-log-fill-paragraph): Remove.
15751 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15753 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15754 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15756 2009-09-22 Glenn Morris <rgm@gnu.org>
15758 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15759 the scroll-bar scroll the calendar window rather than the buffer.
15761 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15762 commands that move point (as opposed to scrolling).
15764 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15766 * emacs-lisp/elint.el (elint): New custom group.
15767 (elint-log-buffer): Make it a defcustom.
15768 (elint-scan-preloaded, elint-ignored-warnings)
15769 (elint-directory-skip-re): New options.
15770 (elint-builtin-variables): Doc fix.
15771 (elint-preloaded-env): New variable.
15772 (elint-unknown-builtin-args): Add an entry for encode-time.
15773 (elint-extra-errors): Make it a variable rather than a constant.
15774 (elint-preloaded-skip-re): New constant.
15775 (elint-directory): Skip files matching elint-directory-skip-re.
15776 (elint-features): New variable, local to linted buffers.
15777 (elint-update-env): Initialize elint-features. Possibly add
15778 elint-preloaded-env to the buffer's environment.
15779 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15781 (elint-init-form): New function, extracted from elint-init-env.
15782 Make non-list forms a warning rather than an error.
15783 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15784 easy-menu-define, put that adds an error-condition, and provide.
15785 When requiring cl, also require cl-macs. Really require cl, to handle
15786 some cl macros. Store required libraries in the list elint-features,
15787 so as not to re-load them. Treat cc-require like require.
15788 (elint-init-env): Call elint-init-form to do the work.
15789 Handle eval-and-compile and such like.
15790 (elint-add-required-env): Do not clear messages.
15791 (elint-special-forms): Add handlers for function, defalias, if, when,
15793 (elint-form): Add optional argument to ignore elint-special-forms,
15794 useful to prevent recursive calls from handlers. Doc fix.
15795 Respect elint-ignored-warnings.
15796 (elint-form): Respect elint-ignored-warnings.
15797 (elint-bound-variable, elint-bound-function): New variables.
15798 (elint-unbound-variable): Respect elint-bound-variable.
15799 (elint-get-args): Respect elint-bound-function.
15800 (elint-check-cond-form): Add some simple handling for (f)boundp and
15802 (elint-check-defalias-form): New handler.
15803 (elint-check-let-form): Make an empty let a warning rather than an
15805 (elint-check-setq-form): Make an empty setq a warning rather than an
15806 error. Respect elint-ignored-warnings.
15807 (elint-check-defvar-form): Accept null doc-strings.
15808 (elint-check-conditional-form): New handler. Does some simple-minded
15809 checking of featurep and (f)boundp tests.
15810 (elint-put-function-args): New function.
15811 (elint-initialize): Use elint-scan-doc-file rather than
15812 elint-find-builtin-variables. Use elint-put-function-args.
15813 Possibly scan preloaded-file-list.
15814 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15815 extend to handle functions as well.
15817 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15819 * linum.el (linum-delete-overlays, linum-update-window):
15820 Do not modify the right margin. (Bug#3971)
15822 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15824 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
15825 Use nxml-mode instead of xml-mode.
15827 2009-09-21 Kevin Ryde <user42@zip.com.au>
15829 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15831 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15833 * net/dig.el (dig-mode): Use define-derived-mode.
15835 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15837 * vc-dispatcher.el (vc-do-command): Return the process object in
15838 the asynchronous case. Use when instead of if. Do not run
15839 vc-exec-after to display a message if not enabled. (Bug#4463)
15841 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15842 properties to the stash strings.
15843 (vc-git-stash-list): Return a list of strings.
15844 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15845 (vc-git-stash-show-at-point): New functions.
15846 (vc-git-stash-map): New keymap.
15848 * register.el (ctl-x-r-map): Define the keys here instead of
15851 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15853 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15854 list, to workaround performance problem (bug#4485).
15856 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15858 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15860 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15862 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15863 Document that this option is not recommended to use.
15865 2009-09-19 Glenn Morris <rgm@gnu.org>
15867 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15870 * calc/calc-alg.el (var):
15871 * calc/calcalg2.el (var): Define for compiler.
15873 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15875 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15876 Doc fix (Bug#3932).
15878 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15880 * time-stamp.el (time-stamp-month-dd-yyyy)
15881 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15882 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15883 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15884 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15885 Remove functions that have been obsolete since 1995 (Bug#4436).
15887 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15888 indent buffer only if called interactively (Bug#4452).
15890 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15891 Eli Zaretskii <eliz@gnu.org>
15893 This fixes bug#4197 (merged to bug#865, though not identical).
15894 * server.el (server-auth-dir): Add docstring note about FAT32.
15895 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15896 but warn against using them.
15898 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15900 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15901 older GDB where there is no has_more field.
15903 2009-09-19 Glenn Morris <rgm@gnu.org>
15905 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15907 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15909 * files.el (auto-mode-alist): Change default for XML files to nXML
15912 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
15914 * server.el (server-ensure-safe-dir): Pass 'integer
15915 to `file-attributes', as suggested.
15917 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15919 * dired-aux.el (dired-query-alist): Remove spurious backslash.
15920 (dired-query): Use read-key.
15922 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
15924 * cus-start.el (ns-use-qd-smoothing): Remove.
15926 2009-09-18 Glenn Morris <rgm@gnu.org>
15928 * allout.el (top-level): Remove unnecessary progn.
15930 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15932 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15933 definition of abbrev table.
15935 * speedbar.el (speedbar-track-mouse):
15936 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15937 * net/eudc.el (eudc-expand-inline):
15938 * net/newst-backend.el (newsticker--cache-read-feed):
15939 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15940 condition-case handlers.
15942 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
15944 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15945 (gdb-var-list): Add an element for has_more field.
15946 (gdb-non-stop-handler): Enable pretty printing for STL containers.
15947 (gdb-var-create-handler, gdb-var-list-children-handler-1)
15948 (gdb-var-update-handler-1): Parse output of dynamic variable
15949 objects (STL containers).
15950 (gdb-var-delete-1): Pass var1 as an explicit second argument.
15951 (gdb-get-field): Delete alias. Use bindat-get-field directly.
15953 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15955 (gud-speedbar-buttons): Make node expandable if expression "has more"
15958 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
15960 * startup.el (emacs-quick-startup): Remove variable and all uses.
15961 (command-line): Set `inhibit-x-resources' instead.
15962 (command-line-1): Use `inhibit-x-resources' instead.
15964 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
15966 * subr.el: Fix last change to avoid using the `unless' macro,
15967 which breaks bootstrapping.
15969 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15971 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15972 extended definitions, in case we reload subr.el after having
15974 (eval-next-after-load): Mark as obsolete.
15976 2009-09-17 Juri Linkov <juri@jurta.org>
15978 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15979 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15980 (menu-bar-showhide-menu, menu-bar-tools-menu)
15981 (menu-bar-describe-menu, menu-bar-help-menu)
15982 (minibuffer-local-completion-map, minibuffer-local-map):
15985 2009-09-17 Glenn Morris <rgm@gnu.org>
15987 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15988 arguments, whether or not it has a handler.
15990 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15992 * simple.el (hard-newline): Give it a doc-string.
15994 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15995 (lisp-mode-syntax-table): Give them doc-strings.
15997 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15999 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16000 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16001 (menu-bar-options-menu, menu-bar-showhide-menu)
16002 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16003 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16004 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16005 (menu-bar-options-menu, menu-bar-tools-menu)
16006 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16007 (menu-bar-help-menu):
16008 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16011 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16012 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16013 calls for the menu names and :help.
16015 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16017 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16018 to :minor-mode-function (bug#4455).
16020 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16022 * startup.el (command-line): Initialize the window-system after
16023 processing the command-line.
16025 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16026 page-delimiter matches the empty string.
16028 2009-09-16 Glenn Morris <rgm@gnu.org>
16030 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16031 byte-compile-not-obsolete-var. It's a list now.
16032 (byte-compile-not-obsolete-funcs): New variable.
16033 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16034 byte-compile-not-obsolete-funcs.
16035 (byte-compile-variable-ref, byte-compile-defvar): Update for
16036 byte-compile-not-obsolete-vars name-change and list nature.
16037 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16038 and variables behind (f)boundp tests.
16039 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16041 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16043 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16045 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16047 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16048 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16051 2009-09-15 Stephen Eglen <stephen@gnu.org>
16053 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16054 the virtual-buffers, use the name of the buffer specified by
16055 find-file-noselect, as the match may be a symlink. (This was a
16056 problem if the target and the symlink had different names.)
16058 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16060 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16062 * desktop.el (desktop-path): Check user-emacs-directory.
16064 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16066 * loadup.el: Use after-load-functions to GC after loading each file.
16067 Remove the explicit GC calls that used to be sprinkled around.
16069 * subr.el (after-load-functions): New hook.
16070 (do-after-load-evaluation): Run it. Use string-match-p to detect
16071 `obsolete' packages, rather than painfully extracting the relevant
16074 2009-09-15 Glenn Morris <rgm@gnu.org>
16076 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16077 free variable `doc'.
16079 * dired.el (dired-mode-map): Add menu entry for async shell command.
16081 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16082 variables, also consider the .elc files, since the .el files are
16083 normally gzipped (subsequent code locates the .el.gz from the .elc).
16085 * calc/calc-prog.el (arglist): Define for compiler.
16087 * calendar/diary-lib.el (diary-display-function): Change the default to
16089 (body): Define for compiler.
16091 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16092 (byte-compile-file-form, byte-compile-lambda)
16093 (byte-compile-top-level-body, byte-compile-form)
16094 (byte-compile-variable-ref, byte-compile-setq)
16095 (byte-compile-setq-default, byte-compile-body)
16096 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16097 (batch-byte-compile): Give some more local variables with common names
16098 a "bytecomp-" prefix to avoid masking warnings about free variables.
16100 * startup.el (command-line-1): Give local variables with common names a
16101 distinguishing prefix, so as not to hide free variable warnings during
16104 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16105 clever and add a suffix to make a unique name, just let the user decide
16106 whether or not to overwrite it. If the input is a directory, write the
16107 default filename to that directory. (Bug#4388)
16108 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16109 is a filename-as-a-directory.
16111 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16113 * textmodes/page.el (what-page): Don't move to beginning of line.
16114 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16116 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16118 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16120 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16122 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16123 * help.el (help-for-help-internal): Add purecopy calls for text.
16125 * vc.el (top): print-log method now takes an optional SHORTLOG
16126 argument. Add a new method: root.
16127 (vc-root-diff, vc-print-root-log): New functions.
16128 (vc-log-short-style): New variable.
16129 (vc-print-log-internal): Add support for showing short logs.
16131 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16132 vc-print-root-log and vc-print-root-diff.
16134 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16135 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16136 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16139 * vc-cvs.el (vc-cvs-print-log):
16140 * vc-mtn.el (vc-mtn-print-log):
16141 * vc-rcs.el (vc-rcs-print-log):
16142 * vc-sccs.el (vc-sccs-print-log):
16143 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16144 that is ignored for now.
16146 * vc-mtn.el (vc-mtn-annotate-command):
16147 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16149 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16151 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16152 to function-key-map, and give them ascii-character property.
16153 * term/x-win.el (x-alternatives-map):
16154 * term/ns-win.el (ns-alternatives-map):
16155 * term/internal.el (msdos-key-remapping-map):
16156 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16158 2009-09-14 Glenn Morris <rgm@gnu.org>
16160 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16161 temp-buffers (2009-09-12).
16163 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16165 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16166 the new read-key function.
16168 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16170 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16171 is defined (Bug#4405).
16173 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16175 * recentf.el (recentf-cleanup): Use a hash table to find
16176 duplicates (Bug#4407).
16178 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16180 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16181 kp-0 to ascii equivalents (Bug#4325).
16183 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16185 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16187 * eshell/em-hist.el:
16188 * eshell/em-dirs.el (eshell-complete-user-reference):
16189 Declare pcomplete functions and variables to avoid compiler warnings.
16191 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16193 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16194 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16195 * eshell/em-alias.el (eshell-aliases-file):
16196 * eshell/em-hist.el (eshell-history-file-name):
16197 Use expand-file-name instead of concat to make file names (Bug#4308).
16199 2009-09-13 Glenn Morris <rgm@gnu.org>
16201 * ediff-merg.el (ediff-do-merge):
16202 * filesets.el (filesets-run-cmd):
16203 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16204 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16205 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16206 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16207 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16208 Replace empty `let's with `progn'.
16210 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16212 * mail/sendmail.el (send-mail-function):
16213 * tooltip.el (tooltip-mode):
16214 * simple.el (transient-mark-mode):
16215 * rfn-eshadow.el (file-name-shadow-mode):
16216 * frame.el (blink-cursor-mode):
16217 * font-core.el (global-font-lock-mode):
16218 * files.el (temporary-file-directory)
16219 (small-temporary-file-directory, auto-save-file-name-transforms):
16220 * epa-hook.el (auto-encryption-mode):
16221 * composite.el (global-auto-composition-mode):
16222 Use custom-initialize-delay.
16223 * startup.el (command-line): Don't explicitly call
16224 custom-reevaluate-setting for all the above vars.
16225 * custom.el (custom-initialize-safe-set)
16226 (custom-initialize-safe-default): Delete.
16228 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16230 * term/x-win.el (x-initialize-window-system):
16231 * term/w32-win.el (w32-initialize-window-system):
16232 * term/ns-win.el (ns-initialize-window-system): Don't call
16233 mouse-wheel-mode since it's enabled globally by default already.
16235 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16236 actually define the variable, but only silences the byte-compiler.
16237 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16238 before looking it up.
16239 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16242 2009-09-12 Glenn Morris <rgm@gnu.org>
16244 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16246 (elint-add-required-env): Don't beep on error.
16247 (elint-forms): In case of error, return ENV unchanged.
16248 (elint-init-env): Skip non-list forms.
16249 (elint-log): Handle unknown file positions.
16251 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16253 * epg.el (epg-make-context): Add autoload cookie.
16254 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16255 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16256 (epg-verify-string, epg-start-sign, epg-sign-file)
16257 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16258 (epg-encrypt-string, epg-start-export-keys)
16259 (epg-export-keys-to-file, epg-export-keys-to-string)
16260 (epg-start-import-keys, epg-import-keys-from-file)
16261 (epg-import-keys-from-string, epg-start-receive-keys)
16262 (epg-receive-keys, epg-import-keys-from-server)
16263 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16264 (epg-sign-keys, epg-start-generate-key)
16265 (epg-generate-key-from-file, epg-generate-key-from-string):
16266 Remove autoload cookie.
16268 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16270 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16271 reevaluation of trash-directory.
16273 * mwheel.el: Fix last change.
16274 (mouse-wheel-mode): New defvar.
16275 (mouse-wheel-mode): Remove autoload cookie.
16277 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16279 * mwheel.el (mwheel-installed-bindings): New var.
16280 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16281 the bindings we set last time. Use custom-initialize-delay.
16282 * loadup.el: Load mwheel after term/*-win.el.
16283 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16284 and mouse-wheel-up-event now that their first evaluation is done
16285 sufficiently late to be correct.
16287 * startup.el (tutorial-directory): Make it a defcustom.
16288 Use custom-initialize-delay rather than eval-at-startup to set it.
16289 * image.el (image-load-path): Make it a defcustom.
16290 Use custom-initialize-delay rather than eval-at-startup to set it.
16291 * subr.el (eval-at-startup): Remove.
16292 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16294 * subr.el (do-after-load-evaluation): Warn the user after loading an
16297 2009-09-12 Glenn Morris <rgm@gnu.org>
16299 * proced.el (proced-mark-alt): Remove alias.
16300 (proced-mode-map): Remove proced-mark-alt.
16302 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16303 Elint file and directory. Remove initialization entry.
16305 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16307 (elint-current-buffer): Set mode-line-process.
16308 (elint-init-env): Handle define-derived-mode.
16309 Fix declare-function with unspecified arglist. Guard against odd
16310 defalias statements (eg iso-insert's 8859-1-map).
16311 (elint-add-required-env): Use a temp buffer.
16312 (elint-form): Just print the function/macro name, not the whole form.
16313 Return env unchanged if we fail to parse a macro.
16314 (elint-forms): Guard against parse errors.
16315 (elint-output): New function, to handle batch mode.
16316 (elint-log-message): Add optional argument. Use elint-output.
16317 (elint-set-mode-line): New function.
16319 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16321 * emacs-lisp/elp.el (elp-not-profilable): Add more
16322 functions (Bug#4233).
16324 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16326 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16327 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16329 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16331 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16332 (gdb-var-list-children): Use json parsing.
16334 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16336 * progmodes/js.el (js--proper-indentation): Handle the case where
16337 char-before is null. Reported by Deniz Dogan.
16339 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16341 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16343 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16345 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16346 (epg-digest-algorithm-alist): Add SHA224.
16347 (epg-context-set-passphrase-callback)
16348 (epg-context-set-progress-callback): Add description about
16351 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16353 * custom.el (custom-delayed-init-variables): New var.
16354 (custom-initialize-delay): New function.
16355 * startup.el (command-line): "Re"evaluate all vars in
16356 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16357 explicitly any more.
16358 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16359 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16361 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16363 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16365 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16366 (gdb-var-update-handler): Use json parsing.
16368 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16370 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16371 decode annotated text, regardless of language environment. (Bug#2741)
16373 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16375 * Makefile.in (autoloads): Make rmail.el writable as well.
16377 2009-09-11 Glenn Morris <rgm@gnu.org>
16379 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16381 * dired.el: Regenerate with extracted autoloads.
16382 * Makefile.in (autoloads): Make dired.el writable.
16384 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16385 * ibuffer.el: Regenerate with extracted autoloads.
16386 * Makefile.in (autoloads): Make ibuffer.el writable.
16388 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16389 * version.el (emacs-copyright, emacs-major-version)
16390 (emacs-minor-version): Reformat doc-strings for make-docfile.
16392 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16393 functions and variables, since they must be stuff specific to some other
16395 (apropos-print): Make mouse-click message less specific about button.
16397 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16398 that records where a macro was defined.
16399 * help-fns.el (describe-function-1): Mention if a function has a
16401 * help-mode.el (help-function-cmacro): New button.
16403 * locate.el (top-level): Always require dired.
16404 (locate-mode-map): Initialize inside the defvar.
16406 * net/ange-ftp.el (dired-compress-file): Declare.
16407 (ange-ftp-dired-compress-file): Add doc string.
16409 * term/ns-win.el (x-display-name, x-setup-function-keys):
16410 Unify doc-strings with X versions.
16412 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16414 * emulation/crisp.el (crisp-mode-map): Move initialization
16416 (crisp-mode): Use define-minor-mode.
16418 * progmodes/xscheme.el (xscheme-evaluation-commands):
16419 Put a :advertised-binding property rather than using
16420 advertised-xscheme-send-previous-expression.
16421 (advertised-xscheme-send-previous-expression): Declare obsolete.
16422 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16424 (crisp-mode): Add corresponding bindings to
16425 undo's :advertised-binding instead.
16426 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16427 than using dired-advertised-find-file.
16428 (dired-advertised-find-file):
16429 * simple.el (advertised-undo):
16430 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16431 (widget-keymap): Put a :advertised-binding property rather
16432 than using advertised-widget-backward.
16433 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16434 than using advertised-undo.
16435 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16437 2009-09-10 Simon South <ssouth@slowcomputing.org>
16439 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16440 Mark mode is enabled and region is active; otherwise indent or
16441 insert TAB as usual.
16442 (delphi-mode): Update description of TAB-key binding.
16444 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16446 * subr.el (define-key-rebound-commands): Mark obsolete.
16447 * startup.el (precompute-menubar-bindings): Remove.
16448 (normal-top-level): Remove obsolete code that tried to precompute
16450 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16451 define-key-rebound-commands and precompute-menubar-bindings.
16453 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16455 * net/imap.el (imap-interactive-login): Better messages.
16456 (imap-open): Fix bug with renamed buffer on reconnect.
16457 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16458 for easier debugging and cleaner code. On successful (guessed based on
16459 server capabilities) secondary authentication, set imap-state
16461 (imap-last-authenticator): Define imap-last-authenticator as a variable
16464 2009-09-10 Glenn Morris <rgm@gnu.org>
16466 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16468 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16469 (byte-compile-file-form-autoload): Don't warn about unknown functions
16470 where the autoload statement comes after the use.
16471 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16472 that any handlers inside the body (eg require) are in turn respected.
16474 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16477 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16478 and syntax and abbrev tables basic docs, if they don't have any.
16480 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16482 * international/mule-cmds.el (top-level): Require cl when compiling.
16483 (view-hello-file): Use default-value rather than
16484 default-enable-multibyte-characters.
16486 * progmodes/fortran.el: Move all safe and risky properties into the
16489 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16490 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16491 * mail/undigest.el:
16492 Put autoloads in rmail.el rather than loaddefs.el.
16493 * mail/rmail.el: Regenerate with extracted autoloads.
16495 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16496 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16498 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16500 Reported in thread for Bug#4375.
16501 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16502 "-data-evaluate-expression" instead of print.
16503 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16504 (gdb-tooltip-print): Parse output from above MI command.
16505 (gdb): Revert 2009-08-11 change. User should detach inferior
16508 Remove the word "separate" from IO functions as inferior
16509 output is now never displayed in the GUD buffer.
16511 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16513 * startup.el (command-line-normalize-file-name): On Windows and
16514 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16516 2009-09-10 Juri Linkov <juri@jurta.org>
16518 * isearch.el (isearch-text-char-description): Propertize escape
16519 character sequences with the `escape-glyph' face. (Bug#4344)
16521 * simple.el (shell-command): Set asynchronous process filter to
16522 `comint-output-filter'. (Bug#4343)
16524 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16525 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16526 the list. Move "asm" to the bottom.
16527 (grep-find-ignored-directories): Add `choice' with nil value
16528 to empty the list easily.
16529 (grep-find-ignored-files): New option.
16530 (grep-files-history): Set to nil by default instead of '("ch" "el").
16531 (grep-compute-defaults): Add "<X>" to `grep-template'.
16532 (grep-read-files): Bind new local variables `default-alias' and
16533 `default-extension'. Use a list of default values for the file prompt.
16534 (lgrep): Add `--exclude=' command line options composed from
16535 `grep-find-ignored-files'.
16536 (rgrep): Add `-name' command line options composed from
16537 `grep-find-ignored-files'. (Bug#4301)
16539 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16541 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16544 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16546 * calendar/time-date.el (autoload):
16547 Expand define-obsolete-function-alias into defalias and make-obsolete
16548 for old Emacsen that Gnus supports.
16549 (with-no-warnings): Define it for old Emacsen.
16550 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16552 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16553 float-time is available; suppress compile warning for time-to-seconds.
16555 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16557 * net/imap.el (imap-message-map): Docstring fix.
16559 2009-09-09 Glenn Morris <rgm@gnu.org>
16561 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16562 line numbers too. (Bug#4374)
16564 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16566 * smerge-mode.el (smerge-remove-props, smerge-refine):
16567 Use with-silent-modifications (bug#4342).
16569 * subr.el (with-silent-modifications): New macro.
16571 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16573 * files.el (top-level): Require `cl' when compiling.
16575 2009-09-07 Glenn Morris <rgm@gnu.org>
16577 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16579 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16580 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16582 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16584 * vc-git.el (vc-git-annotate-command): Use separator to parse
16585 arguments correctly.
16587 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16589 * proced.el (proced-mode): Doc fix.
16591 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16593 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16595 (tramp-do-file-attributes-with-ls): Check for file existence at
16597 (tramp-do-file-attributes-with-stat): Likewise.
16598 (tramp-convert-file-attributes): Return nil when attr is nil.
16600 2009-09-05 Glenn Morris <rgm@gnu.org>
16602 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16603 properties to this button.
16604 (diary-fancy-display): Don't extend the button to the final newline.
16605 (diary-fancy-display-mode): Continue to define "q" as a local key.
16607 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16610 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16612 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16613 (byte-compile-dest-file-function): New option.
16614 (byte-compile-dest-file): Doc fix.
16615 Obey byte-compile-dest-file-function.
16616 (byte-compile-cl-file-p): New function.
16617 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16618 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16619 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16620 than for file being previously loaded.
16621 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16622 (byte-compile-file-form-require): Handle the case where requiring a file
16623 indirectly causes CL to be loaded.
16625 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16627 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16628 before killing the old buffer, since by the time `kill-buffer' is
16629 run so many buffer variables have been set to nil that it may not
16630 behave as expected. (Bug#4061)
16632 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16634 * files.el (find-alternate-file): If the old buffer is modified
16635 and visiting a file, behave similarly to `kill-buffer' when
16636 killing it, thus reverting to the pre-1.878 behavior; see
16637 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16638 for discussion. Also, consult `buffer-file-name' as a variable
16639 not as a function, for consistency with the rest of the code.
16641 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16643 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16644 also when adding a new directory.
16646 * net/tramp-compat.el (tramp-compat-line-beginning-position):
16649 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16651 * files.el (locate-file-completion-table): Make it provide boundary
16652 information, so partial-completion works better.
16654 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16656 * mail/footnote.el (Footnote-text-under-cursor):
16657 Check footnote-text-marker-alist before using it (bug#4324).
16659 2009-09-04 Glenn Morris <rgm@gnu.org>
16661 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16662 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16663 * play/solitaire.el, play/tetris.el:
16664 Remove leading * from defcustom and defface docs.
16666 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16668 (diary-fancy-overriding-map): New variable.
16669 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16672 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16675 2009-09-03 Glenn Morris <rgm@gnu.org>
16677 * arc-mode.el (archive-mode):
16678 * dos-fns.el (set-default-process-coding-system):
16679 * man.el (Man-getpage-in-background):
16680 * menu-bar.el (menu-bar-describe-menu):
16681 * server.el (server-process-filter):
16682 * startup.el (command-line):
16683 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16684 * w32-fns.el (set-default-process-coding-system):
16685 * x-dnd.el (x-dnd-handle-file-name):
16686 * international/mule-cmds.el (mule-menu-keymap)
16687 (set-default-coding-systems, language-info-alist, set-language-info)
16688 (set-language-environment, standard-display-european-internal)
16689 (set-locale-environment):
16690 * international/mule-diag.el (mule-diag):
16691 * mail/emacsbug.el (report-emacs-bug):
16692 * mail/rmail.el (rmail-mode):
16693 * mail/sendmail.el (mail-setup):
16694 Use default-value rather than default-enable-multibyte-characters.
16696 * progmodes/f90.el: Move all safe properties into the defcustoms.
16697 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16699 * calendar/appt.el (appt-check):
16700 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16701 (diary-check-diary-file, diary-list-entries)
16702 (diary-include-other-diary-files, diary-simple-display)
16703 (diary-fancy-display, diary-print-entries)
16704 (diary-mark-included-diary-files, diary-make-entry):
16705 Don't call substitute-in-file-name on diary-file.
16707 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16708 Stefan Monnier <monnier@iro.umontreal.ca>
16710 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16711 (footnote-mode-map): Move initialization into the declaration.
16712 (footnote-minor-mode-map): Define it rather than changing global-map.
16713 (footnote-mode): Use define-minor-mode.
16715 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16717 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16718 (tramp-do-file-attributes-with-perl)
16719 (tramp-do-file-attributes-with-stat): Rename from
16720 `tramp-handle-file-attributes-with-*'.
16721 (tramp-handle-file-attributes): Use them.
16722 (tramp-do-directory-files-and-attributes-with-perl)
16723 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16724 `tramp-handle-directory-files-and-attributes-with-*'.
16725 (tramp-handle-directory-files-and-attributes): Use them.
16726 (tramp-method-out-of-band-p): Additional parameter SIZE.
16727 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16728 (tramp-handle-write-region): Use it.
16729 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16730 (tramp-handle-vc-registered): Check, whether the first run did
16731 return files to be tested.
16732 (tramp-advice-make-auto-save-file-name): Do not call directly
16733 `tramp-handle-make-auto-save-file-name', because this would bypass
16734 the locking mechanism.
16736 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16737 (file-remote-p, process-file, start-file-process, set-file-times)
16738 (tramp-compat-file-attributes): Compatibility functions shall not
16739 call directly `tramp-handle-*', because this would bypass the
16741 (tramp-compat-number-sequence): New defun.
16743 2009-09-02 Glenn Morris <rgm@gnu.org>
16745 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16746 alias for float-time.
16747 (time-to-number-of-days): In Emacs, use float-time.
16748 * net/newst-backend.el (time-add): Suppress warnings from compat
16750 * time.el (emacs-uptime, emacs-init-time):
16751 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16752 Use float-time rather than time-to-seconds.
16754 * minibuffer.el (completion-initials-expand): Fix typo.
16756 * faces.el (modeline, modeline-inactive, modeline-highlight)
16757 (modeline-buffer-id):
16758 * info.el (info-menu-5): Mark these face aliases as obsolete.
16760 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16762 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16764 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16765 no "--thread" option.
16766 (gdb-stopped): Don't print "Switched to thread" message when it is
16769 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16771 * minibuffer.el (completion-try-completion)
16772 (completion-all-completions): Remove ill-defined (and
16773 mistakenly installed and luckily never used nor documented)
16774 `completion-styles' property.
16775 (completion-initials-expand, completion-initials-all-completions)
16776 (completion-initials-try-completion): New functions.
16777 (completion-styles-alist): Add doc to each entry.
16778 Add new `initials' entry.
16780 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16782 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16783 MI command -var-evaluate-expression.
16784 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16785 and tweak for case of string child.
16786 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16788 2009-09-01 Glenn Morris <rgm@gnu.org>
16790 * add-log.el (change-log-date-face, change-log-name-face)
16791 (change-log-email-face, change-log-file-face, change-log-list-face)
16792 (change-log-conditionals-face, change-log-function-face)
16793 (change-log-acknowledgement-face):
16794 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16795 (custom-modified-face, custom-set-face, custom-changed-face)
16796 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16797 (custom-documentation-face, custom-state-face, custom-comment-face)
16798 (custom-comment-tag-face, custom-variable-tag-face)
16799 (custom-variable-button-face, custom-face-tag-face)
16800 (custom-group-tag-face-1, custom-group-tag-face):
16801 * diff-mode.el (diff-header-face, diff-file-header-face)
16802 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16803 (diff-added-face, diff-changed-face, diff-function-face)
16804 (diff-context-face, diff-nonexistent-face):
16805 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16806 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16807 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16808 (Info-title-4-face):
16809 * isearch.el (isearch-lazy-highlight-face):
16810 * log-view.el (log-view-file-face, log-view-message-face):
16811 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16812 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16813 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16815 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16816 (smerge-base-face, smerge-markers-face):
16817 * wid-edit.el (widget-documentation-face, widget-button-face)
16818 (widget-field-face, widget-single-line-field-face)
16819 (widget-inactive-face, widget-button-pressed-face):
16820 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16821 (woman-addition-face):
16822 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16823 (eshell-ls-executable-face, eshell-ls-readonly-face)
16824 (eshell-ls-unreadable-face, eshell-ls-special-face)
16825 (eshell-ls-missing-face, eshell-ls-archive-face)
16826 (eshell-ls-backup-face, eshell-ls-product-face)
16827 (eshell-ls-clutter-face):
16828 * eshell/em-prompt.el (eshell-prompt-face):
16829 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16830 * obsolete/old-whitespace.el (whitespace-highlight-face):
16831 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16832 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16833 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16834 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16835 (antlr-font-lock-literal-face):
16836 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16837 (ebrowse-root-class-face, ebrowse-file-name-face)
16838 (ebrowse-default-face, ebrowse-member-attribute-face)
16839 (ebrowse-member-class-face, ebrowse-progress-face):
16840 * progmodes/make-mode.el (makefile-space-face):
16841 * progmodes/sh-script.el (sh-heredoc-face):
16842 * textmodes/flyspell.el (flyspell-incorrect-face)
16843 (flyspell-duplicate-face):
16844 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16845 * textmodes/texinfo.el (texinfo-heading-face):
16846 Mark face aliases with "-face" suffix as obsolete.
16848 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16851 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16852 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16853 easy-menu-define wants to modify these.
16855 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16857 * net/browse-url.el (browse-url-file-url):
16858 * term/internal.el (dos-codepage-setup):
16859 Use default-value rather than default-enable-multibyte-characters.
16861 * progmodes/etags.el (etags-goto-tag-location):
16862 * progmodes/flymake.el (flymake-highlight-line)
16863 (flymake-goto-file-and-line, flymake-goto-line):
16864 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16865 (gdb-goto-breakpoint):
16866 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16867 * progmodes/python.el (python-find-function)
16868 (python-pdbtrack-track-stack-file):
16869 * progmodes/verilog-mode.el (verilog-surelint-off):
16870 * term/ns-win.el (ns-open-file-select-line):
16871 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16872 Use forward-line rather than goto-line.
16874 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16875 * textmodes/reftex-index.el (reftex-display-index):
16876 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16877 * textmodes/reftex-toc.el (reftex-toc):
16878 Remove unnecessary bindings of default-major-mode (all are followed by
16879 major-mode check and possible mode switch).
16881 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16883 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16884 Handle watchpoints (bug#4282).
16885 (def-gdb-thread-buffer-command): Enable thread to be selected by
16886 clicking without selecting threads buffer first.
16887 (gdb-current-context-command): Use selected frame so that "up",
16888 "down" etc work in the GUD buffer.
16889 (gdb-update): Find selected frame before rendering stack buffer.
16890 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16892 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16894 * progmodes/sym-comp.el (displayed-completions): Remove.
16895 (symbol-complete): Use minibuffer-complete.
16897 2009-08-31 Glenn Morris <rgm@gnu.org>
16899 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16901 * apropos.el (apropos-symbols-internal):
16902 Handle (obsolete) face aliases.
16904 * faces.el (describe-face): Adjust the output format to be more like
16905 describe-variable, and to mention (obsolete) face aliases.
16906 Adjust the whitespace so that help-setup-xref works.
16908 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16909 * calendar/diary-lib.el (diary-button-face):
16910 Mark these face aliases as obsolete.
16912 * calendar/calendar.el (calendar-today): Doc fix.
16914 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16916 * progmodes/gdb-mi.el (gdb-control-all-threads)
16917 (gdb-control-current-thread): Force tool bar update.
16918 (gdb-non-stop-handler): New function.
16919 (gdb-init-1): Use it to test if non-stop mode is supported.
16920 Remove unused gdbmi buffer type.
16922 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16924 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16925 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
16927 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
16929 * comint.el (comint-exec-1): Check command is non-null first.
16930 Part of gdb-mi.el change (2009-08-28).
16932 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16934 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16936 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
16938 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16939 instead of `dolist' to avoid a recursive require when bootstrapping.
16941 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16943 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16945 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16947 * net/imap.el (imap-send-command): Simplify.
16948 (imap-wait-for-tag): point-max -> buffer-size.
16950 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16952 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16953 with constant argument.
16955 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16957 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16959 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16960 Change default, since most of our files don't have a history.
16961 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16964 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16967 * calc/calc.el: Improve commenting convention.
16968 (calc-digit-map, toplevel): Simplify.
16970 * comint.el (comint-insert-input): Be careful to only set point if we
16971 don't delegate to some other command.
16973 * proced.el (proced-signal-list): Make it an alist.
16974 (proced-grammar-alist): Capitalize names.
16975 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16976 Disable undo manually and make it read-only.
16977 Use completion-annotate-function.
16979 * minibuffer.el (minibuffer-message): If the current buffer is not
16980 a minibuffer, insert the message in the echo area rather than at the
16982 (completion-annotate-function): New variable.
16983 (minibuffer-completion-help): Use it.
16984 (completion--embedded-envvar-table): Environment vars are
16985 always case-sensitive.
16987 2009-08-30 Glenn Morris <rgm@gnu.org>
16989 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16990 from fortran-current-defun.
16991 (fortran-beginning-of-subprogram): Be more precise about finding the
16992 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16993 (fortran-end-of-subprogram): Simplify.
16994 (fortran-current-defun): Use fortran-start-prog-re.
16996 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
16998 * subr.el (do-after-load-evaluation): Simplify.
17000 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17002 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17004 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17005 (vc-rcs-print-log): Use it.
17007 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17009 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17011 * paths.el (abbrev-file-name): Move to abbrev.el.
17012 * abbrev.el (abbrev-file-name): Move from paths.el.
17013 Obey user-emacs-directory.
17014 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17015 user-emacs-directory.
17016 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17017 abbrev-file-name and calc-settings-file any more.
17018 * startup.el (command-line): Recompute abbrev-file-name and
17019 abbreviated-home-dir.
17020 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17021 of the special code for when C-h bindings haven't been changed.
17022 (display-startup-echo-area-message): Use with-current-buffer.
17023 (command-line-1): Use a list of strings, rather than a list of lists
17024 of strings for longopts.
17026 * files.el (get-free-disk-space): Use / for default-directory.
17028 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17029 Use with-current-buffer.
17031 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17032 Recognize immutable variables like most-positive-fixnum.
17033 (byte-compile-setq-default): Check and warn if trying to assign
17034 to an immutable variable, or a non-variable.
17036 * progmodes/cc-vars.el (c-comment-continuation-stars):
17037 * progmodes/cc-engine.el (c-looking-at-bos):
17038 * progmodes/cc-cmds.el (c-toggle-auto-state)
17039 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17040 (c-comment-line-break-function): Add version of obsolescence.
17042 2009-08-28 Juri Linkov <juri@jurta.org>
17044 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17045 associated with `archive-mode'.
17047 * image.el (image-type-header-regexps): Use only JPEG magic number
17048 to determine JPEG images, and don't use `image-jpeg-p' because
17049 Emacs can display non-JFIF non-Exif JPEG images.
17051 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17053 * arc-mode.el (archive-mode):
17054 * emacs-lisp/re-builder.el (re-builder-unload-function):
17055 Protect against the default value of `major-mode' being nil.
17057 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17059 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17060 Fix typos in docstrings.
17062 * progmodes/js.el (js--macro-decl-re): Doc fix.
17063 (js--plain-method-re, js--split-name): Refloc docstring.
17064 (js--class-styles, js--make-merged-item, js--splice-into-items):
17065 Fix typos in docstrings; reflow docstrings.
17066 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17067 (js--variable-decl-matcher, js--inside-pitem-p)
17068 (js--parse-state-at-point, js--get-all-known-symbols)
17069 (js--symbol-history, js-find-symbol, js--js-references)
17070 (js--moz-interactor, js--js-encode-value, js--read-tab):
17071 Fix typos in docstrings.
17073 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17075 * textmodes/reftex.el (reftex-get-file-buffer-force):
17076 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17077 * emulation/viper.el (viper-go-away, viper-set-hooks):
17078 * emacs-lisp/re-builder.el (re-builder-unload-function):
17079 * emacs-lisp/bytecomp.el (byte-compile-file):
17080 * ses.el (ses-unload-function):
17081 * hexl.el (hexl-find-file):
17082 * files.el (normal-mode):
17083 * ehelp.el (with-electric-help):
17084 * autoinsert.el (auto-insert-alist):
17085 * arc-mode.el (archive-mode):
17086 Use (default-value 'major-mode) instead of default-major-mode.
17088 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17089 * international/mule.el (load-with-code-conversion):
17090 * emacs-lisp/debug.el (debug):
17091 * ediff-vers.el (ediff-rcs-get-output-buffer):
17092 * dired.el (dired-internal-noselect): Don't let-bind
17093 default-major-mode around code that doesn't use it.
17094 E.g. buffer creation via get-buffer-create doesn't use it.
17096 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17098 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17099 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17100 when writing the temp file. Otherwise, epa-file gets confused.
17101 (tramp-register-file-name-handlers): Make it a defun. Move also
17102 `epa-file-handler' to the front of `file-name-handler-alist'.
17104 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17106 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17107 start right after a ^M.
17108 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17109 (tramp-completion-file-name-regexp-separate)
17110 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17111 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17112 Don't modify last-coding-system-used by accident.
17113 (tramp-completion-file-name-handler): Apply the checks here,
17114 instead during registration.
17115 (tramp-register-file-name-handlers): Rename from
17116 `tramp-register-file-name-handler'. Register both
17117 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17118 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17120 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17122 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17123 Remove variable ...
17124 (gdb-init-1, gdb-display-separate-io-buffer)
17125 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17127 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17128 (gdb-inferior-filter): Use comint-output-filter to stop
17129 echoing and remove ^M characters.
17131 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17133 * emulation/viper-init.el (viper-restore-cursor-type):
17134 * emulation/cua-base.el (cua--update-indications):
17135 Replace default-cursor-type with (default-value 'cursor-type).
17137 * mail/sendmail.el (mail-recover-1):
17138 * international/mule-diag.el (describe-current-coding-system-briefly)
17139 (describe-current-coding-system):
17140 * international/mule-cmds.el (select-safe-coding-system)
17141 (select-message-coding-system)
17142 (set-language-environment-coding-systems, set-locale-environment):
17143 * hexl.el (hexl-insert-multibyte-char):
17144 * dos-w32.el (find-buffer-file-type-coding-system):
17145 * simple.el (what-cursor-position):
17146 Replace uses of default-buffer-file-coding-system
17147 with (default-value 'buffer-file-coding-system).
17149 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17150 Replace uses of default-cursor-in-non-selected-windows
17151 with (default-value 'cursor-in-non-selected-windows).
17152 Use with-current-buffer.
17154 * mail/feedmail.el: Use CL macros.
17155 (feedmail-run-the-queue, feedmail-send-it-immediately):
17156 * dos-w32.el (find-buffer-file-type): Replace uses of
17157 default-buffer-file-type with (default-value 'buffer-file-type).
17159 2009-08-28 Glenn Morris <rgm@gnu.org>
17161 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17162 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17163 Use default-value of major-mode rather than default-major-mode.
17165 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17167 * Makefile.in (update-elcfiles): Report left over elc files.
17169 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17170 expand-file-name and with-current-buffer.
17171 (mail-get-names, mail-directory): Use with-current-buffer.
17173 * vc.el (vc-read-revision): New function.
17174 (vc-version-diff, vc-merge): Use it.
17176 2009-08-27 Sam Steingold <sds@gnu.org>
17178 * simple.el (kill-do-not-save-duplicates): New user option.
17179 (kill-new): When it is non-nil, and the new string is the same as
17180 the latest kill, set replace to t to avoid duplicates in kill-ring.
17182 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17184 * net/tramp.el (tramp-handle-process-file): Do not flush all
17185 caches when `process-file-side-effects' is set.
17186 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17187 instead of `tramp-find-file-exists-command'.
17188 Unset `process-file-side-effects'.
17190 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17192 * net/tramp.el (tramp-methods): New method "rsyncc".
17193 (top): Add completion function for "rsyncc".
17194 (tramp-message-show-message): New defvar.
17195 (tramp-message, tramp-error): Use it.
17196 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17198 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17199 `tramp-methods' entry `copy-env' of "rsyncc".
17200 (tramp-vc-registered-read-file-names): New defconst.
17201 (tramp-vc-registered-file-names): New defvar.
17202 (tramp-handle-vc-registered): Implement optimization strategy.
17203 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17204 (tramp-vc-file-name-handler): New defun.
17205 (tramp-get-ls-command, tramp-get-test-command)
17206 (tramp-get-file-exists-command, tramp-get-remote-ln)
17207 (tramp-get-remote-perl, tramp-get-remote-stat)
17208 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17210 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17211 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17213 (tramp-get-file-property): Check for timestamps in
17214 `tramp-cache-inhibit-cache'.
17215 (tramp-set-file-property): Write timestamp.
17217 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17219 * language/japan-util.el (japanese-symbol-table): Add entries for
17222 * international/characters.el: Add category `j' to cp932-2-byte.
17224 2009-08-27 Kenichi Handa <handa@m17n.org>
17226 * international/fontset.el (build-default-fontset-data): New macro.
17227 (setup-default-fontset): Use build-default-fontset-data for CJK,
17228 tibetan, ethiopic, and ipa.
17230 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17232 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17233 (enable-multibyte-characters): Not customizable any more.
17235 * subr.el (default-mode-line-format, default-header-line-format)
17236 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17237 (default-direction-reversed, default-truncate-lines)
17238 (default-left-margin, default-tab-width, default-case-fold-search)
17239 (default-left-margin-width, default-right-margin-width)
17240 (default-left-fringe-width, default-right-fringe-width)
17241 (default-fringes-outside-margins, default-scroll-bar-width)
17242 (default-vertical-scroll-bar, default-indicate-empty-lines)
17243 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17244 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17245 (default-scroll-down-aggressively, default-fill-column)
17246 (default-cursor-type, default-buffer-file-type)
17247 (default-cursor-in-non-selected-windows)
17248 (default-buffer-file-coding-system, default-major-mode)
17249 (default-enable-multibyte-characters): Mark as obsolete.
17251 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17253 * vc-dir.el (vc-dir-update): Remove debug helper.
17255 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17257 2009-08-26 Sam Steingold <sds@gnu.org>
17259 * simple.el (save-interprogram-paste-before-kill): New user option.
17260 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17261 save the interprogram-paste into kill-ring before overriding it
17262 with the Emacs kill.
17264 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17266 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17267 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17268 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17269 and move to vc-rcs.el.
17270 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17272 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17273 (vc-rcs-update-changelog): Remove.
17274 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17275 and move to vc-rcs.el.
17277 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17278 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17280 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17281 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17282 vc.el, renamed to be RCS specific.
17284 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17286 (vc-cvs-update-changelog): Move here from vc.el.
17288 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17291 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17293 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17295 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17297 * vc-git.el (vc-git-register): Use "git add" for directories.
17298 (vc-git-stash, vc-git-stash-show): New functions.
17299 (vc-git-extra-menu-map): Bind them.
17301 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17302 directory correctly in case the item is a directory itself.
17304 * vc.el: Document the desired behavior for reverted files in the
17306 (vc-default-prettify-state-info): Remove function, unused.
17308 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17310 2009-08-26 Glenn Morris <rgm@gnu.org>
17312 * bindings.el (standard-mode-line-format): Reposition dashes in
17313 which-func entry. (Bug#4217)
17315 * files.el (enable-local-variables, enable-local-eval)
17316 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17318 (auto-mode-alist, ignored-local-variables)
17319 (save-some-buffers-action-alist): Move risky declarations to the
17321 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17322 (font-lock-defaults, format-alist, imenu--index-alist)
17323 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17324 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17325 (mode-line-modified, mode-line-mule-info, mode-line-position)
17326 (mode-line-process, mode-line-remote, outline-level)
17327 (parse-time-rules, rmail-output-file-alist)
17328 (special-display-buffer-names, vc-mode):
17329 Move risky declarations to the relevant files.
17330 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17331 (mode-line-modified, mode-line-process, mode-line-position)
17332 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17333 * font-core.el (font-lock-defaults):
17334 * format.el (format-alist):
17335 * vc-hooks.el (vc-mode):
17336 * window.el (special-display-buffer-names):
17337 * international/mule-cmds.el (input-method-alist):
17338 Define riskiness here (dumped file) rather than in files.el.
17339 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17340 * imenu.el (imenu-generic-expression, imenu--index-alist):
17341 * outline.el (outline-level):
17342 * time.el (display-time-string):
17343 * calendar/parse-time.el (parse-time-rules):
17344 * mail/rmailout.el (rmail-output-file-alist):
17345 Autoload riskiness here, rather than placing in files.el.
17347 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17349 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17351 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17353 * simple.el (process-file-side-effects): New defvar.
17355 * dired-aux.el (dired-show-file-type):
17356 * vc.el (vc-diff-internal):
17357 * vc-arch.el (vc-arch-diff):
17358 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17359 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17360 * vc-git.el (vc-git-registered, vc-git-working-revision)
17361 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17362 (vc-git--empty-db-p):
17363 * vc-hooks.el (vc-user-login-name):
17364 * vc-svn.el (vc-svn-registered, vc-svn-state)
17365 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17366 * progmodes/grep.el (grep-probe): Let-bind
17367 `process-file-side-effects' with nil.
17369 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17371 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17372 daemon. Replace ping by checking for running service for bluez
17373 and zeroconf. (Bug#4239)
17375 2009-08-25 Kevin Ryde <user42@zip.com.au>
17377 * net/dig.el (dig): Add autoload cookie.
17379 2009-08-25 Glenn Morris <rgm@gnu.org>
17381 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17382 load-history for absolute file-names.
17383 (byte-compile-file-form-require): Warn about use of the cl package.
17385 * format.el (format-alist): Doc fix.
17387 * play/bubbles.el (top-level): Don't require cl at run-time.
17389 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17392 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17394 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17396 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17398 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17400 * calc/calc-alg.el (math-trig-rewrite)
17401 (math-hyperbolic-trig-rewrite): New functions.
17402 (calc-simplify): Simplify trig functions when asked.
17404 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17406 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17408 2009-08-24 Kenichi Handa <handa@m17n.org>
17410 * language/ind-util.el (mapthread): Delete it.
17411 (combinatorial): New function.
17412 (indian--puthash-cv): Use combinatorial instead of mapthread.
17414 2009-08-22 Kevin Ryde <user42@zip.com.au>
17416 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17417 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17418 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17419 Clarify docstring that the value is strings not symbols.
17420 (checkdoc-list-of-strings-p): New function.
17422 2009-08-22 Glenn Morris <rgm@gnu.org>
17424 * files.el (auto-mode-alist):
17425 * hippie-exp.el (he-concat-directory-file-name):
17426 * lpr.el (lpr-windows-system, printer-name):
17427 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17428 * ps-print.el (ps-windows-system):
17429 * startup.el (command-line):
17430 * emulation/viper-ex.el (viper-glob-function):
17431 * international/mule-cmds.el (set-language-environment-coding-systems):
17432 * net/ange-ftp.el (ange-ftp-write-region):
17433 * obsolete/fast-lock.el (fast-lock-cache-name):
17434 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17435 unisoft-unix, vax-vms, win32, w32.
17437 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17438 given name if the pattern is not more specific.
17440 * calendar/lunar.el (lunar-phase-names): New option.
17441 (lunar-phase): Doc fix.
17442 (lunar-cycles-per-year): New constant.
17443 (lunar-index): New function.
17444 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17445 (lunar-phase-name): Use lunar-phase-names.
17446 (calendar-lunar-phases): Use format.
17447 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17449 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17450 Copy imenu-example--name-and-position function here for own use.
17451 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17453 * bs.el (bs--redisplay):
17454 * cus-edit.el (custom-redraw):
17455 * ibuffer.el (ibuffer-bury-buffer):
17456 * server.el (server-goto-line-column):
17457 * startup.el (command-line-1):
17458 * strokes.el (strokes-xpm-for-stroke):
17459 * term.el (term-display-buffer-line):
17460 * view.el (View-goto-line):
17461 * calc/calc.el (calc-do, calc-trail-buffer):
17462 * play/gamegrid.el (gamegrid-add-score-insecure):
17463 * progmodes/ada-mode.el (ada-compile-goto-error):
17464 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17465 (ebrowse-select-1st-to-9nth):
17466 * progmodes/cperl-mode.el (cperl-time-fontification):
17467 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17468 * progmodes/gud.el (gud-display-line):
17469 (idlwave-shell-display-line):
17470 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17471 * progmodes/make-mode.el (makefile-browser-toggle):
17472 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17473 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17474 * textmodes/picture.el (picture-draw-rectangle):
17475 * textmodes/reftex-index.el (reftex-index-goto-letter):
17476 (reftex-select-jump-to-previous):
17477 * textmodes/reftex-sel.el (reftex-find-start-point)
17478 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17479 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17480 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17481 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17482 * textmodes/two-column.el (2C-associated-buffer):
17483 Use forward-line rather than goto-line.
17485 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17488 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17489 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17490 (quick-check-list-to-regexp): Declare.
17492 * progmodes/make-mode.el (makefile-browser-insert-selection):
17493 Use goto-char rather than goto-line.
17495 * progmodes/prolog.el (compilation-error-regexp-alist)
17496 (compilation-forget-errors): Declare.
17498 2009-08-22 Juri Linkov <juri@jurta.org>
17500 * progmodes/grep.el (lgrep, rgrep): At the beginning
17501 set `dir' to `default-directory' unless `dir' is a non-nil
17502 readable directory. (Bug#4052)
17503 (lgrep, rgrep): Change a weird way to report an error
17504 from using `read-string' to using `error'.
17505 Instead of using interactive arguments in the function body,
17506 add new argument `confirm'.
17508 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17510 * textmodes/remember.el (remember-buffer):
17511 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17512 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17513 (icalendar-extract-ical-from-buffer):
17514 * net/newst-treeview.el (newsticker-groups-filename):
17515 * net/newst-backend.el (newsticker-cache-filename):
17516 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17517 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17518 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17519 (speedbar-buffers-line-path, speedbar-path-line)
17520 (speedbar-buffers-line-path):
17521 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17523 * epa.el (epa-display-verify-result):
17524 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17526 2009-08-21 Glenn Morris <rgm@gnu.org>
17528 * progmodes/js.el (inferior-moz-process): Fix declaration.
17530 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17532 * obsolete/rnewspost.el (news-mail-reply):
17533 Use goto-char rather than goto-line.
17535 * term/ns-win.el (ns-open-file-select-line):
17536 Use line-beginning-position rather than goto-line.
17538 * apropos.el (apropos-command):
17539 * ehelp.el (electric-helpify):
17540 * printing.el (pr-show-setup):
17541 * strokes.el (strokes-help):
17542 * tutorial.el (tutorial--describe-nonstandard-key)
17543 (tutorial--detailed-help):
17544 * woman.el (woman-mini-help, woman-display-extended-fonts):
17545 * calc/calc-help.el (calc-describe-key):
17546 * emulation/edt.el (edt-electric-helpify):
17547 * international/mule-diag.el (mule-diag):
17548 * play/yow.el (apropos-zippy):
17549 * progmodes/python.el (python-describe-symbol):
17550 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17551 * textmodes/table.el (*table--cell-describe-mode)
17552 (*table--cell-describe-bindings):
17553 Use help-print-return-message rather than the now obsolete alias.
17555 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17556 (calendar-cursor-to-visible-date):
17557 * play/5x5.el (5x5-position-cursor):
17558 * play/decipher.el (decipher):
17559 * play/gomoku.el (gomoku-goto-xy):
17560 * play/landmark.el (lm-goto-xy):
17561 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17562 (mpuz-paint-digit):
17563 Use forward-line, not goto-line.
17565 * mail/rmail.el (rmail-obsolete): Delete custom group.
17566 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17567 (rmail-remote-password, rmail-remote-password-required):
17568 Remove unneeded :set-after and :set properties.
17570 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17572 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17574 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17576 * loadup.el: Remove leftover macos code.
17578 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17579 Explicitly pass the date format to git blame so that user local
17580 so that the output format can be parsed.
17582 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17584 * net/dbus.el (top): Don't check for (getenv
17585 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17587 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17589 * log-edit.el (log-edit-strip-single-file-name): New var.
17590 (log-edit-insert-changelog): Use it. Bug#3571
17592 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17594 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17597 * help.el (help-print-return-message): Rename from
17598 print-help-return-message.
17600 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17601 cvs-mode-map parent hack.
17602 (log-view-mode): Derive from special-mode.
17604 * linum.el (linum-mode): window-size-change-functions is redundant.
17605 Adapt to new window-configuration-change-hook behavior.
17606 (linum-after-size, linum-after-config): Remove.
17608 * imenu.el (imenu-example--name-and-position)
17609 (imenu-example--lisp-extract-index-name)
17610 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17613 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17614 (inferior-prolog-mode): Use it.
17615 (inferior-prolog-load-file): Reset list of errors.
17617 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17619 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17621 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17623 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17625 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17626 is running already.
17628 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17630 * subr.el (listify-key-sequence-1): Use normal syntax since those
17631 integers are nowadays always represented by the same (positive) number
17633 (read-key-empty-map): New const.
17634 (read-key-delay): New var.
17635 (read-key): New function.
17636 (force-mode-line-update): Use with-current-buffer.
17637 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17638 (start-process-shell-command, start-file-process-shell-command):
17639 Discourage the use of command-args.
17641 2009-08-19 Glenn Morris <rgm@gnu.org>
17643 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17645 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17647 * simple.el (choose-completion-string): Don't rely on
17648 minibuffer-completing-file-name and ad-hoc checks to decide whether
17649 to continue completion or not.
17651 * minibuffer.el (minibuffer-hide-completions): New function.
17652 (completion--do-completion): Use it.
17653 (completions-annotations): New face.
17654 (completion--insert-strings): Use it.
17655 (completion-pcm--delim-wild-regex): Add docstring.
17656 (completion-pcm--string->pattern): Add support for 0-width delimiters
17657 in completion-pcm--delim-wild-regex.
17659 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17661 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17662 Remove unused var `buffer-modified-p'.
17664 * minibuffer.el (completion--do-completion): Move point for the #b001
17665 case as well (bug#4176).
17666 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17668 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17670 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17671 and :session buses.
17673 2009-08-18 Kenichi Handa <handa@m17n.org>
17675 * international/ucs-normalize.el (ucs-normalize-version):
17677 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17678 (utf-8-hfs): Make it perform normalization on encoding too.
17680 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17681 (sentence-end-without-space): Delete duplicated chars.
17682 (sentence-end-base): Likewise.
17684 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17685 (html-mode): Delete duplicated chars from sentence-end-base.
17687 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17688 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17690 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17692 * files.el (hack-one-local-variable): If the mode function is for
17693 a minor mode, pass it an argument (Bug#4148).
17695 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17697 * net/tramp.el (tramp-register-completion-file-name-handler):
17698 Check also for (member 'partial-completion completion-styles).
17700 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17702 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17705 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17707 * progmodes/cperl-mode.el: Merge upstream 6.2.
17708 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17709 (cperl-forward-re): Check cperl-brace-recursing.
17710 (cperl-highlight-charclass): New function.
17711 (cperl-find-pods-heres): Use it.
17712 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17713 (cperl-beautify-regexp-piece): Fix column calculation.
17714 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17715 (cperl-beautify-level): Don't process entire regexp.
17716 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17718 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17719 (cperl-init-faces): Build a list in the normal way.
17721 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17723 * calendar/parse-time.el (parse-time-string-chars): Save match
17726 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17728 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17729 (sql-product): Use it.
17730 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17731 (sql-set-product): Add completion.
17732 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17733 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17734 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17735 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17736 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17737 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17738 (sql-highlight-db2-keywords): Remove.
17739 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17740 (sql-highlight-product): Use derived-mode-p.
17741 (sql-set-sqli-buffer): Use with-current-buffer.
17742 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17745 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17747 * term.el: Fix commenting convention, turn comments into docstrings.
17749 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17751 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17753 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17755 * calendar/parse-time.el (parse-time-string-chars): Compute using
17756 character classes, to handle non-ascii characters (Bug#3190).
17758 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17760 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17761 another heredoc if the user adds another < (Bug#3226).
17763 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17764 Don't initialize based on window-system (Bug#4124).
17766 * facemenu.el (facemenu-read-color): Use a completion function
17767 that accepts any defined color, such as RGB triplets (Bug#3677).
17769 * files.el (get-free-disk-space): Change fallback default
17770 directory to /. Expand DIR argument before switching to fallback.
17771 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17773 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17775 * files.el (load-library): Doc fix.
17777 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17779 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17780 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17781 incremental search string.
17783 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17786 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17787 (ediff-merge-region-is-non-clash)
17788 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17789 Also check if the job is really a merge job.
17791 * ediff.el (ediff-current-file): New function.
17793 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17795 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17797 (js-insert-and-indent): Delete function.
17798 (js-mode-map): Don't bind keys to js-insert-and-indent.
17799 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17800 (js-end-of-defun): Rename from js--end-of-defun.
17801 (js-auto-indent-flag): Delete variable.
17803 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17805 * progmodes/js.el: Remove proclaim statement.
17806 Defvar which-func-imenu-joiner-function to silence compiler.
17808 * files.el (auto-mode-alist): Use js-mode for .js files.
17810 * progmodes/js2-mode.el: Remove file.
17812 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17814 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17816 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17818 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17819 Karl Landstrom <karl.landstrom@brgeight.se>
17821 * progmodes/js.el: New file.
17823 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17825 * timezone.el (timezone-parse-date): Add ability to understand ISO
17826 basic format (minimal separators) dates in addition to the
17827 already-supported extended format dates.
17829 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17831 * international/ucs-normalize.el: Add a `coding' file variable.
17833 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17835 2009-08-14 Sam Steingold <sds@gnu.org>
17837 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17839 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17841 * faces.el (help-argument-name): Define it here instead of
17842 help-fns.el, because in daemon mode help-fns.el may be loaded when
17843 faces are still uninitialized (Bug#1078).
17845 * help-fns.el (help-argument-name): Move defface to faces.el.
17847 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17849 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17850 create buffer with a pty but no process so that GDB can make the
17851 inferior the controlling process.
17853 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17855 * international/ucs-normalize.el: New file.
17857 2009-08-13 Richard Stallman <rms@gnu.org>
17859 * mail/rmail.el (rmail-get-attr-names):
17860 Accept an attribute header that is too short.
17862 * mail/rmail.el (rmail-forget-messages):
17863 Ignore nil elt in rmail-message-vector. Use dotimes.
17865 * progmodes/compile.el (compilation-goto-locus):
17866 Use next-error-move-function.
17868 * simple.el (next-error-move-function): New variable.
17870 2009-08-12 Juri Linkov <juri@jurta.org>
17872 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17873 always non-nil. (Bug#4052)
17875 * replace.el (read-regexp): Return empty string when
17876 `default-value' is nil.
17877 (keep-lines-read-args): Don't use empty string as the
17878 default value for `read-regexp'. (Bug#2495)
17880 2009-08-12 Juri Linkov <juri@jurta.org>
17882 * international/mule-cmds.el (ucs-insert): Change arguments
17883 from `arg' to `character', `count', `inherit' to be the same
17884 as in `insert-char'. Doc fix. (Bug#4039)
17886 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17888 2009-08-12 Juri Linkov <juri@jurta.org>
17890 * files-x.el: New file.
17892 * files.el: Move code that deals with adding/deleting
17893 file/directory-local variables to files-x.el.
17895 * Makefile.in (ELCFILES): Add files-x.elc.
17897 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17899 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17900 to use `goto-line'.
17901 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17903 (gdb-invalidate-disassembly): Do not refresh upon receiving
17904 'update signal. Instead, update all disassembly buffers only after
17906 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17907 (gdb-starting): Move -data-list-register-names...
17908 (gdb-stopped): ...here so it's sent when first thread stops.
17909 (gdb-registers-handler-custom): Do nothing if register names are
17912 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17913 from `gdb-mi.el' to avoid extra tangling.
17915 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17916 change which breaks `gud-def' definitions used in `gdb'.
17917 (gdb-update-gud-running): No extra fuss for updating frame number.
17919 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
17921 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17922 (describe-language-environment-map, setup-language-environment-map)
17923 (set-coding-system-map): Move initialization into declaration.
17924 (set-language-info-alist): Last arg to define-key-after can be skipped.
17926 * international/quail.el (quail-completion-1): Simplify.
17927 (quail-define-rules): Use slightly more compact code.
17928 (quail-insert-decode-map): Propertize keys, compact columns.
17930 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17933 2009-08-10 Miles Bader <miles@gnu.org>
17935 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17936 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17937 (js2-instance-member, js2-private-member, js2-private-function-call)
17938 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17939 (js2-magic-paren, js2-external-variable):
17940 Remove "-face" suffix from face names.
17941 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17942 (js2-highlight-undeclared-vars, js2-peek-token)
17943 (js2-parse-function-params, js2-mode-show-errors)
17944 (js2-mode-show-warnings, js2-make-magic-delimiter)
17945 (js2-mode-highlight-magic-parens): Update to use new face names.
17947 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
17949 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17950 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
17952 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
17954 * subr.el: Provide hashtable-print-readable.
17956 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17957 hs-c-like-adjust-block-beginning.
17958 (hs-hide-block-at-point): Stop hiding at the beginning of
17959 hs-block-end-regexp (Bug#700).
17961 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
17963 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17965 (gdb-registers-handler-custom): Do not fail when register names
17968 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17970 * progmodes/gdb-mi.el (gdb-control-all-threads)
17971 (gdb-control-current-thread): Interactive setters for
17972 `gdb-gud-control-all-threads' to use in menu.
17973 (gdb-show-run-p): Show «Go» when process is not active.
17974 (gud-tool-bar-map): Add non-stop/A,T indicator.
17975 Uses gud/thread.xpm and gud/all.xpm.
17977 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
17979 * net/net-utils.el (net-utils-font-lock-keywords): New var.
17980 (nslookup-font-lock-keywords): Make it a variable.
17981 (net-utils-mode): New mode for viewing diagnostic network output.
17982 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17983 (net-utils-run-simple): New function.
17984 (ifconfig, iwconfig, netstat, arp, route): Use it.
17986 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17988 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17989 (gdb-memory-set-address, def-gdb-set-positive-number)
17990 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17991 after changing settings.
17992 (gdb-invalidate-disassembly): Update when first shown.
17993 (gdb-edit-locals-value): Fixed.
17994 (gdb-registers-handler-custom): Print registers in right order and
17995 allow changing register values (only for current thread yet).
17996 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17997 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17998 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17999 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18000 Thread info in mode name.
18001 (gdb-registers-mode-map): TAB to switch to locals.
18003 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18005 * mail/rmail.el (rmail-add-mbox-headers)
18006 (rmail-set-message-counters-counter): Search for
18007 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18009 2009-08-08 Glenn Morris <rgm@gnu.org>
18011 * Makefile.in (ELCFILES): Update.
18013 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18015 * mail/sendmail.el (mail-yank-original):
18016 Set buffer-file-coding-system from the one used by the message whose
18019 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18020 to "windows" when "pgnuplot" is used.
18021 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18022 Don't call accept-process-output if "pgnuplot" is used.
18023 (calc-graph-init): Don't send -display and -geometry to
18024 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18025 running "pgnuplot -V" with shell-command-to-string.
18027 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18030 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18032 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18035 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18037 * vc-dispatcher.el (vc-resynch-window): Update comment.
18039 * term.el (term-handle-ansi-escape): Add comments with the
18040 terminfo capabilities implemented.
18042 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18044 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18045 (gdb-var-create-handler): Rewritten using JSON parser.
18046 (gdb-propertize-header): Move earlier.
18047 (gdb-set-header): Remove to avoid duplication.
18048 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18049 Refresh disassembly buffers only after threads list have been
18051 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18054 2009-08-04 Juri Linkov <juri@jurta.org>
18056 * files.el: Commands to add/delete file/directory-local variables.
18057 (read-file-local-variable, read-file-local-variable-value)
18058 (read-file-local-variable-mode, modify-file-local-variable)
18059 (modify-file-local-variable-prop-line)
18060 (modify-dir-local-variable): New functions.
18061 (add-file-local-variable, delete-file-local-variable)
18062 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18063 (add-dir-local-variable, delete-dir-local-variable)
18064 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18065 (copy-dir-locals-to-file-locals-prop-line): New commands.
18067 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18069 * abbrev.el (insert-abbrev-table-description): Prettify output.
18070 Suggested by Karl Chen.
18072 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18074 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18075 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18076 (gdb-overlay-arrow-position, gdb-thread-position)
18077 (gdb-disassembly-position): Declare variables.
18078 (gdb-wait-for-pending): Function now.
18079 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18080 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18081 compilation goes smoothly.
18082 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18083 (gdb-non-stop-setting): New customization setting which replaces
18084 `gdb-non-stop' so changing it doesn't break active GDB session.
18085 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18086 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18087 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18088 (gdb-show-threads-by-default): New customization options.
18089 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18091 (gdb-get-buffer-create): Send buffers update signal when they are
18093 (gdb-invalidate-locals, gdb-invalidate-registers)
18094 (gdb-invalidate-breakpoints)
18095 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18096 (gdb-invalidate-memory): Accept update signal.
18097 (gdb-current-context-command): Use --frame option.
18098 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18099 Implement `gdb-frame-number' selection logic.
18100 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18101 whether to show GUD toolbar buttons.
18102 (gdb-thread-exited): Unselect current thread when it exits.
18103 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18104 (gdb-mark-line): Routine which sets overlay arrow or inverses
18105 video on fringeless displays.
18106 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18107 to build aligned columns of data in GDB buffers and set text
18108 properties line-by-line.
18109 (gdb-invalidate-breakpoints)
18110 (gdb-breakpoints-list-handler-custom)
18111 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18112 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18113 (gdb-registers-handler-custom): Align data columns.
18114 (gdb-locals-handler-custom): Now prints data like in variable
18116 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18117 Remove confusing buttons.
18118 (gdb-invalidate-threads): Append --frame.
18119 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18120 between breakpoints/threads buffers.
18121 (gdb-set-window-buffer): Now can ignore dedicated windows.
18122 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18123 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18124 (def-gdb-thread-buffer-gud-command): Replaces
18125 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18126 for fine thread control.
18127 (gdb-preempt-existing-or-display-buffer): New function used to
18128 display bound buffers without breaking window layout.
18129 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18130 (gdb-select-frame): New version of `gdb-frames-select' which now
18131 sets `gdb-frame-number' so commands may use --frame option instead
18132 of inner debugger state.
18133 (gdb-frame-handler): Do not set `gdb-frame-number'.
18134 (gdb-threads-mode-map): Select threads with mouse.
18136 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18137 avoid compilation warning.
18138 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18141 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18142 Argument `key' renamed to `buffer-type'.
18143 (gdb-current-context-buffer-name): Do not add thread info to
18144 buffer name when no thread is selected.
18145 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18146 command (bug 3794).
18147 (gdb-thread-selected): Handle `=thread-selected' notification.
18148 (gdb-wait-for-pending): New macro to deal with congestion problems.
18149 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18151 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18152 This fixes problem similar to one described in bug 3947.
18153 (gud-menu-map): More menu items.
18154 (gdb-init-1): Reset `gdb-thread-number' to nil.
18156 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18159 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18160 (gdb-current-context-command): Do not append --thread if
18161 `gdb-thread-number' is nil.
18162 (gdb-running-threads-count, gdb-stopped-threads-count):
18164 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18165 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18166 New customization options.
18167 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18169 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18170 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18171 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18172 set `gdb-thread-number' and update `gud-running' properly.
18173 (gdb-running): Update threads list when new threads appear.
18174 (gdb-stopped): Support non-stop operation and new thread switching
18176 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18177 (gdb-json-partial-output): New set of JSON routines.
18178 (def-gdb-auto-update-trigger): New `signal-list' optional
18180 (gdb-thread-list-handler-custom): Update `gud-running',
18181 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18182 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18183 (gdb-continue-thread, gdb-step-thread): New commands for fine
18184 thread execution control.
18185 (gud-menu-map): New menu items to switch non-stop options.
18186 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18187 (gdb-send): Mimic RET properly (bug 3794).
18189 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18190 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18192 (def-gdb-auto-update-handler): New nopreserve optional argument.
18193 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18195 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18196 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18197 (gdb-parent-mode): New mode to derive other GDB modes from.
18198 (gdb-display-disassembly-for-thread)
18199 (gdb-frame-disassembly-for-thread): New commands for threads
18202 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18203 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18204 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18205 (gdb-update): We now store all GDB buffers in a list so that they
18206 can be updated by traversing a list instead of calling invalidate
18207 triggers explicitly.
18208 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18209 pair for GDB buffer.
18210 (gdb-stack-buffer-name): Add thread information.
18211 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18212 handle pending triggers.
18213 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18214 (def-gdb-thread-buffer-simple-command)
18215 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18216 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18217 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18218 New commands which show buffers bound to thread.
18219 (gdb-stack-list-locals-regexp): Remove unused regexp.
18221 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18222 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18223 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18224 to (gud-comint-buffer) in *-buffer-name functions
18225 because (gdb-get-target-string) already does that.
18226 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18227 (gdb-changed-registers-handler): Rewritten without regexps.
18229 * progmodes/gdb-mi.el: Basic thread selection support.
18230 (gdb-thread-number): New variable.
18231 (gdb-current-context-command): New macro which adds --thread
18233 (gdb-threads-mode-map): Select thread with SPC.
18234 (gdb-thread-list-handler-custom): Mark current thread with overlay
18235 arrow. Synchronize GDB thread and Emacs thread.
18236 (gdb-select-thread): New command which selects current thread.
18237 (gdb-invalidate-frames, gdb-invalidate-locals)
18238 (gdb-invalidate-registers): Use --thread option.
18240 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18242 * net/tramp.el (top): Make check for tramp-gvfs loading more
18244 (tramp-handle-insert-file-contents): `unwind-protect' must be
18245 inside `with-parsed-tramp-file-name'.
18247 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18250 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18252 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18253 directory if CLASSPATH is not set.
18255 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18257 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18259 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18261 2009-08-02 Kevin Ryde <user42@zip.com.au>
18263 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18264 Update freshmeat link. Delete newsforge.com as it seems gone.
18266 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18268 * select.el (x-set-selection): Doc fix (Bug#4021).
18270 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18272 * help-fns.el (describe-variable): Treat list return values from
18273 dir-locals-find-file properly (Bug#4005).
18275 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18277 * net/tramp.el (tramp-debug-message): Print also microseconds.
18279 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18281 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18283 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18284 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18287 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18288 (tramp-get-file-property): Use it.
18290 * autorevert.el (auto-revert-handler):
18291 Allow `auto-revert-tail-mode' for remote files.
18293 2009-08-02 Jason Rumney <jasonr@gnu.org>
18295 * minibuffer.el (read-file-name): Treat confirm options to
18296 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18298 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18300 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18301 (font-lock-variable-name-face, font-lock-constant-face):
18302 Darken the colors for light backgrounds.
18304 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18306 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18307 month names. (Bug#3987)
18309 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18311 * simple.el (line-move-finish): Pass whole number to
18312 line-move-to-column.
18313 (line-move-visual): Perform hscroll to the recorded position.
18315 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18317 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18319 2009-07-29 Alan Mackenzie <acm@muc.de>
18321 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18323 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18325 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18326 (gdb-place-breakpoints): Use full path when setting breakpoints.
18328 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18330 * calc/calc.el (calc-mode-map): Add keybinding for
18331 `calc-transpose-lines'.
18333 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18335 * calc/calc-misc.el (calc-transpose-lines): New function.
18337 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18339 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18340 Simplify check for out-of-band methods.
18341 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18342 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18344 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18346 * vc-git.el (vc-git-checkin): Fix typo.
18348 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18350 * progmodes/js2-mode.el: New file.
18352 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18354 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18355 (gud-menu-map): Adjust tooltip accordingly.
18357 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18359 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18360 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18362 * add-log.el (change-log-mode-map): Add a menu.
18364 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18366 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18367 function returns nil.
18368 (dbus-handle-event): Handle special return value :ignore.
18369 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18371 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18373 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18376 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18380 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18382 * term/pc-win.el (x-display-name, x-colors)
18383 (x-select-enable-clipboard, x-select-text): Doc fix.
18385 * term/common-win.el (x-display-name, x-colors): Doc fix.
18387 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18388 (xw-defined-colors): Doc fix.
18390 * w32-fns.el (x-select-text, x-setup-function-keys)
18391 (x-get-selection, x-set-selection): Doc fix.
18393 * term/x-win.el (x-select-text, x-setup-function-keys)
18394 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18396 * select.el (x-set-selection): Doc fix.
18398 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18400 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18401 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18402 "IsNSSSupportAvailable" method is not available.
18403 Reported by Steve Youngs <steve@sxemacs.org>.
18405 2009-07-24 Kenichi Handa <handa@m17n.org>
18407 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18408 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18409 (build-unicode-category-table): Fix range checks.
18411 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18413 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18414 the buffer we try to sync is current when calling
18417 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18418 not show up to date files.
18420 2009-07-24 Glenn Morris <rgm@gnu.org>
18422 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18423 Add autoload cookies. If necessary, initialize.
18424 (elint-log): Handle non-file buffers.
18425 (elint-initialize): Add optional argument to reinitialize.
18426 (elint-find-builtin-variables): Save excursion.
18428 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18430 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18433 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18435 * vc.el (vc-print-log-internal): New function, split out from ...
18436 (vc-print-log): ... here.
18437 (vc-dir-move-to-goal-column): Declare.
18439 * vc-git.el (vc-git-add-signoff): New variable.
18440 (vc-git-checkin): Use it.
18441 (vc-git-toggle-signoff): New function.
18442 (vc-git-extra-menu-map): Bind it to menu.
18443 (vc-git--run-command-string): Accept a nil FILE argument.
18444 (vc-git-stash-list): New function.
18445 (vc-git-dir-extra-headers): Use it.
18447 2009-07-23 Glenn Morris <rgm@gnu.org>
18449 * help-fns.el (describe-variable): Describe ignored and risky local
18450 variables in a similar way to that in which we describe safe ones.
18452 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18453 (byte-compile-output-file-form, byte-compile-output-docform)
18454 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18455 Give some more local variables with common names a "bytecomp-" prefix,
18456 so as not to shadow things during compilation.
18457 * emacs-lisp/cl-macs.el (load-time-value)
18458 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18459 `outbuffer' to `bytecomp-outbuffer'.
18461 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18462 since the next two variables cover them automatically now.
18463 (elint-builtin-variables, elint-autoloaded-variables): New.
18464 (elint-unknown-builtin-args): Remove all members, since they can be
18465 parsed automatically now.
18466 (elint-extra-errors): New.
18467 (elint-env-add-env, elint-env-add-macro): Use cadr.
18468 (elint-current-buffer): Use or. Change final message.
18469 (elint-get-top-forms): Use line-end-position.
18470 (elint-init-env): Use cadr. Handle autoload, declare-function,
18472 (elint-add-required-env): Doc fix. Use or. Standardize error.
18473 (regexp-assoc): Remove unused function.
18474 (elint-top-form): Set elint-current-pos, to record the start of the
18475 top-level form, for compilation-mode.
18476 (elint-form): Trap errors in macro expansion. Use dolist.
18477 (elint-unbound-variable): Use elint-builtin-variables and
18478 elint-autoloaded-variables.
18479 (elint-get-args): Use cadr, or.
18480 (elint-check-cond-form): Use dolist, cadr.
18481 (elint-check-condition-case-form): Doc fix. Use cadr.
18482 Use elint-extra-errors.
18483 (elint-log): New function.
18484 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18485 Distinguish errors and warnings.
18486 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18487 Use a bytecomp-style format.
18488 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18489 (elint-get-log-buffer): Use compilation mode. Disable undo.
18490 Don't truncate lines.
18491 (elint-initialize): Set builtin and autoloaded variable lists.
18492 Only process elint-unknown-builtin-args if non-nil.
18493 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18495 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18497 2009-07-22 Kevin Ryde <user42@zip.com.au>
18499 * net/newst-backend.el (newsticker--parse-atom-1.0)
18500 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18501 (newsticker--parse-rss-1.0):
18502 * progmodes/idlwave.el (idlwave-mode):
18503 * progmodes/idlw-shell.el (idlwave-shell-mode):
18504 * progmodes/vera-mode.el (vera-mode):
18505 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18506 * progmodes/vhdl-mode.el (vhdl-mode):
18507 * textmodes/table.el (table-generate-source)
18508 (table--warn-incompatibility):
18509 Hyperlink urls in docstrings with URL `...'.
18511 2009-07-22 Glenn Morris <rgm@gnu.org>
18513 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18514 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18515 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18516 Remove leading * from defcustom docs.
18518 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18520 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18522 (list-load-path-shadows): Optionally, just return shadows as a string.
18524 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18526 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18528 * mail/rmailedit.el (rmail-edit-mode):
18529 Use auto-save-include-big-deletions.
18531 * mail/rmail.el (rmail-variables):
18532 Use auto-save-include-big-deletions.
18534 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18537 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18539 * calc/calc.el (calc-undo-length): New variable.
18540 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18542 2009-07-21 Richard Stallman <rms@gnu.org>
18544 * files.el (auto-save-mode): Handle buffer-save-size = -2
18547 2009-07-21 Glenn Morris <rgm@gnu.org>
18549 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18551 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18553 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18554 silence compiler. Instead...
18555 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18556 (ps-print-ensure-fontified): Update for above function name changes.
18558 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18559 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18560 silence compiler. Instead...
18561 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18562 (mh-show-buffer): Only define for compiler.
18563 (pr-mh-current-message): Update for above function name changes.
18565 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18567 (find-file-noselect, insert-file-1): Update for above change.
18569 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18571 * mail/mailclient.el (mailclient-send-it): Fix message.
18573 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18574 (edebug-eval): Check cl-debug-env is bound.
18575 (print-level, print-circle): Don't redefine built-in variables.
18577 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18578 (custom-print-vectors): Remove old comments from doc.
18580 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18581 (emerge-version): Make the variable an obsolete alias for the
18582 emacs-version variable. Make the function obsolete.
18583 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18584 Emerge options, rather than merging in into the main Options menu.
18585 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18586 and auto advance modes. Disable edit/fast items when not relevant.
18588 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18590 * term/vt420.el (terminal-init-vt420): Fix typo.
18592 2009-07-20 Sam Steingold <sds@gnu.org>
18594 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18595 variable (removed from compile.el on 2004-03-11).
18597 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18599 * files.el (hack-local-variables-filter): Fix last change.
18601 2009-07-19 Juri Linkov <juri@jurta.org>
18603 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18604 (dir-local-variables-alist): New buffer-local variable.
18605 (hack-local-variables-filter): If variable is not dir-local,
18606 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18607 because file-local overrides dir-local.
18608 (c-postprocess-file-styles) <declare-function>:
18609 Remove obsolete declaration.
18610 (hack-dir-local-variables): Add dir-local variable/value pair to
18611 `dir-local-variables-alist' and remove duplicates. Doc fix.
18613 * help-fns.el (describe-variable): Add information about
18614 file-local and dir-local variables.
18616 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18618 * files.el (hack-local-variables-filter): Rewrite.
18620 2009-07-19 Glenn Morris <rgm@gnu.org>
18622 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18623 Silence compiler by only defining on XEmacs.
18625 * international/mule.el (auto-coding-regexp-alist): Only match
18626 BABYL... at the start of buffer, not of lines. (Bug#3790)
18628 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18629 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18630 (cal-menu-context-mouse-menu): Doc fix.
18632 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18634 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18636 2009-07-18 Juri Linkov <juri@jurta.org>
18638 * info.el: Virtual Info keyword finder.
18639 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18640 (Info-finder-file): New variable.
18641 (Info-finder-find-file): New function.
18642 (finder-known-keywords, finder-package-info)
18643 (find-library-name, lm-commentary): Use defvar and
18644 declare-function to silence compiler warnings.
18645 (Info-finder-find-node): New function.
18646 (info-finder): New command.
18648 * subr.el (process-kill-buffer-query-function): New function.
18649 (add-hook)<kill-buffer-query-functions>: Add hook
18650 `process-kill-buffer-query-function'.
18652 2009-07-18 Alan Mackenzie <acm@muc.de>
18654 * progmodes/cc-mode.el (c-before-hack-hook)
18655 (c-postprocess-file-styles): Give invocation of `c-set-style'
18656 DONT-OVERRIDE parameter of t. Already set style variables will
18657 thus not be overridden by style settings given by `c-file-syle'.
18659 * files.el (hack-local-variables-filter): Remove entries with
18660 duplicate keys from `file-local-variables-alist'.
18662 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18664 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18665 x-set-selection if display-selections-p returns nil for the
18668 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18670 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18672 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18674 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18675 Accept nil in addition to a regexp.
18676 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18677 Accept nil in addition to a regexp.
18678 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18679 buffers that have an associated file. Handle nil values of
18680 desktop-buffers-not-to-save and desktop-files-not-to-save.
18683 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18684 (x-disown-selection-internal): New functions.
18686 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18688 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18690 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18691 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18693 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18695 * simple.el (set-mark): Revert last change.
18697 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18699 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18700 rendering of pngs is not possible instead of messaging a long
18703 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18705 * w32-fns.el (x-selection-owner-p): New function.
18707 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18708 (mouse-yank-at-click, mouse-yank-primary):
18709 If select-active-regions is non-nil, deactivate the mark before
18712 * simple.el (deactivate-mark, set-mark): Only save selection if we
18715 2009-07-17 Kenichi Handa <handa@m17n.org>
18717 * case-table.el (describe-buffer-case-table): Fix for the case
18718 that KEY is a cons.
18720 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18722 * vc-rcs.el (vc-rcs-find-file-hook):
18723 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18725 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18727 * net/tramp.el (tramp-wait-for-output): Handle the case when
18728 commands do not return a newline but a null byte before the shell
18731 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18733 * term/ns-win.el (ns-set-alpha): Don't declare.
18734 (ns-set-background-alpha): Remove function.
18736 2009-07-16 Kevin Ryde <user42@zip.com.au>
18738 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18739 y-or-n-p, for safety.
18741 2009-07-16 Richard Stallman <rms@gnu.org>
18743 * files.el (auto-save-mode): If buffer-saved-size is -2,
18746 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18747 (rmail-retry-ignored-headers): Add more uninteresting fields.
18749 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18751 * net/rcirc.el (rcirc): Use history variables.
18752 (rcirc-server-name-history, rcirc-nick-name-history)
18753 (rcirc-server-port-history): New variables.
18755 2009-07-15 Kenichi Handa <handa@m17n.org>
18757 * international/mule-cmds.el (set-language-environment-charset):
18758 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18761 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18762 Delete unibyte-display.
18764 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18766 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18768 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18770 * simple.el (deactivate-mark): Optional argument FORCE.
18771 (set-mark): Use deactivate-mark.
18773 * info.el (Info-search): No need to check transient-mark-mode
18774 before calling deactivate-mark.
18776 * select.el (x-set-selection): Doc fix.
18777 (x-valid-simple-selection-p): Allow buffer values.
18778 (xselect--selection-bounds): Handle buffer values.
18779 Suggested by David De La Harpe Golden.
18781 * mouse.el (mouse-set-region, mouse-drag-track):
18782 Call copy-region-as-kill before setting the mark, to let
18783 select-active-regions work.
18785 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18787 * simple.el (deactivate-mark): If select-active-regions is
18788 non-nil, copy the selection data into a string.
18789 (activate-mark): If select-active-regions is non-nil, set the
18790 selection to the current buffer.
18791 (set-mark): Update selection if select-active-regions is non-nil.
18793 * select.el (x-valid-simple-selection-p): Allow buffer values.
18795 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18797 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18798 and more featureful message-mode.
18800 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18802 * select.el (x-set-selection): Doc fix.
18803 (x-valid-simple-selection-p): Disallow selection data consisting
18804 of a list or cons of integers, since that is not used.
18805 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18806 (xselect-convert-to-string, xselect-convert-to-length)
18807 (xselect-convert-to-filename, xselect-convert-to-charpos)
18808 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18810 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18812 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18813 output in -break-info command (Emacs bug #3794).
18815 2009-07-14 Glenn Morris <rgm@gnu.org>
18817 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18818 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18819 (edebug-print-length, edebug-print-level, edebug-print-circle)
18820 (edebug-sit-for-seconds, edebug-view-outside)
18821 (edebug-bounce-point, edebug-set-global-break-condition)
18822 (edebug-Go-nonstop-mode, edebug-trace-mode)
18823 (edebug-Trace-fast-mode, edebug-continue-mode)
18824 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18825 (edebug-visit-eval-list): Doc fixes.
18827 * subr.el (def-edebug-spec): Doc fix.
18829 2009-07-14 Kenichi Handa <handa@m17n.org>
18831 * international/characters.el: Fix setting of category ?C.
18833 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18835 * term/ns-win.el (x-select-font): defalias x-select-font to
18836 ns-popup-font-panel instead of generate-fontset-menu.
18838 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18840 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18842 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18844 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18845 the PK\003\004 header (Bug#3770).
18847 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18849 * pcomplete.el (pcomplete-comint-setup): Check for
18850 shell-dynamic-complete-filename too.
18852 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18854 * simple.el (temporary-goal-column): Change the value for
18855 line-move-visual to a cons cell.
18856 (line-move-visual): Record or set the window hscroll, if
18857 necessary (Bug#3494).
18858 (line-move-1): Handle cons value of temporary-goal-column.
18860 2009-07-11 Kenichi Handa <handa@m17n.org>
18862 * international/mule-diag.el (describe-character-set): Don't show
18865 2009-07-10 Sam Steingold <sds@gnu.org>
18867 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18868 Omake sometimes indents the errors it prints, so allow all
18869 regexps to start with spaces.
18871 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18873 * cus-edit.el (customize-changed-options-previous-release):
18874 Bump value to 22.1. (Bug#3804)
18876 2009-07-08 Sam Steingold <sds@gnu.org>
18878 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18879 to be a cons cell (test . ignored-directory) to selectively ignore
18880 some directories depending on the location of the search.
18882 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18884 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18885 remote user is root, on the local host.
18886 (tramp-local-host-p): Either the local user or the remote user
18887 must be root. (Bug#3771)
18889 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18891 * progmodes/gdb-mi.el (gdb): Remove description of
18892 gdb-use-separate-io-buffer.
18893 (menu): Don't allow toggling of or enable
18894 gdb-use-separate-io-buffer from menubar.
18896 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18898 * mail/unrmail.el (unrmail): Make sure the message ends with two
18899 newlines (Bug#3769).
18901 2009-07-08 Glenn Morris <rgm@gnu.org>
18903 * calendar/calendar.el (calendar-current-date): Rework previous change.
18905 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18907 * calendar/calendar.el (calendar-current-date):
18908 Add an optional argument giving an offset from today.
18910 2009-07-08 Glenn Morris <rgm@gnu.org>
18912 * tutorial.el (tutorial--describe-nonstandard-key):
18913 Adjust the message for when a key has been unbound.
18914 (help-with-tutorial): Hide the arch-tag.
18916 2009-07-08 Kenichi Handa <handa@m17n.org>
18918 * international/fontset.el (setup-default-fontset): For each
18919 script, append (not set) font-specs.
18921 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18924 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18926 * progmodes/gdb-mi.el (gdb-init-1): Move sending
18927 -data-list-register-names to ...
18928 (gdb-starting): ... here because GDB 7.0 requires execution to
18929 have started when using this MI command.
18930 (gdb-set-header): New function to distinguish select and
18931 unselected tabs in gdb buffers.
18932 (gdb-propertize-header): New macro that uses gdb-set-header.
18933 (gdb-breakpoints-header, gdb-locals-header): Use it.
18934 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18936 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
18938 * Makefile.in (ELCFILES): Remove fadr.elc.
18940 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
18942 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18943 may contain frame information, so `string-match' should be used.
18944 (gdb-update): Disassembly is invalidated through
18945 `gdb-get-selected-frame'.
18946 (gdb-pad-string): New function to pad string with spaces.
18947 (gdb-invalidate-disassembly): Invalidate only if the buffer
18949 (gdb-disassembly-handler-custom): Column alignment.
18950 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18952 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18954 (gdb-frame-handler): Match convention to for disassembly buffer
18956 (gdb-stack-list-frames-handler): Rewritten without regexps.
18957 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18958 not highlight breakpoints without line information.
18959 (gdb-input): Add trailing newline to command.
18961 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18963 (gdb-breakpoints-list-handler-custom): Replacement for
18964 `gdb-break-list-handler'. Using real parser instead of regexps
18966 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18967 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18968 to place breakpoints.
18969 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18971 (gdb-disassembly-handler-custom): Show overlay arrow.
18972 (gdb-disassembly-place-breakpoints): Show breakpoints in
18973 disassembly buffer.
18974 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18975 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18976 instead of parsing breakpoints buffer. Fixed old menu references
18981 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18982 (gdb-memory-address): New variable which holds top address of
18983 memory page shown in memory buffer.
18984 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
18985 New customization variables.
18987 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18988 display the memory buffer.
18989 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18990 buffer display parameters.
18991 (def-gdb-memory-format, gdb-memory-format-binary)
18992 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18993 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18994 Functions for setting memory buffer format.
18995 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18996 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18997 unit size used in memory buffer.
18998 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
18999 Switch to next/previous page of memory buffer.
19000 Now using (bindat-get-field) instead of fadr functions.
19002 2009-07-07 Sam Steingold <sds@gnu.org>
19004 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19005 non-top-level files.
19007 2009-07-07 Kenichi Handa <handa@m17n.org>
19009 * international/mule-cmds.el (reset-language-environment):
19010 Put the highset priority to the charset iso-8859-1.
19012 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19014 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19015 to the end of the line when locating the block (Bug#700).
19017 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19019 * net/tramp.el (tramp-handle-write-region): Flush file properties
19020 in case of short track.
19022 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19024 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19025 Coded custom representation of verilog error regular expressions
19026 to work with Emacs-22's new format.
19027 (verilog-error-regexp-xemacs-alist): Coded custom representation
19028 of verilog error regular expressions to work with XEmacs format.
19029 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19030 error recognition into XEmacs.
19031 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19032 error recognition into Emacs-22.
19034 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19036 * woman.el: Remove stand-alone closing parentheses.
19037 (woman-file-name, woman2-format-paragraphs)
19038 (woman-leave-blank-lines): Code cleanup.
19039 (woman-use-own-frame): Change default to nil.
19040 (woman-italic, woman-bold, woman-unknown, woman-addition):
19041 Change defaults to inherit from default faces.
19042 (woman2-process-escapes): Consume the newline after a stand-alone
19043 filler character (Bug#3651).
19045 2009-07-06 Glenn Morris <rgm@gnu.org>
19047 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19048 (top-level): Move provide to the end.
19049 (ffap): Remove defunct URL from custom group.
19051 * subr.el (eval-after-load): Doc fix.
19053 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19055 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19056 `calc-embedded-word' is called twice.
19058 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19060 * files.el (find-alternate-file-other-window, find-alternate-file):
19061 Obey confirm-nonexistent-file-or-buffer.
19063 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19065 * dired-aux.el (dired-show-file-type): Handle remote files.
19067 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19069 * desktop.el (desktop-globals-to-save):
19070 Add file-name-history (Bug#2750).
19072 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19074 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19076 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19078 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19079 property on entire argument since this is what eshell-lisp-command
19082 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19084 * net/tramp-gvfs.el (tramp-gvfs-methods)
19085 (tramp-gvfs-zeroconf-domain)
19086 (tramp-bluez-discover-devices-timeout): Add version flag.
19087 (tramp-gvfs-handler-mounted-unmounted)
19088 (tramp-gvfs-connection-mounted-p): Polish handling of
19089 incompatibilities between GVFS 0.2 and 1.0.
19091 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19093 * cus-start.el (all): Add make-pointer-invisible.
19095 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19097 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19098 formatted correctly.
19100 2009-07-02 Juri Linkov <juri@jurta.org>
19102 * info.el: Virtual Info files and nodes.
19103 (Info-virtual-files, Info-virtual-nodes): New variables.
19104 (Info-current-node-virtual): New variable.
19105 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19107 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19108 to check for a virtual file instead of checking a fixed list
19110 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19111 instead of ad-hoc processing of "dir" and (apropos history toc).
19112 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19113 instead of ad-hoc processing of "dir" and (apropos history toc).
19114 Reread a file when moving from a virtual node.
19115 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19116 (Info-directory-toc-nodes, Info-directory-find-file)
19117 (Info-directory-find-node): New functions.
19118 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19119 (Info-history): Move part of code to
19120 `Info-history-find-node'.
19121 (Info-history-toc-nodes, Info-history-find-file)
19122 (Info-history-find-node): New functions.
19123 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19124 (Info-toc): Move part of code to `Info-toc-find-node'.
19125 (Info-toc-find-node): New function.
19126 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19127 the current Info file name to references because now the node
19128 "*TOC*" belongs to the same Info manual.
19129 (Info-toc-build): Rename from `Info-build-toc'.
19130 (Info-toc-nodes): Rename input argument `file' to `filename'.
19131 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19132 instead of ad-hoc processing of ("dir" apropos history toc).
19133 (Info-index-nodes): Use Info-virtual-file-p
19134 to check for a virtual file instead of checking a fixed list
19136 (Info-index-node): Add check for `Info-current-node-virtual'.
19137 Raise `save-match-data' higher up the tree to contain
19138 `search-forward' too (bug fix).
19139 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19140 (Info-virtual-index-nodes): New variable.
19141 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19142 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19143 (Info-apropos-file, Info-apropos-nodes): New variables.
19144 (Info-apropos-toc-nodes, Info-apropos-find-file)
19145 (Info-apropos-find-node, Info-apropos-matches): New functions.
19146 (info-apropos): Move part of code to `Info-apropos-find-node' and
19147 `Info-apropos-matches'.
19148 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19149 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19150 for a virtual file instead of checking a fixed list of node names.
19152 * simple.el (async-shell-command): New command.
19154 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19156 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19157 instead of `mount-info'.
19159 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19161 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19162 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19164 2009-07-02 Kenichi Handa <handa@m17n.org>
19166 * international/mule.el (set-keyboard-coding-system): Force *-unix
19167 coding-system to avoid eol conversion.
19169 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19171 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19172 Add handler for `process-file', `shell-command' and
19173 `start-file-process'.
19174 (tramp-gvfs-handle-shell-command)
19175 (tramp-gvfs-handle-start-file-process)
19176 (tramp-gvfs-handle-process-file): New defuns.
19177 (tramp-synce-list-devices): Simplify check for existence of property.
19179 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19181 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19183 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19185 * language/korean.el (set-language-info-alist): Add korean-cp949,
19188 2009-07-01 Kenichi Handa <handa@m17n.org>
19190 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19192 * international/encoded-kb.el: Deleted.
19194 * international/mule.el (set-keyboard-coding-system): Perform the
19195 necessary setup here instead of calling encoded-kbd-setup-display.
19197 2009-07-01 Glenn Morris <rgm@gnu.org>
19199 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19201 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19203 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19205 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19207 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19208 Handle also the 'rename case, when setting file modes. (Bug#3712)
19209 (tramp-default-file-modes): Remove execute permissions.
19211 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19212 (top): Add a default for "synce" in `tramp-default-user-alist'.
19213 Add completion function for "synce" method.
19214 (tramp-hal-service, tramp-hal-path-manager)
19215 (tramp-hal-interface-manager, tramp-hal-interface-device):
19217 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19218 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19221 * net/trampver.el: Update release number.
19223 2009-06-30 Kenichi Handa <handa@m17n.org>
19225 * international/fontset.el (setup-default-fontset): Add CJK fonts
19226 for symbols and the other miscellaneous characters.
19228 * language/korea-util.el (setup-korean-environment-internal):
19229 Make char-width-table suitable for Korean environments.
19230 (exit-korean-environment): Cancel above.
19232 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19233 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19234 setup-function to make char-width-table suitable for respective
19235 environments, and an exit-function to cancel that.
19237 * language/japan-util.el (setup-japanese-environment-internal):
19238 Call use-cjk-char-width-table with arg `ja_JP'.
19240 * international/characters.el (cjk-char-width-table): Delete it.
19241 (cjk-char-width-table-list): New variable.
19242 (use-cjk-char-width-table): New arg local-name.
19243 (use-default-char-width-table): Fix for the case that Emacs is
19244 already using the default char-width-table.
19246 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19248 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19249 modes mandatory. (Bug#3712)
19251 2009-06-29 Alan Mackenzie <acm@muc.de>
19253 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19254 correction between the visible width of TABs and their number of bytes.
19256 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19258 * server.el (server-buffer-done): Prevent kill-buffer from
19259 prompting by clearing the buffer modification flag (Bug#3696).
19261 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19263 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19264 (verilog-endcomment-reason-re): Support unique case and priority case.
19265 (verilog-basic-complete-re): Support localparam lineup.
19266 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19267 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19269 (verilog-leap-to-case-head): Now support *nested* unique &
19270 priority case statements.
19271 (verilog-auto-lineup): Make just declarations the default (as it
19273 (verilog-leap-to-case-head): Support priority/unique case statements.
19274 (verilog-auto-lineup): Rework to give users radio buttons to
19275 select the various styles of automatic lineup.
19276 (verilog-error-regexp-alist): Rework to support the XEmacs style
19277 of error regular expressions from compilers, lint tools &
19278 simulators. Note that GNU Emacs has made it impossible for a mode
19279 to load such things.
19280 (electric-verilog-terminate-line, verilog-indent-declaration)
19281 (verilog-auto-wiure): Rework for radio button selection of
19282 auto-lineup selection of specification of auto lineup.
19283 (verilog-beg-of-statement-1): Redesign to support proper operation
19284 in additional code, based on testing with auto-lineup.
19285 (verilog-calculate-indent, assignments & declarations)
19286 (verilog-backward-token): Enhance to support auto-lineup of
19287 assignments & declarations.
19288 (verilog-in-directive-p, verilog-at-struct-p): New function for
19289 easy test of whether we are.
19290 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19291 to support safe execution at almost anyline.
19292 (verilog-calc-1): Properly support indenting deep inside generate
19294 (verilog-init-font): Remove definition & use of verilog-init-font,
19295 as it is redundant with font-lock-defaults.
19296 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19297 to avoid circular calls if syntax-ppss is a function (as is the
19298 case now in 22.x GNU Emacs) as that function would sometimes call
19299 itself, leading to (nearly) infinite recursion.
19300 (verilog-ovm-begin-re, verilog-ovm-end-re)
19301 (verilog-ovm-statement-re, verilog-leap-to-head)
19302 (verilog-backward-token): Add support for OVM macros. Some are
19303 complete statements, and others open and close scopes like begin
19305 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19306 (verilog-defun-level-generate-only-re): Really fix the defun-list
19308 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19309 coverpoint, constraint and cross statements.
19310 (verilog-defun-level-list, verilog-generate-defun-level-list)
19311 (verilog-all-defun-level-list): Redo these specifications - it is
19312 too hard to support eval-when compile aggregation of lists also
19313 built at when-compile time.
19314 (verilog-defun-level-list): Place defconsts of variables used in
19315 building regular expressions which are built in eval-when-compile
19316 bodies in the same eval-when-compile body to facilitate compile
19318 (verilog-beg-block-re-ordered): Support indenting
19319 virtual/protected tasks and functions.
19320 (verilog-defun-level-list, verilog-in-generate-region-p)
19321 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19322 indentation of some module items (generate items).
19323 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19324 across virtual/protected tasks and functions.
19326 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19328 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19329 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19330 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19331 in concatenations. Reported by Yishay Belkind.
19332 (verilog-auto-ascii-enum): Support one-hot state machines in
19333 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19334 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19335 modport in AUTOINST and add vl-modport for users.
19336 Reported by David Rogoff.
19337 (verilog-auto-inout-module, verilog-auto-inst)
19338 (verilog-decls-get-interfaces, verilog-insert-definition)
19339 (verilog-insert-one-definition, verilog-read-decls)
19340 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19341 (verilog-sig-modport, verilog-signals-combine-bus)
19342 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19343 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19344 Suggested by David Rogoff.
19345 (verilog-repair-open-comma): Fix non-insertion of comma when
19346 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19347 (verilog-make-width-expression): Simplify [A-1:0] expression
19348 widths to just {A{1'b0}}.
19349 (verilog-mode): Cleanup checkdoc warnings.
19350 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19351 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19352 inputs/outputs or data type. Suggested by Vasu Kandadi.
19353 (next-error-last-buffer): Fix byte-compiler warning.
19354 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19355 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19356 or shell command text during AUTO expansion. Suggested by Tad Truex.
19357 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19358 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19359 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19360 in AUTOINOUT. Reported by Matthew Lovell.
19361 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19362 causing use of <= assignments. Reported by Alex Reed.
19363 (verilog-read-decls): Fix triand, trior, wand, wor to be
19364 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19365 (verilog-extended-complete-re): Support import "DPI-C" functions.
19366 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19367 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19368 (verilog-insert-date, verilog-insert-year)
19369 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19370 Windows systems. Reported by Michael Potts.
19371 (verilog-read-module-name): Fix AUTOINST when the child module
19372 declaration's name is a tick define. Reported by Elliot Mednick.
19373 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19374 passed to next parameter's definition. Reported by Bruce T.
19375 (verilog-read-decls): Fix detecting "parameter int" when using
19376 AUTOINSTPARAM. Reported by Bruce T.
19377 (verilog-goto-defun): Fix goto not finding modules unless first
19378 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19379 (verilog-mode): Expand -f flag arguments on entry to mode so
19380 verilog-goto-defun will work. Reported by Lawrence Butcher.
19381 (verilog-getopt): Expand environment variables in -f file
19382 arguments. Suggested by Lawrence Butcher.
19383 (verilog-set-define): Fix "Symbol's value as variable is void"
19384 when reading enumerations.
19385 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19386 Suggested by Stephen Peltan.
19387 (verilog-read-defines): Fix reading of enumerations in include
19388 files. Reported by Steve Peltan.
19390 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19392 * files.el (trash-directory): Fix defcustom type.
19394 2009-06-28 Juri Linkov <juri@jurta.org>
19396 * help-fns.el (describe-function-1): Correctly locate adviced
19397 functions in hyperlink (Bug#2438).
19399 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19401 * files.el (trash-directory): Change default to nil.
19402 (move-file-to-trash): If trash-directory is nil and
19403 system-move-file-to-trash is unbound, perform freedesktop-style
19406 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19408 * files.el (move-file-to-trash): Add freedesktop trash
19411 2009-06-28 Glenn Morris <rgm@gnu.org>
19413 * autorevert.el (global-auto-revert-non-file-buffers)
19414 (global-auto-revert-mode): Doc fixes.
19416 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19418 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19420 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19422 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19423 opened an X connection before calling x-get-resource (Bug#3194).
19425 * play/doctor.el: Remove reference to obsolete website.
19426 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19428 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19430 Remove find-file-not-found-hook VC method. (Bug#2757)
19431 * vc-hooks.el (vc-file-not-found-hook)
19432 (vc-default-find-file-not-found-hook): Remove functions.
19433 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19434 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19437 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19439 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19441 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19442 compatibility function for `looking-back'.
19444 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19445 Use `ispell-looking-back'.
19447 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19449 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19450 rather than `filename'.
19452 2009-06-23 Miles Bader <miles@gnu.org>
19454 * face-remap.el (text-scale-set): New function.
19456 2009-06-23 Glenn Morris <rgm@gnu.org>
19458 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19460 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19462 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19464 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19466 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19467 Simplify Persian conditionals.
19469 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19470 variable `filename'.
19472 * comint.el (comint-insert-input): Doc fix.
19474 * Makefile.in (ELCFILES): Fix typo in previous change.
19476 2009-06-23 Miles Bader <miles@gnu.org>
19478 * cus-start.el: Add entry for `recenter-redisplay'.
19480 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19482 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19483 Add an optional argument for the backend, use it instead of
19484 calling vc-backend.
19485 (vc-mode-line): Add an optional argument for the backend.
19486 Pass the backend to vc-state and vc-working-revision. Move code for
19487 special handling for vc-state being a buffer to ...
19489 * vc-rcs.el (vc-rcs-find-file-hook):
19490 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19492 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19493 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19494 vc-stay-local-p and vc-mode-line calls.
19496 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19497 (vc-cvs-diff, vc-cvs-annotate-command)
19498 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19499 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19500 vc-mode-line calls.
19502 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19504 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19505 backend when calling vc-mode-line.
19506 (vc-register): Do not create a closure for calling the vc register
19507 function, call it directly.
19509 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19511 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19512 to make it obvious item can be clicked.
19514 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19516 2009-06-23 Kenichi Handa <handa@m17n.org>
19518 * language/korea-util.el (korean-key-bindings): Change the binding
19519 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19522 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19524 Sync with Tramp 2.1.16.
19526 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19528 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19529 when a loading of a package fails. Completion function for rsync
19530 is `tramp-completion-function-alist-ssh'.
19531 (all): Replace all calls of `split-string' and
19532 `tramp-split-string' by `tramp-compat-split-string'.
19533 (tramp-default-method): Use `tramp-compat-process-running-p'.
19534 (tramp-default-proxies-alist): Allow also Lisp forms.
19535 (tramp-remote-path): Add choice "Private Directories".
19536 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19537 (tramp-domain-regexp): Allow also "-", "_" and ".".
19538 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19539 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19540 (tramp-debug-message): Insert header line in debug buffer.
19541 (tramp-handle-directory-files-and-attributes-with-stat):
19542 Care about filenames with spaces, or starting with "-".
19543 (tramp-handle-dired-uncache): New defun.
19544 (tramp-handle-insert-directory): Don't flush the directory from
19545 cache, this is handled by `dired-uncache' now.
19546 (tramp-handle-insert-file-contents): Improve error handling.
19547 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19548 Quote `tramp-end-of-output'.
19549 (tramp-action-password): Improve trace message.
19550 (tramp-check-for-regexp): Both echoes must be present, before removing.
19551 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19552 (tramp-compute-multi-hops): Eval cons cells of
19553 `tramp-default-proxies-alist'.
19554 (tramp-maybe-open-connection): Use the same command pattern for
19555 first hop and further hops.
19556 (tramp-wait-for-output): Remove handling of newlines.
19557 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19558 (tramp-split-string): Remove function. It is handled in
19561 * net/tramp-cmds.el (tramp-bug):
19562 Recommend `tramp-cleanup-all-connections' in the bug mail.
19564 * net/tramp-compat.el (tramp-compat-split-string)
19565 (tramp-compat-process-running-p): New defuns.
19567 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19568 for `dired-uncache'.
19570 * net/tramp-gvfs.el: New package.
19572 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19573 Add handler for `dired-uncache'.
19574 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19576 * net/trampver.el: Update release number. Make version check fit
19579 2009-06-22 Jim Meyering <meyering@redhat.com>
19581 Automatically handle .xz suffix (XZ-compressed files), too.
19582 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19583 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19585 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19586 Nick Roberts <nickrob@snap.net.nz>
19588 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19589 repository (http://sphinx.net.ru/hg/gdb-mi/).
19591 2009-06-22 Glenn Morris <rgm@gnu.org>
19593 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19594 `mode' and `eval' entries. (Bug#3430)
19596 * Makefile.in (ELCFILES): Add fadr.elc.
19598 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19599 differing behavior of \n and ^ in strings. (Bug#3385)
19601 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19603 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19605 (lisp-indent-function): Make it a defcustom.
19607 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19609 * progmodes/gdb-ui.el: Replace with ...
19610 * progmodes/gdb-mi.el: ... this file.
19611 * progmodes/gud.el: Modify for gdb-mi.el.
19613 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19615 * fadr.el: New file.
19617 See ChangeLog.14 for earlier changes.
19619 ;; Local Variables:
19623 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19625 This file is part of GNU Emacs.
19627 GNU Emacs is free software: you can redistribute it and/or modify
19628 it under the terms of the GNU General Public License as published by
19629 the Free Software Foundation, either version 3 of the License, or
19630 (at your option) any later version.
19632 GNU Emacs is distributed in the hope that it will be useful,
19633 but WITHOUT ANY WARRANTY; without even the implied warranty of
19634 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19635 GNU General Public License for more details.
19637 You should have received a copy of the GNU General Public License
19638 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.