1 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3 * replace.el: Add "collect" feature to occur.
4 (occur-collect-regexp-history): New var.
5 (occur-read-primary-args): Return a replace string for nlines, if needed.
6 (occur): Extend the meaning of nlines.
8 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
11 (which-func-update-1): Distinguish symbols from strings.
12 (which-function): Stay within 80 columns.
14 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16 * subr.el (with-demoted-errors): Distinguish symbols from strings.
18 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
20 (comment-style): Use comment-styles's docs to describe values.
22 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
24 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
25 and ns-show-prefs (Bug#7535).
27 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
30 2010-12-03 Glenn Morris <rgm@gnu.org>
32 * nxml/nxml-mode.el: Require rng-nxml.
33 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
36 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
37 * nxml/rng-nxml.el, nxml/rng-valid.el:
38 Remove leading `*' from defcustom docs.
40 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
41 (normal-top-level-add-to-load-path, tty-handle-args):
42 Convert comments to basic doc-strings.
44 * net/browse-url.el (browse-url-url-at-point)
45 (browse-url-default-browser): Remove autoload cookies.
47 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
48 Remove more undefined cl functions.
50 * vc/diff.el (diff-sentinel): Make new arguments optional.
51 * ibuf-ext.el (diff-sentinel): Update declaration.
53 2010-12-03 Daiki Ueno <ueno@unixuser.org>
55 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
56 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
57 (epg-context-set-passphrase-callback): Mention that the callback
58 is not called when used with GnuPG 2.x.
60 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
62 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
63 (tramp-file-name-port): Check also for `tramp-default-port'.
64 (tramp-get-connection-name): New defun.
65 (tramp-get-connection-process): Use it.
66 (tramp-debug-message): Extend function exclude list.
67 (tramp-drop-volume-letter): Fix doc string.
69 * net/tramp-cmds.el: Remove solved todo item.
76 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
77 and `tramp-default-user-alist', respectively.
79 * net/tramp-gw.el (tramp-gw-open-connection): Use
80 `tramp-get-connection-name' and `tramp-get-connection-buffer'.
82 * net/tramp-imap.el (tramp-imap-make-iht): Use just
83 `tramp-file-name-port'.
85 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
86 and "psftp". Exchange "%k" marker with options.
87 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
88 Compute size of link target.
89 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
90 `tramp-current-*' up due to gateway methods. Optimze computing of
91 copy arguments. Use `tramp-get-connection-name' and
92 `tramp-get-connection-buffer'. Improve debug messages.
93 (tramp-compute-multi-hops): Remove port determination.
94 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
96 * net/trampver.el: Update release number.
98 2010-12-02 Glenn Morris <rgm@gnu.org>
100 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
101 Avoid infinite loop over windows. (Bug#7492)
103 * progmodes/flymake.el (flymake-check-file-limit):
104 Allow nil to mean "no limit".
105 (flymake-check-patch-master-file-buffer): Update for above change.
106 Allow a .tex file-name extension to be optional.
107 (flymake-master-tex-init): Also match \include statements.
109 2010-11-30 Sam Steingold <sds@gnu.org>
111 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
112 (nxml-parent-document-set): A function to set `nxml-parent-document'.
113 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
114 (nxml-mode-hook): Remove `defcustom' (auto-defined by
115 define-derived-mode').
116 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
117 users who want to call `nxml-parent-document-set'.
119 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
121 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
122 stand-alone lines, since that is handled by log-edit-match-to-eoh
125 2010-11-27 Eduard Wiebe <usenet@pusto.de>
127 * dired.el (dired-get-filename): Replace backslashes with slashes
128 in file names on MS-Windows, needed by `locate'. (Bug#7308)
129 * locate.el (locate-default-make-command-line): Don't consider
130 drive letter and root directory part of
131 `directory-listing-before-filename-regexp'. (Bug#7308)
132 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
134 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
136 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
137 of :smie-open/close-alist.
138 (smie-next-sexp): Make it accept a "start token" as argument.
139 (smie-indent-keyword): Be careful not to misidentify tokens that span
140 more than one line, as empty lines. Add argument `token'.
142 2010-11-27 Kenichi Handa <handa@m17n.org>
144 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
145 multipart subtypes, insert all as usual.
147 * mail/rmail.el: Require rfc2047.
149 2010-11-27 Kenichi Handa <handa@m17n.org>
151 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
152 (rmail-mime-entity-disposition)
153 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
154 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
155 (rmail-mime-save): Handle the case that the button's `data' is a
157 (rmail-mime-insert-text): New function.
158 (rmail-mime-insert-image): Handle the case that DATA is a MIME
160 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
161 (rmail-mime-insert-bulk): New function mostly copied from the old
162 rmail-mime-bulk-handler.
163 (rmail-mime-multipart-handler): Just call
164 rmail-mime-process-multipart.
165 (rmail-mime-process-multipart): New funciton mostly copied from
166 the old rmail-mime-multipart-handler.
167 (rmail-mime-show): Just call rmail-mime-process.
168 (rmail-mime-process): New funciton mostly copied from the old
170 (rmail-mime-insert-multipart, rmail-mime-parse)
171 (rmail-mime-insert, rmail-show-mime)
172 (rmail-insert-mime-forwarded-message)
173 (rmail-insert-mime-resent-message): New functions.
174 (rmail-insert-mime-forwarded-message-function): Set to
175 rmail-insert-mime-forwarded-message.
176 (rmail-insert-mime-resent-message-function): Set to
177 rmail-insert-mime-resent-message.
179 * mail/rmailsum.el: Require rfc2047.
180 (rmail-header-summary): Handle multiline Subject: field.
181 (rmail-summary-line-decoder): Change the default to
182 rfc2047-decode-string.
184 * mail/rmail.el (rmail-enable-mime): Change the default to t.
185 (rmail-mime-feature): Change the default to `rmailmm'.
186 (rmail-quit): Delete the specifal code for rmail-enable-mime.
187 (rmail-display-labels): Likewise.
188 (rmail-show-message-1): Check rmail-enable-mime, and use
189 rmail-show-mime-function for a MIME message. Decode the headers
190 according to RFC2047.
192 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
194 * progmodes/which-func.el (which-func-imenu-joiner-function):
195 Return a string, as expected.
196 (which-function-mode): Make sure we stop any previous timer before
199 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
201 * net/tramp.el (tramp-default-method-alist)
202 (tramp-default-user-alist, tramp-default-proxies-alist):
203 Adapt custom options type. (Bug#7445)
205 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
207 * progmodes/python.el: Add Ipython support (Bug#5390).
208 (python-shell-prompt-alist)
209 (python-shell-continuation-prompt-alist): New options.
210 (python--set-prompt-regexp): New function.
211 (inferior-python-mode, run-python, python-shell):
212 Require ansi-color. Use python--set-prompt-regexp to set the comint
213 prompt based on the Python interpreter.
214 (python--prompt-regexp): New var.
215 (python-check-comint-prompt)
216 (python-comint-output-filter-function): Use it.
217 (run-python): Use a pipe (Bug#5694).
219 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
221 * progmodes/python.el (run-python): Doc fix.
222 (python-keep-current-directory-in-path): New var (Bug#7454).
224 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
226 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
227 Prompt user before actually printing.
229 2010-11-27 Glenn Morris <rgm@gnu.org>
231 * startup.el (package-enable-at-startup, package-initialize):
232 Remove unnecessary declarations.
234 2010-11-27 Eli Zaretskii <eliz@gnu.org>
236 * international/characters.el (glyphless-char-display-control):
237 Exclude newline and TAB from the c0-control group.
239 2010-11-27 Glenn Morris <rgm@gnu.org>
241 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
242 (expand-mail-aliases): Remove unnecessary autoload.
244 * allout.el (allout-command-prefix, allout-mode-map): Declare.
246 * shell.el (shell-dir-cookie-re): Move definition before use.
248 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
249 Replace undefined CL functions.
251 2010-11-26 Eli Zaretskii <eliz@gnu.org>
253 * simple.el (prog-mode): Set bidi-paragraph-direction to
256 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
258 2010-11-26 Glenn Morris <rgm@gnu.org>
260 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
261 diary-outlook-formats can be sensitive to calendar-date-style.
262 (diary-outlook-formats): Simplify the default setting.
263 (diary-from-outlook-internal): Pass subject and body as arguments.
264 Use dolist rather than dotimes. Don't save the diary buffer.
265 (diary-from-outlook-gnus, diary-from-outlook-rmail):
266 Pass subject and body as explicit arguments to the -internal function.
268 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
270 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
271 parsing them. This makes mailto:...?subject=foo\nbar work.
273 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
275 * vc/diff.el (diff): Fix last change.
277 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
279 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
280 (pcase--dontcare-upats): New var.
281 (pcase-let, pcase-let*): Generate better code.
282 Accept the same bodies as `let'.
283 (pcase-dolist): New macro.
284 (pcase--trivial-upat-p): New helper function.
285 (pcase--expand): Strip leading "(let nil" if any.
287 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
289 * mail/mailclient.el (browse-url): Require.
290 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
291 use the external browser function to send the mail (bug#7469).
293 * net/browse-url.el (browse-url-browser-function): Revert the
294 default back to the previous value, since the new value broke
296 (browse-url-mailto-function): New variable for mailto: URLs.
297 (browse-url): Use the new variable for mailto: URLs.
299 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
301 * eshell/esh-cmd.el (eshell-parse-command):
302 * eshell/esh-arg.el (eshell-parse-arguments):
303 * eshell/em-script.el (eshell-source-file):
304 Use with-silent-modifications.
306 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
308 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
309 for a merge location.
311 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
312 (vc-bzr-merge-branch): Always prompt.
313 (vc-bzr-async-command): Use the full branch filename.
315 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
317 * shell.el (shell): Use current-buffer by default if it's already
318 a shell mode buffer and its process is dead.
319 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
321 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
323 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
324 Mention that the keywords should be comma separated.
326 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
328 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
329 Accept optional prefix arg meaning to prompt for a command.
330 (vc-update): Use vc-BACKEND-pull if available. Accept optional
331 prefix arg meaning to prompt for a command.
332 (vc-pull): Alias for vc-update.
334 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
335 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
336 (vc-bzr-merge-branch): New functions, implementing merge-branch
339 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
341 * Makefile.in: Fix up last merge.
343 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
344 (diff-sentinel): Get them as arguments instead.
345 (diff-old-file, diff-new-file, diff-extra-args): Remove.
346 (diff-file-local-copy, diff-better-file-name): New funs.
347 (diff-no-select): Rename from diff-into-buffer.
348 Support buffers additionally to files. Move `buf' arg. Don't display buf.
349 Prefer closures to buffer-local variables.
350 (diff): Adjust accordingly.
351 (diff-buffer-with-file): Move from files.el.
352 * files.el (diff-buffer-with-file): Move to vc/diff.el.
353 (diff-buffer-internal): Remove.
354 (diff-buffer-buffer): Remove.
355 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
356 the buffer name used, and so as not to mess up windows and frames.
358 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
360 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
361 (diff-buffer-internal): New function extracted from diff-buffer-with-file
362 (diff-buffer-with-file): Use it.
363 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
366 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
368 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
369 \ref's or \pageref's value as default instead of initial input.
371 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
373 * files.el (backup-by-copying-when-mismatch): The default value is
376 * startup.el (normal-top-level):
377 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
378 `backup-by-copying-when-mismatch'.
380 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
382 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
384 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
386 * progmodes/python.el (python-font-lock-keywords):
387 Highlight top-level augmented assignments (Bug#6445).
389 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
391 * term/ns-win.el (ns-right-control-modifier)
392 (ns-right-command-modifier): Defvar them.
394 * cus-start.el (all): Add ns-right-control-modifier and
395 ns-right-command-modifier (Bug#7458).
397 2010-11-20 Glenn Morris <rgm@gnu.org>
399 * emacs-lisp/authors.el (authors-ignored-files)
400 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
402 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
404 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
405 (report-emacs-bug-parse-query-results)
406 (report-emacs-bug-create-existing-bugs-buffer): Pass through
407 keywords used for querying the bug database to show them in the
408 existing bugs buffer.
410 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
412 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
414 * info.el (info-tool-bar-map): Add some :vert-only keywords.
416 2010-11-20 Eli Zaretskii <eliz@gnu.org>
418 * international/characters.el (glyphless-char-display-control):
419 Make it a defcustom, with update-glyphless-char-display as its
421 (top level): Don't call update-glyphless-char-display.
423 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
425 Sync with Tramp 2.2.0.
427 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
428 `file-remote-p' (due to compatibility).
430 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
431 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
433 * net/trampver.el: Update release number.
435 2010-11-20 Eli Zaretskii <eliz@gnu.org>
437 * faces.el (glyphless-char): Define value for `pc'.
439 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
441 Implemented a bug querying mechanism.
442 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
443 (report-emacs-bug-create-existing-bugs-buffer)
444 (report-emacs-bug-parse-query-results)
445 (report-emacs-bug-query-existing-bugs): New functions.
447 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
449 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
450 a \ref{} or \pageref{} macro, then use its value as initial input.
452 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
454 * calc/calc-units.el (math-build-units-table-buffer):
455 calc/README: Mention that the TeX specific units won't use the
456 `tex' prefix in TeX mode.
457 calc/calc-lang.el (math-variable-table): Don't use the `tex'
458 prefix for units in TeX mode.
460 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
462 * simple.el (kill-new, kill-append, kill-region):
463 * comint.el (comint-kill-region): Make the yank-handler argument
466 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
468 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
469 that are both openers (resp. closers) and something else.
470 (smie-grammar): Loosen definition of valid values.
471 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
472 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
473 (smie-indent-after-keyword): Adjust users.
474 (smie-indent-keyword): Don't indent empty lines.
476 * vc-hg.el (vc-hg-program): New var.
477 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
478 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
480 2010-11-18 Glenn Morris <rgm@gnu.org>
482 * emacs-lisp/autoload.el (autoload-find-destination): The function
483 coding-system-eol-type may return non-numeric values. (Bug#7414)
485 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
487 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
489 2010-11-18 Eli Zaretskii <eliz@gnu.org>
491 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
493 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
495 * textmodes/picture.el (picture-mouse-set-point): Don't use
496 posn-col-row; explicitly compute the motion based on the posn at
497 the window-start (Bug#7390).
499 2010-11-18 Glenn Morris <rgm@gnu.org>
501 * novice.el (disabled-command-function):
502 Fix 2009-11-15 change. (Bug#7384)
504 2010-11-18 Glenn Morris <rgm@gnu.org>
506 * calendar/calendar.el (diary-iso-date-forms): Make elements
507 mutually exclusive. (Bug#7377)
509 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
511 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
512 when filling the remaining "unconstrained" values.
514 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
516 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
519 * files.el (safe-local-variable-p): Gracefully handle errors.
521 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
522 Use smie-indent-virtual when indenting relative to an opener.
523 (smie-rule-separator): Use smie-rule-parent.
524 (smie-indent-keyword): Consult rules, even for openers at bol.
525 (smie-indent-comment-close): Try to align closer's content.
527 2010-11-18 Glenn Morris <rgm@gnu.org>
529 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
531 2010-11-18 Glenn Morris <rgm@gnu.org>
533 * printing.el (pr-menu-bind): Doc fix.
535 * speedbar.el (speedbar-toggle-images): Doc fix.
537 * progmodes/python.el (python-shell): Doc fix.
539 * wid-edit.el (widget-field-use-before-change)
540 (widget-use-overlay-change): Doc fixes.
542 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
544 Minor cleanup to improve style.
545 * textmodes/rst.el (rst-update-section): Use point-marker.
546 (rst-get-decoration): Eliminate unneeded assignment.
547 (rst-promote-region, rst-straighten-decorations)
548 (rst-section-tree, rst-adjust): Use point-marker.
549 (rst-toc-mode-mouse-goto): Avoid setq.
550 (rst-shift-region-guts, rst-shift-region-left)
551 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
552 (rst-convert-bullets-to-enumeration): Use copy-marker.
554 * minibuffer.el (completion-fail-discreetly): New var.
555 (completion--do-completion): Use it.
557 * electric.el (electric-pair-pairs): New var.
558 (electric-pair-post-self-insert-function): Use it.
559 (electric-layout-post-self-insert-function): Don't insert a before
560 newline unless it's actually needed.
562 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
564 * progmodes/python.el (run-python): Explain why we remove the current
565 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
567 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
569 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
571 * progmodes/octave-mod.el: Rely on elecric-*-modes.
572 (octave-mode-map): Don't bind ;, SPC, and LF.
573 (octave-auto-indent, octave-auto-newline): Remove.
574 (electric-layout-rules): Declare.
575 (octave-mode): Set electric-layout-rules.
576 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
577 (octave-reindent-then-newline-and-indent, octave-electric-semi)
578 (octave-electric-space): Remove.
580 * electric.el (electric-layout-mode): New minor mode.
581 (electric--after-char-pos): New function.
582 (electric-indent-post-self-insert-function): Use it.
583 (electric-layout-rules): New var.
584 (electric-layout-post-self-insert-function): New function.
585 (electric-indent-mode): Make them interact better.
587 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
589 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
590 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
591 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
593 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
595 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
596 Make sure to check inside the word (Bug#6761).
598 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
600 * startup.el (command-line): If the cursorColor resource is set,
601 change the cursor face-spec (Bug#7392).
603 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
605 The main features of the following allout.el changes are:
606 - implement user customization for the allout key bindings
607 - add a customization control by which the user can inhibit use of
608 a trailing Ctrl-H, so by default it's reserved for use with
609 describe-prefix-bindings
610 - adapt to new version of called-interactively-p, while
611 maintaining backwards compatibility with old version
612 - fix hotspot navigation so i works properly with meta-modified keys
614 * allout.el (allout-keybindings, allout-bind-keys)
615 (allout-keybindings-binding, allout-prefixed-keybindings)
616 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
617 (allout-keybindings-list, allout-mode-map-adjustments)
618 (allout-setup-mode-map): Establish allout-mode keymaps as user
619 customizable settings, and also establish a customizable setting which
620 regulates whether or not a trailing control-h is reserved for use with
621 describe-prefix-bindings - and inhibit it by default, so that control-h
622 *is* reserved for describe-prefix-bindings unless the user changes it.
624 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
625 and accurately between modified and unmodified events, and handle
626 modified events more comprehensively.
628 * allout.el (allout-substring-no-properties):
629 Alias to use or provide version of `substring-no-properties'.
630 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
632 * allout.el (allout-next-single-char-property-change):
633 Alias to use or provide version of `next-single-char-property-change'.
634 (allout-annotate-hidden, allout-hide-by-annotation):
635 Use `allout-next-single-char-property-change'.
637 * allout.el (allout-select-safe-coding-system):
638 Alias to use or provide version of `select-safe-coding-system'.
639 (allout-toggle-subtree-encryption):
640 Use `allout-select-safe-coding-system'.
642 * allout.el (allout-set-buffer-multibyte):
643 Alias to use or provide version of `set-buffer-multibyte'.
644 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
646 * allout.el (allout-called-interactively-p): Macro for using the
647 different versions of called-interactively-p identically, depending on
648 the subroutine's argument signature.
649 (allout-back-to-current-heading, allout-beginning-of-current-entry):
650 Use `(interactive "p")' instead of `(called-interactively-p)'.
652 * allout.el (allout-init, allout-ascend, allout-end-of-level)
653 (allout-previous-visible-heading, allout-forward-current-level)
654 (allout-backward-current-level, allout-show-children):
655 Use `allout-called-interactively-p' instead of `called-interactively-p'.
657 * allout.el (allout-before-change-handler):
658 Exempt edits to the (overlaid) character after the allout outline
659 bullet from edit confirmation prompt.
661 * allout.el (allout-add-resumptions):
662 Ensure that it respects correct buffer for keybindings.
664 * allout.el (allout-beginning-of-line):
665 Use `allout-previous-single-char-property-change' alias for the sake of
666 diverse compatibility.
668 * allout.el (allout-end-of-line):
669 Use `allout-mark-active-p' to encapsulate respect for mark activity.
671 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
673 * frame.el (frame-notice-user-settings): Don't clobber other
674 user-set parameters when calling face-set-after-frame-default in
675 response to background-color parameter (Bug#7373).
677 2010-11-13 Eli Zaretskii <eliz@gnu.org>
679 * international/characters.el (glyphless-char-display-control):
680 Renamed from glyphless-char-control; all users changed. Doc fix.
681 Signal an error if display method is not one of the recognized
684 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
686 * net/tramp-compat.el (tramp-compat-line-beginning-position)
687 (tramp-compat-line-end-position): Remove them.
689 * net/tramp.el (tramp-parse-rhosts-group)
690 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
691 (tramp-parse-hosts-group, tramp-parse-passwd-group)
692 (tramp-parse-netrc-group, tramp-parse-putty-group)
693 * net/tramp-cmds.el (tramp-append-tramp-buffers)
694 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
695 (tramp-sh-handle-file-selinux-context)
696 (tramp-sh-handle-file-name-all-completions)
697 (tramp-sh-handle-insert-directory)
698 (tramp-sh-handle-expand-file-name, tramp-find-executable)
699 (tramp-wait-for-output, tramp-send-command-and-read)
700 * net/tramp-smb.el (tramp-smb-read-file-entry)
701 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
703 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
705 (tramp-remote-coding-commands): Add an alternative using "base64
706 -d -i". This is needed for older base64 versions from GNU
707 coreutils. Reported by Klaus Reichl
708 <Klaus.Reichl@thalesgroup.com>.
710 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
712 * simple.el (count-words-region): New function.
714 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
716 * shell.el (shell-dir-cookie-re): New custom variable.
717 (shell-dir-cookie-watcher): New function.
719 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
720 and compilation-mode (bug#7350).
722 * vc/smerge-mode.el (smerge-refine): Choose better default part to
723 highlight when one of them is empty.
725 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
727 (skeleton-newline): New function.
728 (skeleton-internal-1): Use it.
730 * simple.el (open-line): `newline' may strip trailing space.
732 2010-11-12 Kevin Ryde <user42@zip.com.au>
734 * international/mule-cmds.el (princ-list): Use mapc.
736 2010-11-12 Glenn Morris <rgm@gnu.org>
738 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
739 Use it to replace all instances of "*Compile-Log*"
741 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
743 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
746 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
748 * progmodes/modula2.el: Use SMIE and skeleton.
749 (m2-mode-syntax-table): (*..*) can be nested.
750 Add //...\n. Fix paren syntax.
751 (m2-mode-map): Remove LF and TAB bindings.
752 (m2-indent): Add safety property.
753 (m2-smie-grammar): New var.
754 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
755 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
756 (m2-mode): Use define-derived-mode.
757 (m2-newline, m2-tab): Remove.
758 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
759 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
760 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
761 (m2-import): Use define-skeleton.
763 2010-11-11 Glenn Morris <rgm@gnu.org>
765 * obsolete/lucid.el: Don't warn about any CL functions in this file.
767 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
768 (ls-lisp-verbosity): Add custom :set-after property.
769 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
770 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
771 (ls-lisp-insert-directory): Update caller.
772 (ls-lisp-set-options): New function.
773 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
776 * play/landmark.el (lm-prompt-for-move):
777 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
779 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
781 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
782 (idlwave-study-twins): Prefix dynamic local variable `name'.
783 (idlwave-routine-twin-compare): Update for above change.
785 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
786 Prefix dynamic local variables `name', `kwd', and `link'.
787 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
788 * progmodes/idlw-complete-structtag.el
789 (idlwave-complete-structure-tag-help):
790 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
791 (idlwave-complete-sysvar-tag-help)
792 (idlwave-complete-class-structure-tag-help):
793 Update for above name changes.
795 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
797 * net/browse-url.el (browse-url-browser-function): Change the
798 default to use `browse-url-mail' on mailto: URLs.
800 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
802 * emacs-lisp/package.el (package-read-all-archive-contents):
803 Reset package-archive-contents to nil before re-reading.
805 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
807 * textmodes/flyspell.el (flyspell-word): Do not re-check words
808 already found as misspellings by (flyspell-large-region), just
809 do highlighting (bug#7322).
811 2010-11-10 Glenn Morris <rgm@gnu.org>
813 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
815 * emulation/edt.el (edt-with-position): New macro.
816 (edt-find-forward, edt-find-backward, edt-find-next-forward)
817 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
818 (edt-paragraph-forward, edt-paragraph-backward): Use it.
820 * emulation/tpu-extras.el (tpu-with-position): New macro.
821 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
823 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
825 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
826 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
827 (texinfo-master-menu, texinfo-insert-node-lines)
828 (texinfo-multiple-files-update):
829 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
830 Use line-beginning-position.
832 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
833 No recent Emacs supports system-type `emx'.
835 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
836 (ada-command-separator, ada-default-prj-properties)
837 (ada-find-any-references): Update for above name change.
839 * dirtrack.el (dirtrack-directory-function)
840 (dirtrack-canonicalize-function):
841 * filecache.el (file-cache-completion-ignore-case)
842 (file-cache-case-fold-search, file-cache-ignore-case):
843 * term.el (serial-port-is-file-p): Cosmetic change.
845 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
846 Remove non-existent `windows-95' system-type.
847 * dired.el (dired-chown-program): Remove non-existent `linux'
850 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
851 (ping-program-options): Remove non-existent `linux' system-type.
853 * startup.el (package-initialize): Update declaration.
855 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
856 (ls-lisp-handle-switches): Use time-less-p.
857 (ls-lisp-format-time): Use float-time.
859 * textmodes/remember.el (remember-time-to-seconds): Remove.
860 (remember-store-in-mailbox): Use float-time.
862 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
864 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
865 never a real function.
866 (with-no-warnings): Remove compat stub, now unused.
867 (time-less-p): Doc fix.
868 (time-to-number-of-days): Simplify.
870 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
872 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
873 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
874 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
875 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
876 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
878 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
879 (eshell-shuffle-files, eshell-shorthand-tar-command)
880 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
881 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
882 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
883 Prefix dynamic local variable `matches'.
885 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
886 Prefix dynamic local variable `skeleton'.
888 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
890 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
891 in mail buffer; make yank-action always a command that yanks original
894 2010-11-09 Glenn Morris <rgm@gnu.org>
896 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
898 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
900 * minibuffer.el (minibuffer-completion-help): Specify the end of the
901 completion field (bug#7211).
903 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
904 Fix handling of backslash escapes.
905 (python-quote-syntax): Adjust accordingly.
907 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
909 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
910 (vc-mtn-workfile-branch): Adjust to new output format.
912 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
914 * international/mule-cmds.el (princ-list): Mark as obsolete.
916 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
918 * emacs-lisp/smie.el: New package.
920 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
922 * files.el (backup-by-copying-when-mismatch):
923 Set `permanent-local' property.
925 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
926 `permanent-local' property for `backup-by-copying-when-mismatch'.
928 2010-11-09 Eli Zaretskii <eliz@gnu.org>
930 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
932 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
934 * progmodes/verilog-mode.el (verilog-insert-one-definition)
935 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
936 AUTOINOUT for SV style multidimensional arrays, bug294.
937 Reported by Eric Mastromarchi.
938 (verilog-preprocess): Use with-current-buffer and
939 font-lock-fontify-buffer to cleanup style issues.
941 2010-11-09 Glenn Morris <rgm@gnu.org>
943 * locate.el (locate, locate-mode): Doc fixes.
945 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
947 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
948 user for confirmation.
949 (server-force-stop): Use it.
950 (server-start): Use server-force-stop for kill-emacs-hook, to
951 avoid user interaction while killing Emacs.
953 2010-11-09 Glenn Morris <rgm@gnu.org>
955 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
956 (meta-indent-line): Simplify.
958 * vc/emerge.el (emerge-line-number-in-buf):
959 * textmodes/ispell.el (ispell-region):
960 * textmodes/fill.el (current-fill-column):
961 * progmodes/xscheme.el (xscheme-send-current-line):
962 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
963 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
964 * progmodes/sh-script.el (sh-handle-prev-do):
965 * progmodes/meta-mode.el (meta-indent-line):
966 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
968 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
969 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
970 * progmodes/fortran.el (fortran-looking-at-if-then):
971 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
972 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
973 (cperl-find-pods-heres):
974 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
975 * net/quickurl.el (quickurl-list-insert):
976 * net/ldap.el (ldap-search-internal):
977 * net/eudc.el (eudc-expand-inline):
978 * mail/sendmail.el (sendmail-send-it):
979 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
980 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
981 (viper-brac-function):
982 * calc/calc-yank.el (calc-do-grab-region):
983 * calc/calc-keypd.el (calc-keypad-press):
984 * term.el (term-move-columns, term-insert-spaces):
985 * speedbar.el (speedbar-highlight-one-tag-line):
986 * simple.el (current-word):
987 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
988 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
990 * hippie-exp.el (he-line-beg):
991 * epa.el (epa--marked-keys):
992 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
993 (dired-update-file-line, dired-add-entry, dired-remove-entry)
994 (dired-relist-entry):
995 * buff-menu.el (Buffer-menu-buffer):
996 * array.el (current-line):
997 * allout.el (allout-resolve-xref)
998 (allout-latex-verbatim-quote-curr-line):
999 Replace yet more uses of end-of-line etc with line-end-position, etc.
1001 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1003 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1004 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1005 (checkdoc-syntax-table): Initialize in the declaration.
1006 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1007 the mode on unconditionally.
1009 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1010 (extent-end-position, extent-start-position): Remove setf method for
1011 non-existing functions (bug#7319).
1013 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1015 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1016 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1017 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1018 (smie-prec2->grammar): Rename from smie-prec2-levels.
1019 (smie-grammar): Rename from smie-op-levels.
1020 (smie-indent--hanging-p): Rename from smie-hanging-p.
1021 (smie-rule-hanging-p): New alias.
1022 (smie-indent--bolp): Rename from smie-bolp.
1023 (smie-indent--hanging-p): New alias.
1024 (smie--token): New dynamically bound variable.
1025 (smie-indent--parent): New function.
1026 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1027 (smie-rule-next-p): Rename from smie-next-p.
1028 (smie-rule-prev-p): Rename from smie-prev-p.
1029 (smie-rule-sibling-p, smie-rule-parent)
1030 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1031 (smie-rule-separator-outdent): New var.
1032 (smie-indent--rule): Merge with smie-indent--column.
1033 (smie-indent-forward-token, smie-indent-backward-token):
1034 Also recognize close parens.
1035 (smie-indent-keyword): Don't use smie-indent--column any more.
1036 (smie-indent-after-keyword): Ignore closers by default.
1037 (smie-indent-line): Use with-demoted-errors.
1038 * progmodes/octave-mod.el (octave-smie-grammar):
1039 Rename from octave-smie-op-levels.
1040 (octave-smie-rules): Adjust to new behavior.
1041 * progmodes/prolog.el (prolog-smie-grammar):
1042 Rename from prolog-smie-op-levels.
1044 2010-11-07 Glenn Morris <rgm@gnu.org>
1046 * eshell/esh-util.el (subst-char-in-string)
1047 (directory-files-and-attributes): These compatibility definitions are
1048 not needed on any version of Emacs since at least 21.4.
1050 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1051 (verilog-get-end-of-line): Remove.
1052 (verilog-within-string, verilog-re-search-forward-substr)
1053 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1054 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1055 Use point-at-bol, point-at-eol.
1056 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1058 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1059 (electric-pascal-terminate-line, pascal-set-auto-comments)
1060 (pascal-indent-paramlist, pascal-indent-declaration)
1061 (pascal-get-lineup-indent, pascal-func-completion)
1062 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1063 Use point-at-bol, point-at-eol.
1064 * progmodes/flymake.el (flymake-line-beginning-position)
1065 (flymake-line-end-position): Remove.
1066 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1067 * eshell/esh-util.el (line-end-position, line-beginning-position):
1068 Remove compat definitions.
1070 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1072 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1073 Use line-end-position.
1075 * emacs-lisp/chart.el (chart-zap-chars):
1076 * play/decipher.el (decipher-set-map):
1077 * progmodes/ada-mode.el (ada-get-current-indent)
1078 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1079 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1080 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1081 (ada-get-all-references):
1082 * progmodes/cperl-mode.el (cperl-electric-paren)
1083 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1084 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1085 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1086 (cperl-word-at-point-hard):
1087 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1088 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1089 (idlwave-shell-display-line):
1090 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1091 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1092 * progmodes/js.el (js--re-search-forward-inner)
1093 (js--re-search-backward-inner):
1094 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1095 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1096 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1097 * textmodes/flyspell.el (flyspell-process-localwords):
1098 * textmodes/ispell.el (ispell-buffer-local-parsing)
1099 (ispell-buffer-local-dict, ispell-buffer-local-words):
1100 Use point-at-bol and point-at-eol.
1102 * speedbar.el (speedbar-generic-item-info)
1103 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1104 (speedbar-add-indicator, speedbar-check-vc-this-line)
1105 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1106 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1107 Replace more uses of end-of-line etc with line-end-position.
1109 2010-11-06 Glenn Morris <rgm@gnu.org>
1111 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1112 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1113 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1114 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1115 (texinfo-multiple-files-update):
1116 * textmodes/table.el (table--probe-cell-left-up)
1117 (table--probe-cell-right-bottom):
1118 * textmodes/picture.el (picture-tab-search):
1119 * textmodes/page-ext.el (pages-copy-header-and-position)
1120 (pages-directory-for-addresses):
1121 * progmodes/vera-mode.el (vera-get-offset):
1122 * progmodes/simula.el (simula-calculate-indent):
1123 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1124 * progmodes/prolog.el (end-of-prolog-clause):
1125 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1126 * progmodes/icon.el (indent-icon-exp):
1127 * progmodes/etags.el (tag-re-match-p):
1128 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1129 * progmodes/ebnf2ps.el (ebnf-begin-file):
1130 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1131 (dcl-save-local-variable):
1132 * play/life.el (life-setup):
1133 * play/gametree.el (gametree-looking-at-ply):
1134 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1135 * mail/sendmail.el (mail-mode-auto-fill):
1136 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1137 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1138 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1139 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1140 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1141 * type-break.el (type-break-file-keystroke-count):
1142 * term.el (term-replace-by-expanded-history-before-point)
1143 (term-skip-prompt, term-extract-string):
1144 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1145 (speedbar-contract-line, speedbar-toggle-line-expansion)
1146 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1147 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1148 * sort.el (sort-skip-fields):
1149 * skeleton.el (skeleton-internal-list):
1150 * simple.el (line-move-finish, line-move-to-column):
1151 * shell.el (shell-forward-command):
1152 * misc.el (copy-from-above-command):
1153 * makesum.el (double-column):
1154 * ebuff-menu.el (electric-buffer-update-highlight):
1155 * dired.el (dired-move-to-end-of-filename):
1156 * dframe.el (dframe-popup-kludge):
1157 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1158 * arc-mode.el (archive-get-lineno):
1159 Use line-end-position and line-beginning-position.
1161 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1162 (idlwave-study-twins): Prefix dynamic local `class'.
1163 (idlwave-routine-twin-compare): Update for above name change.
1165 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1166 Use boundp tests to silence compiler. Update for changed name of
1167 bytecomp-filename variable.
1169 * emulation/viper-cmd.el (viper-read-string-with-history):
1170 Prefix dynamic local `initial'.
1171 (viper-minibuffer-standard-hook): Update for above name change.
1173 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1174 (elint-init-form): Update for above name change.
1176 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1177 local variables `cbeg' and `cend' a prefix.
1178 (mail-extr-voodoo): Update for above name change.
1180 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1181 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1182 (reftex-toc-promote-action): Doc fix.
1184 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1185 `prompt', `data' a prefix.
1186 (reftex-select-post-command-hook, reftex-select-callback)
1187 (reftex-select-mouse-accept, reftex-select-read-cite):
1188 Update for above name changes.
1190 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1191 `refstyle' to reftex-refstyle.
1192 (reftex-offer-label-menu): Update for above name change.
1193 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1194 `refstyle' name change.
1196 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1197 with with-current-buffer.
1198 (diff, template): Give dynamic local variables a prefix.
1199 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1200 (emerge-line-number-in-buf): Update for above name change.
1201 (emerge-combine-versions-internal): Rename local `template' to
1202 emerge-combine-template.
1203 (emerge-combine-versions-edit): Update for above name change.
1205 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1207 * textmodes/reftex-cite.el
1208 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1209 entries with whitespace after \bibitem.
1210 (reftex-create-bibtex-file): Match entries containing numbers and
1211 symbol constituents. Make sure that entries with whitespace at
1212 various places are found.
1214 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1216 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1218 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1220 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1222 2010-11-05 Glenn Morris <rgm@gnu.org>
1224 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1225 (woman2-roff-buffer): Give local variable `request' a prefix.
1226 (woman0-macro): Rename argument `request' in the same way.
1227 (woman-request): New name for `request' dynamic variable.
1228 (woman-unquote, woman-forward-arg): Update for above name change.
1229 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1230 (woman1-unquote): New name for `unquote' dynamic variable.
1231 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1232 (woman-translations): Rename from `translations'. No longer global.
1233 (woman2-tr, woman-translate): Update for above name change.
1234 (woman-translate): Check for bound variable.
1235 (woman2-roff-buffer): Give local variable `translations' a prefix.
1237 * play/doctor.el: Give all local variables a prefix. Update callers.
1238 (doc$, doctor-put-meaning): Use backquote.
1240 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1241 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1243 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1244 variables bytes, ptr, op a prefix.
1245 (disassemble-offset): Update for above change.
1247 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1249 * emacs-lisp/package.el (package-unpack): Remove no-op.
1250 (package--builtins, package--dir): Doc fix.
1251 (package-activate-1, package-activate, package-install)
1252 (package-compute-transaction): Fix error message.
1253 (package-delete): Use delete-directory. Omit system packages.
1254 (package-initialize): Set package-alist to nil first.
1255 (package-menu-mark-delete, package-menu-mark-install): Don't add
1256 symbols that are inconsistent with the package state.
1257 (package-menu-execute): Perform deletions and installations as
1258 single batch operations.
1260 2010-11-03 Glenn Morris <rgm@gnu.org>
1262 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1263 (props): Remove unnecessary declaration.
1265 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1266 set-process-query-on-exit-flag.
1268 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1269 (reftex-toc-do-promote): Remove unused local `mpos'.
1270 (reftex-toc-restore-region): Make `mpos' local to this function.
1272 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1274 * play/landmark.el (lm-losing-threshold): Correct spelling.
1275 (lm-human-plays): Use new name.
1277 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1278 (gomoku-human-plays): Use new name.
1280 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1281 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1282 (gomoku-score-trans-table, gomoku-winning-threshold)
1283 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1285 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1287 * emacs-lisp/package.el: Don't put built-in packages in
1288 package-alist, to avoid loading inefficiencies.
1289 (package-built-in-p): Make VERSION optional, and treat it as a
1290 minimum acceptable version.
1291 (package-activate): Search separately for built-in packages.
1292 Emit a warning if a dependency fails.
1293 (define-package): Handle most common case, where there is no
1294 obsolete package, first.
1295 (package-compute-transaction): Print required version in error.
1296 (package--initialized): New variable.
1297 (list-packages): Use it.
1298 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1299 built-in packages in packages-alist; keep it separate.
1300 Set package--initialized.
1301 (describe-package): Avoid activating packages as a side-effect.
1302 Search separately for built-in packages.
1303 (describe-package-1): Handle the case where an elpa package is
1304 simultaneously built-in and available/installed.
1305 (package-installed-p, package--generate-package-list):
1306 Search separately for built-in packages.
1307 (package-load-descriptor): Doc fix.
1309 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1311 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1312 Handle __DATA__ and __END__.
1314 2010-11-02 Noah Friedman <friedman@splode.com>
1316 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1317 nil, do not ask to recompile files that are not already compiled,
1318 and do not recompile them.
1320 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1322 * emacs-lisp/package.el (package-initialize): Ensure that
1323 obsoleted built-in packages are not in package-activated-list
1325 (describe-package-1): Make the "installed" status override
1328 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1330 * subr.el (version-separator, version-regexp-alist): Remove '*'
1332 (version-list-<=, version<=, version=): Doc fix.
1334 2010-11-01 Kenichi Handa <handa@m17n.org>
1336 * faces.el (glyphless-char): Inherit underline for tty.
1338 2010-11-01 Kenichi Handa <handa@m17n.org>
1340 Implement various display methods for glyphless characters.
1342 * international/characters.el (char-acronym-table): New variable.
1343 (glyphless-char-control): New variable.
1344 (update-glyphless-char-display): New funciton.
1346 * faces.el (glyphless-char): New face.
1348 2010-11-01 Glenn Morris <rgm@gnu.org>
1350 * calendar/holidays.el (general-holidays, oriental-holidays)
1351 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1352 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1353 the definitions of their targets.
1355 * emacs-lisp/smie.el (smie): New custom group.
1356 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1358 * faces.el (xw-defined-colors, x-setup-function-keys):
1359 * mouse-sel.el (x-select-text):
1360 * term/w32console.el (x-setup-function-keys): Update declarations.
1362 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1364 * textmodes/ispell.el (comment-add): Declare.
1366 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1369 * info.el (finder-keywords-hash, package-alist): Declare.
1371 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1373 * finder.el (finder-compile-keywords): Don't use intern-soft,
1374 since package names may not yet exist in the obarray.
1376 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1378 * vc/vc-arch.el (vc-arch-checkin):
1379 * vc/vc-cvs.el (vc-cvs-checkin):
1380 * vc/vc-mtn.el (vc-mtn-checkin):
1381 * vc/vc-rcs.el (vc-rcs-checkin):
1382 * vc/vc-sccs.el (vc-sccs-checkin):
1383 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1384 since 2010-04-21 commit by Stefan Monnier.
1386 2010-11-01 Glenn Morris <rgm@gnu.org>
1388 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1390 * startup.el (package-enable-at-startup, package-initialize):
1393 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1396 2010-10-31 Julien Danjou <julien@danjou.info>
1398 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1399 (byte-recompile-directory):
1400 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1401 Use `byte-recompile-file'.
1403 2010-10-31 Glenn Morris <rgm@gnu.org>
1405 * cus-start.el: Handle standard values via a keyword.
1406 Only set version property if specified.
1407 (cursor-in-non-selected-windows, menu-bar-mode)
1408 (tool-bar-mode, show-trailing-whitespace):
1409 Do not specify standard values.
1410 (transient-mark-mode, temporary-file-directory): Use :standard.
1412 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1414 * term/x-win.el (x-get-selection-value): New function that gets
1415 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1417 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1419 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1420 preserve owner and group when editing files. (Bug#7289)
1422 2010-10-31 Glenn Morris <rgm@gnu.org>
1424 * speedbar.el (speedbar-mode):
1425 * play/fortune.el (fortune-in-buffer, fortune):
1426 * play/gomoku.el (gomoku-mode):
1427 * play/landmark.el (lm-mode):
1428 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1429 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1431 * select.el (x-selection): Mark it as an obsolete alias.
1433 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1435 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1436 major-mode (bug#7284).
1438 2010-10-31 Glenn Morris <rgm@gnu.org>
1440 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1441 rather than just an unused variable that inherits from the real one.
1443 2010-10-31 Alan Mackenzie <acm@muc.de>
1445 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1446 This fixes bug #7185.
1448 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1450 * startup.el (command-line): Search for package directories, and
1451 don't load package.el if none are found.
1453 * emacs-lisp/package.el (describe-package, list-packages):
1454 Call package-initialize if it has not been called yet.
1456 2010-10-30 Alan Mackenzie <acm@muc.de>
1458 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1459 which fontifies the tail of an enum.
1460 (c-basic-matchers-after): Insert a call to the above new function.
1461 This fixes bug #7264.
1463 2010-10-30 Glenn Morris <rgm@gnu.org>
1465 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1466 tool-bar-mode, transient-mark-mode. (Bug#7306)
1467 Include the :set property in the dumped Emacs.
1469 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1471 SMIE: change indent rules format, improve smie-setup.
1472 * emacs-lisp/smie.el (smie-precs-precedence-table)
1473 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1474 Mark them pure so the tables gets built at compile time.
1475 (smie-bnf-precedence-table): Store the closer-alist in the table.
1476 (smie-prec2-levels): Preserve the closer-alist.
1477 (smie-blink-matching-open): Be more forgiving in case of indentation.
1478 (smie-hanging-p): Rename from smie-indent--hanging-p.
1479 (smie-bolp): Rename from smie-indent--bolp.
1480 (smie--parent, smie--after): New dynamic vars.
1481 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1482 (smie-indent-rules): Remove.
1483 (smie-indent--offset-rule): Remove fun.
1484 (smie-rules-function): New var.
1485 (smie-indent--rule): New fun.
1486 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1487 (smie-indent-exps): Use it.
1488 (smie-setup): Setup paren blinking; add keyword args for token
1489 functions; extract closer-alist from op-levels.
1490 (smie-indent-debug-log): Remove var.
1491 (smie-indent-debug): Remove fun.
1492 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1493 (prolog-smie-rules): New fun to replace it.
1494 (prolog-mode-variables): Simplify.
1495 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1496 it's setup automatically.
1497 (octave-smie-indent-rules): Remove.
1498 (octave-smie-rules): New fun to replace it.
1499 (octave-mode): Simplify.
1501 2010-10-29 Glenn Morris <rgm@gnu.org>
1503 * files.el (temporary-file-directory): Remove (already defined in C).
1504 * cus-start.el: Add temporary-file-directory.
1506 * abbrev.el (abbrev-mode):
1507 * composite.el (auto-composition-mode):
1508 * menu-bar.el (menu-bar-mode):
1509 * simple.el (transient-mark-mode):
1510 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1511 that they do not define the associated variables twice.
1512 * simple.el (transient-mark-mode): Remove defvar.
1513 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1514 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1515 Handle multiple groups, and also custom-delayed-init-variables.
1516 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1518 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1520 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1521 (pcase-if): Add one minor optimization.
1522 (pcase-split-equal): Rename from pcase-split-eq.
1523 (pcase-split-member): Rename from pcase-split-memq.
1524 (pcase-u1): Add strings to the member optimization.
1525 Add `guard' variant of predicates.
1526 (pcase-q1): Add string patterns.
1528 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1530 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1532 2010-10-28 Glenn Morris <rgm@gnu.org>
1534 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1535 Move menu-bar related settings to ../menu-bar.el.
1536 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1537 Move ns-specific settings here from term/ns-win.el.
1539 * simple.el (x-selection-owner-p): Remove unused declaration.
1541 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1543 * minibuffer.el (completion-cycling): New var (bug#7266).
1544 (minibuffer-complete, completion--do-completion):
1545 Use completion--flush-all-sorted-completions.
1546 (minibuffer-complete): Only cycle if completion-cycling is set.
1547 (completion--flush-all-sorted-completions): Unset completion-cycling.
1548 (minibuffer-force-complete): Set completion-cycling.
1549 (completion-all-sorted-completions): Move declaration before first use.
1551 2010-10-28 Leo <sdl.web@gmail.com>
1553 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1554 which changes the order of matches seen by users (bug#7231).
1556 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1558 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1559 Don't confuse -omega as "-o mega".
1561 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1564 (log-edit-author): New dynamic var.
1565 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1566 to return the author if different from committer.
1567 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1569 * play/landmark.el: Adjust commenting convention.
1570 (lm-nil-score): Rename from nil-score.
1571 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1572 (OOOOscore): Move into a let in lm-score-trans-table.
1573 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1575 * electric.el (electric-indent-chars): Autoload.
1576 * progmodes/octave-mod.el (octave-mode):
1577 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1578 (ruby-mode-abbrev-table): Merge initialization and declaration.
1580 2010-10-27 Glenn Morris <rgm@gnu.org>
1582 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1585 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1587 * term/ns-win.el: Restore require of cl when compiling.
1588 (menu-bar-final-items): Remove non-existent `windows' menu.
1589 (ns-handle-nxopen): Optionally handle the temp-case.
1590 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1591 (ns-insert-file, ns-find-file): Use `pop'.
1593 2010-10-26 Glenn Morris <rgm@gnu.org>
1595 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1597 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1599 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1601 * term/common-win.el (x-setup-function-keys): Remove most of the
1602 keymappings. Comment on the remaining ones.
1604 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1606 * server.el (server-port): New option. (Bug#854)
1607 (server-start): Use server-port.
1609 2010-10-26 Glenn Morris <rgm@gnu.org>
1611 * term/ns-win.el (ns-version-string): Remove unused declaration.
1612 (ns-invocation-args): Change to x-invocation-args.
1613 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1614 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1615 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1616 Use x-invocation-args instead of ns-invocation-args.
1617 (ns-initialize-window-system, handle-args-function-alist):
1618 Use x-handle-args instead of ns-handle-args.
1619 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1620 * startup.el (command-line-ns-option-alist): Replace
1621 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1622 ns-handle-iconic with the x- equivalents.
1624 * term/common-win.el (x-select-enable-clipboard):
1625 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1627 * term/ns-win.el: No need to require cl when compiling.
1628 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1629 (xw-defined-colors): Use the common-win definitions.
1630 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1631 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1632 * term/common-win.el (x-select-text, x-alternatives-map)
1633 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1634 * loadup.el [ns]: Load common-win.
1636 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1638 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1639 recipients; expand mail aliases (Bug#7280).
1641 2010-10-25 Glenn Morris <rgm@gnu.org>
1643 * term/common-win.el (x-handle-switch): Simplify with pop.
1644 Optionally handle numeric switches.
1645 (x-handle-numeric-switch): Just call x-handle-switch.
1646 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1647 (x-handle-name-switch, x-handle-display, x-handle-args):
1650 * term/ns-win.el: Do not require easymenu.
1651 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1652 <spell>: Move adjustments to menu-bar.el.
1653 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1654 <separator-undo, spell>: Move ns-win's adjustments here.
1655 * loadup.el [ns]: Do not load easymenu.
1657 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1659 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1662 * startup.el (fancy-startup-tail): Instead of using inline images,
1663 refer to image files from etc/.
1665 * wid-edit.el (checkbox): Likewise.
1666 (widget-image-find): Center image specs.
1668 2010-10-24 Glenn Morris <rgm@gnu.org>
1670 * term/ns-win.el (x-select-text): Doc fix.
1671 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1672 (x-select-text): Move to term/common-win.
1673 * term/w32-win.el (xw-defined-colors): Move to common-win.
1674 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1675 (x-setup-function-keys, x-select-text): Move to common-win.
1676 * term/common-win.el (x-select-text, x-alternatives-map)
1677 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1680 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1682 * net/mairix.el (mairix-searches-mode-map):
1683 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1685 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1687 * verilog-mode.el (verilog-directive-re): Make this variable
1688 auto-built for efficiency of execution and updating.
1689 (verilog-extended-complete-re): Support 'pure' fucntion & task
1690 declarations (these have no bodies).
1691 (verilog-beg-of-statement): General cleanup to enable support of
1692 'pure' fucntion & task declarations (these have no bodies).
1693 These efforts together fix Verilog bug210 from veripool; which was also
1694 noticed by Steve Pearlmutter.
1695 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1696 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1697 Support `elsif. Reported by Shankar Giri.
1698 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1699 attribute handling for lining up declarations and assignments.
1700 (verilog-beg-of-statement-1): Fix issue where continued declaration
1701 is indented differently if it is after a begin..end clock.
1702 (verilog-in-attribute-p, verilog-skip-backward-comments)
1703 (verilog-skip-forward-comment-p): Support proper treatment of
1704 attributes by indent code. Reported by Jeff Steele.
1705 (verilog-in-directive-p): Fix comment to correctly describe function.
1706 (verilog-backward-up-list, verilog-in-struct-region-p)
1707 (verilog-backward-token, verilog-in-struct-p)
1708 (verilog-in-coverage-p, verilog-do-indent)
1709 (verilog-pretty-declarations): Use verilog-backward-up-list as
1710 wrapper around backward-up-list inorder to properly skip comments.
1711 Reported by David Rogoff.
1712 (verilog-property-re, verilog-endcomment-reason-re)
1713 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1714 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1715 of if). Reported by Max Bjurling and
1716 (verilog-calc-1): Fix for clocking block in modport
1717 declaration. Reported by Brian Hunter.
1719 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1721 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1722 (verilog-gate-keywords, verilog-read-sub-decls)
1723 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1724 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1725 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1726 (verilog-read-decls): Fix spaces in V2K module parameters causing
1727 mis-identification as interfaces, bug287.
1728 (verilog-read-decls): Fix not treating "parameter string" as a
1729 parameter in AUTOINSTPARAM.
1730 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1731 treating `elsif similar to `endif inside AUTOSENSE.
1732 (verilog-do-indent): Implement correct automatic or static task or
1733 function end comment highlight. Reported by Steve Pearlmutter.
1734 (verilog-font-lock-keywords-2): Fix highlighting of single
1735 character pins, bug264. Reported by Michael Laajanen.
1736 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1737 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1738 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1739 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1740 (verilog-pretty-expr): Fix interactive arguments, bug272.
1741 Reported by Mark Johnson.
1742 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1743 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1744 bug269. Suggested by Gary Delp.
1745 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1746 (verilog-preprocessor, verilog-set-compile-command):
1747 Create verilog-preprocess and verilog-preprocessor to show
1748 preprocessed output.
1749 (verilog-get-beg-of-line, verilog-get-end-of-line)
1750 (verilog-modi-file-or-buffer, verilog-modi-name)
1751 (verilog-modi-point, verilog-within-string): Move defmacro's
1752 before first use to avoid warning. Reported by Steve Pearlmutter.
1753 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1754 (verilog-colorize-region, verilog-highlight-buffer)
1755 (verilog-highlight-includes, verilog-highlight-modules)
1756 (verilog-highlight-region, verilog-mode): Rename colorize to
1757 highlight to match other packages. Disable module highlighting,
1758 as received speed complaints, reenable for experimentation only
1759 using new verilog-highlight-modules.
1760 (verilog-read-decls): Fix regexp stack overflow in very large
1761 AUTO_TEMPLATEs, bug250.
1762 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1763 (verilog-scan): Create verilog-save-buffer-state to standardize
1764 making insignificant changes that shouldn't call hooks.
1765 (verilog-save-no-change-functions, verilog-save-scan-cache)
1766 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1767 Create verilog-save-no-change-functions to wrap verilog-scan
1768 preservation, and fix to work with nested preserved calls.
1769 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1770 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1771 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1772 (verilog-submit-bug-report): Update variable list to be complete.
1773 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1774 breaking on-the-fly font-locking.
1775 (verilog-colorize-buffer, verilog-colorize-include-files)
1776 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1777 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1778 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1779 AUTOINST cell instance name, middle mouse button now finds-file on
1780 it. Suggested by Brad Dobbie.
1781 (verilog-alw-get-temps, verilog-auto-reset)
1782 (verilog-auto-sense-sigs, verilog-read-always-signals)
1783 (verilog-read-always-signals-recurse): Fix loop indexes being
1784 AUTORESET. AUTORESET now assumes any variables in the
1785 initialization section of a for() should be ignored.
1786 Reported by Dan Dever.
1787 (verilog-error-font-lock-keywords)
1788 (verilog-error-regexp-emacs-alist)
1789 (verilog-error-regexp-xemacs-alist): Fix error detection of
1790 Cadence HAL, reported by David Asher. Repair drift between the
1791 three similar error variables.
1792 (verilog-modi-lookup, verilog-modi-lookup-cache)
1793 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1794 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1795 Fix slow verilog-auto expansion on very large files.
1796 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1797 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1798 "{1*2{...". Broke in last revision.
1799 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1800 submodule connections with replications "{#{a},#{b}}".
1802 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1804 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1805 Fix typo in docstring.
1807 2010-10-24 Kenichi Handa <handa@m17n.org>
1809 * face-remap.el (text-scale-adjust): Call read-event with a proper
1812 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1814 * emacs-lisp/unsafep.el: Don't mark functions that display
1815 messages as safe. Suggested by Johan Bockgård.
1817 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1819 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1820 Turn comments into docstrings.
1822 * minibuffer.el (completion--replace): Move point where it belongs
1823 when there's a common suffix (bug#7215).
1825 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1827 Merge read-color and facemenu-read-color (Bug#7242).
1829 * faces.el (read-color): Use the completion code from
1830 facemenu-read-color. Require match in completion. Doc fix.
1832 * facemenu.el (facemenu-read-color): Alias for read-color.
1833 (facemenu-set-foreground, facemenu-set-background):
1836 * frame.el (set-background-color, set-foreground-color)
1837 (set-cursor-color, set-mouse-color, set-border-color):
1840 2010-10-24 Leo <sdl.web@gmail.com>
1842 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1843 argument of delete-file and delete-directory (Bug#7011).
1845 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1847 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1850 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1852 * emacs-lisp/package.el (package--generate-package-list): Make the
1853 *Packages* buffer read-only.
1855 2010-10-24 Alan Mackenzie <acm@muc.de>
1857 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1858 result of `c-beginning-of-decl-1' between invocations of a lambda
1859 function (Bug #7265).
1861 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1863 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1864 executable is not available on the system (Bug#7268).
1866 2010-10-24 Glenn Morris <rgm@gnu.org>
1868 * select.el (selection-coding-system, next-selection-coding-system):
1869 Sync doc with C versions.
1871 * w32-vars.el (x-select-enable-clipboard):
1872 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1873 * term/common-win.el (x-select-enable-clipboard): Move here.
1875 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1876 definition of C variable.
1878 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1879 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1880 Don't redefine things that are defined in C.
1881 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1882 (show-trailing-whitespace, auto-hscroll-mode)
1883 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1884 Set up the appropriate custom properties.
1886 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1889 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1890 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1891 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1892 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1894 2010-10-23 Glenn Morris <rgm@gnu.org>
1896 * textmodes/flyspell.el (flyspell-mode): If there was an error,
1899 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1900 Sync docs with C version.
1902 * term/ns-win.el (xw-defined-colors):
1903 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1905 * term/pc-win.el (x-select-enable-clipboard):
1906 * term/x-win.el (x-select-enable-clipboard):
1907 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1909 * comint.el (comint-password-prompt-regexp): Make it less vague.
1912 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1914 * help.el (finder-by-keyword): Remove unnecessary autoload.
1916 2010-10-22 Glenn Morris <rgm@gnu.org>
1918 * loadup.el: Unconditionally load float-sup.
1919 * paren.el (show-paren-delay):
1920 * emacs-lisp/float-sup.el:
1921 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1922 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1923 (lazy-lock-stealth-verbose): Assume float support.
1924 * ps-print.el: Assume float support on Emacs.
1925 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1926 Remove non-float branch.
1928 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1929 src/Makefile no longer being pre-processed.
1931 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1933 * emacs-lisp/find-func.el (find-library): Use test-completion.
1935 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1937 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1939 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
1941 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1942 space in stat format string.
1943 (tramp-send-command): Unset $PS1 when using here documents, in
1944 order not to get several prompts.
1945 (tramp-get-inline-coding): Return `nil' in case of errors.
1947 2010-10-21 Daiki Ueno <ueno@unixuser.org>
1949 * hexl.el (hexl-mode, hexl-mode-exit):
1950 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1951 (hexl-revert-buffer-function): New function.
1952 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1954 2010-10-19 Alan Mackenzie <acm@muc.de>
1956 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1957 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1958 that these keywords aren't wrongly matched as identifiers.
1960 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1961 setting of c-new-BEG and c-new-END from c-before-change to
1962 c-after-change. (Bug#7181)
1964 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1966 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1969 * custom.el (custom-theme-set-variables): Likewise.
1970 (load-theme): Add custom-theme-set-faces and
1971 custom-theme-set-variables to safe-functions while loading.
1972 (custom-enabled-themes): Mark as risky.
1974 2010-10-18 Julien Danjou <julien@danjou.info>
1976 * bindings.el: Remove end dashes in default mode-line-format.
1978 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1980 * bindings.el (global-map): Bind C-d to delete-char and deletechar
1981 to delete-forward-char.
1983 * simple.el (normal-erase-is-backspace-mode): Remap delete to
1984 deletechar, and hence delete-forward-char.
1986 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1988 * repeat.el (repeat): Use read-key (bug#6256).
1990 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1992 * emacs-lisp/unsafep.el: Don't mark functions that display
1993 messages as safe. Suggested by Johan Bockgård.
1995 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1997 * minibuffer.el (completion--replace): Move point where it belongs
1998 when there's a common suffix (bug#7215).
2000 2010-10-19 Kenichi Handa <handa@m17n.org>
2002 * international/characters.el: Add category '|' (word breakable)
2003 to fullwidth characters.
2005 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2007 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2008 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2009 order to make stat results a float. Patch by Andreas Schwab
2010 <schwab@linux-m68k.org>.
2012 2010-10-18 Julien Danjou <julien@danjou.info>
2014 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2015 hidden by `make-pointer-invisible'.
2017 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2019 * files.el (locate-file-completion-table): Strip non-matching elements
2020 before checking length of list (bug#7238).
2022 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2024 * custom.el (custom-theme-set-variables): Mark as a safe function.
2025 (load-theme): Check forms using unsafep.
2027 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2029 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2031 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2032 Fix aspell data file searching (bug#7230).
2034 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2036 * cus-theme.el (custom-theme--migrate-settings): New var.
2037 (customize-create-theme): Allow editing the `user' theme.
2038 (custom-theme-add-variable, custom-theme-add-var-1)
2039 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2040 to the front of each variable or face widget.
2041 (custom-theme-write): Save theme settings in the correct order.
2042 Optionally, remove saved settings from user customizations.
2043 (custom-theme-write-variables, custom-theme-write-faces):
2044 Save only the checked widgets.
2045 (customize-themes): Add a link for migrating custom settings.
2047 * custom.el (custom-declare-theme, provide-theme):
2048 Use custom-theme-name-valid-p.
2049 (custom-theme-name-valid-p): Remove checks that are now
2050 unnecessary since themes no longer obey load-path.
2052 * cus-edit.el (custom-variable-value-create): For the simple
2053 style, hide documentation string when hidden.
2055 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2057 * cus-edit.el (custom-variable, custom-face): Combine the
2058 :inhibit-magic and :display-style properties into a single
2059 :custom-style property.
2060 (custom-toggle-hide-variable, custom-toggle-hide-face):
2061 New functions. If hiding an edited value, save it to :shown-value.
2062 (custom-variable-value-create, custom-face-value-create): Use them.
2063 (custom-magic-reset): Allow magic property to be unset.
2065 * custom.el: Custom themes no longer use load-path.
2066 (custom-theme-load-path): New option. Change built-in theme
2068 (custom-enabled-themes): Add custom-theme-load-path dependency.
2069 (custom-theme--load-path): New function.
2070 (load-theme, custom-available-themes): Use it.
2072 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2073 (customize-themes): Link to custom-theme-load-path variable.
2074 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2075 :custom-style property.
2077 * themes/*.el: Moved to etc/.
2079 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2081 * textmodes/reftex-cite.el
2082 (reftex-extract-bib-entries-from-thebibliography): Do not move
2083 point when searching for \bibitem entries. Match entries with
2084 spaces or tabs in front of arguments.
2086 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2088 * cus-theme.el (customize-create-theme): Delete overlays after
2089 erasing. If given a THEME arg, display only the faces of that arg
2090 instead of custom-theme--listed-faces.
2091 (custom-theme-variable-menu, custom-theme-variable-action)
2092 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2093 (custom-theme-add-variable, custom-theme-add-face): Apply value
2094 from the theme settings, instead of the current value.
2095 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2096 (custom-theme-visit-theme): Allow calling outside theme buffers.
2097 (custom-theme-merge-theme): Don't enable the theme when merging.
2098 (custom-theme-write-variables, custom-theme-write-faces): Use the
2099 :shown-value properties to save buffer values, not global ones.
2100 (customize-themes): Display a warning about user customizations.
2102 * cus-edit.el (custom-variable-value-create)
2103 (custom-face-value-create): Obey new special properties
2104 :shown-value and :inhibit-magic.
2106 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2108 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2109 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2112 2010-10-14 Kenichi Handa <handa@m17n.org>
2114 * mail/rmail.el (rmail-show-message-1): Catch an error of
2115 base64-decode-region and just show an error message (bug#7165).
2117 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2118 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2119 a font-spec (bug#7197).
2121 2010-10-14 Glenn Morris <rgm@gnu.org>
2123 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2125 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2127 * international/mule.el (define-coding-system):
2128 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2129 * composite.el (compose-region): Fix typo in docstring.
2131 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2133 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2134 only after checking the theme-face property.
2136 * faces.el (face-spec-reset-face): Reset all attributes in one
2137 single call to set-face-attribute.
2138 (face-spec-match-p): Make it a defsubst.
2139 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2140 (x-create-frame-with-faces, tty-create-frame-with-faces)
2141 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2142 frame-set-background-mode, since they are recomputed immediately
2143 afterwards in face-set-after-frame-default.
2144 (face-set-after-frame-default): Minor optimization.
2145 (cursor): Provide non-trivial defface spec.
2147 * custom.el (custom-theme-recalc-face): Simplify.
2149 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2151 * calc/calc-alg.el (math-var): Rename from `var'.
2152 (math-is-polynomial, math-is-poly-rec): Replace `var'
2155 * calc/calcalg2.el (math-var): Rename from `var'.
2156 (calcFunc-table, math-scan-for-limits): Replace `var'
2159 2010-10-13 Glenn Morris <rgm@gnu.org>
2161 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2163 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2165 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2167 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2169 * net/tls.el (tls-program): Remove spurious %s from openssl.
2170 (tls-starttls-switches): Remove starttls hack.
2171 (open-tls-stream): Ditto.
2172 (tls-find-starttls-argument): Ditto.
2174 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2176 * image.el (image-library-alist): Declare as obsolete alias.
2177 (image-type-available-p): Use `dynamic-library-alist'.
2179 * term/w32-win.el (dynamic-library-alist):
2180 Use instead of `image-library-alist'.
2182 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2184 * subr.el (last): Make it faster. (Bug#7174)
2186 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2188 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2190 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2192 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2193 (describe-theme-1): Extract doc from unloaded themes.
2195 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2197 * themes/tango-theme.el:
2198 * themes/tango-dark-theme.el:
2199 * themes/wheatgrass-theme.el: New files.
2201 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2203 * cus-theme.el (describe-theme, customize-themes)
2204 (custom-theme-save): New commands.
2205 (custom-new-theme-mode-map): Bind C-x C-s.
2206 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2207 (customize-create-theme): New optional arg THEME.
2208 (custom-theme-revert): Use it.
2209 (custom-theme-visit-theme): Remove dead code.
2210 (custom-theme-merge-theme): Use custom-available-themes.
2211 (custom-theme-write): Make interactive.
2212 (custom-theme-write): Use custom-theme-name-valid-p.
2213 (describe-theme-1, custom-theme-choose-revert)
2214 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2216 (custom-theme-allow-multiple-selections): New option.
2217 (custom-theme-choose-mode): New major mode.
2219 * custom.el (custom-theme-set-variables): Remove dead code.
2220 Obey custom--inhibit-theme-enable.
2221 (custom--inhibit-theme-enable): New var.
2222 (provide-theme): Obey it.
2223 (load-theme): Replace load with manual read/eval, in order to
2224 check for correctness. Use custom-theme-name-valid-p.
2225 (custom-theme-name-valid-p): New function.
2226 (custom-available-themes): Use it.
2228 * cus-edit.el (custom--initialize-widget-variables): New function.
2229 (Custom-mode): Use it.
2231 * cus-face.el (custom-theme-set-faces): Remove dead code.
2232 Obey custom--inhibit-theme-enable.
2234 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2236 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2238 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2240 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2242 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2243 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2244 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2246 * cus-start.el (all): ns-right-alternate-modifier is new.
2248 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2250 * emacs-lisp/lisp.el (lisp-completion-at-point):
2251 Use emacs-lisp-mode-syntax-table for the whole function.
2253 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2255 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2256 instead of font-lock-mode before adding keywords.
2257 Remove hi-lock-mode off code. Remove inhibit hack.
2258 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2259 non-nil; removed hook inhibit hack.
2261 2010-10-12 Glenn Morris <rgm@gnu.org>
2263 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2264 (load-path-shadows-find): ... to this.
2265 (list-load-path-shadows): Update for above change.
2267 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2269 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2271 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2272 Fix comment for declare-function.
2274 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2276 * custom.el (custom-fix-face-spec): New function; code moved from
2277 custom-face-edit-fix-value.
2278 (custom-push-theme): Use it when checking if a face has been
2279 changed outside customize.
2280 (custom-available-themes): New function.
2281 (load-theme): Use it.
2283 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2285 * custom.el (custom-push-theme): Cleanup (use cond).
2286 (disable-theme): Recompute the saved-face property.
2287 (custom-theme-recalc-face): Follow face alias before setting prop.
2289 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2290 New variables, containing checkbox images.
2292 * startup.el (fancy-startup-tail):
2293 * wid-edit.el (checkbox): Use them.
2295 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2297 * shell.el (shell-mode-map):
2298 * progmodes/modula2.el (m2-mode-map):
2299 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2300 * play/mpuz.el (mpuz-mode-map):
2301 * play/landmark.el (lm-mode-map):
2302 * play/decipher.el (decipher-mode-map):
2303 * play/5x5.el (5x5-mode-map):
2304 * net/telnet.el (telnet-mode-map):
2305 * net/quickurl.el (quickurl-list-mode-map):
2306 * net/mairix.el (mairix-searches-mode-map):
2307 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2308 * net/dig.el (dig-mode-map):
2309 * mail/mspools.el (mspools-mode-map):
2310 * hexl.el (hexl-mode-map):
2311 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2312 (wordstar-C-o-map, wordstar-C-q-map):
2313 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2314 * emacs-lisp/chart.el (chart-map):
2315 * edmacro.el (edmacro-mode-map):
2316 * erc/erc-list.el (erc-list-menu-mode-map):
2317 * array.el (array-mode-map): Declare and define in one step.
2319 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2321 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2323 * epa.el (epa-passphrase-callback-function): Display filename
2324 passed as the 3rd arg.
2325 * epa-file.el (epa-file-passphrase-callback-function):
2326 Pass filename to epa-passphrase-callback-function.
2328 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2330 * cus-edit.el (custom-face-widget-to-spec)
2331 (custom-face-get-current-spec, custom-face-state): New functions.
2332 (custom-face-set, custom-face-mark-to-save)
2333 (custom-face-value-create, custom-face-state-set): Use them.
2335 * cus-theme.el (custom-theme--listed-faces): New var.
2336 (customize-create-theme): Use *Custom Theme* as the buffer name.
2337 Set revert-buffer-function. Optional arg BUFFER. Insert all
2338 faces listed in custom-theme--listed-faces.
2339 (custom-theme-revert): New function.
2340 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2342 (custom-theme-write): Prompt for theme name if empty.
2343 (custom-theme-write-variables): Use dolist.
2344 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2346 2010-10-09 Alan Mackenzie <acm@muc.de>
2348 Enhance fontification of declarators to take account of the
2349 presence/absence of "typedef".
2351 * cc-engine.el (c-forward-type): New &optional param
2353 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2354 presence of either or both of a "struct"-like keyword and "typedef".
2356 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2357 fontification of declarators which follow a "}".
2358 (c-font-lock-declarations): Fontify declarators according to the
2359 presence/absence of "typedef".
2361 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2363 (c-typedef-decl-key): New lang variable built from
2364 c-typedef-decl-kwds.
2366 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2368 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2369 since that's too annoying. Move the filter groups commands to
2372 * epa.el (epa-passphrase-callback-function): Say what we're
2373 querying the password for.
2375 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2376 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2378 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2380 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2381 (custom-magic-value-create): Pad button tags with spaces.
2382 (custom-face-edit): New variable.
2383 (custom-face-value-create): Determine whether to use the usual
2384 face editor here, instead of using custom-face-selected.
2385 Pass face defaults to custom-face-edit widget.
2386 (custom-face-selected, custom-display-unselected): Delete widgets.
2387 (custom-display-unselected-match): Function removed.
2388 (custom-face-set, custom-face-mark-to-save):
2389 Accept custom-face-edit widgets as the direct widget child.
2391 * wid-edit.el (widget--completing-widget): New var.
2392 (widget-default-complete): Bind it when doing completion.
2393 (widget-string-complete, widget-file-complete): Use it.
2395 2010-10-09 Glenn Morris <rgm@gnu.org>
2397 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2398 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2399 (holiday-hebrew-misc): Small simplifications.
2401 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2403 * net/browse-url.el: Don't require thingatpt, term, dired,
2404 executable, or w3-auto when compiling.
2405 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2407 (browse-url-text-emacs): Require term.
2409 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2411 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2413 2010-10-08 Glenn Morris <rgm@gnu.org>
2415 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2417 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2418 (shadows-compare-text-p): Make it an obsolete alias for...
2419 (load-path-shadows-compare-text): ... new name.
2420 (find-emacs-lisp-shadows): Update for above name change.
2421 (load-path-shadows-same-file-or-nonexistent): New name for the old
2422 shadow-same-file-or-nonexistent.
2424 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2426 * minibuffer.el (completion--some, completion--do-completion)
2427 (minibuffer-complete-and-exit, minibuffer-completion-help)
2428 (completion-basic-try-completion)
2429 (completion-basic-all-completions)
2430 (completion-pcm--find-all-completions): Use lexical-let to
2431 avoid some false matches in variable completion (Bug#7056)
2433 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2435 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2437 2010-10-08 Leo <sdl.web@gmail.com>
2439 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2440 return non-nil if the file exists (Bug#7090).
2442 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2444 * minibuffer.el (completion--replace):
2445 Better preserve markers (bug#7138).
2447 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2449 * server.el (server-process-filter): Doc fix.
2451 2010-10-08 Drew Adams <drew.adams@oracle.com>
2453 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2455 2010-10-08 Glenn Morris <rgm@gnu.org>
2457 * vc/ediff-wind.el (ediff-setup-control-frame):
2458 * vc/ediff-ptch.el (ediff-default-backup-extension):
2459 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2460 (ediff-exec-process): Remove system-types emx, windows-95.
2462 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2464 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2466 * cus-edit.el (custom-variable, custom-face): Doc fix.
2467 (custom-face-edit): Add value-create attribute.
2468 (custom-face-edit-value-create)
2469 (custom-face-edit-value-visibility-action): New functions.
2470 Hide unused face attributes by default, and add a visibility toggle.
2471 (custom-face-edit-deactivate): Show empty values with shadow face.
2472 (custom-face-selected): Only use this for face specs with default
2474 (custom-face-value-create): Cleanup.
2476 * wid-edit.el (widget-checklist-value-create): Use dolist.
2477 (widget-checklist-match-find): Make second arg optional.
2479 2010-10-07 Glenn Morris <rgm@gnu.org>
2481 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2484 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2485 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2486 load-path-shadows-mode, update references.
2487 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2488 Rename variable and button.
2489 (list-load-path-shadows): Update button caller.
2491 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2493 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2494 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2495 (smie-merge-prec2s): Handle those new entries.
2496 (smie-prec2-levels): Only set precedence to nil for actual
2498 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2499 that is now unnecessary.
2501 2010-10-07 Miles Bader <miles@gnu.org>
2503 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2505 2010-10-07 Glenn Morris <rgm@gnu.org>
2507 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2508 (mail-position-on-field): Remove declarations.
2509 (mail-position-on-field): Autoload it.
2510 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2511 and mail-header-end. Don't require sendmail.
2513 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2514 (shadow-mode): New mode.
2515 (shadow-find-file): New button.
2516 (list-load-path-shadows): Use shadow-mode and buttons.
2518 * iimage.el (iimage-version): Remove.
2519 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2520 Turn into defcustoms.
2521 (iimage-mode-map): Give it a doc string.
2523 * calendar/appt.el (appt-activate): Give a warning rather than an error
2524 if there is no diary-file.
2526 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2528 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2529 Use `tramp-handle-find-backup-file-name'.
2531 2010-10-06 Glenn Morris <rgm@gnu.org>
2533 * font-core.el (font-lock-defaults-alist): Remove variable.
2534 (font-lock-mode): Doc fix.
2535 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2536 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2537 (font-lock-set-defaults): Doc fix.
2538 Do not consult font-lock-defaults-alist.
2540 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2542 * emacs-lisp/cl.el: No longer provide cl-19.
2544 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2546 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2547 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2548 New defuns, taken from tramp-smb.el.
2549 (tramp-coding-system-change-eol-conversion)
2550 (tramp-set-process-query-on-exit-flag): Remove.
2552 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2553 (tramp-compat-coding-system-change-eol-conversion)
2554 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2557 * net/tramp-gvfs.el:
2558 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2559 by `tramp-compat-set-process-query-on-exit-flag'.
2561 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2562 Use `tramp-handle-directory-files-and-attributes',
2563 `tramp-handle-file-exists-p' and
2564 `tramp-handle-file-newer-than-file-p'.
2565 (tramp-imap-handle-file-exists-p)
2566 (tramp-imap-handle-file-executable-p)
2567 (tramp-imap-handle-file-readable-p)
2568 (tramp-imap-handle-directory-files-and-attributes)
2569 (tramp-imap-handle-file-newer-than-file-p): Remove.
2571 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2572 by `tramp-compat-set-process-query-on-exit-flag' and
2573 `tramp-coding-system-change-eol-conversion' by
2574 `tramp-compat-coding-system-change-eol-conversion'.
2576 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2577 Use `tramp-handle-directory-files-and-attributes',
2578 `tramp-handle-file-exists-p' and
2579 `tramp-handle-file-newer-than-file-p'.
2580 (tramp-smb-handle-directory-files-and-attributes)
2581 (tramp-smb-handle-file-exists-p)
2582 (tramp-smb-handle-file-newer-than-file-p): Remove.
2583 (tramp-smb-maybe-open-connection):
2584 Replace `tramp-set-process-query-on-exit-flag' by
2585 `tramp-compat-set-process-query-on-exit-flag'.
2587 2010-10-05 Glenn Morris <rgm@gnu.org>
2589 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2591 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2593 Continue reorganization of load dependencies. (Bug#7156)
2595 * net/tramp.el (tramp-handle-file-local-copy-hook)
2596 (tramp-delete-temp-file-function): Move down.
2597 (tramp-exists-file-name-handler): Move up.
2598 (tramp-register-file-name-handlers): Simplify autoload.
2599 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2600 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2601 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2602 (tramp-handle-file-name-completion)
2603 (tramp-handle-file-name-directory)
2604 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2605 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2606 (tramp-handle-find-backup-file-name)
2607 (tramp-handle-insert-file-contents, tramp-handle-load)
2608 (tramp-handle-substitute-in-file-name)
2609 (tramp-handle-unhandled-file-name-directory)
2610 (tramp-mode-string-to-int, tramp-local-host-p)
2611 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2613 * net/tramp-gvfs.el (top):
2614 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2616 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2617 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2619 2010-10-04 Glenn Morris <rgm@gnu.org>
2621 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2622 (appt-activate): Give status messages.
2624 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2626 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2627 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2628 `gnutls-negotiate' (formerly `starttls-negotiate').
2629 Remove trivial wrapper `starttls-open-stream'.
2631 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2633 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2634 log-outgoing commands.
2635 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2636 to create a buffer local revert-buffer-function variable.
2637 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2638 revert-buffer-function lambda.
2640 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2642 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2643 `gnutls-boot'. Make TYPE the only required parameter.
2644 Allow TRUSTFILES and KEYFILES to be lists.
2645 (open-ssl-stream): Use it.
2647 2010-10-03 Glenn Morris <rgm@gnu.org>
2649 * subr.el (directory-sep-char): Remove obsolete variable.
2650 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2653 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2654 * vc/vc.el (vc-static-header-alist): Doc fix.
2655 * vc/vc-cvs.el (vc-cvs-header):
2656 * vc/vc-rcs.el (vc-rcs-header):
2657 * vc/vc-sccs.el (vc-sccs-header):
2658 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2659 * obsolete/vc-mcvs.el (vc-mcvs-header):
2660 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2663 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2665 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2666 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2668 2010-10-03 Glenn Morris <rgm@gnu.org>
2670 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2672 * textmodes/rst.el (rst-font-lock-keywords-function):
2675 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2677 * printing.el: Drop Emacs 20 code.
2679 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2680 without having used appt.el already).
2682 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2683 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2684 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2686 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2687 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2689 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2690 (charset-width, find-charset-region, chars-in-region, forward-point)
2691 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2692 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2693 Remove compatibility cruft (none of these are used by ps*.el).
2695 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2697 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2699 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2701 * server.el (server-process-filter, server-return-error):
2702 Give emacsclient time to shut down after receiving an error string.
2704 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2706 * files.el (remote-file-name-inhibit-cache): New defcustom.
2708 * time.el (display-time-file-nonempty-p):
2709 Use `remote-file-name-inhibit-cache'.
2711 * net/tramp.el (tramp-completion-reread-directory-timeout):
2714 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2715 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2716 `remote-file-name-inhibit-cache'. Check also for an integer
2717 value. Add/increase counter when `tramp-verbose' >= 10.
2718 (tramp-set-file-property): Add/increase counter when
2719 `tramp-verbose' >= 10.
2721 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2722 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2723 (tramp-bug): Set tramp-autoload cookie. Report all interned
2724 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2725 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2726 characters only in strings.
2728 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2729 to backward compatibility.
2731 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2732 (tramp-handle-file-name-all-completions)
2733 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2734 (tramp-open-connection-setup-interactive-shell):
2735 Call `tramp-cleanup-connection' directly.
2737 2010-10-02 Glenn Morris <rgm@gnu.org>
2739 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2741 * subr.el (char-bytes): Remove obsolete function.
2743 * isearch.el (isearch-return-char): Remove obsolete function.
2745 * mouse.el: No longer provide mldrag.
2746 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2747 Remove obsolete aliases.
2749 * comint.el (comint-kill-output): Remove obsolete alias.
2751 * composite.el (decompose-composite-char): Remove obsolete function.
2752 * ps-def.el (decompose-composite-char): Remove unused function.
2754 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2756 * outline.el (outline-visible): Remove obsolete function.
2758 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2759 * faces.el (internal-find-face, internal-get-face)
2760 (frame-update-faces, frame-update-face-colors)
2761 (x-frob-font-weight, x-frob-font-slant)
2762 (internal-frob-font-weight, internal-frob-font-slant)
2763 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2764 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2765 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2767 * emulation/viper-util.el (viper-get-face):
2768 * obsolete/lucid.el (find-face, get-face): Use facep.
2769 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2770 Remove unused functions.
2771 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2773 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2774 delete tempfile if interrupted during compilation.
2776 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2778 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2780 (tls-program): Add --insecure to be consistent with the defaults from
2781 openssl s_client. Now all three commands are insecure.
2783 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2785 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2786 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2787 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2789 2010-10-01 Glenn Morris <rgm@gnu.org>
2791 * obsolete/sc.el: Remove file.
2793 * files.el (temporary-file-directory): On darwin, also try
2794 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2796 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2798 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2799 Let's not break compatibility gratuitously, shall we?
2801 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2803 * net/tls.el (tls-starttls-switches): New variable.
2804 (tls-find-starttls-argument): Use it.
2805 (open-tls-stream): Ditto.
2807 * net/netrc.el (netrc-credentials): Return the value of the "default"
2809 (netrc-machine): Ditto.
2811 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2813 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2815 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2817 * server.el (server-start): Don't write pid to the authentication file.
2818 (server-create-tty-frame): Don't send pid.
2819 (server-process-filter): Send pid at the start of every connection.
2821 2010-09-30 Glenn Morris <rgm@gnu.org>
2823 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2824 (show-all-diary-entries): Remove obsolete function aliases.
2826 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2827 Remove options, obsolete since 22.1.
2828 (appt-display-format, appt-display-message):
2829 Remove backwards-compatibility code.
2830 (appt-check): No longer check appt-issue-message.
2831 (appt-make-list): No longer autoload it. Doc fix. No longer
2832 activate the package.
2834 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2836 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2837 (starttls-negotiate): Just call boot, and let the handshake be
2838 triggered from the read loop.
2840 2010-09-29 Glenn Morris <rgm@gnu.org>
2842 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2843 not displaying the diary.
2844 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2845 * calendar/appt.el (appt-check): No longer need to kill diary.
2847 * calendar/diary-lib.el (diary-list-entries): Move the
2848 "Preparing..." message entirely here.
2849 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2850 messages to diary-list-entries.
2851 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2852 diary-display-function.
2854 * calendar/diary-lib.el (diary-include-other-diary-files):
2855 Trap some recursive includes.
2857 * calendar/appt.el (appt-activate): Check diary file.
2859 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2861 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2864 * calendar/time-date.el: No need to require cl for Emacs 21.
2866 2010-09-28 Glenn Morris <rgm@gnu.org>
2868 * calendar/appt.el (appt-check): Minor simplification.
2870 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2872 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2875 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2877 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2878 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
2880 2010-09-27 Kenichi Handa <handa@m17n.org>
2882 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2885 2010-09-27 Kenichi Handa <handa@m17n.org>
2887 * international/mule.el (define-coding-system): Docstring fixed.
2889 * international/mule-diag.el (describe-character-set): Use princ
2890 with proper print-length and print-level instead of insert.
2892 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
2894 * window.el (walk-windows): Doc fix (bug#7105).
2896 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2898 * emacs-lisp/float-sup.el (e): Remove.
2900 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2902 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2904 (starttls-negotiate): Use it.
2906 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2908 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2911 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2913 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2915 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2917 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2919 * net/netrc.el (netrc-store-data): New function.
2921 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
2923 * net/gnutls.el: GnuTLS glue code to set up a connection.
2925 2010-09-25 Julien Danjou <julien@danjou.info>
2927 * notifications.el: Call dbus-register-signal only if it is bound.
2929 2010-09-25 Glenn Morris <rgm@gnu.org>
2931 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2932 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2933 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2934 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2935 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2936 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2937 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2938 * eshell/esh-util.el, eshell/esh-var.el:
2939 Remove leading `*' from docs of faces and defcustoms.
2941 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
2943 * eshell/em-ls.el (eshell-ls-archive-regexp):
2944 * eshell/esh-util.el (eshell-tar-regexp):
2945 * ibuffer.el (ibuffer-compressed-file-name-regexp):
2946 * info.el (Info-suffix-list):
2947 * international/mule.el (auto-coding-alist):
2948 * woman.el (woman-file-regexp, woman-file-compression-regexp):
2949 * progmodes/etags.el (tags-compression-info-list):
2950 Support xz compression.
2952 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
2954 * files.el (get-free-disk-space): Don't assume the "df" output
2955 columns line up (Bug#6995).
2957 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2959 * finder.el (finder-unknown-keywords):
2960 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2961 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2963 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2965 * server.el (server-start): Revert part of 2010-08-08 change. Using
2966 address 127.0.0.1 for local host is now done in Fmake_network_process.
2968 2010-09-24 Glenn Morris <rgm@gnu.org>
2970 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2971 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2972 * textmodes/css-mode.el, textmodes/dns-mode.el:
2973 Move autoloaded auto-mode-alist entries to files.el.
2974 * files.el (auto-mode-alist): Move entries here.
2976 2010-09-23 Glenn Morris <rgm@gnu.org>
2978 * isearch.el (isearch-lazy-highlight-cleanup)
2979 (isearch-lazy-highlight-initial-delay)
2980 (isearch-lazy-highlight-interval)
2981 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2982 * net/net-utils.el (ipconfig-program-options):
2983 Move aliases to options before the associated definitions.
2985 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2987 * newcomment.el (comment-normalize-vars): Better test validity of
2990 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2992 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2993 (float-e): New name for `e'.
2994 (degrees-to-radians, radians-to-degrees):
2995 * calendar/solar.el (solar-longitude):
2996 * calculator.el (calculator-registers, calculator-funcall):
2997 * textmodes/artist.el (artist-spray-random-points):
2998 * play/bubbles.el (bubbles--initialize-images): Use new names.
3000 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3002 Update to CEDET 1.0's version of EIEIO.
3004 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3006 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3007 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3008 (class-precedence-list): If class is nil, return nil.
3009 (eieio-generic-call): If class of first input arg is nil, don't
3010 look up static methods, and do check for primary methods.
3011 (initialize-instance): See if the default needs to be evaluated
3012 during the constructor.
3013 (eieio-perform-slot-validation-for-default): Don't do the check
3014 for values that will eventually be evaluated.
3015 (eieio-eval-default-p): New function.
3016 (eieio-default-eval-maybe): Use it.
3018 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3020 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3021 method-invocation-order.
3022 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3023 (eieio-class-precedence-dfs): Compute class precedence list using
3025 (eieio-class-precedence-bfs): Compute class precedence list using
3027 (eieio-class-precedence-c3): Compute class precedence list using
3029 (class-precedence-list): New function.
3030 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3031 (inconsistent-class-hierarchy): New error symbol.
3032 (call-next-method): Stow the replacement argument list for future
3033 call-next-method invocations.
3035 2010-09-23 Glenn Morris <rgm@gnu.org>
3037 * calendar/appt.el (appt-check): If not displaying the diary,
3038 use (diary 1) to only get the entries we need.
3039 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3040 that it is in day order. (Bug#7019)
3042 * calendar/appt.el (appt-check): Rather than showing the diary,
3043 just turn off invisible display, and only if needed.
3045 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3047 2010-09-23 Glenn Morris <rgm@gnu.org>
3049 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3050 (byte-compile-defvar, byte-compile-cl-warn):
3051 Start warnings with lower-case, like the majority.
3053 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3055 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3057 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3058 * files.el (auto-mode-alist): Move ld-script entries here, further down
3061 * vc/add-log.el: Don't require timezone when compiling.
3062 (timezone-make-date-sortable): Autoload it.
3063 (change-log-sortable-date-at): Don't require timezone.
3064 Use `ignore-errors'.
3066 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3067 Move alias before definition, so it does not need autoloading.
3069 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3070 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3071 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3072 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3073 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3074 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3075 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3076 * textmodes/tex-mode.el, textmodes/two-column.el:
3077 Remove leading `*' from docs of defcustoms etc.
3079 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3081 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3083 2010-09-22 Dan Christensen <jdc@uwo.ca>
3085 * calendar/time-date.el (date-to-time): Try using parse-time-string
3086 first before using the slower timezone-make-date-arpa-standard.
3088 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3090 * calendar/time-date.el (format-seconds): Comment fix.
3092 2010-09-22 Glenn Morris <rgm@gnu.org>
3094 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3095 is not automatically buffer-local.
3097 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3100 (smie-indent-comment): Be more careful with comment-start-skip.
3101 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3102 (smie-indent-functions): Use them.
3104 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3106 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3108 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3110 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3111 tool-bar-position. Don't modify frame parameters here.
3112 (menu-bar-options-save): Add tool-bar-position.
3114 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3116 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3118 * textmodes/reftex-parse.el (reftex-what-macro)
3119 (reftex-context-substring): Let-bind forward-sexp-function to nil
3120 since we don't need/want to treat \begin...\end as a block (bug#7053).
3122 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3124 * simple.el (blink-matching-open): Use syntax-class.
3126 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3127 Set invisibility spec for pascal's outline mode.
3128 (pascal-outline-change): Clean up calling convention.
3129 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3131 * progmodes/prolog.el (prolog-smie-forward-token)
3132 (prolog-smie-backward-token): New functions.
3133 (prolog-mode-variables): Use them to parse "!," correctly.
3134 Set up smie-blink-matching for ".".
3136 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3138 (ispell-region, ispell-process-line): Update users.
3140 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3143 * textmodes/ispell.el: Fix commenting convention.
3144 (ispell-parse-output): Simplify, use push.
3145 (ispell-region): Use match-string-no-properties.
3146 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3147 (ispell-minor-mode): Use define-minor-mode.
3148 (ispell-message): Remove unused var `skip-regexp'.
3149 (ispell-add-per-file-word-list): Use dynamic let-binding.
3150 Try and use the proper comment marker.
3152 * mail/sendmail.el: Fix commenting convention.
3153 (sendmail-send-it): Use line-beginning-position.
3155 * help-fns.el (describe-variable): Add original value, if applicable.
3157 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3159 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3161 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3163 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3165 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3166 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3167 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3168 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3169 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3170 something like "." can also be a closer.
3171 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3172 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3173 Rename internal functions to use "--". Update callers.
3175 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3177 * fringe.el (fringe-styles): New var.
3178 (fringe-mode, fringe-query-style): Use it.
3180 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3182 * progmodes/sql.el: Version 2.8
3183 (sql-login-params): Update widget structure; changes still needed.
3184 (sql-product-alist): Add :list-all and :list-table features for
3185 SQLite, Postgres and MySQL products.
3186 (sql-redirect): Handle default value.
3187 (sql-execute, sql-execute-feature): New functions.
3188 (sql-read-table-name): New function.
3189 (sql-list-all, sql-list-table): New functions. User API.
3190 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3191 for above functions.
3192 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3193 for above functions.
3194 (sql-postgres-login-params): Add user and database defaults.
3195 (sql-buffer-live-p): Bug fix.
3196 (sql-product-history): New variable.
3197 (sql-read-product): New function. Use it.
3198 (sql-set-product, sql-product-interactive): Use it.
3199 (sql-connection-history): New variable.
3200 (sql-read-connection): New function. Use it.
3201 (sql-connect): New function.
3202 (sql-for-each-login): Redesign function interface.
3203 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3204 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3205 (sql-comint): Check for program. Existing live buffer.
3206 (sql-comint-postgres): Add port parameter.
3208 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3210 * emacs-lisp/warnings.el: Fix commenting convention.
3211 (display-warning): Use special mode and make the buffer read-only.
3213 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3215 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3216 empty string when it follows a repeated or optional pattern.
3218 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3220 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3221 (indent-region): Use indent-according-to-mode.
3223 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3225 * fringe.el (fringe-mode): Doc fix.
3227 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3229 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3230 refreshing the preview buffer.
3232 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3234 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3235 (latex-syntax-propertize-rules): New consts; replace
3236 tex-font-lock-syntactic-keywords.
3237 (tex-env-mark, latex-env-before-change): New functions.
3238 (latex-electric-env-pair-mode): New minor mode.
3239 (tex-font-lock-verb): Change arguments; do move point.
3240 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3241 representation as a form of comment.
3242 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3243 (doctex-syntax-propertize-rules): New const; replaces
3244 doctex-font-lock-syntactic-keywords.
3245 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3247 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3248 (fortran-make-syntax-propertize-function): New function; replaces
3249 fortran-font-lock-syntactic-keywords.
3250 (fortran-mode): Use it.
3251 (fortran-line-length): Use it. Improve interactive spec.
3253 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3254 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3255 when adding surrounding \(..\).
3257 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3259 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3261 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3262 Use with-current-buffer.
3264 * isearch.el (isearch-face): Rename from `isearch'.
3265 (isearch-highlight): Use new name.
3267 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3269 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3270 5, for `half' width fringes. (Bug#6933)
3272 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3274 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3275 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3277 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3279 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3281 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3282 in calculating new frame position. Add more space between new and
3283 parent on the left (Bug#7048).
3285 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3287 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3290 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3292 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3294 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3295 obsolete alias for x-selection-value.
3297 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3299 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3301 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3304 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3306 * net/tramp-compat.el (tramp-compat-with-temp-message)
3307 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3308 (tramp-compat-process-put): New defuns.
3310 * net/tramp.el (top):
3311 * net/tramp-gvfs.el (top):
3312 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3314 * net/tramp.el (tramp-progress-reporter-update):
3315 Use `tramp-compat-funcall'.
3317 * net/tramp.el (tramp-process-actions):
3318 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3319 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3320 (tramp-get-remote-stat, tramp-get-remote-readlink):
3321 Use `tramp-compat-with-temp-message'.
3323 * net/tramp-sh.el (top): Require 'cl.
3324 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3325 (tramp-open-connection-setup-interactive-shell):
3326 Use `tramp-compat-process-put'.
3328 2010-09-15 Alan Mackenzie <acm@muc.de>
3330 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3332 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3334 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3336 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3337 `lexical' for warnings related to lexical scoping.
3338 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3339 global vars which don't have a prefix and could hence affect lexical
3340 scoping in unrelated files.
3342 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3344 * net/imap.el: Revert back to version
3345 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3348 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3350 * obsolete/old-whitespace.el (whitespace-unload-function):
3351 Explicitly pass `obarray' to `unintern' to avoid a warning.
3353 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3355 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3356 Add `when' argument. Update callers.
3358 * subr.el (unintern): Declare the obarray arg mandatory.
3360 2010-09-14 Glenn Morris <rgm@gnu.org>
3362 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3365 * calendar/diary-lib.el (diary-included-files): New variable.
3366 (diary-list-entries): Maybe initialize diary-included-files.
3367 (diary-include-other-diary-files): Append to diary-included-files.
3368 * calendar/appt.el (appt-update-list): Also check the members of
3369 diary-included-files. (Bug#6999)
3370 (appt-check): Doc fix.
3372 2010-09-14 David Reitter <david.reitter@gmail.com>
3374 * simple.el (line-move-visual): Do not truncate goal column to
3375 integer size. (Bug#7020)
3377 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3379 * repeat.el (repeat): Allow repeating when the last event is a click.
3380 Suggested by Drew Adams (bug#6256).
3382 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3384 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3385 Replace setting HGRCPATH to "" by some less invasive --config options.
3387 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3389 * font-lock.el (font-lock-beginning-of-syntax-function):
3392 2010-09-14 Glenn Morris <rgm@gnu.org>
3394 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3395 and tool-bar modes. (Bug#6211)
3396 (menu-bar-mode): Move setting of standard-value after the
3397 minor-mode definition, otherwise it seems to have no effect.
3399 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3401 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3402 Fix typo. (Bug#6976)
3404 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3406 * whitespace.el: Allow cleaning up blanks without blank
3407 visualization (Bug#6651). Adjust help window for
3408 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3409 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3410 (whitespace-style): Add new value 'face. Adjust docstring.
3411 (whitespace-space, whitespace-hspace, whitespace-tab):
3412 Adjust foreground property face.
3413 (whitespace-line-column): Adjust docstring and type declaration.
3414 (whitespace-style-value-list, whitespace-toggle-option-alist)
3415 (whitespace-help-text): Adjust const initialization.
3416 (whitespace-toggle-options, global-whitespace-toggle-options):
3418 (whitespace-display-window, whitespace-interactive-char)
3419 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3420 (whitespace-help-scroll): New fun.
3422 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3424 * calendar/time-date.el (format-seconds): Comment fix.
3426 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3428 * progmodes/sql.el: Version 2.7.
3429 (sql-buffer-live-p): Improve detection.
3430 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3431 (sql-set-sqli-buffer): Use it.
3432 (sql-product-interactive): Run `sql-set-sqli-hook'.
3433 (sql-rename-buffer): Code cleanup.
3434 (sql-redirect, sql-redirect-value): New functions. More to come.
3436 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3438 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.
3439 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3440 (TRAMP_SRC): New macro.
3441 ($(lisp)/net/tramp-loaddefs.el): New target.
3443 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3445 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3447 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3449 * net/tramp.el (top): Don't show loading message. Require just
3450 'tramp-compat, everything else is required there.
3451 Use `ignore-errors' where appropriate.
3452 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3453 (tramp-terminal-type, tramp-end-of-output)
3454 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3455 (tramp-completion-function-alist-ssh)
3456 (tramp-completion-function-alist-telnet)
3457 (tramp-completion-function-alist-su)
3458 (tramp-completion-function-alist-putty, tramp-remote-path)
3459 (tramp-remote-process-environment, tramp-sh-extra-args)
3460 (tramp-actions-before-shell, tramp-uudecode)
3461 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3462 (tramp-perl-file-attributes)
3463 (tramp-perl-directory-files-and-attributes)
3464 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3465 (tramp-perl-encode, tramp-perl-decode)
3466 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3467 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3468 (tramp-handle-make-symbolic-link, tramp-handle-load)
3469 (tramp-handle-file-name-as-directory)
3470 (tramp-handle-file-name-directory)
3471 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3472 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3473 (tramp-do-file-attributes-with-ls)
3474 (tramp-do-file-attributes-with-perl)
3475 (tramp-do-file-attributes-with-stat)
3476 (tramp-handle-set-visited-file-modtime)
3477 (tramp-handle-verify-visited-file-modtime)
3478 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3479 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3480 (tramp-handle-file-selinux-context)
3481 (tramp-handle-set-file-selinux-context)
3482 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3483 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3484 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3485 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3486 (tramp-handle-file-ownership-preserved-p)
3487 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3488 (tramp-handle-directory-files-and-attributes)
3489 (tramp-do-directory-files-and-attributes-with-perl)
3490 (tramp-do-directory-files-and-attributes-with-stat)
3491 (tramp-handle-file-name-all-completions)
3492 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3493 (tramp-handle-copy-file, tramp-handle-copy-directory)
3494 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3495 (tramp-do-copy-or-rename-file-via-buffer)
3496 (tramp-do-copy-or-rename-file-directly)
3497 (tramp-do-copy-or-rename-file-out-of-band)
3498 (tramp-handle-make-directory, tramp-handle-delete-directory)
3499 (tramp-handle-delete-file)
3500 (tramp-handle-dired-recursive-delete-directory)
3501 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3502 (tramp-handle-insert-directory)
3503 (tramp-handle-unhandled-file-name-directory)
3504 (tramp-handle-expand-file-name)
3505 (tramp-handle-substitute-in-file-name)
3506 (tramp-handle-executable-find, tramp-process-sentinel)
3507 (tramp-handle-start-file-process, tramp-handle-process-file)
3508 (tramp-handle-call-process-region, tramp-handle-shell-command)
3509 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3510 (tramp-handle-insert-file-contents)
3511 (tramp-handle-insert-file-contents-literally)
3512 (tramp-handle-find-backup-file-name)
3513 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3514 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3515 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3516 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3517 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3518 (tramp-find-file-exists-command, tramp-open-shell)
3519 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3520 (tramp-open-connection-setup-interactive-shell)
3521 (tramp-local-coding-commands, tramp-remote-coding-commands)
3522 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3523 (tramp-inline-compress-commands, tramp-find-inline-compress)
3524 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3525 (tramp-send-command, tramp-wait-for-output)
3526 (tramp-send-command-and-check, tramp-barf-unless-okay)
3527 (tramp-send-command-and-read, tramp-mode-string-to-int)
3528 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3529 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3530 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3531 (tramp-method-out-of-band-p, tramp-local-host-p)
3532 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3533 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3534 (tramp-get-test-command, tramp-get-test-nt-command)
3535 (tramp-get-file-exists-command, tramp-get-remote-ln)
3536 (tramp-get-remote-perl, tramp-get-remote-stat)
3537 (tramp-get-remote-readlink, tramp-get-remote-trash)
3538 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3539 (tramp-get-local-uid, tramp-get-local-gid)
3540 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3542 (tramp-methods, tramp-default-method-alist)
3543 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3544 Move initialization to tramp-sh.el.
3545 (tramp-temp-name-prefix): Make it a defconst.
3546 (tramp-dissect-file-name): Don't check anymore for multi-hop
3548 (tramp-debug-outline-regexp): Add a docstring.
3549 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3550 (tramp-get-debug-buffer): Use it.
3552 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3553 initialization forms.
3554 (tramp-set-connection-property): Don't protect `tramp-message'
3555 call, it isn't necessary any longer.
3556 (tramp-dump-connection-properties): Use `ignore-errors'.
3558 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3559 'password-cache and 'auth-source.
3561 * net/tramp-gvfs.el (top):
3562 * net/tramp-smb.el (top): Require 'tramp-sh.
3564 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3566 * net/tramp-sh.el: New file, derived from tramp.el.
3567 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3568 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3569 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3570 Use `ignore-errors' where appropriate.
3571 (tramp-sh-file-name-handler-alist): Rename from
3572 `tramp-file-name-handler-alist'.
3573 (tramp-send-command-and-check): Return t or nil. Remove all
3574 `zerop' checks, where called.
3575 (tramp-handle-set-file-modes)
3576 (tramp-do-copy-or-rename-file-directly)
3577 (tramp-handle-delete-directory, tramp-handle-delete-file)
3578 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3579 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3580 (tramp-get-remote-ln): Set tramp-autoload cookie.
3582 * net/tramp-fish.el: Remove file.
3584 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3586 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3587 buffer-file-name to avoid file-locking. (Bug#7026)
3589 2010-09-13 Julien Danjou <julien@danjou.info>
3591 * notifications.el (notifications-notify): Add support for
3592 image-path and sound-name.
3593 (notifications-specification-version): Add this variable.
3595 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3597 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3599 2010-09-12 Leo <sdl.web@gmail.com>
3601 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3602 (rcirc-completion-start): New variables.
3603 (rcirc-nick-completions): Rename to rcirc-completions.
3604 (rcirc-nick-completion-start-offset): Delete.
3605 (rcirc-completion-at-point): New function for constructing
3606 completion data for both nicks and irc commands. Add to
3607 completion-at-point-functions in rcirc mode.
3608 (rcirc-complete): Rename from rcirc-nick-complete; use
3609 rcirc-completion-at-point.
3610 (defun-rcirc-command): Update rcirc-client-commands.
3612 2010-09-11 Glenn Morris <rgm@gnu.org>
3614 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3615 atomically, to avoid parallel build errors. (Bug#4196)
3617 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3619 * progmodes/sql.el: Version 2.6
3620 (sql-dialect): Synonym for "sql-product".
3621 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3622 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3623 Set "sql-buffer" to buffer name not buffer object so multiple sql
3624 interactive buffers work properly. Reverts misguided changes in
3626 (sql-comint): Make sure different buffer name is used if "*SQL*"
3627 buffer is for a different product.
3628 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3630 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3631 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3632 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3633 Accept new buffer name or prompt for one.
3634 (sql-port): Default to zero.
3635 (sql-comint-mysql): Handle "sql-port" as a numeric.
3636 (sql-port-history): Delete unused variable.
3637 (sql-get-login): Default "sql-port" to a number.
3638 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3639 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3640 "sqlite3" executables.
3641 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3642 (sql-buffer-live-p): New function.
3643 (sql-mode-menu, sql-send-string): Use it.
3644 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3646 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3647 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3649 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3651 * net/netrc.el (netrc-credentials): New convenience function.
3653 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3655 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3656 to replace texinfo-font-lock-syntactic-keywords.
3657 (texinfo-mode): Use it.
3659 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3660 Use syntax-propertize-function.
3662 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3663 replace sgml-font-lock-syntactic-keywords.
3664 (sgml-mode): Use it.
3666 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3667 since we don't use it.
3669 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3671 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3673 (vhdl-fontify-buffer): Adjust.
3675 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3676 replace tcl-font-lock-syntactic-keywords.
3679 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3680 replace simula-font-lock-syntactic-keywords.
3681 (simula-mode): Use it.
3683 * progmodes/sh-script.el (sh-st-symbol): Remove.
3684 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3685 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3686 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3687 (sh-font-lock-paren): Set syntax-multiline.
3688 (sh-font-lock-syntactic-keywords): Remove.
3689 (sh-syntax-propertize-function): New function to replace it.
3692 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3693 Define while compiling.
3694 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3695 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3696 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3697 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3698 (ruby-here-doc-end-syntax): Only define when
3699 syntax-propertize is not available.
3700 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3702 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3703 (electric-indent-chars): Silence bytecompiler.
3704 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3705 electric-indent-chars.
3707 * progmodes/python.el (python-syntax-propertize-function): New var to
3708 replace python-font-lock-syntactic-keywords.
3709 (python-mode): Use it.
3710 (python-quote-syntax): Simplify and adjust to new use.
3712 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3713 replace perl-font-lock-syntactic-keywords.
3714 (perl-syntax-propertize-special-constructs): New fun to replace
3715 perl-font-lock-special-syntactic-constructs.
3716 (perl-font-lock-syntactic-face-function): New fun.
3717 (perl-mode): Use it.
3719 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3720 to replace octave-font-lock-close-quotes.
3721 (octave-syntax-propertize-function): New function to replace
3722 octave-font-lock-syntactic-keywords.
3723 (octave-mode): Use it.
3725 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3726 replaces mixal-font-lock-syntactic-keywords.
3727 (mixal-mode): Use it.
3729 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3730 New var; replaces makefile-font-lock-syntactic-keywords.
3731 (makefile-mode): Use it.
3732 (makefile-imake-mode): Adjust.
3734 * progmodes/js.el (js--regexp-literal): Define while compiling.
3735 (js-syntax-propertize-function): New var; replaces
3736 js-font-lock-syntactic-keywords.
3739 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3740 replaces gdb-script-font-lock-syntactic-keywords.
3741 (gdb-script-mode): Use it.
3743 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3744 (fortran--font-lock-syntactic-keywords): New var.
3745 (fortran-line-length): Update syntax-propertize-function and
3746 fortran--font-lock-syntactic-keywords.
3748 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3750 * progmodes/cfengine.el (cfengine-mode):
3751 Use syntax-propertize-function.
3752 (cfengine-font-lock-syntactic-keywords): Remove.
3754 * progmodes/autoconf.el (autoconf-mode):
3755 Use syntax-propertize-function.
3756 (autoconf-font-lock-syntactic-keywords): Remove.
3758 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3759 (ada-after-change-function, ada-initialize-syntax-table-properties)
3760 (ada-handle-syntax-table-properties): Only define when
3761 syntax-propertize is not available.
3762 (ada-mode): Use syntax-propertize-function.
3764 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3765 (font-lock-fontify-syntactic-keywords-region): Move handling of
3766 font-lock-syntactically-fontified to...
3767 (font-lock-default-fontify-region): ...here.
3768 Let syntax-propertize-function take precedence.
3769 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3771 * emacs-lisp/syntax.el (syntax-propertize-function)
3772 (syntax-propertize-chunk-size, syntax-propertize--done)
3773 (syntax-propertize-extend-region-functions): New vars.
3774 (syntax-propertize-wholelines, syntax-propertize-multiline)
3775 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3776 (syntax-propertize): New functions.
3777 (syntax-propertize-rules): New macro.
3778 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3779 (syntax-ppss): Call syntax-propertize.
3781 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3783 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3785 * textmodes/ispell.el (ispell-init-process): Improve comments.
3786 XEmacs compatibility changes regarding (add-hook) 'local option
3787 and (set-process-query-on-exit-flag).
3789 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3791 * net/tramp-cache.el (tramp-parse-connection-properties):
3792 Set tramp-autoload cookie.
3794 2010-09-09 Glenn Morris <rgm@gnu.org>
3796 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3797 (imagemagick-register-types): Doc fix.
3799 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3801 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3803 * progmodes/js.el (require): Require is already "eval-and-compile".
3804 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3805 (js--re-search-backward): Use js--re-search-forward.
3807 * progmodes/fortran.el (fortran-line-length): Don't recompute
3808 syntactic keywords redundantly a second time.
3810 * progmodes/ada-mode.el: Replace "(set '" with setq.
3811 (ada-mode): Simplify.
3812 (ada-create-case-exception, ada-adjust-case-interactive)
3813 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3814 (ada-search-ignore-string-comment, ada-move-to-start)
3815 (ada-move-to-end): Use with-syntax-table.
3817 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3818 (font-lock-unfontify-region, font-lock-default-fontify-region):
3819 Update usage correspondingly.
3820 (font-lock-fontify-syntactic-keywords-region):
3821 Set parse-sexp-lookup-properties buffer-locally here.
3822 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3824 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3826 2010-09-08 Glenn Morris <rgm@gnu.org>
3828 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3829 Error if not compiled with -DBYTE_CODE_METER.
3831 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3832 Ignore dir-locals-file.
3834 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3838 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3839 for the `gnu' messages.
3840 (compilation-set-skip-threshold): New command.
3841 (compilation-start): Use \' rather than $.
3842 (compilation-forget-errors): Use clrhash.
3844 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3846 * textmodes/ispell.el (ispell-valid-dictionary-list):
3849 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3851 Migrate to Tramp 2.2. Rearrange load dependencies.
3852 (Bug#1529, Bug#5448, Bug#5705)
3854 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3855 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3856 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3858 * net/tramp.el (top): Remove all other tramp-* loads except
3859 tramp-compat.el. Remove all changes to tramp-unload-hook for
3860 other tramp-* packages. Rearrange defun order. Change calls of
3861 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3862 `tramp-compat-octal-to-decimal' to new function names.
3863 (tramp-terminal-type, tramp-initial-end-of-output)
3864 (tramp-methods, tramp-foreign-file-name-handler-alist)
3865 (tramp-tramp-file-p, tramp-completion-mode-p)
3866 (tramp-send-command-and-check, tramp-get-remote-path)
3867 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3868 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3869 (with-file-property, with-connection-property): Move to
3871 (tramp-local-call-process, tramp-decimal-to-octal)
3872 (tramp-octal-to-decimal): Move to tramp-compat.el.
3873 (tramp-handle-shell-command): Do not require 'shell.
3874 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3876 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3878 * net/tramp-cache.el (top): Require 'tramp. Add to
3879 `tramp-unload-hook'.
3880 (tramp-cache-data, tramp-get-file-property)
3881 (tramp-set-file-property, tramp-flush-file-property)
3882 (tramp-flush-directory-property, tramp-get-connection-property)
3883 (tramp-set-connection-property, tramp-flush-connection-property)
3884 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3886 (with-file-property, with-connection-property): New defuns, moved
3888 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3891 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3892 (tramp-version): Set tramp-autoload cookie.
3894 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
3895 changes to tramp-unload-hook for other tramp-* packages. Add to
3896 `tramp-unload-hook'.
3897 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3898 (tramp-compat-call-process): New defuns, moved from tramp.el.
3900 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3901 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3902 Add to `tramp-unload-hook'. Change call of
3903 `tramp-compat-decimal-to-octal' to new function name.
3904 (tramp-fish-method): Make it a defconst.
3905 (tramp-fish-file-name-p): Make it a defsubst.
3906 (tramp-fish-method, tramp-fish-file-name-handler)
3907 (tramp-fish-file-name-p): Set tramp-autoload cookie.
3909 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3910 `tramp-foreign-file-name-handler-alist'. Add to
3911 `tramp-unload-hook'.
3912 (tramp-ftp-method): Make it a defconst.
3913 (tramp-ftp-file-name-p): Make it a defsubst.
3914 (tramp-ftp-method, tramp-ftp-file-name-handler)
3915 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3917 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3918 `tramp-foreign-file-name-handler-alist'. Add to
3919 `tramp-unload-hook'. Change checks, whether package can be
3921 (tramp-gvfs-file-name-p): Make it a defsubst.
3922 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3923 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3924 (tramp-gvfs-handle-file-directory-p): New defun.
3925 (tramp-gvfs-file-name-handler-alist): Use it.
3927 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3928 `tramp-foreign-file-name-handler-alist'. Add to
3929 `tramp-unload-hook'.
3930 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3931 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3933 (tramp-gw-tunnel-method, tramp-gw-socks-method)
3934 (tramp-gw-open-connection): Set tramp-autoload cookie.
3936 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
3937 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3938 Add to `tramp-unload-hook'. Change checks, whether package can be
3940 (tramp-imap-file-name-p): Make it a defsubst.
3941 (tramp-imap-method, tramp-imaps-method)
3942 (tramp-imap-file-name-handler)
3943 (tramp-imap-file-name-p): Set tramp-autoload cookie.
3945 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
3946 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3947 Add to `tramp-unload-hook'. Change checks, whether package can be
3948 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3950 (tramp-smb-tunnel-method): Make it a defconst.
3951 (tramp-smb-file-name-p): Make it a defsubst.
3952 (tramp-smb-method, tramp-smb-file-name-handler)
3953 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3955 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3956 (tramp-uuencode-region): Set tramp-autoload cookie.
3958 * net/trampver.el (top) Add to `tramp-unload-hook'.
3959 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3960 cookie. Update release number.
3962 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3964 * textmodes/ispell.el (ispell-start-process): Make sure original
3965 arg list is properly initialized (Bug#6993, Bug#6994).
3967 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3969 * files.el (directory-abbrev-alist): Use \` as default regexp.
3971 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3972 chars like - or ] (bug#6984).
3973 (rx-any-condense-range): Explode 2-char ranges.
3975 2010-09-06 Glenn Morris <rgm@gnu.org>
3977 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3979 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3981 * textmodes/bibtex.el:
3982 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3984 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3986 * net/imap.el (imap-message-map): Remove optional buffer parameter,
3987 since no callers use it.
3988 (imap-message-get): Ditto.
3989 (imap-message-put): Ditto.
3990 (imap-mailbox-map): Ditto.
3991 (imap-mailbox-put): Ditto.
3992 (imap-mailbox-get): Ditto.
3993 (imap-mailbox-get): Revert last change for this function.
3995 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3997 * net/imap.el (imap-fetch-safe): Remove function, and alter all
3998 callers to use `imap-fetch' instead. According to the comments, this
3999 should be safe, since all other IMAP clients use the 1:* syntax.
4000 (imap-enable-exchange-bug-workaround): Remove.
4001 (imap-debug): Remove -- doesn't seem very useful.
4003 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4005 * net/imap.el (imap-log): New convenience function used throughout
4006 instead of repeating the same code all over the place.
4008 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4010 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4011 when mouse-drag-copy-region is non-nil (Bug#6956).
4013 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4015 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4016 Improve regexps (Bug#6987).
4017 (dired-sort-toggle): Search more robustly for -t flag.
4019 * files.el (get-free-disk-space): Search more robustly for
4020 "available" column. Suggested by Ehud Karni
4021 <ehud@unix.mvs.co.il>.
4023 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4025 * international/uni-bidi.el:
4026 * international/uni-category.el:
4027 * international/uni-combining.el:
4028 * international/uni-decimal.el:
4029 * international/uni-mirrored.el:
4030 * international/uni-name.el: Regenerate.
4032 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4034 * electric.el (electric-indent-post-self-insert-function):
4035 Don't reindent with a sloppy indentation function.
4037 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4038 border case in change-log-mode.
4040 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4042 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4043 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4044 Recognize leading tab in gcc-include regexp. Ignore names with
4045 leading "from" or "in" in gnu regexp (Bug#6937).
4047 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4049 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4050 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4051 (ispell-start-process): Avoid setq and simplify logic.
4052 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4053 (kill-buffer-hook): Don't use it globally with code that uses
4054 expand-file-name since that may call kill-buffer via
4055 code_conversion_restore.
4057 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4059 * emacs-lisp/package.el (package-directory-list): Only call
4060 file-name-nondirectory on a string.
4062 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4064 * emacs-lisp/package.el (package--download-one-archive):
4065 Ensure that archive-contents is valid before saving it.
4066 (package-activate-1, package-mark-obsolete, define-package)
4067 (package-compute-transaction, package-list-maybe-add): Use push.
4069 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4071 Use SMIE's blink-paren for octave-mode.
4072 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4073 Backslashes do not escape single-quotes, single-quotes do.
4074 (octave-block-else-regexp, octave-block-end-regexp)
4075 (octave-block-match-alist): Remove.
4076 (octave-smie-bnf-table): New var, with old content.
4077 (octave-smie-op-levels): Use it.
4078 (octave-smie-closer-alist): New var.
4079 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4080 (octave-blink-matching-block-open): Remove.
4081 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4082 (octave-electric-space): Let self-insert-command run expand-abbrev and
4085 * electric.el (electricity): New group.
4086 (electric-indent-chars): New var.
4087 (electric-indent-post-self-insert-function): New fun.
4088 (electric-indent-mode): New minor mode.
4089 (electric-pair-skip-self): New custom.
4090 (electric-pair-post-self-insert-function): New function.
4091 (electric-pair-mode): New minor mode.
4093 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4094 calcAlg-blink-matching-open.
4095 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4096 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4097 Use the new blink-matching-check-function.
4099 Provide blink-matching support to SMIE.
4100 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4101 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4102 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4104 * simple.el (newline): Fix last change to properly remove itself from
4107 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4109 * simple.el (newline): Eliminate optimization.
4110 Use post-self-insert-hook to set hard-newline and things before
4111 running post-self-insert-hook.
4112 (blink-matching-check-mismatch): New function.
4113 (blink-matching-check-function): New variable.
4114 (blink-matching-open): Use them.
4115 Skip back forward over prefix chars skipped by forward-sexp.
4116 Don't check if the parens are backslash escaped.
4117 (blink-paren-post-self-insert-function): Check backslash escaping here.
4119 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4121 * emacs-lisp/package.el (package-menu-mode-map):
4122 Change package-menu-revert bindings to revert-buffer.
4123 (package-menu-mode): Set revert-buffer-function.
4124 (package-menu-revert): Doc fix.
4126 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4128 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4129 `default-directory' unless using Ispell per-directory personal
4130 dictionaries and not in a mini-buffer under XEmacs.
4131 (kill-buffer-hook): Do not kill ispell process on exit when
4132 `ispell-process-directory' is "~/". (Bug#6143)
4134 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4136 * simple.el (kill-new): Call interprogram-cut-function with only
4139 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4140 Remove cut buffer from error message.
4142 * term/x-win.el (x-select-text):
4143 * term/pc-win.el (x-selection-value):
4144 * term/ns-win.el (x-selection-value):
4145 * eshell/em-term.el:
4146 * w32-fns.el (x-get-selection-value):
4147 * mouse-sel.el (mouse-sel-set-selection-function):
4148 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4150 * term/x-win.el: Update documentation for x-last-selected-text-*.
4151 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4152 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4153 (x-select-text): Remove argument PUSH, update documentation.
4154 Remove cut-buffer code.
4155 (x-selection-value-internal): Was previously x-selection-value.
4156 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4157 Update documentation, remove cut-buffer code.
4158 Call x-selection-value-internal.
4159 (x-clipboard-yank): Call x-selection-value-internal.
4160 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4162 * term/pc-win.el (x-last-selected-text):
4163 x-cut-buffer-or-selection-value renamed to x-selection-value
4164 (x-select-text): Remove argument PUSH, update documentation.
4166 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4167 x-cut-buffer-or-selection-value renamed to x-selection-value
4168 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
4169 (x-select-text): Remove argument PUSH, update documentation.
4171 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4173 * w32-fns.el (x-last-selected-text):
4174 x-cut-buffer-or-selection-value renamed to x-selection-value.
4175 (x-cut-buffer-max): Remove.
4176 (x-select-text): Remove argument PUSH, update documentation.
4178 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4180 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4182 * mouse-sel.el (mouse-sel-get-selection-function):
4183 x-cut-buffer-or-selection-value renamed to x-selection-value.
4184 (x-select-text): Remove optional push.
4186 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4188 * simple.el (blink-paren-function): Move from C to here.
4189 (blink-paren-post-self-insert-function): New function.
4190 (post-self-insert-hook): Use it.
4192 * emacs-lisp/pcase.el (pcase-split-memq):
4193 Fix overenthusiastic optimisation.
4194 (pcase-u1): Handle the case of a lambda pred.
4196 2010-08-31 Kenichi Handa <handa@m17n.org>
4198 * international/mule-cmds.el (standard-display-european-internal):
4199 Setup standard-display-table for 8-bit characters by storing 8-bit
4200 characters in the element vector.
4202 * disp-table.el (standard-display-8bit):
4203 Setup standard-display-table for 8-bit characters by storing 8-bit
4204 characters in the element vector.
4205 (standard-display-european): Likewise.
4207 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4209 * textmodes/nroff-mode.el (nroff-view): New command.
4210 (nroff-mode-map): Bind it to C-c C-c.
4212 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4214 * emacs-lisp/smie.el (smie-down-list): New command.
4216 Remove old indentation and navigation code on octave-mode.
4217 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4218 smie-down-list rather than add a binding for octave-down-block.
4219 (octave-mark-block, octave-blink-matching-block-open):
4220 Rely on forward-sexp-function.
4221 (octave-fill-paragraph): Don't narrow, so you can use
4222 indent-according-to-mode.
4223 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4224 (octave-in-block-p, octave-re-search-forward-kw)
4225 (octave-re-search-backward-kw, octave-indent-calculate)
4226 (octave-end-as-array-index-p, octave-block-end-offset)
4227 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4228 (octave-down-block, octave-backward-up-block, octave-up-block)
4229 (octave-before-magic-comment-p, octave-indent-line): Remove.
4231 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4233 * emacs-lisp/package.el (package--read-archive-file): Just use
4234 `read', to avoid copying an additional string.
4235 (package-menu-mode): Set header-line-format here.
4236 (package-menu-refresh, package-menu-revert): Signal an error if
4237 not in the Package Menu.
4238 (package-menu-package-list): New var.
4239 (package--generate-package-list): Operate on the current buffer;
4240 don't assume that it is *Packages*, since the user may rename it.
4241 Allow persistent package listings and sort keys using
4242 package-menu-package-list and package-menu-package-sort-key.
4243 (package-menu--version-predicate): Fix version calculation.
4244 (package-menu-sort-by-column): Don't select the window.
4245 (package--list-packages): Create the *Packages* buffer.
4246 Set package-menu-package-list-key.
4247 (list-packages): Sorting by status is now the default.
4248 (package-buffer-info): Use match-string-no-properties.
4249 (define-package): Add a &rest argument for future proofing, but
4251 (package-install-from-buffer, package-install-buffer-internal):
4252 Merge into a single function, package-install-from-buffer.
4253 (package-install-file): Change caller.
4255 * finder.el: Load finder-inf using `require'.
4256 (finder-list-matches): Sorting by status is now the default.
4257 (finder-compile-keywords): Simpify printing.
4259 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4261 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4262 (octave-mode-map): Remove special bindings for forward/backward-block
4263 and octave-backward-up-block. Use smie-close-block.
4264 (octave-continuation-marker-regexp): New var.
4265 (octave-continuation-regexp): Use it.
4266 (octave-operator-table, octave-smie-op-levels)
4267 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4268 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4269 (octave-mode): Use SMIE.
4270 (octave-close-block): Delete.
4272 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4274 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4275 CLIPBOARD, not in PRIMARY. (Bug#6944)
4277 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4279 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4281 (smie-indent-column): Allow indirection through variables.
4283 * composite.el (save-buffer-state): Delete, unused.
4284 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4285 (font-lock-default-fontify-region): Use with-syntax-table.
4286 * jit-lock.el (with-buffer-unmodified): Remove.
4287 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4289 Use `declare' in defmacros.
4290 * window.el (save-selected-window):
4291 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4292 * progmodes/python.el (def-python-skeleton):
4293 * net/dbus.el (dbus-ignore-errors):
4294 * jka-cmpr-hook.el (with-auto-compression-mode):
4295 * international/mule.el (with-category-table):
4296 * emacs-lisp/timer.el (with-timeout):
4297 * emacs-lisp/lisp-mnt.el (lm-with-file):
4298 * emacs-lisp/eieio.el (with-slots):
4299 * emacs-lisp/easymenu.el (easy-menu-define):
4300 * emacs-lisp/debug.el (debugger-env-macro):
4301 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4302 (Multiple-value-call, Multiple-value-prog1):
4303 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4304 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4305 edebug rule to definition.
4306 * emacs-lisp/lisp-mode.el (save-selected-window)
4307 (with-current-buffer, combine-after-change-calls)
4308 (with-output-to-string, with-temp-file, with-temp-buffer)
4309 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4310 (dolist, dotimes, when, unless):
4311 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4313 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4315 * finder.el: Require `package'.
4316 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4317 (finder-package-info): Var deleted.
4318 (finder-keywords-hash, finder--builtins-alist): New vars.
4319 (finder-compile-keywords): Compute package--builtins and
4320 finder-keywords-hash instead of finder-keywords-hash, respecting
4321 the "Package" header.
4322 (finder-unknown-keywords, finder-list-matches):
4323 Use finder-keywords-hash and package--list-packages.
4324 (finder-mode): Don't set font-lock-defaults.
4325 (finder-exit): We don't use "*Finder-package*" and "*Finder
4326 Category*" buffers anymore.
4328 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4329 (package--builtins): Set default value to nil.
4330 (package-initialize): Load precomputed value of package--builtins
4332 (package-alist, package-compute-transaction)
4333 (package-download-transaction): Improve docstring.
4334 (package-read-all-archive-contents): Do not change
4335 package--builtins here.
4336 (list-packages): Make package-list-packages an alias for this.
4337 Sort by status by default.
4338 (package--list-packages): Add optional PACKAGES arg.
4339 (describe-package-1): Use font-lock-face property. For built-in
4340 packages, insert file commentary.
4341 (package--generate-package-list): Rename from
4342 package-list-packages-internal; all callers changed. Add optional
4343 PACKAGES arg. Add alphabetical sort fallbacks.
4344 (package-menu--version-predicate, package-menu--status-predicate)
4345 (package-menu--description-predicate)
4346 (package-menu--name-predicate): New functions.
4348 * info.el (Info-finder-find-node): Search package-alist instead of
4349 finder-package-info.
4351 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4353 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4355 (version-to-list): Handle versions like "10.3d".
4357 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4359 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4360 (macroexp-accumulate): Use `declare'.
4362 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4364 * whitespace.el (whitespace-style): Adjust type declaration.
4366 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4368 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4369 empty argument to gvfs-copy.
4371 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4373 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4374 handle new TRASH arg of `delete-file'.
4376 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4378 * net/tramp.el (tramp-handle-insert-directory): Don't use
4379 `forward-word', its default syntax could be changed.
4381 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4382 Michael Albinus <michael.albinus@gmx.de>
4384 Implement compression for inline methods.
4386 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4387 (tramp-copy-size-limit): Allow also nil.
4388 (tramp-inline-compress-commands): New defconst.
4389 (tramp-find-inline-compress, tramp-get-inline-compress)
4390 (tramp-get-inline-coding): New defuns.
4391 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4392 replaced by `tramp-get-inline-coding'.
4393 (tramp-handle-file-local-copy, tramp-handle-write-region)
4394 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4396 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4398 Detect ssh 'ControlMaster' argument automatically in some cases.
4400 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4401 (tramp-default-method): Use it.
4403 2010-08-26 Karel Klíč <kklic@redhat.com>
4405 * net/tramp.el (tramp-file-name-for-operation):
4406 Add file-selinux-context.
4408 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4410 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4412 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4414 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4417 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4419 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4420 (js-paren-indent-offset, js-square-indent-offset)
4421 (js-curly-indent-offset): New options.
4422 (js--proper-indentation): Use them.
4424 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4426 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4427 instead of inspecting font-lock properties (Bug#6916).
4429 2010-08-26 David Reitter <david.reitter@gmail.com>
4431 * server.el (server-visit-files): Run pre-command-hook and
4432 post-command-hook for each buffer while it is current (Bug#6910).
4433 (server-execute): Do not run hooks here.
4435 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4437 Sync with Tramp 2.1.19.
4439 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4440 (tramp-reporter-dump-variable, tramp-load-report-modules)
4441 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4442 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4444 * net/tramp-compat.el (top): Do not autoload
4445 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4446 only when `start-file-process' is not bound.
4447 (byte-compile-not-obsolete-vars): Define if not bound.
4448 (tramp-compat-funcall): New defmacro.
4449 (tramp-compat-line-beginning-position)
4450 (tramp-compat-line-end-position)
4451 (tramp-compat-temporary-file-directory)
4452 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4453 (tramp-compat-copy-file, tramp-compat-copy-directory)
4454 (tramp-compat-delete-file, tramp-compat-delete-directory)
4455 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4457 (tramp-advice-file-expand-wildcards): Do not use
4458 `tramp-handle-file-remote-p'.
4459 (tramp-compat-make-temp-file): Simplify fallback implementation.
4460 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4461 (tramp-compat-copy-tree): Remove function.
4462 (tramp-compat-delete-file): New defun.
4463 (tramp-compat-delete-directory): Provide implementation for older
4465 (tramp-compat-file-attributes): Handle only
4466 `wrong-number-of-arguments' error.
4468 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4469 Add PRESERVE_SELINUX_CONTEXT.
4470 (tramp-fish-handle-delete-file): Add TRASH arg.
4471 (tramp-fish-handle-directory-files-and-attributes):
4472 Do not use `tramp-fish-handle-file-attributes.
4473 (tramp-fish-handle-file-local-copy)
4474 (tramp-fish-handle-insert-file-contents)
4475 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4477 * net/tramp-gvfs.el (top): Require url-util.
4478 (tramp-gvfs-mount-point): Remove.
4479 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4480 and `set-file-selinux-context'.
4481 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4482 (tramp-gvfs-handle-file-selinux-context)
4483 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4484 (with-tramp-dbus-call-method): Format trace message.
4485 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4486 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4487 Implement backup call, when operation on local files fails.
4488 Use progress reporter. Flush properties of changed files.
4489 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4490 Use `tramp-compat-delete-file'.
4491 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4492 (tramp-gvfs-handle-make-directory): Make more traces.
4493 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4494 (tramp-gvfs-url-file-name): Hexify file name in url.
4495 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4496 into account for the resulting file name.
4497 (tramp-gvfs-handler-askquestion): Preserve current message, in
4498 order to let progress reporter continue afterwards. (Bug#6257)
4499 Return dummy mountpoint, when the answer is "no".
4500 See `tramp-gvfs-maybe-open-connection'.
4501 (tramp-gvfs-handler-mounted-unmounted)
4502 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4503 attribute "default_location". Set "prefix" property.
4504 Handle default-location.
4505 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4506 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4507 exists. Raise an error, if not (due to a corresponding answer
4508 "no" in interactive questions, for example).
4509 Use `tramp-compat-funcall'.
4511 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4512 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4513 (tramp-imap-do-copy-or-rename-file)
4514 (tramp-imap-handle-insert-file-contents)
4515 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4516 (tramp-imap-handle-delete-file): Add TRASH arg.
4518 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4519 Add PRESERVE-SELINUX-CONTEXT.
4520 (tramp-smb-handle-copy-file)
4521 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4522 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4523 Use `with-progress-reporter'.
4524 (tramp-smb-handle-delete-file): Add TRASH arg.
4526 * net/tramp.el (tramp-methods): Move hostname to the end in all
4527 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4529 (tramp-verbose): Describe verbose level 9.
4530 (tramp-completion-function-alist)
4531 (tramp-file-name-regexp, tramp-chunksize)
4532 (tramp-local-coding-commands, tramp-remote-coding-commands)
4533 (with-connection-property, tramp-completion-mode-p)
4534 (tramp-action-process-alive, tramp-action-out-of-band)
4535 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4536 (tramp-exists-file-name-handler): Fix docstring.
4537 (tramp-remote-process-environment): Use `format' instead of
4538 `concat'. Protect version string by apostroph.
4539 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4541 (tramp-file-name-regexp-unified)
4542 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4543 not regard the volume letter as remote filename. (Bug#5447)
4544 (tramp-perl-file-attributes)
4545 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4546 (tramp-vc-registered-read-file-names): Read input as
4547 here-document, otherwise the command could exceed maximum length
4549 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4550 `set-file-selinux-context'.
4551 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4552 backtrace functions.
4553 (tramp-error-with-buffer): Don't show the connection buffer when
4554 we are in completion mode.
4555 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4556 (tramp-handle-file-selinux-context)
4557 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4558 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4560 (with-progress-reporter): New defmacro.
4561 (tramp-debug-outline-regexp): New defconst.
4562 (top, tramp-rfn-eshadow-setup-minibuffer)
4563 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4564 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4565 (tramp-completion-mode-p, tramp-check-for-regexp)
4566 (tramp-open-connection-setup-interactive-shell)
4567 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4568 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4569 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4570 Use `tramp-compat-funcall'.
4571 (tramp-handle-make-symbolic-link): Flush file properties.
4572 (tramp-handle-load, tramp-handle-file-local-copy)
4573 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4574 (tramp-handle-vc-registered, tramp-maybe-send-script)
4575 (tramp-find-shell): Use `with-progress-reporter'.
4576 (tramp-do-file-attributes-with-stat): Add space in format string,
4577 in order to work around a bug in pdksh. Reported by Gilles Pion
4579 (tramp-handle-verify-visited-file-modtime): Do not send a command
4580 when the connection is not established.
4581 (tramp-handle-set-file-times): Simplify the check for utc.
4582 (tramp-handle-directory-files-and-attributes)
4583 (tramp-get-remote-path): Use `copy-tree'.
4584 (tramp-completion-handle-file-name-all-completions): Ensure, that
4585 non remote files are still checked. Oops.
4586 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4587 Handle PRESERVE-SELINUX-CONTEXT.
4588 (tramp-do-copy-or-rename-file): Add progress reporter.
4589 (tramp-do-copy-or-rename-file-directly): Do not use
4590 `tramp-handle-file-remote-p'.
4591 (tramp-do-copy-or-rename-file-out-of-band):
4592 Use `tramp-compat-delete-directory'.
4593 (tramp-do-copy-or-rename-file-out-of-band)
4594 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4595 Use `format-spec-make'.
4596 (tramp-handle-delete-file): Add TRASH arg.
4597 (tramp-handle-dired-uncache): Flush directory cache, not only file
4599 (tramp-handle-expand-file-name)
4600 (tramp-completion-handle-file-name-all-completions)
4601 (tramp-completion-handle-file-name-completion):
4602 Use `tramp-connectable-p'.
4603 (tramp-handle-start-file-process): Set connection property "vec".
4604 Use it, in order to invalidate file caches. Check only for
4605 `remote-tty' process property.
4606 Implement tty setting. (Bug#4604, Bug#6360)
4607 (tramp-file-name-for-operation): Add `call-process-region' and
4608 `set-file-selinux-context'.
4609 (tramp-find-foreign-file-name-handler)
4610 (tramp-advice-make-auto-save-file-name)
4611 (tramp-set-auto-save-file-modes): Remove superfluous check for
4612 `stringp'. This is done inside `tramp-tramp-file-p'.
4613 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4614 operations when we are in completion mode. This gives the user
4615 the chance to correct the file name in the minibuffer.
4616 (tramp-completion-mode-p): Use `non-essential'.
4617 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4618 compatibility: Use `completion-ignore-case' if
4619 `read-file-name-completion-ignore-case' does not exist.
4620 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4621 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4623 (tramp-action-password): Hide password prompt before next run.
4624 (tramp-process-actions): Widen connection buffer for the trace.
4625 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4626 process property. Trace stty settings if `tramp-verbose' >= 9.
4627 Apply workaround for IRIX64 bug. Move argument of last
4628 `tramp-send-command' where it belongs to.
4629 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4630 front of `login-args'.
4631 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4632 on "/dev/null" instead of "/".
4633 (tramp-get-ls-command-with-dired): Make test for "--dired"
4635 (tramp-set-auto-save-file-modes): Adapt version check.
4636 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4637 (tramp-handle-process-file): Call the program in a subshell, in
4638 order to preserve working directory.
4639 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4640 `tramp-remote-sh' from `tramp-methods'.
4641 (tramp-get-ls-command): Make test for "--color=never" stronger.
4642 (tramp-check-for-regexp): Use (forward-line 1).
4644 * net/trampver.el: Update release number.
4646 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4648 * help.el (help-map): Bind `C-h P' to describe-package.
4650 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4652 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4653 when downloading archives.
4654 (describe-package-1): Add package commentary.
4655 (package-install-button-action): New function.
4656 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4657 (package-menu-view-commentary): Function removed.
4658 (package-list-packages-internal): Hide the `package' package too.
4660 2010-08-25 Kenichi Handa <handa@m17n.org>
4662 * language/misc-lang.el ("Arabic"): New language environment.
4663 Setup composition-function-table for Arabic characters.
4665 * international/fontset.el (setup-default-fontset): Fix typo for
4666 arabic OTF spec (fini->fina).
4668 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4670 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4673 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4675 * whitespace.el: Allow cleaning up blanks without blank
4676 visualization (Bug#6651). Adjust help window for
4677 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4678 instead of whitespace-line-column (from EmacsWiki). New version
4680 (whitespace-style): Added new value 'face. Adjust docstring.
4681 (whitespace-space, whitespace-hspace, whitespace-tab):
4682 Adjust foreground property face.
4683 (whitespace-line-column): Adjust docstring and type declaration.
4684 (whitespace-style-value-list, whitespace-toggle-option-alist)
4685 (whitespace-help-text): Adjust const initialization.
4686 (whitespace-toggle-options, global-whitespace-toggle-options):
4688 (whitespace-display-window, whitespace-interactive-char)
4689 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4690 (whitespace-help-scroll): New fun.
4692 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4694 * emacs-lisp/package.el (list-packages): Alias for
4695 package-list-packages.
4697 2010-08-24 Kevin Ryde <user42@zip.com.au>
4699 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4702 * progmodes/ruby-mode.el (ruby): Add defgroup.
4704 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4706 * progmodes/python.el: Add Ipython support (Bug#5390).
4707 (python-shell-prompt-alist)
4708 (python-shell-continuation-prompt-alist): New options.
4709 (python--set-prompt-regexp): New function.
4710 (inferior-python-mode, run-python, python-shell):
4711 Require ansi-color. Use python--set-prompt-regexp to set the comint
4712 prompt based on the Python interpreter.
4713 (python--prompt-regexp): New var.
4714 (python-check-comint-prompt)
4715 (python-comint-output-filter-function): Use it.
4716 (run-python): Use a pipe (Bug#5694).
4718 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4720 * progmodes/python.el (python-send-region): Send a different
4721 Python command if Ipython is in use.
4722 (python-check-version): Use a Python command to find the version.
4724 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4726 * mouse.el (mouse-yank-primary): Avoid setting primary when
4727 deactivating the mark (Bug#6872).
4729 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4731 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4732 with "else" (Bug#3991).
4734 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4736 * net/dbus.el: Accept UNIX domain sockets as bus address.
4737 (top): Don't initialize `dbus-registered-objects-table' anymore,
4738 this is done in dbusbind,c.
4739 (dbus-check-event): Adapt test for bus.
4740 (dbus-return-values-table, dbus-unregister-service)
4741 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4744 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4746 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4748 2010-08-22 Juri Linkov <juri@jurta.org>
4750 * simple.el (read-extended-command): New function with the logic
4751 for `completing-read' moved to Elisp from `execute-extended-command'.
4752 Use `function-called-at-point' in `minibuffer-default-add-function'
4753 to get a command name for M-n (bug#5364, bug#5214).
4755 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4757 * startup.el (command-line-1): Issue warning for ignored arguments
4758 --unibyte, etc (Bug#6886).
4760 2010-08-22 Leo <sdl.web@gmail.com>
4762 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4763 (ignore, bright, dim, keyword): Split list of nicknames before
4764 passing to rcirc-add-or-remove (Bug#6894).
4766 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4768 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4770 2010-08-22 Leo <sdl.web@gmail.com>
4772 Fix buffer-list rename&refresh after killing a buffer in ido.
4773 * ido.el: Revert Óscar's.
4774 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4775 Remember the buffers at head, rather than their name.
4776 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4778 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4779 Stefan Monnier <monnier@iro.umontreal.ca>
4781 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4782 extra backslash added to each line (bug#6890).
4784 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4786 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4788 2010-08-22 Glenn Morris <rgm@gnu.org>
4790 * menu-bar.el (menu-bar-games-menu): Add landmark.
4792 2010-08-22 Glenn Morris <rgm@gnu.org>
4794 * align.el (align-regexp): Make group and spacing arguments
4795 use the interactive defaults when non-interactive. (Bug#6698)
4797 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4798 expansion, so as not to need sendmail.
4799 (mail-text-start): Remove declaration.
4800 (rmail-retry-failure): Require sendmail.
4802 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4804 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4806 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4808 * progmodes/flymake.el (flymake-start-syntax-check-process):
4809 Use `start-file-process' in order to let it run also on remote hosts.
4811 2010-08-22 Kenichi Handa <handa@m17n.org>
4813 * files.el: Add `word-wrap' as safe local variable.
4815 2010-08-22 Glenn Morris <rgm@gnu.org>
4817 * woman.el (woman-translate): Case matters. (Bug#6849)
4819 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4821 * simple.el (kill-region): Doc fix (Bug#6787).
4823 2010-08-22 Glenn Morris <rgm@gnu.org>
4825 * calendar/diary-lib.el (diary-header-line-format):
4826 Fit it to the window, not the frame.
4828 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4830 * subr.el (ignore-errors): Add debug declaration.
4832 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4834 * whitespace.el (whitespace-color-off): Remove post-command-hook
4837 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4839 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4841 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4843 * cus-edit.el (custom-group-value-create): Add extra newline
4844 before end line (Bug#6876).
4846 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4848 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4849 when extending it. Before killing on the second click, check if
4850 the buffer is the correct one. Doc fix.
4851 (mouse-secondary-save-then-kill): Allow usage without first
4852 calling mouse-start-secondary, by defaulting to point. Don't save
4853 an empty secondary selection. Doc fix.
4855 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4857 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4858 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4860 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4861 Adjust initialization.
4862 (whitespace-bob-marker, whitespace-eob-marker)
4863 (whitespace-buffer-changed): New vars.
4864 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4865 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4866 (whitespace-post-command-hook, whitespace-display-char-on):
4868 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4869 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4871 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * files.el (locate-file-completion-table): Only list the .el and .elc
4874 extensions if there's no other choice (bug#5955).
4876 * facemenu.el (facemenu-self-insert-data): New var.
4877 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4879 (facemenu-add-face): Use them.
4881 * simple.el (blink-matching-open): Obey forward-sexp-function.
4883 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4885 * simple.el (prog-mode-map): New var.
4886 (prog-indent-sexp): New command.
4888 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4890 * progmodes/prolog.el (smie): Require.
4892 * emacs-lisp/smie.el (smie-default-backward-token)
4893 (smie-default-forward-token): Strip properties.
4894 (smie-next-sexp): Be more careful with associative operators.
4895 (smie-forward-sexp-command): Generalize.
4896 (smie-backward-sexp-command): Simplify.
4897 (smie-closer-alist): New var.
4898 (smie-close-block): New command.
4899 (smie-indent-debug-log): New var.
4900 (smie-indent-offset-rule): Add a few more cases.
4901 (smie-indent-column): New function.
4902 (smie-indent-after-keyword): Use it.
4903 (smie-indent-keyword): Use it.
4904 Fix up the opener code's point position.
4905 (smie-indent-comment): Only applies at BOL.
4906 (smie-indent-debug): New command.
4908 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4909 declarations that are useful before running the macro.
4911 2010-08-18 Joakim Verona <joakim@verona.se>
4913 * image.el (imagemagick-types-inhibit): New variable.
4914 (imagemagick-register-types): New function.
4915 * image-mode.el (image-transform-properties): New function.
4916 (image-transform-set-scale, image-transform-fit-to-height)
4917 (image-transform-set-rotation, image-transform-set-resize)
4918 (image-transform-fit-to-width, image-transform-fit-to-height):
4920 (image-toggle-display-image): Support image transforms.
4922 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
4924 * image.el (create-animated-image): Don't add heuristic mask to image
4927 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
4929 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4930 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4932 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
4934 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4936 Font-lock '...' strings, plus various simplifications and fixes.
4937 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4938 (octave-font-lock-close-quotes): New function.
4939 (octave-font-lock-syntactic-keywords): New var.
4940 (octave-mode): Use it. Set beginning-of-defun-function.
4941 (octave-mode-map): Don't override the <foo>-defun commands.
4942 (octave-mode-menu): Pass it directly to easy-menu-define;
4943 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4944 (octave-block-match-alist): Fix up last change so that
4945 octave-close-block uses the more specific keyword.
4946 (info-lookup-mode): Silence byte-compiler.
4947 (octave-beginning-of-defun): Not interactive any more.
4949 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4950 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4951 (octave-completion-at-point-function): Make sure point is within
4953 (octave-reindent-then-newline-and-indent):
4954 Use reindent-then-newline-and-indent.
4955 (octave-add-octave-menu): Remove.
4957 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4959 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4960 (report-emacs-bug-can-use-xdg-email): New functions.
4961 (report-emacs-bug): Set can-xdg-email to result of
4962 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4963 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4966 * net/browse-url.el (browse-url-default-browser): Add cond
4967 for browse-url-xdg-open.
4968 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4970 2010-08-17 Glenn Morris <rgm@gnu.org>
4972 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4973 (c-fontify-recorded-types-and-refs): Define for compiler.
4974 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4977 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4980 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
4982 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4984 (tramp-handle-process-file): Call the program in a subshell, in
4985 order to preserve working directory.
4986 (tramp-action-password): Hide password prompt before next run.
4987 (tramp-process-actions): Widen connection buffer for the trace.
4989 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4991 * net/rcirc.el (rcirc-log-process-buffers): New option.
4992 (rcirc-print): Use it.
4993 (rcirc-generate-log-filename): New function.
4994 (rcirc-log-filename-function): Change default to
4995 rcirc-generate-log-filename (Bug#6828).
4997 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
4999 * simple.el (deactivate-mark): If select-active-regions is `only',
5000 only set selection for temporarily active regions.
5002 * cus-start.el: Change defcustom for select-active-regions.
5004 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5006 * mouse.el (mouse--drag-set-mark-and-point): New function.
5007 (mouse-drag-track): Use LOCATION arg to push-mark.
5008 Use mouse--drag-set-mark-and-point to take click-count into
5009 consideration when updating point and mark (Bug#6840).
5011 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5013 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5014 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5016 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5018 * font-lock.el (lisp-font-lock-keywords-2):
5019 Add combine-after-change-calls, condition-case-no-debug,
5020 with-demoted-errors, and with-silent-modifications (Bug#6025).
5022 2010-08-14 Kevin Ryde <user42@zip.com.au>
5024 * emacs-lisp/copyright.el (copyright-update-year)
5025 (copyright-update): Temporary switch-to-buffer to ensure the
5026 buffer change being queried is visible (Bug#5394).
5028 2010-08-14 Tom Tromey <tromey@redhat.com>
5030 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5033 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5035 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5038 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5040 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5041 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5042 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5043 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5044 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5045 Call menu-bar-set-tool-bar-position.
5047 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5049 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5050 comment style (bug#6834).
5051 * progmodes/scheme.el (scheme-mode-syntax-table):
5052 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5053 "b" flag in "' 14b" syntax.
5055 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5056 for (un)commenting the region and performing completion.
5057 (octave-mode-menu): Use standard commands for help and completion.
5058 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5059 (octave-mode): Use define-derived-mode.
5060 Set completion-at-point-functions and don't set columns.
5061 Don't disable adaptive-fill-regexp.
5062 (octave-describe-major-mode, octave-comment-region)
5063 (octave-uncomment-region, octave-comment-indent)
5064 (octave-indent-for-comment): Remove.
5065 (octave-indent-calculate): Rename from calculate-octave-indent.
5066 (octave-indent-line, octave-fill-paragraph): Update caller.
5067 (octave-initialize-completions): No need to make an alist.
5068 (octave-completion-at-point-function): New function.
5069 (octave-complete-symbol): Use it.
5070 (octave-insert-defun): Use define-skeleton.
5072 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5073 (octave-mode-map): Use comment-dwim (bug#6829).
5075 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5077 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5078 indentation of inserted comment.
5080 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5082 * faces.el (region): Add type gtk that uses gtk colors.
5084 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5085 Handle theme-name change.
5087 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5089 * progmodes/sql.el: Version 2.5
5090 (sql-product-alist): Add :prompt-cont-regexp property for several
5092 (sql-prompt-cont-regexp): New variable.
5093 (sql-output-newline-count, sql-output-by-send):
5094 New variables. Record number of newlines in input text.
5095 (sql-send-string): Handle multiple filters and count newlines.
5096 (sql-send-magic-terminator): Count terminator newline.
5097 (sql-interactive-remove-continuation-prompt): Filters output to
5098 remove continuation prompts; one for each newline.
5099 (sql-interactive-mode): Set up new variables, prompt regexp and
5101 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5102 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5104 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5106 * emacs-lisp/pcase.el: New file.
5108 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5110 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5111 as here-document, otherwise the command could exceed maximum
5112 length of command line.
5113 (tramp-handle-vc-registered): Call script accordingly.
5114 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5116 2010-08-10 Kenichi Handa <handa@m17n.org>
5118 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5121 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5123 * emacs-lisp/package.el (package-version-split)
5124 (package--version-first-nonzero, package-version-compare):
5126 (package-directory-list, package-load-all-descriptors)
5127 (package--built-in, package-activate, define-package)
5128 (package-installed-p, package-compute-transaction)
5129 (package-read-all-archive-contents)
5130 (package--add-to-archive-contents, package-buffer-info)
5131 (package-tar-file-info, package-list-packages-internal):
5132 Use version-to-list and version-list-*.
5134 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5135 Use version-to-list.
5136 (package-upload-buffer-internal): Use version-list-<=.
5138 2010-08-09 Kenichi Handa <handa@m17n.org>
5140 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5143 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5145 * tutorial.el (tutorial--default-keys): C-d is now bound to
5146 delete-forward-char (Bug#6826).
5148 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5149 for `double' value of mouse-1-click-follows-link (Bug#6807).
5151 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5153 * replace.el (replace-highlight): Bind isearch-forward and
5154 isearch-error, ensuring that highlighting is updated if the user
5155 switches the search direction (Bug#6808).
5157 * isearch.el (isearch-lazy-highlight-forward): New var.
5158 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5159 (isearch-lazy-highlight-update): Use it.
5161 2010-08-08 Kenichi Handa <handa@m17n.org>
5163 * international/mule.el (define-charset): Store NAME as :base property.
5164 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5165 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5166 current priority. Force using the designation of the specific
5167 charset by adding `charset' text property. Improve the whole algorithm.
5169 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5171 * emulation/pc-select.el (pc-selection-mode-hook)
5172 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5173 (pc-selection-mode): Fix typos in docstrings.
5175 2010-08-08 Kenichi Handa <handa@m17n.org>
5177 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5178 ctext-non-standard-encodings-alist here.
5180 * international/mule.el (ctext-non-standard-encodings-alist):
5181 Add "koi8-r" and "microsoft-cp1251".
5182 (ctext-standard-encodings): New variable.
5183 (ctext-non-standard-encodings-table): List only elements for
5184 non-standard encodings.
5185 (ctext-pre-write-conversion): Adjust for the above change.
5186 Check ctext-standard-encodings.
5188 * international/mule-conf.el (compound-text): Doc fix.
5189 (ctext-no-compositions): Doc fix.
5190 (compound-text-with-extensions): Doc fix.
5192 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5194 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5196 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5198 * progmodes/which-func.el (which-func-format): Split help-echo text
5199 into lines, like other mode-line tooltips.
5201 * server.el (server-start): When using TCP sockets, force IPv4
5202 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5204 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5208 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5210 * term.el (term-delimiter-argument-list): Reflow docstring.
5211 (term-read-input-ring, term-write-input-ring, term-send-input)
5212 (term-bol, term-erase-in-display, serial-supported-or-barf):
5213 Fix typos in docstrings.
5215 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5217 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5219 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5221 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5223 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5225 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5226 Fix typo in docstring (bug#6747).
5228 2010-08-08 Leo <sdl.web@gmail.com>
5230 * eshell/esh-io.el (eshell-get-target): Better detection of
5231 read-only file (Bug#6762).
5233 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5235 * align.el (align-default-spacing): Doc fix.
5236 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5238 2010-08-08 Stephen Peters <speters@itasoftware.com>
5240 * calendar/icalendar.el
5241 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5242 (icalendar--get-weekday-numbers): New.
5243 (icalendar--convert-recurring-to-diary): Handle multiple byday
5244 values in weekly rules. (Bug#6766)
5246 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5248 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5249 (icalendar--create-uid, icalendar-export-region)
5250 (icalendar--parse-summary-and-rest): Code formatting.
5252 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5254 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5255 to italicize headers.
5256 (calc-highlight-selections-with-faces): New variable.
5257 (calc-selected-face, calc-nonselected-face): New faces.
5259 * calc/calccomp.el (math-comp-highlight-string): Use
5260 `calc-highlight-selections-with-faces' to determine how to highlight
5263 * calc/calc-sel.el (calc-show-selections): Change message to when
5264 using faces to highlight selections.
5266 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5268 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5269 Add SQLite 3 keywords, functions and datatypes.
5270 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5273 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5275 * simple.el (select-active-regions): Move to keyboard.c.
5276 (deactivate-mark): Used saved-region-selection.
5277 (select-active-region): Function removed.
5278 (activate-mark, set-mark, push-mark-command)
5279 (handle-shift-selection): Don't call it.
5280 (keyboard-quit): Avoid adding the region to the window selection.
5282 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5283 select-active-regions implementation.
5284 (mouse-yank-at-click): Doc fix.
5286 * cus-start.el: Add custom declaration for select-active-regions.
5288 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5290 * simple.el (delete-forward-char): Doc fix.
5292 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5293 after reading the tutorial.
5295 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5297 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5298 Fix for the case that a C style comment has its delimiters alone on
5299 their respective lines.
5301 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5303 * net/tramp.el (tramp-handle-start-file-process): Set connection
5305 (tramp-process-sentinel): Use it for flushing the cache.
5306 We cannot do it via the process buffer, the buffer could be deleted
5307 already when running the sentinel.
5309 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5311 * comint.el (comint-mode): Make directory tracking functions
5312 functional on remote files. (Bug#6764)
5314 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5316 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5318 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5320 * emacs-lisp/find-gc.el (find-gc-source-files):
5321 Rename unexec.c => unexcoff.c.
5323 * emacs-lisp/authors.el (authors-fixed-entries):
5324 Rename unexec.c => unexcoff.c.
5326 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5328 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5329 cache, not only file cache.
5330 (tramp-process-sentinel): New defun.
5331 (tramp-handle-start-file-process): Use it, in order to invalidate
5334 2010-08-03 Leo <sdl.web@gmail.com>
5336 * server.el (server-start): Simplify loop.
5338 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5340 * frame.el (screen-height, screen-width, set-screen-width)
5341 (set-screen-height): Remove ancient compatibility aliases.
5343 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5344 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5346 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5347 that change current buffer.
5349 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5351 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5352 beginning of the string. Use `string-match-p'. (Bug#6765)
5354 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5356 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5358 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5360 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5361 (package--builtins): Tweak descriptions.
5362 (package-print-package): Upcase descriptions if necessary.
5363 Show all built-in packages in font-lock-builtin-face.
5364 (package-list-packages-internal): Omit "emacs" package.
5365 Show status of built-in packages as "built-in".
5367 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5369 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5370 before killing to preserve the primary selection (Bug#6701).
5372 * term/x-win.el (x-select-text): Doc fix.
5374 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5376 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5377 (objc-font-lock-extra-types):
5378 * progmodes/cc-mode.el (c-basic-common-init):
5379 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5380 (c++-make-template-syntax-table)
5381 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5382 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5383 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5384 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5385 * progmodes/cc-fonts.el (c-make-inverse-face)
5386 (c-basic-matchers-after):
5387 * progmodes/cc-engine.el (c-forward-keyword-clause)
5388 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5389 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5390 (c-guess-continued-construct, c-guess-basic-syntax):
5391 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5392 The above functions were modified or created.
5394 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5396 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5398 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5400 * files.el (bidi-paragraph-direction): Define safe local values.
5402 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5403 language-info-alist. Remove outdated FIXME in a comment.
5405 2010-07-31 Alan Mackenzie <acm@muc.de>
5407 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5408 Auto-fill broken in C/C++ modes.
5410 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5412 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5413 (menu-bar-showhide-tool-bar-menu-customize-disable)
5414 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5415 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5416 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5417 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5418 make a menu for Options => toolbar that can move it.
5420 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5422 * emacs-lisp/package-x.el (package--make-rss-entry):
5423 (package-maint-add-news-item, package--update-news)
5424 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5426 * emacs-lisp/package.el (package-archive-url): Rename from
5428 (package-install): Doc fix.
5429 (package-download-single, package-download-tar, package-install)
5430 (package-menu-view-commentary): Callers changed.
5432 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5434 * net/tramp.el (tramp-handle-start-file-process): Check only for
5435 `remote-tty' process property.
5436 (tramp-open-shell): Don't check for tty.
5437 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5440 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5443 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5445 * emacs-lisp/package.el (package-load-list, package-archives)
5446 (package-archive-contents, package-user-dir)
5447 (package-directory-list, package--builtins, package-alist)
5448 (package-activated-list, package-obsolete-alist): Mark as risky.
5450 2010-07-28 Phil Hagelberg <phil@evri.com>
5452 Add support for non-default package repositories.
5453 * emacs-lisp/package.el (package-archive-base): Var deleted.
5454 (package-archives): New variable.
5455 (package-archive-contents): Doc fix.
5456 (package-load-descriptor): Do nothing if descriptor file is missing.
5457 (package--write-file-no-coding): New function.
5458 (package-unpack-single): Use it.
5459 (package-archive-id): New function.
5460 (package-download-single, package-download-tar)
5461 (package-menu-view-commentary): Use it.
5462 (package-installed-p): Make second argument optional.
5463 (package-read-all-archive-contents): New function.
5464 (package-initialize): Use it.
5465 (package-read-archive-contents): Add ARCHIVE argument.
5466 (package--add-to-archive-contents): New function.
5467 (package-install): Don't call package-read-archive-contents.
5468 (package--download-one-archive): Store archive file in a
5469 subdirectory of package-user-dir.
5470 (package-menu-execute): Remove spurious line movement.
5472 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5474 * cus-start.el (tool-bar-style): Add text-image-horiz.
5476 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5478 * progmodes/gud.el (gud-common-init): Check for remoteness of
5479 `file', and not of `default-directory'.
5481 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5483 * net/tramp.el (tramp-methods): Move hostname to the end in all
5484 ssh `tramp-login-args'.
5485 (tramp-verbose): Describe verbose level 9.
5486 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5487 (tramp-open-connection-setup-interactive-shell): Trace stty
5488 settings if `tramp-verbose' >= 9.
5489 (tramp-handle-start-file-process): Implement tty setting.
5490 (Bug#4604, Bug#6360)
5492 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5493 `tramp-verbose' to 9.
5495 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5497 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5498 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5499 Remove references to package `lisp-re' (bug#4369).
5501 2010-07-27 Tom Tromey <tromey@redhat.com>
5503 * progmodes/js.el (js-mode):
5504 * progmodes/make-mode.el (makefile-mode):
5505 * progmodes/simula.el (simula-mode):
5506 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5508 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5510 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5512 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5513 (display-time-world-buffer-name, display-time-world-mode-map):
5514 Fix typos in docstrings.
5516 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5518 * image-mode.el (image-display-size): New function.
5519 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5520 (image-mode-fit-frame): Use it (Bug#6639).
5522 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5524 * dired.el (dired-buffers-for-dir): Handle list values of
5525 dired-directory (Bug#6636).
5527 2010-07-26 Sam Steingold <sds@gnu.org>
5529 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5530 Do not call `x-get-selection' the second time, reuse the value.
5532 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5534 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5535 which consist of control chars only. Suggested by Richard Stallman.
5537 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5539 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5540 exists before passing an error to find-file-not-found-functions
5543 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5545 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5546 Remove leading nil element, adjust values.
5547 (tetris-shapes, tetris-shape-scores):
5548 Change representation of shapes and remove some redundancy.
5549 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5550 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5551 Adjust for working with new representation of shapes.
5552 (tetris-shape-rotations): New function.
5553 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5554 (tetris-rotate-prev, tetris-rotate-next):
5555 Adjust for working with the new version of tetris-test-shape.
5557 2010-07-23 Markus Triska <markus.triska@gmx.at>
5559 * progmodes/ps-mode.el: Use comint (bug#5954).
5560 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5561 (ps-mode-other-newline): Simplify.
5562 (ps-run-mode): Derive from comint-mode instead of
5563 fundamental-mode, yielding input history etc.
5564 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5565 (ps-run-send-string): Adapt for comint-mode.
5566 (ps-run-newline): Remove now unneeded function.
5568 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5570 * net/tramp.el (tramp-methods): Move hostname to the end in all
5571 plink `tramp-login-args'.
5573 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5575 * net/tramp.el (tramp-open-shell): New defun.
5576 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5579 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5581 * net/tramp.el (tramp-file-name-regexp-unified)
5582 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5583 not regard the volume letter as remote filename. (Bug#5447)
5585 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5587 * custom.el (custom-declare-variable): Give a clearer error message
5588 when the docstring is missing (bug#6476).
5590 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5592 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5593 (sql-login-params): New widget definition.
5594 (sql-oracle-login-params, sql-mysql-login-params)
5595 (sql-solid-login-params, sql-sybase-login-params)
5596 (sql-informix-login-params, sql-ingres-login-params)
5597 (sql-ms-login-params, sql-postgres-login-params)
5598 (sql-interbase-login-params, sql-db2-login-params)
5599 (sql-linter-login-params): Use it.
5600 (sql-sqlite-login-params): Use it; Define "database" parameter as
5602 (sql-sqlite-program): Change to "sqlite3".
5603 (sql-comint-sqlite): Make sure database name is complete.
5604 (sql-for-each-login): New function.
5605 (sql-connect, sql-save-connection): Use it.
5606 (sql-get-login-ext): New function.
5607 (sql-get-login): Use it.
5608 (sql-make-alternate-buffer-name): Handle :file parameters.
5610 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5612 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5613 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5615 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5617 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5619 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5621 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5623 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5625 * net/tramp.el (tramp-get-ls-command)
5626 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5629 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5631 * progmodes/sql.el: Version 2.3.
5632 (sql-connection-alist): Changed keys from symbols to strings;
5633 enhanced the widget definition.
5634 (sql-mode-menu): Added submenu to select connections.
5635 (sql-interactive-mode-menu): Added "Save Connection" item.
5636 (sql-add-product): Fixed menu item.
5637 (sql-get-product-feature): Improved error handling.
5638 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5639 (sql-make-alternate-buffer-name): Simplified.
5640 (sql-product-interactive): Handle missing product.
5641 (sql-connect): Support string keys, minor improvements.
5642 (sql-save-connection): New function.
5643 (sql-connection-menu-filter): New function.
5645 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5647 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5648 (tramp-open-connection-setup-interactive-shell):
5649 Apply workaround for IRIX64 bug. Move argument of last
5650 `tramp-send-command' where it belongs to.
5652 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5654 * net/tramp.el (tramp-perl-file-attributes)
5655 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5656 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5657 front of `login-args'.
5659 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5661 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5662 Set `show-trailing-whitespace' to nil.
5663 (display-time-world-display): Simplify.
5665 2010-07-18 Alan Mackenzie <acm@muc.de>
5667 Enhance `c-file-style' in file/directory local variables.
5668 * progmodes/cc-mode.el (c-count-cfss): New function.
5669 (c-before-hack-hook): Call `c-set-style' differently according to
5670 whether c-file-style was set in file or directory local
5673 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5675 * progmodes/sql.el: Version 2.2.
5676 (sql-product, sql-user, sql-database, sql-server, sql-port):
5677 Use defcustom :safe keyword rather than putting safe-local-variable
5679 (sql-password): Use defcustom :risky keyword rather than putting
5680 risky-local-variable property.
5681 (sql-oracle-login-params, sql-sqlite-login-params)
5682 (sql-solid-login-params, sql-sybase-login-params)
5683 (sql-informix-login-params, sql-ingres-login-params)
5684 (sql-ms-login-params, sql-postgres-login-params)
5685 (sql-interbase-login-params, sql-db2-login-params)
5686 (sql-linter-login-params): Add `port' option.
5687 (sql-get-product-feature): Added NO-INDIRECT parameter.
5688 (sql-comint-oracle, sql-comint-sybase)
5689 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5690 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5691 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5692 (sql-comint-linter): Renamed sql-connect-* functions to
5694 (sql-product-alist, sql-mode-menu): Renamed as above and
5695 :sqli-connect-func to :sqli-comint-func.
5696 (sql-connection): New variable.
5697 (sql-interactive-mode): Set it.
5698 (sql-connection-alist): New variable.
5699 (sql-connect): New function.
5700 (sql--alt-buffer-part, sql--alt-if-not-empty)
5701 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5703 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5705 * image-mode.el (image-bookmark-make-record): Do not set context
5706 in an image (Bug#6650).
5708 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5710 * simple.el (select-active-region): New function.
5711 (push-mark-command, set-mark, activate-mark)
5712 (handle-shift-selection): Use it.
5713 (deactivate-mark): Don't check for size of region.
5715 * mouse.el (mouse-drag-track): Use select-active-region.
5717 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5719 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5722 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5724 * term/x-win.el (x-select-enable-primary): Change default to nil.
5725 (x-select-enable-clipboard): Add :version keyword.
5727 * mouse.el (mouse-drag-copy-region):
5728 * simple.el (select-active-regions): Likewise.
5730 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5732 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5733 (vc-coding-system-for-diff): Use it to decide whether to inherit
5734 from the file the EOL format for reading the diffs of that file.
5737 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5739 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5740 unibyte, so compressed attachments are not compressed again.
5742 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5744 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5745 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5746 (tramp-find-shell): Simplify setting connection property.
5747 (tramp-get-ls-command): Make test for "--color=never" stronger.
5749 2010-07-15 Simon South <ssouth@member.fsf.org>
5751 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5752 blocks within record declarations (i.e. variant parts) correctly.
5754 2010-07-15 Simon South <ssouth@member.fsf.org>
5756 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5757 over literal tokens when parsing so newlines aren't "absorbed" by
5758 single-line comments. Corrects the indentation of case blocks
5759 that have a comment on the first line.
5761 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5763 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5764 by Drew Adams (Bug#5504).
5766 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5768 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5769 now that Unicode is used (Bug#6594).
5771 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5773 * term/x-win.el (x-select-enable-clipboard): Default to t.
5774 (x-initialize-window-system): Don't overwrite Paste menu item.
5776 * simple.el (select-active-regions): Default to t.
5777 (push-mark-command): Don't overwrite primary with empty string.
5779 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5780 (mouse-drag-copy-region): Default to nil.
5782 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5783 Cut/Copy/Paste menu bar items.
5785 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5787 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5788 Patch applied by Karl Fogel.
5790 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5791 and `bookmark-current-buffer' if they have been already set in
5792 another buffer (e.g gnus-art).
5794 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5795 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5797 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5799 * bookmark.el (bookmark-make-record-default): Allow unneeded
5800 information to be omitted from the record.
5802 Adjust declarations and calls:
5804 * info.el (bookmark-make-record-default): Adjust declaration.
5805 (Info-bookmark-make-record): Adjust call.
5807 * woman.el (bookmark-make-record-default): Adjust declaration.
5808 (woman-bookmark-make-record): Adjust call.
5810 * man.el (bookmark-make-record-default): Adjust declaration.
5811 (Man-bookmark-make-record): Adjust call.
5813 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5815 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5817 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5819 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5820 This is also from Thierry Volpiatto's patch in bug #6444. However,
5821 because it was extraneous to the functional change in that patch,
5822 and causes a re-indendation, I am committing it separately.
5824 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5826 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5827 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5828 Patch applied by Karl Fogel (Bug#6444).
5830 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5832 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5834 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5836 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5837 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5838 (ns-alternatives-map): Change S-tab binding to backtab
5841 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5844 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5846 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5849 * language/tv-util.el (tai-viet-re): Remove format.
5851 2010-07-12 Kenichi Handa <handa@m17n.org>
5853 * language/hebrew.el: Remove no-byte-compile declaration.
5854 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5855 composition-function-table for 3-character looking back.
5856 (hebrew-font-get-precomposed): New function.
5857 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5859 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5861 * mouse.el (mouse-drag-track): Handle select-active-regions
5864 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5866 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5867 empty argument to gvfs-copy.
5869 2010-07-10 Glenn Morris <rgm@gnu.org>
5871 * calendar/calendar.el (calendar-week-end-day): New function.
5872 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5873 Respect calendar-week-start-day. (Bug#6606)
5874 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5875 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5876 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5877 respect calendar-week-start-day.
5879 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
5881 * simple.el (use-region-p): Doc fix (Bug#6607).
5883 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5885 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5886 Add regexps for cucumber and ruby.
5888 2010-07-08 Daiki Ueno <ueno@unixuser.org>
5890 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5891 (epa-file-insert-file-contents): Hack to prevent
5892 find-file from opening empty buffer when decryption failed
5895 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
5897 * textmodes/ispell.el (ispell-alternate-dictionary):
5898 Use file-readable-p.
5899 Return nil if no word-list is found at default locations.
5900 (ispell-complete-word-dict): Default to nil.
5901 (ispell-command-loop): Use 'word-list' when using lookup-words.
5902 (lookup-words): Use ispell-complete-word-dict or
5903 ispell-alternate-dictionary. Check for word-list availability
5904 and handle errors if needed with better messages (Bug#6539).
5905 (ispell-complete-word): Use ispell-complete-word-dict or
5906 ispell-alternate-dictionary.
5908 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
5910 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5911 builtins (BufferError, BytesWarning, WindowsError; callables
5912 bin, bytearray, bytes, format, memoryview, next, print; __package__).
5914 2010-07-07 Glenn Morris <rgm@gnu.org>
5916 * play/zone.el (top-level): Do not require timer, tabify, or cl.
5917 (zone-shift-left): Ignore intangibility, and any errors from
5919 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
5920 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5921 deleting, and copying text properties.
5922 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5923 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5924 to point-max is hard.
5925 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5926 (zone-fill-out-screen): Ignore intangibility.
5928 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
5930 * menu-bar.el (menu-bar-mode):
5931 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5934 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5935 word/line selection (Bug#6565).
5937 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
5939 * net/dbus.el (dbus-send-signal): Declare function.
5941 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
5943 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5944 (dbus-register-property): New optional argument EMITS-SIGNAL.
5945 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5947 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
5949 * mouse.el (mouse-drag-overlay): Variable deleted.
5950 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5951 (mouse--remap-link-click-p): New function.
5952 (mouse-drag-track): Handle dragging by using temporary Transient
5953 Mark mode, instead of a special overlay.
5954 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5957 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5960 2010-07-02 Juri Linkov <juri@jurta.org>
5962 * autoinsert.el (auto-insert-alist): Fix readability
5963 by using dotted pair notation for lambda.
5965 2010-07-02 Juri Linkov <juri@jurta.org>
5967 * faces.el (read-face-name): Rename arg `string-describing-default'
5968 to `default'. Doc fix. Display the default value in quotes
5969 in the prompt. With empty input, return the `default' arg,
5970 unless the default value is a string (in which case return nil).
5971 (describe-face): Replace the string `default' arg of `read-face-name'
5972 with the symbol `default'.
5974 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
5976 * emulation/viper-cmd.el (viper-delete-backward-char)
5977 (viper-del-backward-char-in-insert)
5978 (viper-del-backward-char-in-replace, viper-change)
5979 (viper-backward-indent): Replace delete-backward-char with
5980 delete-char (Bug#6552).
5982 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
5984 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5986 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5988 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5989 argument passed to frame-creation-function (Bug#5378).
5991 * faces.el (x-handle-named-frame-geometry)
5992 (x-handle-reverse-video, x-create-frame-with-faces)
5993 (face-set-after-frame-default, tty-create-frame-with-faces):
5994 Don't separately consult default-frame-alist. It is now passed as the
5997 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
5999 * startup.el (command-line): Don't call tool-bar-setup in a
6002 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6004 * ruler-mode.el (ruler--save-header-line-format): New fun.
6005 (ruler-mode): Use it as a setter function, so as not to overwrite
6006 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6008 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6010 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6011 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6012 (vc-log-outgoing): Use it.
6013 (vc-diff-internal): Set diff-vc-backend.
6015 * vc/diff-mode.el (diff-vc-backend): New var.
6017 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6019 * dynamic-setting.el (font-setting-change-default-font):
6020 Remove call to message.
6022 2010-06-28 Kenichi Handa <handa@m17n.org>
6024 * international/quail.el (quail-insert-kbd-layout): Fix the
6025 showing of untranslated characters.
6027 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6029 * simple.el (delete-active-region): New option.
6030 (delete-backward-char): Implement in Lisp.
6031 (delete-forward-char): New command.
6033 * mouse.el (mouse-region-delete-keys): Deleted.
6034 (mouse-show-mark): Simplify.
6036 * bindings.el (global-map): Bind delete and DEL, the former to
6037 delete-forward-char.
6039 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6041 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6042 (ruby-mode): Bind indent-line-function (Bug#5119).
6044 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6046 * startup.el (command-line): Recognize "0" X resource value.
6048 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6050 * startup.el (command-line): Use X resources to set the value of
6051 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6053 * menu-bar.el (menu-bar-mode):
6054 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6055 Set init-value to t.
6057 * frame.el (frame-notice-user-settings): Don't change
6058 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6059 vice versa (Bug#2249).
6061 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6063 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6065 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6067 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6068 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6070 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6071 default directories are expanded (Bug#6143).
6073 2010-06-24 Juri Linkov <juri@jurta.org>
6075 * minibuffer.el (completions-format): Change default from nil to
6076 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6078 2010-06-24 Juri Linkov <juri@jurta.org>
6080 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6081 buffer-locally to lambda that re-runs the vc diff command.
6084 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6086 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6087 echo area is in use (Bug#3412).
6089 2010-06-22 Glenn Morris <rgm@gnu.org>
6091 * textmodes/texinfmt.el (texinfo-format-region)
6092 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6093 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6094 (texinfo-format-option, texinfo-noindent):
6095 Use line-beginning-position and line-end-position.
6097 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6098 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6099 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6102 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6104 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6105 forward-line fallout.
6107 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6109 * mouse.el (mouse-appearance-menu): Add docstring.
6111 * help.el (describe-key): Print up-event using key-description.
6113 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6115 * net/zeroconf.el (zeroconf-resolve-service)
6116 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6117 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6119 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6121 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6123 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6125 Avoid displaying files with a nil state in vc-dir.
6126 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6127 cases that cause insertion.
6128 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6131 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6133 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6135 2010-06-29 Leo <sdl.web@gmail.com>
6137 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6139 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6141 * generic-x.el (bat-generic-mode): Fix regexp for command line
6142 switches (Bug#5719).
6144 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6146 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6147 of nconc to avoid pure storage error (Bug#6239).
6149 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6151 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6152 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6153 bindings of bookmark-automatically-show-annotations (Bug#6515).
6155 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6157 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6158 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6160 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6162 * comint.el (make-comint, make-comint-in-buffer): Mention return
6163 value in the docstrings. (Bug#6498)
6165 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6167 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6168 since it is not present when using some non-default switches.
6170 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6172 * simple.el (compose-mail): Fix doc string to refer to
6173 `compose-mail-user-agent-warnings', instead of to the
6174 nonexistent `compose-mail-check-user-agent'.
6176 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6178 Fix an indentation bug:
6180 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6181 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6184 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6185 (c-clear->-pair-props-if-match-before): now return t when they've
6186 cleared properties, nil otherwise.
6187 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6188 by taking account of the existing value.
6190 * progmodes/cc-defs.el
6191 (c-clear-char-property-with-value-function): Fix this to clear the
6192 property rather than overwriting it with nil.
6194 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6196 * emacs-lisp/package.el (package-print-package): Add link to
6197 package description via describe-package.
6198 (describe-package-1): List package requirements. Add button to
6199 perform installation.
6200 (package-menu-describe-package): New command.
6202 * help-mode.el (help-package): New button type.
6204 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6206 * emacs-lisp/package.el: Move package-list-packages binding to
6208 (describe-package, describe-package-1, package--dir): New funs.
6209 (package-activate-1): Use package--dir.
6211 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6213 * help-mode.el (help-package-def): New button type.
6215 * menu-bar.el: Move package-list-packages binding here from
6218 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6220 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6222 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6224 * emacs-lisp/edebug.el (edebug-read-list):
6225 Phase out old-style backquotes.
6227 2010-06-17 Juri Linkov <juri@jurta.org>
6229 * help-mode.el (help-mode): Set buffer-local variable
6230 revert-buffer-function to help-mode-revert-buffer.
6231 (help-mode-revert-buffer): New function.
6233 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6234 before popping to "*info*" (like in other Info functions).
6235 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6236 old-history-forward. Pop to old-buffer-name or "*info*" to
6237 recreate the killed buffer. Set Info-history-forward from
6238 old-history-forward.
6239 (Info-breadcrumbs-depth): Add :group and :version.
6241 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6243 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6245 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6247 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6248 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6250 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6252 * emacs-lisp/package.el (package-menu-mode-map):
6253 Move initialization into declaration.
6255 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6257 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6259 * emacs-lisp/package.el (package-archive-base): Point to
6261 (package-enable, package-load-list): New defcustoms.
6262 (package-user-dir, package-directory-list): Turn into defcustoms.
6263 Don't include package-user-dir in package-directory-list.
6264 (package--builtins-base): Don't include Emacs as a "package".
6265 (package-subdirectory-regexp): New var.
6266 (package-load-all-descriptors, package-compute-transaction)
6267 (package-download-transaction): Obey package-load-list.
6268 (package-activate-1): Rename from package-do-activate.
6269 (package-list-packages-internal): Check package-load-list.
6270 (package-load-descriptor, package-generate-autoloads)
6271 (package-unpack, package-unpack-single)
6272 (package--read-archive-file, package-delete):
6273 Use expand-file-name.
6275 * emacs-lisp/package-x.el: New file. Package uploading
6276 functionality split out from package.el.
6278 * startup.el (command-line): Load packages after reading init file.
6280 2010-06-17 Tom Tromey <tromey@redhat.com>
6282 * emacs-lisp/package.el: New file.
6284 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6286 Fix vc-annotate for renamed files when using Git.
6287 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6288 ls-files. Doe not pass the object as a file name to cat-file, it
6290 (vc-git-annotate-command): Pass the file name using -- to avoid
6291 ambiguity with the revision.
6292 (vc-git-previous-revision): Pass a relative file name.
6294 2010-06-22 Glenn Morris <rgm@gnu.org>
6296 * progmodes/js.el (js-mode-map): Use standard capitalization and
6297 ellipses for menu entries.
6299 * wid-edit.el (widget-complete): Doc fix.
6301 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6303 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6305 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6307 Fix annotating other revisions for renamed files in vc-annotate.
6308 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6309 VC backend. Use it when non-nil.
6310 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6313 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6314 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6315 Do not pass the file name to the 'previous-revision call when we
6316 don't want a file diff. (Bug#6489)
6318 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6320 Fix finding revisions for renamed files in vc-annotate.
6321 * vc/vc.el (vc-find-revision): Add an optional argument for
6322 the VC backend. Use it when non-nil.
6323 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6324 backend to vc-find-revision. (Bug#6487)
6326 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6328 Fix reading file names in Git annotate buffers.
6329 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6330 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6332 2010-06-20 Alan Mackenzie <acm@muc.de>
6334 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6335 in file local variables, set it first.
6337 2010-06-19 Glenn Morris <rgm@gnu.org>
6339 * descr-text.el (describe-char-unicode-data): Insert separating
6340 space when needed. (Bug#6422)
6342 * progmodes/idlwave.el (idlwave-action-and-binding):
6343 Fix typo in 2009-12-03 change. (Bug#6450)
6345 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6347 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6348 handling for `lambda' (misunderstanding).
6350 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6352 * calc/calc-poly.el (math-accum-factors): Make sure that
6353 constants aren't distributed after they are factored out.
6355 2010-06-16 Juri Linkov <juri@jurta.org>
6357 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6358 `list-colors-print'. (Bug#6332)
6360 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6362 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6364 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6365 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6367 * font-lock.el (font-lock-major-mode): Rename from
6368 font-lock-mode-major-mode to distinguish it from
6369 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6370 (font-lock-set-defaults):
6371 * font-core.el (font-lock-default-function): Adjust users.
6372 (font-lock-mode): Don't set it at all.
6374 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6376 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6378 2010-06-16 Glenn Morris <rgm@gnu.org>
6380 * calendar/appt.el (appt-time-msg-list): Doc fix.
6381 (appt-check): Let-bind appt-warn-time.
6382 (appt-add): Make the 3rd argument optional.
6383 Simplify argument names. Doc fix. Check for integer WARNTIME.
6384 Only add WARNTIME to the output list if non-nil.
6386 2010-06-16 Ivan Kanis <apple@kanis.eu>
6388 * calendar/appt.el (appt-check): Let the 3rd element of
6389 appt-time-msg-list specify the warning time.
6390 (appt-add): Add new argument with the warning time. (Bug#5176)
6392 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6394 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6395 older than version 1.6. (Bug#6361)
6397 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6399 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6400 used by cl-do-arglist. (Bug#6408)
6402 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6404 * textmodes/ispell.el (ispell-dictionary-base-alist):
6405 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6406 Suggested by Rolando Pereira (bug#6434).
6408 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6410 * facemenu.el (list-colors-sort): Doc fix.
6412 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6414 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6416 2010-06-14 Juri Linkov <juri@jurta.org>
6418 Add sort option `list-colors-sort'. (Bug#6332)
6419 * facemenu.el (color-rgb-to-hsv): New function.
6420 (list-colors-sort): New defcustom.
6421 (list-colors-sort-key): New function.
6422 (list-colors-display): Doc fix. Sort list according to the option
6424 (list-colors-print): Add HSV values to `help-echo' property of
6427 2010-06-14 Juri Linkov <juri@jurta.org>
6429 * compare-w.el: Move to the "vc" subdirectory.
6431 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6433 * image-mode.el (image-mode-map): Remap left-char and right-char.
6435 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6437 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6439 * term/common-win.el (x-colors): Add all the color names defined
6440 in rgb.txt (Bug#6332).
6442 * facemenu.el (list-colors-print): Don't print extra names if it
6443 will overflow the window width.
6445 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6448 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6450 * files.el (make-directory): Doc fix (bug#6396).
6452 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6454 * net/tramp.el (tramp-remote-process-environment): Protect version
6455 string by apostroph.
6456 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6458 (tramp-file-name-for-operation): Add `call-process-region'.
6459 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6461 * net/tramp-compat.el (top): Do not autoload
6462 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6463 only when `start-file-process' is not bound.
6464 (tramp-advice-file-expand-wildcards): Do not use
6465 `tramp-handle-file-remote-p'.
6466 (tramp-compat-make-temp-file): Handle the case, that
6467 `make-temp-file' has no third argument EXTENSION.
6469 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6471 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6473 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6475 2010-06-11 Juri Linkov <juri@jurta.org>
6477 * finder.el (finder-known-keywords): Add keyword "vc"
6478 for version control.
6480 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6481 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6482 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6483 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6485 2010-06-11 Juri Linkov <juri@jurta.org>
6487 Move version control related files to the "vc" subdirectory.
6488 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6489 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6490 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6491 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6492 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6493 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6494 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6495 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6496 Move files to the "vc" subdirectory.
6498 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6500 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6503 2010-06-11 Stephen Eglen <stephen@gnu.org>
6505 * shell.el: Bind `shell-resync-dirs' to M-RET.
6507 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6509 * notifications.el: Move file from lisp/net, because it is
6510 supposed to talk locally to the user.
6512 2010-06-10 Julien Danjou <julien@danjou.info>
6514 * net/notifications.el (notifications-on-action-signal)
6515 (notifications-on-closed-signal): Pass notification id as first
6516 argument to the callback functions. Add docstrings.
6517 (notifications-notify): Fix docstring.
6519 2010-06-10 Glenn Morris <rgm@gnu.org>
6521 * emacs-lisp/authors.el (authors-ignored-files)
6522 (authors-valid-file-names): Add some files.
6524 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6526 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6527 merge conflict, giving preference to the emacs-23 version of the code.
6529 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6531 * emacs-lisp/advice.el (ad-compile-function):
6532 Define warning-suppress-types before we let-bind it (bug#6275).
6534 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6535 declare it, make it buffer-local and permanent-local (bug#6324).
6536 (vc-resynch-window): Adjust name.
6537 * vc-hooks.el (vc-find-file-hook): Adjust name.
6539 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6541 * net/notifications.el (notifications-notify): Fix docstring.
6543 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6545 Update to Unicode 6.0.0 beta.
6546 * international/charprop.el: Update copyright.
6547 * international/mule-cmds.el (ucs-names): Update character ranges.
6548 * international/uni-bidi.el:
6549 * international/uni-category.el:
6550 * international/uni-combining.el:
6551 * international/uni-comment.el:
6552 * international/uni-decimal.el:
6553 * international/uni-decomposition.el:
6554 * international/uni-digit.el:
6555 * international/uni-lowercase.el:
6556 * international/uni-mirrored.el:
6557 * international/uni-name.el:
6558 * international/uni-numeric.el:
6559 * international/uni-old-name.el:
6560 * international/uni-titlecase.el:
6561 * international/uni-uppercase.el: Regenerate.
6563 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6565 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6566 (smie-precs-precedence-table): Fix typo in docstring.
6568 * vc-mtn.el (log-edit-extract-headers): Declare function.
6570 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6572 * net/notifications.el (dbus-register-signal): Declare function.
6573 (notifications-notify): Fix typos and reflow docstring.
6575 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6577 Improve VC create/retrieve tag/branch.
6578 * vc.el (vc-create-tag): Do not read the directory name for VCs
6579 with repository revision granularity. Adjust the tag/branch
6580 prompt. Reset VC properties.
6581 (vc-retrieve-tag): Do not read the directory name for VCs
6582 with repository revision granularity. Reset VC properties.
6584 2010-06-09 Julien Danjou <julien@danjou.info>
6586 * net/notifications.el: New file.
6588 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6590 Add optional support for resetting VC properties.
6591 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6592 call vc-file-clearprops when true.
6593 (vc-resynch-buffer): Add new optional argument, pass it down.
6594 (vc-resynch-buffers-in-directory): Likewise.
6596 Improve support for special markup in the VC commit message.
6597 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6598 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6599 * vc-git.el (vc-git-checkin):
6600 * vc-bzr.el (vc-bzr-checkin): Likewise.
6602 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6604 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6605 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6607 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6609 * iimage.el: Remove images as soon as the underlying text is modified.
6610 (iimage-modification-hook): New function.
6611 (iimage-mode-buffer): Use it.
6613 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6615 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6616 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6617 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6618 (smie-indent-keyword): Add handling of open-paren keywords.
6619 (smie-indent-comment-continue): Don't assume comment-continue.
6621 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6623 * window.el (pop-to-buffer): Remove the conditional that
6624 compares new-window and old-window, so it will reselect
6625 the selected window unconditionally.
6626 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6628 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6630 * emacs-lisp/smie.el (smie-indent-offset-after)
6631 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6632 (smie-indent-after-keyword): Use them.
6633 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6634 (smie-indent-keyword): Tweak the black magic.
6635 (smie-indent-comment-continue): Strip comment-continue before use.
6636 (smie-indent-functions): Indent comments before keywords.
6638 2010-06-06 Juri Linkov <juri@jurta.org>
6640 * isearch.el (isearch-lazy-highlight-search): Fix looping
6641 by checking for empty match. This syncs this loop with the
6642 similar loop in `isearch-search'. (Bug#6362)
6644 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6646 * net/dbus.el (dbus-register-method): Declare function.
6647 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6648 (dbus-introspect): Doc fix.
6649 (dbus-event-bus-name, dbus-introspect-get-interface)
6650 (dbus-introspect-get-argument): Reflow docstrings.
6652 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6654 vc-log-incoming/vc-log-outgoing fixes for Git.
6655 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6656 incoming/outgoing logs.
6657 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6658 instead of vc-git-compute-remote.
6659 (vc-git-compute-remote): Remove.
6661 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6663 * term/common-win.el (x-colors): Add "dark green" and "dark
6664 turquoise" (Bug#6332).
6666 2010-06-04 Juri Linkov <juri@jurta.org>
6668 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6669 Instead of setting `replace' to t and replacing the same string
6670 with itself, don't do certain actions when
6671 kill-do-not-save-duplicates is non-nil and string is equal to car
6672 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6673 interprogram-paste strings to kill-ring, and don't push the input
6674 argument `string' to kill-ring.
6675 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6677 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6679 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6681 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6683 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6684 (tramp-gvfs-handler-mounted-unmounted)
6685 (tramp-gvfs-connection-mounted-p): Handle default-location.
6687 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6688 move files to trash.
6690 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6692 * international/mule-cmds.el (nonascii-insert-offset)
6693 (nonascii-translation-table): Add obsolescence information.
6695 * international/mule.el (make-translation-table-from-vector): Doc fix.
6697 2010-06-03 Glenn Morris <rgm@gnu.org>
6699 * desktop.el (desktop-clear-preserve-buffers):
6700 Add "*Warnings*" buffer. (Bug#6336)
6702 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6704 vc-log-incoming/vc-log-outgoing improvements for Git.
6705 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6707 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6709 Add bindings for vc-log-incoming and vc-log-outgoing.
6710 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6711 and vc-log-outgoing.
6712 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6713 and vc-log-outgoing.
6715 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6717 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6718 (rcirc-handler-366): Always sort nicknames.
6720 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6722 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6724 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6726 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6728 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6730 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6731 (rcirc-sort-nicknames-join): Avoid setq.
6733 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6735 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6736 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6737 (rcirc-handler-366): Use them.
6739 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6741 Split smie-indent-calculate into more manageable chunks.
6742 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6743 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6744 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6745 (smie-indent-exps): Extract from smie-indent-calculate.
6746 (smie-indent-functions): New var.
6747 (smie-indent-functions): Use them.
6749 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6751 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6752 (smie-indent-calculate): Simplify and cleanup.
6754 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6756 * net/tramp-gvfs.el (top): Require url-util.
6757 (tramp-gvfs-mount-point): Remove.
6758 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6760 (with-tramp-dbus-call-method): Format trace message.
6761 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6762 Implement backup call, when operation on local files fails.
6763 Use progress reporter. Flush properties of changed files.
6764 (tramp-gvfs-handle-make-directory): Make more traces.
6765 (tramp-gvfs-url-file-name): Hexify file name in url.
6766 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6767 into account for the resulting file name.
6768 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6769 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6770 (tramp-gvfs-handler-mounted-unmounted)
6771 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6772 attribute "default_location". Set "prefix" property.
6773 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6774 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6775 exists. Raise an error, if not (due to a corresponding answer
6776 "no" in interactive questions, for example).
6778 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6780 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6782 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6784 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6787 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6789 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6790 * vc-git.el (vc-git-compute-remote): New function.
6791 (vc-git-log-outgoing): Use it instead of hard coding a value.
6792 (vc-git-log-incoming): New function.
6794 Improve state updating for VC tag commands.
6795 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6796 to update the state of all buffers in the directory.
6798 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6800 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6802 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6803 `file-directory-p' to the filename part rather than to the whole text.
6805 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6807 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6809 2010-05-31 Drew Adams <drew.adams@oracle.com>
6811 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6813 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6815 * subr.el (momentary-string-display): Just use read-event to read
6816 the exit event (Bug#6238).
6818 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6820 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6822 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6824 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6825 Suggested by Eli Zaretskii <eliz@gnu.org>.
6827 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6829 * minibuffer.el (completion-file-name-table): Don't return a boundary
6830 past the end of `string' (bug#6299).
6831 (completion--file-name-table): Delegate to completion-file-name-table
6832 for the `boundaries' case.
6834 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6836 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6839 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6840 `path-separator', but maintain compatibility with Emacs 20.2.
6842 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6844 * server.el (server-process-filter): Receive parent-id argument
6846 (server-create-window-system-frame): New arg. Pass parent-id as
6849 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6851 Bidi-sensitive word movement with arrow keys.
6852 * subr.el (right-arrow-command, left-arrow-command): Move to
6855 * bindings.el (right-char, left-char): Move from subr.el and
6856 rename from right-arrow-command and left-arrow-command.
6857 (right-word, left-word): New functions.
6858 (global-map) <right>: Bind to right-char.
6859 (global-map) <left>: Bind to left-char.
6860 (global-map) <C-right>: Bind to right-word.
6861 (global-map) <C-left>: Bind to left-word.
6863 * ls-lisp.el (ls-lisp-classify-file): New function.
6864 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6865 (ls-lisp-classify): Call ls-lisp-classify-file.
6866 (insert-directory): Remove blanks from switches.
6868 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6870 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6871 (ansi-color-drop-regexp): New constant.
6872 (ansi-color-apply, ansi-color-filter-region)
6873 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6874 (ansi-color-apply): Build string list before calling concat.
6876 2010-05-28 Juri Linkov <juri@jurta.org>
6878 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6879 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6882 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6884 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6885 to ignored backtrace functions.
6886 (with-progress-reporter): Expand docstring.
6887 (tramp-handle-delete-file): Implement TRASH argument.
6888 (tramp-get-remote-trash): New defun.
6890 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6892 * net/tramp-compat.el (tramp-compat-delete-file):
6893 Use `symbol-value' for backward compatibility.
6895 * net/tramp.el (tramp-handle-make-symbolic-link)
6897 (tramp-do-copy-or-rename-file-via-buffer)
6898 (tramp-do-copy-or-rename-file-directly)
6899 (tramp-do-copy-or-rename-file-out-of-band)
6900 (tramp-handle-process-file, tramp-handle-call-process-region)
6901 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6902 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6903 (tramp-delete-temp-file-function): Use `delete-file' instead
6904 of `tramp-compat-delete-file'.
6906 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6907 (tramp-fish-handle-make-symbolic-link)
6908 (tramp-fish-handle-process-file): Use `delete-file' instead
6909 of `tramp-compat-delete-file'.
6911 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6912 Use `delete-file' instead of `tramp-compat-delete-file'.
6914 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6915 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6916 `tramp-compat-delete-file'.
6918 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
6919 Use `delete-file' instead of `tramp-compat-delete-file'.
6921 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6922 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6923 (tramp-smb-handle-write-region): Use `delete-file' instead of
6924 `tramp-compat-delete-file'.
6925 (tramp-smb-handle-delete-directory): Use 'trash as arg.
6927 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6929 * dired.el (dired-delete-file): New arg TRASH.
6930 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
6931 (dired-do-flagged-delete, dired-do-delete): Use trash.
6933 * speedbar.el (speedbar-item-delete): Allow trashing.
6935 * files.el (delete-directory): New arg TRASH.
6937 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6938 (ange-ftp-rename-remote-to-remote)
6939 (ange-ftp-rename-local-to-remote)
6940 (ange-ftp-rename-remote-to-local, ange-ftp-load)
6941 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6943 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6946 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6947 handle new TRASH arg of `delete-file'.
6949 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6950 (tramp-handle-make-symbolic-link, tramp-handle-load)
6951 (tramp-do-copy-or-rename-file-via-buffer)
6952 (tramp-do-copy-or-rename-file-directly)
6953 (tramp-do-copy-or-rename-file-out-of-band)
6954 (tramp-handle-process-file, tramp-handle-call-process-region)
6955 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6956 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6957 (tramp-delete-temp-file-function): Use null TRASH arg in
6958 tramp-compat-delete-file call.
6960 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6961 (tramp-fish-handle-delete-file)
6962 (tramp-fish-handle-make-symbolic-link)
6963 (tramp-fish-handle-process-file): Use null TRASH arg in
6964 `tramp-compat-delete-file' call.
6966 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6967 arg in `tramp-compat-delete-file' call.
6969 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6970 (tramp-gvfs-handle-write-region): Use null TRASH arg in
6971 `tramp-compat-delete-file' call.
6973 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6974 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6975 `tramp-compat-delete-file' call.
6977 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6978 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6979 (tramp-smb-handle-write-region): Use null TRASH arg in
6980 tramp-compat-delete-file call.
6981 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6982 (tramp-smb-handle-delete-file): Rename arg.
6984 * diff.el (diff-sentinel):
6985 * epg.el (epg--make-temp-file, epg-decrypt-string)
6986 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6987 * jka-compr.el (jka-compr-partial-uncompress)
6988 (jka-compr-call-process, jka-compr-write-region):
6989 * server.el (server-sentinel): Remove optional arg from
6990 delete-file, reverting 2010-05-03 change.
6992 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6994 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6995 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6997 2010-05-27 Kenichi Handa <handa@m17n.org>
6999 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7000 element of GSTRING is nil.
7002 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7004 * emacs-lisp/smie.el (smie-forward-token-function)
7005 (smie-backward-token-function): New vars.
7006 (smie-backward-sexp, smie-forward-sexp)
7007 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7008 (smie-default-backward-token): Rename from smie-backward-token and
7010 (smie-default-forward-token): Rename from smie-forward-token and
7012 (smie-next-sexp): Handle nil results from next-token.
7013 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7015 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7017 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7018 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7020 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7022 * htmlfontify.el (hfy-face-resolve-face): New function.
7023 (hfy-face-to-style): Use it (Bug#6279).
7025 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7027 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7028 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7030 2010-05-26 Glenn Morris <rgm@gnu.org>
7032 * emulation/edt.el (edt-load-keys): Use locate-library.
7034 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7036 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7037 (log-edit-changelog-entries): Doc fix.
7038 (log-edit-changelog-insert-entries): Args changed.
7039 Rename relative filenames in ChangeLog entries. Delete tabs.
7040 (log-edit-insert-changelog-entries): Reorganize return value of
7041 `log-edit-changelog-entries' to pass filenames to
7042 log-edit-changelog-insert-entries.
7044 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7046 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7047 `image-dired-dired-insert-marked-thumbs' to
7048 `image-dired-dired-toggle-marked-thumbs'.
7050 * image-dired.el: Require cl when compiling.
7051 (image-dired-dired-toggle-marked-thumbs): Rename from
7052 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7053 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7054 to 'no-dir. Skip files whose names don't match
7055 `image-file-name-regexp'. When file has a thumbnail overlay,
7056 delete it. (Bug#5270)
7058 2010-05-25 Juri Linkov <juri@jurta.org>
7060 * image-mode.el (image-mode): Add image-after-revert-hook to
7062 (image-after-revert-hook): New function. (Bug#5669)
7064 2010-05-25 Juri Linkov <juri@jurta.org>
7066 * image.el (image-animated-p): When delay between animated images
7067 is 0, set it to 10 (0.1 sec). (Bug#6258)
7069 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7071 * net/tramp.el (tramp-handle-insert-directory): Don't use
7072 `forward-word', its default syntax could be changed.
7074 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7076 * net/tramp.el (tramp-progress-reporter-update): New defun.
7077 (with-progress-reporter): Use it.
7078 (tramp-process-actions):
7079 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7080 Preserve current message, in order to let progress reporter continue
7081 afterwards. (Bug#6257)
7083 2010-05-25 Glenn Morris <rgm@gnu.org>
7085 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7088 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7090 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7091 (rcirc-default-full-name): Change to "unknown".
7092 (rcirc-user-name-history): Add variable.
7094 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7095 Jonathan Rockway <jon@jrock.us>
7097 * net/rcirc.el (rcirc-server-alist): Add :pass.
7098 (rcirc): When prompting for connection parameters, also prompt for
7099 username and password.
7100 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7101 value to server when connecting.
7103 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7105 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7106 (smie-merge-prec2s): Pass the tables as separate args.
7107 (smie-bnf-precedence-table): Adjust call accordingly.
7108 (smie-prec2-levels): Set levels at the end.
7110 Replace Lisp calls to delete-backward-char by delete-char.
7111 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7112 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7113 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7114 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7115 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7116 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7117 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7118 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7119 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7120 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7121 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7122 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7123 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7124 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7125 delete-backward-char by calls to delete-char.
7127 2010-05-25 Kenichi Handa <handa@m17n.org>
7129 * language/hebrew.el (hebrew-shape-gstring): New function.
7130 Register it in composition-function-table for all Hebrew combining
7133 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7135 * epa.el (epa--select-keys): Don't explicitly delete the window since
7136 that can fail (e.g. sole window in frame). Use dedication instead.
7138 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7140 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7142 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7144 * image.el (image-refresh): Define as an alias for image-flush.
7146 * image-mode.el (image-toggle-display-image): Caller changed.
7148 2010-05-21 Juri Linkov <juri@jurta.org>
7150 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7151 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7152 whitespace, call wildcard-to-regexp on substrings and concat them
7153 with "\\|". (Bug#6114)
7155 2010-05-21 Alan Mackenzie <acm@muc.de>
7157 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7158 Replace parameter `here' with `here-' and `here-plus', which sandwich
7159 any pertinent CPP construct.
7160 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7161 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7162 CPP construct from taking part in the scanning.
7164 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7166 * net/tramp.el (tramp-do-copy-or-rename-file)
7167 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7168 Tune `with-progress-reporter' messages.
7169 (tramp-handle-vc-registered):
7170 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7171 (tramp-fish-handle-insert-file-contents)
7172 (tramp-fish-maybe-open-connection):
7173 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7174 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7175 (tramp-imap-handle-insert-file-contents)
7176 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7178 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7180 * add-log.el (change-log-font-lock-keywords):
7181 Highlight all authors in multi-author entries.
7183 * smerge-mode.el (smerge-refine-ignore-whitespace)
7184 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7185 Fix typos in docstrings.
7186 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7188 2010-05-21 Glenn Morris <rgm@gnu.org>
7190 * progmodes/fortran.el (fortran-mode):
7191 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7193 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7194 having a relative path in src/Makefile.in.
7196 2010-05-20 Kevin Ryde <user42@zip.com.au>
7198 * help-mode.el (help-make-xrefs): For Info node links turn
7199 newlines into spaces. Link node names with newlines are matched
7200 by help-xref-info-regexp and buttonized, this change ensures they
7201 can be followed successfully with RET. (Bug#6206)
7203 2010-05-20 Juri Linkov <juri@jurta.org>
7205 * locate.el (locate): Use pop-to-buffer instead of
7206 switch-to-buffer-other-window. (Bug#6204)
7208 2010-05-20 Juri Linkov <juri@jurta.org>
7210 * replace.el (replace-highlight): Fix lazy-highlighting
7211 for `M-s w str M-% str RET'.
7213 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7215 * isearch.el (isearch-yank-word-or-char): Pull next subword
7216 when `subword-mode' is activated. (Bug#6220)
7218 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7220 * isearch.el (isearch-update-post-hook): New hook.
7221 (isearch-update): Use the new hook. (Bug#6225)
7223 2010-05-20 Juri Linkov <juri@jurta.org>
7225 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7226 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7229 2010-05-20 Juri Linkov <juri@jurta.org>
7231 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7234 2010-05-20 Juri Linkov <juri@jurta.org>
7236 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7237 FILE-NAME to read from the minibuffer when called interactively
7238 with prefix argument instead of using buffer-file-name.
7239 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7241 * dired.el: Update autoloads.
7243 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7245 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7246 nxml-finish-element, for consistency with SGML mode.
7248 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7251 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7253 * composite.el: Require cl when compiling.
7254 (reference-point-alist, compose-gstring-for-graphic)
7255 (compose-gstring-for-terminal): Fix typos in docstrings.
7257 2010-05-19 Juri Linkov <juri@jurta.org>
7259 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7260 set-window-parameter.
7262 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7264 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7266 (tramp-maybe-open-connection): Use it.
7268 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7270 * simple.el (move-end-of-line): Make sure we are at line beginning
7271 before backing up to end of previous line.
7273 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7275 * password-cache.el (password-cache-remove): Fix docstring.
7277 * net/secrets.el: Autoload the widget functions.
7278 (secrets-search-items, secrets-create-item)
7279 (secrets-get-attributes, secrets-expand-item): Attributes will be
7280 stored on the password database without leading ":", as all other
7282 (secrets-mode): Fix docstring.
7283 (secrets-show-secrets): Provide it as autoloaded command only when
7284 D-Bus support is available. Check existence of Secret Service API.
7286 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7288 * indent.el (indent-region): Deactivate region (bug#6200).
7290 2010-05-19 Glenn Morris <rgm@gnu.org>
7292 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7294 2010-05-19 Kenichi Handa <handa@m17n.org>
7296 * composite.el: Register compose-gstring-for-graphic in
7297 composition-function-table only for combining characters (Mn, Mc, Me).
7299 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7301 * calc/calc-trail.el (calc-trail-isearch-forward)
7302 (calc-trail-isearch-backward): Ensure that the new window
7303 point is set correctly.
7305 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7307 * subr.el (read-quoted-char): Resolve modifiers after key
7308 remapping (bug#6212).
7310 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7312 Add visualization code for secrets.
7313 * net/secrets.el (secrets-mode): New major mode.
7314 (secrets-show-secrets, secrets-show-collections)
7315 (secrets-expand-collection, secrets-expand-item)
7316 (secrets-tree-widget-after-toggle-function)
7317 (secrets-tree-widget-show-password): New defuns.
7319 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7322 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7323 handled in smie-next-sexp.
7324 (smie-indent-calculate): Provide a starting indentation (so the
7325 recursion is well-founded ;-).
7327 Fix handling of non-associative equal levels.
7328 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7329 when it's not needed.
7330 (smie-op-left, smie-op-right): New functions.
7331 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7332 Better handle equal levels to distinguish the associative case from
7333 the "multi-keyword construct" case.
7334 (smie-backward-sexp, smie-forward-sexp): Use it.
7336 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7338 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7340 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7341 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7343 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7345 Provide a simple generic indentation engine and use it for Prolog.
7346 * emacs-lisp/smie.el: New file.
7347 * progmodes/prolog.el (prolog-smie-op-levels)
7348 (prolog-smie-indent-rules): New var.
7349 (prolog-mode-variables): Use them to configure SMIE.
7350 (prolog-indent-line, prolog-indent-level): Remove.
7352 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7354 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7355 order before computing the averages.
7357 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7359 * calc/calc-vec.el (calc-histogram):
7360 (calcFunc-histogram): Allow vectors as inputs.
7361 (math-vector-avg): New function.
7363 * calc/calc-ext.el (math-group-float): Have the number of digits
7364 being grouped depend on the radix (Bug#6189).
7366 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7368 * version.el (emacs-copyright, emacs-version): Don't define here,
7369 now that emacs.c defines it.
7371 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7373 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7374 "Describe Language Environment" menu item.
7376 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7378 Bidi-sensitive movement with arrow keys.
7379 * subr.el (right-arrow-command, left-arrow-command): New functions.
7381 * bindings.el (global-map): Bind them to right and left arrow keys.
7383 Don't override standard definition of convert-standard-filename.
7384 * files.el (convert-standard-filename):
7385 Call w32-convert-standard-filename and dos-convert-standard-filename on
7386 the corresponding systems.
7388 * w32-fns.el (w32-convert-standard-filename): Rename from
7389 convert-standard-filename. Doc fix.
7391 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7392 (convert-standard-filename): Don't defalias.
7393 (register-name-alist, make-register, register-value)
7394 (set-register-value, intdos): Obsolete aliases for the
7395 corresponding dos-* functions and variables.
7396 (dos-intdos): Add a doc string.
7398 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7400 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7401 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7402 (math-compose-tex-func):
7403 * calc/calccomp.el (math-compose-expr):
7404 * calc/calc-ext.el (math-format-flat-expr-fancy):
7405 * calc/calc-store.el (calc-read-var-name):
7406 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7408 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7409 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7410 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7411 (math-standard-units): Add units.
7413 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7415 * progmodes/asm-mode.el (asm-mode):
7416 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7418 * pcomplete.el (pcomplete-completions-at-point): New function,
7419 extracted from pcomplete-std-complete.
7420 (pcomplete-std-complete): Use it.
7422 2010-05-15 Glenn Morris <rgm@gnu.org>
7424 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7425 Remove references to CVS, RCS and Old directories.
7427 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7429 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7432 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7434 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7435 (sh-mode-syntax-table): Give it a default value instead.
7436 (sh-header-marker): Make buffer-local.
7437 (sh-mode): Move make-local-variable to the corresponding setq.
7438 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7439 Use complete-with-action.
7441 * simple.el (prog-mode): New (abstract) major mode.
7442 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7443 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7445 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7447 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7448 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7449 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7450 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7451 (sql-escape-newlines-filter, sql-input-sender)
7452 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7454 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7456 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7458 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7459 latex-open-block and C-c / to latex-close-block.
7461 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7462 and C-c C-e to sgml-close-tag.
7464 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7466 * net/tramp.el (with-progress-reporter): Create reporter object
7467 only when the message would be displayed. Handle nested calls.
7468 (tramp-handle-load, tramp-handle-file-local-copy)
7469 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7470 (tramp-maybe-send-script, tramp-find-shell):
7471 Use `with-progress-reporter'.
7472 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7475 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7476 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7477 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7478 Use `with-progress-reporter'.
7480 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7482 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7483 process everytime when spellchecking from the minibuffer (bug#6143).
7485 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7487 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7489 * dos-fns.el: Add "dos-" prefix for namespace control.
7490 (convert-standard-filename): Define as alias for
7491 dos-convert-standard-filename but only if applicable.
7493 2010-05-12 Alan Mackenzie <acm@muc.de>
7495 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7496 Push the mark at the start of these functions when appropriate.
7498 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7500 * minibuffer.el (completion-cycle-threshold): New custom var.
7501 (completion--do-completion): Use it.
7502 (minibuffer-complete): Use cycling if appropriate.
7504 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7506 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7507 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7509 2010-05-11 Juri Linkov <juri@jurta.org>
7511 * scroll-all.el (scroll-all-check-to-scroll):
7512 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7514 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7516 * iimage.el (iimage-mode-map): Move initialization into declaration.
7517 (iimage-mode-buffer): Use with-silent-modifications.
7518 Simplify calling convention. Adjust callers.
7519 (iimage-mode): Don't run hook redundantly.
7521 * minibuffer.el (completion-pcm--pattern->regex):
7522 Fix last change (bug#6160).
7524 2010-05-10 Juri Linkov <juri@jurta.org>
7526 Remove nodes visited during Isearch from the Info history.
7527 * info.el (Info-isearch-initial-history)
7528 (Info-isearch-initial-history-list): New variables.
7529 (Info-isearch-start): Record initial values of
7530 Info-isearch-initial-history and Info-isearch-initial-history-list.
7531 Add Info-isearch-end to isearch-mode-end-hook.
7532 (Info-isearch-end): New function.
7534 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7536 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7537 format string, in order to work around a bug in pdksh.
7538 Reported by Gilles Pion <gpion@lfdj.com>.
7539 (tramp-handle-verify-visited-file-modtime): Do not send a command
7540 when the connection is not established.
7541 (tramp-handle-set-file-times): Simplify the check for utc.
7543 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7545 Fix use of `filter-buffer-substring' (rework previous change).
7546 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7547 (cua-repeat-replace-region):
7548 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7549 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7550 (cua-cut-region-to-global-mark): Use it.
7552 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7554 * progmodes/sql.el: Version 2.1.
7555 (sql-product-alist): Redesign structure of product info.
7556 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7557 (sql-port, sql-port-history): New variables.
7558 (sql-interactive-product): New variable.
7559 (sql-send-terminator): New variable.
7560 (sql-imenu-generic-expression): Add "Types" imenu entry.
7561 (sql-oracle-login-params, sql-sqlite-login-params)
7562 (sql-mysql-login-params, sql-solid-login-params)
7563 (sql-sybase-login-params, sql-informix-login-params)
7564 (sql-ingres-login-params, sql-ms-login-params)
7565 (sql-postgres-login-params, sql-interbase-login-params)
7566 (sql-db2-login-params, sql-linter-login-params)
7567 (sql-oracle-scan-on): New variables.
7568 (sql-mode-map): Add C-c C-i to start interactive mode.
7569 (sql-mode-menu): Update existing menu entries.
7570 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7571 (sql-mode-oracle-font-lock-keywords)
7572 (sql-mode-postgres-font-lock-keywords)
7573 (sql-mode-ms-font-lock-keywords)
7574 (sql-mode-sybase-font-lock-keywords)
7575 (sql-mode-informix-font-lock-keywords)
7576 (sql-mode-interbase-font-lock-keywords)
7577 (sql-mode-ingres-font-lock-keywords)
7578 (sql-mode-solid-font-lock-keywords)
7579 (sql-mode-mysql-font-lock-keywords)
7580 (sql-mode-sqlite-font-lock-keywords)
7581 (sql-mode-db2-font-lock-keywords)
7582 (sql-mode-linter-font-lock-keywords): Update initialization to
7583 reduce run-time complexity.
7584 (sql-add-product, sql-del-product): New functions.
7585 (sql-set-product-feature, sql-get-product-feature): New functions.
7586 (sql-product-font-lock): Update product API.
7587 (sql-add-product-keywords): New function.
7588 (sql-highlight-product): Update product API.
7589 (sql-help-list-products): New function.
7590 (sql-help): Dynamically lists free and non-free products.
7591 (sql-get-login): Correct bug in handling history and added
7593 (sql-copy-column): Copy without properties.
7594 (sqli-input-sender): Apply filters to SQLi input.
7595 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7596 Implement as a filter.
7597 (sql-escape-newlines-filter): Implement as a filter.
7598 (sql-remove-tabs-filter): New function.
7599 (sql-send-magic-terminator): New function.
7600 (sql-send-string): Implement magic terminator.
7601 (sql-send-region): Use `sql-send-string'.
7602 (sql-interactive-mode): Use product API.
7603 (sql-product-interactive): Use product API.
7604 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7605 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7606 (sql-db2, sql-linter): Use `sql-product-interactive'.
7607 (sql-connect): New function.
7608 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7609 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7610 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7611 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7614 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7616 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7617 New custom variable.
7618 (completion-pcm--string->pattern): Use it.
7619 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7620 Make it handle any symbol as `any'.
7621 (completion-pcm--merge-completions): Extract common suffix for the new
7622 `prefix' symbol as well.
7623 (completion-substring--all-completions): Use the new `prefix' symbol.
7625 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7627 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7629 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7630 (tramp-compat-funcall): New defmacro.
7631 (tramp-compat-line-beginning-position)
7632 (tramp-compat-line-end-position)
7633 (tramp-compat-temporary-file-directory)
7634 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7635 (tramp-compat-copy-file, tramp-compat-copy-directory)
7636 (tramp-compat-delete-file, tramp-compat-delete-directory)
7637 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7638 * net/tramp.el (top, with-progress-reporter)
7639 (tramp-rfn-eshadow-setup-minibuffer)
7640 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7641 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7642 (tramp-completion-mode-p, tramp-check-for-regexp)
7643 (tramp-open-connection-setup-interactive-shell)
7644 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7645 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7646 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7647 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7648 (tramp-reporter-dump-variable, tramp-load-report-modules)
7649 (tramp-append-tramp-buffers)
7650 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7652 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7654 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7656 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7657 buffer-modtime. Adjust users.
7659 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7661 * international/mule.el (auto-coding-alist): Only purecopy
7662 car of each item, not the whole list (Bug#6083).
7664 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7666 * progmodes/js.el (js-mode): Make paragraph variables local before
7667 calling c-setup-paragraph-variables (Bug#6071).
7669 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7671 * composite.el (compose-region, reference-point-alist): Fix typos
7674 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7676 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7677 gnuplot's "set" command.
7679 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7681 * abbrev.el (last-abbrev-text): Doc fix.
7682 (abbrev-prefix-mark): Don't escape parenthesis.
7684 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7686 * composite.el (find-composition): Doc fix.
7688 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7690 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7691 (sql-oracle-program, sql-sqlite-options)
7692 (sql-query-placeholders-and-send): Doc fixes.
7693 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7694 (sql-imenu-generic-expression, sql-buffer)
7695 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7696 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7697 (sql-mode-sybase-font-lock-keywords)
7698 (sql-mode-informix-font-lock-keywords)
7699 (sql-mode-interbase-font-lock-keywords)
7700 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7701 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7702 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7703 (sql-product-feature, sql-highlight-product)
7704 (comint-line-beginning-position, sql-rename-buffer)
7705 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7706 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7707 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7708 Fix typos in docstrings.
7710 2010-05-08 Juri Linkov <juri@jurta.org>
7712 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7713 property instead of `invisible' and `after-string' (bug#5998).
7715 2010-05-08 Juri Linkov <juri@jurta.org>
7717 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7719 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7721 * filecache.el (file-cache-add-directory-list)
7722 (file-cache-add-directory-recursively): Fix typos in docstrings.
7724 2010-05-08 Kenichi Handa <handa@m17n.org>
7726 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7727 (gujarati-composable-pattern): Fix typo.
7729 2010-05-08 Kenichi Handa <handa@m17n.org>
7731 * language/indian.el (oriya-composable-pattern)
7732 (tamil-composable-pattern, malayalam-composable-pattern):
7733 Add two-part vowels to "v" (vowel sign).
7735 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7737 * files.el (copy-directory): Handle symlinks (Bug#5982).
7739 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7741 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7742 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7745 2010-05-08 Glenn Morris <rgm@gnu.org>
7747 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7749 * minibuffer.el (completion-at-point): Doc fix.
7751 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7753 * electric.el (Electric-command-loop): Minor tweak.
7755 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7756 better with dedicated windows.
7758 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7760 * Version 23.2 released.
7762 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7763 Stefan Monnier <monnier@iro.umontreal.ca>
7765 Highlight vendor specific properties.
7766 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7767 (css-proprietary-property): New face.
7768 (css-font-lock-keywords): Use them.
7770 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7772 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7774 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7776 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7777 * files.el (auto-mode-alist): Remove redundant entries.
7779 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7780 * simple.el (auto-save-mode): Move from files.el.
7781 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7783 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7785 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7787 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7789 * mail/binhex.el (binhex-decode-region-internal)
7790 * mail/uudecode.el (uudecode-decode-region-internal)
7791 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7792 (dns-read-type, dns-query)
7793 * pgg-parse.el (pgg-parse-armor)
7794 * pgg.el (pgg-verify-region)
7795 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7798 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7800 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7802 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7804 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7805 * emulation/cua-base.el (cua-repeat-replace-region):
7806 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7807 (cua-cut-region-to-global-mark):
7808 Remove text properties with `set-text-properties'.
7810 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7812 * net/tramp.el (top, with-progress-reporter):
7813 Use `symbol-function' inside `funcall'.
7815 * net/tramp-compat.el (tramp-compat-file-attributes)
7816 (tramp-compat-delete-file, tramp-compat-delete-directory):
7817 Handle only `wrong-number-of-arguments' error.
7819 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7820 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7823 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * minibuffer.el (completion--sreverse, completion--common-suffix):
7827 (completion-pcm--merge-completions): Extract common suffix when safe.
7829 * emacs-lisp/easy-mmode.el (define-minor-mode):
7830 Make :variable more flexible.
7831 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7833 2010-05-05 Juri Linkov <juri@jurta.org>
7835 Add `slow' and `history' tags to the desktop data.
7837 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7838 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7839 (Info-finder-find-node): Require `finder.el' to be able
7840 to restore node from the desktop.
7841 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7842 data `Info-history' and `slow' tag in the assoc list.
7843 (Info-restore-desktop-buffer): Don't restore nodes with the
7844 `slow' tag. Restore `Info-history'.
7846 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7848 Add FORCE argument to `delete-file'.
7850 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7851 forcing to delete the temporary file.
7852 (ange-ftp-delete-file): Add FORCE arg.
7853 (ange-ftp-rename-remote-to-remote)
7854 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7855 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7856 Force file deletion.
7858 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7860 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7861 (tramp-handle-make-symbolic-link, tramp-handle-load)
7862 (tramp-do-copy-or-rename-file-via-buffer)
7863 (tramp-do-copy-or-rename-file-directly)
7864 (tramp-do-copy-or-rename-file-out-of-band)
7865 (tramp-handle-process-file, tramp-handle-call-process-region)
7866 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7867 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7868 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7870 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7871 (tramp-fish-handle-make-symbolic-link)
7872 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7874 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7875 Use `tramp-compat-delete-file'.
7877 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7878 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7880 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7881 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7883 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7884 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7885 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7886 Use `tramp-compat-delete-file'.
7888 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7891 * subr.el (add-minor-mode): Use push.
7892 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7893 * emulation/edt.el (edt-select-mode): Simplify.
7895 Use define-minor-mode in more cases.
7896 * term/tvi970.el (tvi970-set-keypad-mode):
7897 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7898 (normal-erase-is-backspace-mode):
7899 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7900 (set-scroll-bar-mode-1): (Re)move to its sole caller.
7901 (get-scroll-bar-mode): New function.
7902 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7904 Use define-minor-mode for less obvious cases.
7905 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7906 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7907 * international/iso-ascii.el (iso-ascii-mode):
7908 * frame.el (auto-raise-mode, auto-lower-mode):
7909 * composite.el (global-auto-composition-mode): Use define-minor-mode.
7911 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
7913 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7914 in order to see error messages for failed logins.
7916 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
7918 * diff.el (diff-sentinel):
7920 * epg.el (epg--make-temp-file, epg-decrypt-string)
7921 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7923 * jka-compr.el (jka-compr-partial-uncompress)
7924 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7926 * server.el (server-sentinel): Use delete-file's new FORCE arg
7929 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7931 Use define-minor-mode where applicable.
7932 * view.el (view-mode):
7933 * type-break.el (type-break-query-mode)
7934 (type-break-mode-line-message-mode):
7935 * textmodes/reftex.el (reftex-mode):
7936 * term/vt100.el (vt100-wide-mode):
7937 * tar-mode.el (tar-subfile-mode):
7938 * savehist.el (savehist-mode):
7939 * ibuf-ext.el (ibuffer-auto-mode):
7940 * composite.el (auto-composition-mode):
7941 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7942 Use define-minor-mode.
7943 (vhdl-mode): Use static mode-line format.
7944 (vhdl-mode-line-update): Delete.
7945 (vhdl-create-mode-menu, vhdl-activate-customizations)
7946 (vhdl-hs-minor-mode): Don't bother calling it.
7948 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7950 * simple.el (with-wrapper-hook): Move.
7951 (buffer-substring-filters): Mark obsolete.
7952 (filter-buffer-substring-functions): New variable.
7953 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
7955 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7956 Michael Albinus <michael.albinus@gmx.de>
7958 Implement compression for inline methods.
7960 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7961 (tramp-copy-size-limit): Allow also nil.
7962 (tramp-inline-compress-commands): New defconst.
7963 (tramp-find-inline-compress, tramp-get-inline-compress)
7964 (tramp-get-inline-coding): New defuns.
7965 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7966 replaced by `tramp-get-inline-coding'.
7967 (tramp-handle-file-local-copy, tramp-handle-write-region)
7968 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7970 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7972 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7973 Remove unused functions.
7975 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7976 Set find-tag-default-function as a variable rather than a property.
7978 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7979 * progmodes/etags.el (tags-completion-at-point-function):
7980 Remove left over interactive spec. Add autoloading stub.
7981 (complete-tag): Use tags-completion-at-point-function.
7983 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
7985 * minibuffer.el (tags-completion-at-point-function): Fix return value.
7987 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7989 * ido.el (ido-init-completion-maps): Remove C-v binding.
7990 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7992 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7994 * minibuffer.el (tags-completion-at-point-function): New function.
7995 (completion-at-point-functions): Use it.
7997 * progmodes/etags.el (complete-tag): Revert last change.
7999 2010-04-29 Alan Mackenzie <acm@muc.de>
8001 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8002 off-by-one error (in end of macro position).
8004 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8006 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8007 firefox is absent. Don't autoload.
8008 (browse-url-galeon-program): Don't autoload.
8010 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8012 * bindings.el (complete-symbol): Move into minibuffer.el.
8014 * minibuffer.el (complete-tag): Move from etags.el. If tags
8015 completion cannot be performed, return nil instead of signalling
8017 (completion-at-point): Make it an alias for complete-symbol.
8018 (complete-symbol): Move from bindings.el, and replace with the
8019 body of completion-at-point.
8021 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8023 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8025 * net/tramp.el (tramp-remote-selinux-p): New defun.
8026 (tramp-handle-file-selinux-context)
8027 (tramp-handle-set-file-selinux-context): Use it.
8029 2010-04-28 Sam Steingold <sds@gnu.org>
8031 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8032 `safe-local-variable' if the value is a string or a symbol with
8033 the property `bug-reference-url-format'.
8035 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8037 * progmodes/bug-reference.el (bug-reference-url-format):
8038 Revert 2010-04-27 change due to security risk.
8040 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8042 Make it possible to locally disable a globally enabled mode.
8043 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8044 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8045 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8046 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8047 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8048 that subsequent hooks get a chance to disable it.
8050 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8052 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8053 Avoid re-enabling a minor mode after the user turned the minor mode
8054 off if MODE-enable-in-buffers is run twice (typically once from
8055 fundamental-mode's after-change-major-mode-hook and a second time from
8056 run-mode-hook's own after-change-major-mode-hook).
8058 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8060 2010-04-27 Sam Steingold <sds@gnu.org>
8062 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8063 `safe-local-variable' if the value is a string or a function, as
8064 documented and implemented on 2010-04-02.
8066 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8068 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8069 when method is 'kill.
8071 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8073 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8074 condition in default directory check.
8075 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8076 Kill ispell process when killing its associated buffer.
8078 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8080 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8081 but we aren't using it.
8083 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8085 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8086 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8088 2010-04-24 Glenn Morris <rgm@gnu.org>
8090 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8091 Ignore VCS-ignore files, and deleted nextstep preferences files.
8092 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8093 (authors-ambiguous-files): New list.
8094 (authors-valid-file-names): Add some deleted files.
8095 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8096 (authors-disambiguate-file-name): New function. (Bug#5501)
8097 (authors-canonical-file-name): Doc fix.
8098 Don't warn about obsolete files.
8099 (authors-canonical-file-name, authors-scan-el):
8100 Use authors-disambiguate-file-name.
8102 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8103 Add autoload cookies.
8104 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8105 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8106 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8107 They have definitions / compiler macros in cl.el.
8108 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8109 Replace manual autoloads with generated ones.
8110 (htmlfontify-unload-rgb-file): Remove autoload.
8111 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8113 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8115 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8116 (byte-compile-setq-default): Optimize for the
8117 single-var case and don't call byte-compile-form in this case to avoid
8118 inf-loop with byte-compile-set-default.
8120 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8122 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8124 Implement SELINUX backends.
8126 * net/tramp.el (tramp-file-name-handler-alist):
8127 Add `file-selinux-context' and `set-file-selinux-context'.
8128 (tramp-handle-file-selinux-context)
8129 (tramp-handle-set-file-selinux-context): New defuns.
8130 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8131 Handle PRESERVE-SELINUX-CONTEXT.
8133 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8134 Add `file-selinux-context' and `set-file-selinux-context'.
8135 (tramp-gvfs-handle-file-selinux-context)
8136 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8137 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8139 * net/ange-ftp.el (ange-ftp-copy-file):
8140 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8141 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8142 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8143 Add PRESERVE-SELINUX-CONTEXT.
8145 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8147 Synchronize with Tramp repository.
8149 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8150 (tramp-action-process-alive, tramp-action-out-of-band)
8151 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8152 (tramp-exists-file-name-handler): Fix docstring.
8153 (with-progress-reporter): New defmacro.
8154 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8155 (tramp-maybe-open-connection): Use it.
8157 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8159 Detect ssh 'ControlMaster' argument automatically in some cases.
8161 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8162 (tramp-default-method): Use it.
8164 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8166 * net/tramp.el (tramp-handle-copy-file): Add new optional
8167 parameter `preserve-selinux-context'.
8168 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8170 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8172 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8173 Ensure, that non remote files are still checked. Oops.
8175 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8179 * icomplete.el (icomplete-completions): Use `non-essential'.
8181 * net/tramp.el (tramp-connectable-p): New defun.
8182 (tramp-handle-expand-file-name)
8183 (tramp-completion-handle-file-name-all-completions)
8184 (tramp-completion-handle-file-name-completion): Use it.
8186 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8188 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8190 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8192 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8194 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8196 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8199 * info.el (info-tool-bar-map): Add labels.
8201 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8203 * cus-edit.el (custom-commands): Add labels for tool bar.
8204 (custom-buffer-create-internal, Custom-mode): Adjust for
8205 labels in custom-commands.
8207 * dynamic-setting.el: Renamed from font-setting.el.
8209 2010-04-21 John Wiegley <jwiegley@gmail.com>
8211 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8212 toggles the use of virtual buffers.
8213 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8214 (ido-toggle-virtual-buffers): New function.
8216 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8218 Use `define-derived-mode'; fix window selection; doc fixes.
8219 * play/tetris.el (tetris, tetris-update-speed-function)
8220 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8221 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8222 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8223 (tetris-pause-game): Fix typos in docstrings.
8224 (tetris-mode-map, tetris-null-map):
8225 Move initialization into declaration.
8226 (tetris-mode): Define with `define-derived-mode';
8227 set show-trailing-whitespace to nil.
8228 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8230 2010-04-21 Karel Klíč <kklic@redhat.com>
8232 * files.el (backup-buffer): Handle SELinux context, and return it
8233 if a backup was made by renaming.
8234 (backup-buffer-copy): Set SELinux context to the target file.
8235 (basic-save-buffer): Set SELinux context of the newly written file.
8236 (basic-save-buffer-1): Now it also returns any SELinux context.
8237 (basic-save-buffer-2): Set SELinux context of the newly created file,
8239 * net/tramp.el (tramp-file-name-for-operation):
8240 Add file-selinux-context.
8242 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8244 Make the log-edit comments use RFC822 format throughout.
8246 * vc.el (vc-checkin, vc-modify-change-comment):
8247 Adjust to new vc-start/finish-logentry.
8248 (vc-find-conflicted-file): New command.
8249 (vc-transfer-file): Adjust to new vc-checkin.
8250 (vc-next-action): Improve scoping.
8252 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8253 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8255 * vc-git.el (vc-git-log-edit-mode): Remove.
8256 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8257 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8259 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8260 (vc-start-logentry): Remove argument `extra'.
8261 (vc-finish-logentry): Remove extra args.
8263 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8264 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8265 (vc-bzr-conflicted-files): New function.
8267 * log-edit.el (log-edit-extra-flags)
8268 (log-edit-before-checkin-process): Remove.
8269 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8270 (log-edit-headers-alist): New var.
8271 (log-edit-header-contents-regexp): New const.
8272 (log-edit-match-to-eoh): New function.
8273 (log-edit-font-lock-keywords): Use them.
8274 (log-edit): Insert a "Summary:" header as default.
8275 (log-edit-mode): Mark font-lock rules as case-insensitive.
8276 (log-edit-done): Cleanup headers.
8277 (log-view-process-buffer): Remove.
8278 (log-edit-extract-headers): New function to replace it.
8280 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8282 * subr.el (default-direction-reversed): Remove obsolescence info.
8284 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8286 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8289 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8290 I.e. include text after point in the completion region.
8291 Also, return nil when we're not after/in a symbol.
8293 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8294 default enable-multibyte-characters.
8296 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8298 * international/mule.el: Help the user choose a valid coding-system.
8299 (read-buffer-file-coding-system): New function.
8300 (set-buffer-file-coding-system): Use it. Prompt the user if the
8301 coding-system cannot encode all the chars.
8303 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8304 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8305 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8306 Don't use *vc-bzr-shelve*.
8308 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8310 Fix the version number for added files.
8311 * vc-hg.el (vc-hg-working-revision): Check if the file is
8312 registered after hg parent fails (Bug#5961).
8314 2010-04-19 Glenn Morris <rgm@gnu.org>
8316 * htmlfontify.el (htmlfontify-buffer)
8317 (htmlfontify-copy-and-link-dir): Autoload entry points.
8319 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8321 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8322 name relative to the project root (Bug#5960).
8324 2010-04-19 Glenn Morris <rgm@gnu.org>
8326 * vc-git.el (vc-git-print-log): Doc fix.
8328 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8330 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8332 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8334 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8335 default settings (Bug#5928).
8337 2010-04-19 Glenn Morris <rgm@gnu.org>
8339 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8341 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8343 2010-04-19 Kenichi Handa <handa@m17n.org>
8345 * language/indian.el (malayalam-composable-pattern): Fix previous
8346 change (add U+0D4D "SIGN VIRAMA").
8347 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8348 (tamil-composable-pattern): Fix typo in the regexp.
8349 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8350 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8351 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8353 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8355 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8356 paragraph-separate (Bug#5821).
8358 2010-04-19 Juri Linkov <juri@jurta.org>
8360 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8362 * info.el (Info-find-node-2): Comment out code that skips
8364 (Info-mouse-follow-link): New command.
8365 (Info-link-keymap): New keymap.
8366 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8367 Return a string with links instead of inserting breadcrumbs
8369 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8370 Instead of putting the `invisible' text property over the Info
8371 header, make an overlay over the Info header with the `invisible'
8372 property and `after-string' set to the string returned by
8375 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8377 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8378 Reported by monkey@sandpframing.com.
8380 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8382 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8383 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8384 available in the "keyseq cache" any more.
8386 * custom.el (defcustom): Add edebug spec.
8388 2010-04-18 Juri Linkov <juri@jurta.org>
8390 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8392 * view.el (view-file, view-buffer): Move test for special mode-class
8393 from view-file to view-buffer.
8395 * tar-mode.el (tar-extract): Turn if's into one cond
8396 like in arc-mode.el.
8398 2010-04-18 Juri Linkov <juri@jurta.org>
8400 Add 7z archive format support (bug#5475).
8402 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8403 (archive-7z-extract): New defcustom.
8404 (archive-find-type): Add magic string for 7z.
8405 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8406 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8407 `buffer' arg of `call-process'.
8408 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8409 call the function `archive-7z-extract' with the variable
8410 `archive-7z-extract' let-bound to `archive-zip-extract'.
8411 (archive-7z-summarize, archive-7z-extract): New functions.
8413 * international/mule.el (auto-coding-alist):
8414 * files.el (auto-mode-alist): Add 7z file extension.
8416 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8418 * loadup.el: Setup hash-cons for pure data.
8420 Fix duplicate entries in cedet's loaddefs.el files.
8421 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8422 Should make most file-local generated-autoload-file unnecessary.
8423 (print-readably): Silence warnings.
8424 (autoload-find-destination): Take load-name as an arg to make sure
8425 it's the same as the one that will be in the file.
8426 (autoload-generate-file-autoloads): Adjust to above changes.
8427 Try to make the dataflow a bit simpler.
8429 * cvs-status.el (cvs-refontify): Remove unused.
8431 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8433 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8435 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8436 twos-complement mode.
8438 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8440 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8441 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8442 (calc-inverse): Add "Option" to message, as appropriate.
8443 (calc-hyperbolic): Add "Option" to message, as appropriate.
8444 (calc-option, calc-is-option): New functions.
8446 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8447 (calc-option-prefix-help): New function.
8449 * calc/calc-misc.el (calc-help): Add "Option" entry.
8451 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8452 (calc-option-flag): New variable.
8453 (calc-do): Set `calc-option-flag to nil.
8454 (calc-set-mode-line): Add "Opt " as appropriate.
8456 2010-04-16 Juri Linkov <juri@jurta.org>
8458 Move scrolling commands from simple.el to window.el
8459 because their primitives are implemented in window.c.
8461 * simple.el (scroll-error-top-bottom)
8462 (scroll-up-command, scroll-down-command, scroll-up-line)
8463 (scroll-down-line, scroll-other-window-down)
8464 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8465 * window.el (scroll-error-top-bottom)
8466 (scroll-up-command, scroll-down-command, scroll-up-line)
8467 (scroll-down-line, scroll-other-window-down)
8468 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8469 Move from simple.el to window.el because their primitives are
8470 implemented in window.c.
8472 2010-04-16 Juri Linkov <juri@jurta.org>
8474 * isearch.el (isearch-lookup-scroll-key): Check both
8475 `isearch-scroll' and `scroll-command' properties.
8476 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8478 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8480 * simple.el (scroll-up-command, scroll-down-command)
8481 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8483 2010-04-15 Juri Linkov <juri@jurta.org>
8485 * simple.el (scroll-up-command, scroll-down-command)
8486 (scroll-up-line, scroll-down-line): Put `scroll-command'
8487 property on the these symbols. Remove them from
8488 `scroll-preserve-screen-position-commands'.
8490 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8491 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8492 Remove it from `scroll-preserve-screen-position-commands'.
8494 * isearch.el (isearch-allow-scroll): Doc fix.
8496 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8498 * net/tramp.el (tramp-error-with-buffer): Don't show the
8499 connection buffer when we are in completion mode.
8500 (tramp-file-name-handler): Catch the error for some operations
8501 when we are in completion mode. This gives the user the chance to
8502 correct the file name in the minibuffer.
8504 2010-04-15 Glenn Morris <rgm@gnu.org>
8506 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8508 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8510 Simplify by using `define-derived-mode'.
8511 * info.el (Info-mode):
8512 * calendar/todo-mode.el (todo-mode):
8513 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8514 (gomoku-mode-map): Move initialization into declaration.
8516 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8519 * ido.el (ido-file-name-all-completions-1):
8520 * minibuffer.el (minibuffer-completion-help):
8521 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8523 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8525 * simple.el (non-essential): New var.
8527 Add a new field `location' to bookmarks for non-file bookmarks.
8528 * bookmark.el (bookmark-location): Use the new field, if present.
8529 (bookmark-insert-location): Undo last change, not needed any more.
8530 * man.el (Man-bookmark-make-record):
8531 * woman.el (woman-bookmark-make-record): Add `location' field.
8533 2010-04-14 Juri Linkov <juri@jurta.org>
8535 * simple.el (scroll-error-top-bottom): New defcustom.
8536 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8538 * emulation/pc-select.el (pc-select-override-scroll-error):
8539 Obsolete in favor of `scroll-error-top-bottom'.
8541 2010-04-14 Juri Linkov <juri@jurta.org>
8543 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8544 `scroll-up-command' and `M-v' to `scroll-down-command'.
8546 * emulation/cua-rect.el (cua--init-rectangles):
8547 * forms.el (forms--change-commands):
8548 * image-mode.el (image-mode-map):
8549 Remap scroll-down-command and scroll-up-command
8550 in addition to scroll-down and scroll-up.
8552 2010-04-14 Juri Linkov <juri@jurta.org>
8554 * mwheel.el (scroll-preserve-screen-position-commands):
8555 Add mwheel-scroll to this list of commands.
8557 * simple.el (scroll-preserve-screen-position-commands):
8558 Add scroll-up-command, scroll-down-command, scroll-up-line,
8559 scroll-down-line to this list of commands.
8561 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8563 * obsolete/complete.el: Move from lisp/complete.el.
8565 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8567 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8568 to the minor mode function now turns the mode ON unconditionally.
8570 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8572 * vc-dir.el (vc-dir-kill-line): New command.
8573 (vc-dir-mode-map): Bind it to C-k.
8575 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8577 * woman.el: Add bookmark declarations to silence the compiler.
8578 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8579 step to compatibility between man and woman bookmarks.
8580 Adjust for Man-default-bookmark-title renaming.
8581 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8583 * man.el: Add bookmark declarations to silence the compiler.
8584 (Man-name-local-regexp): Make it match NAME as well.
8585 (Man-getpage-in-background): Return the buffer.
8586 (Man-notify-when-ready): Use `case'.
8587 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8588 Don't hardcode "NAME". Simplify.
8589 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8590 Rename from Man-bookmark-make-record.
8591 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8592 we have the actual man-args. Use Man-getpage-in-background rather
8593 than `man' since the arg is already processed. Let bookmark.el do the
8594 window handling. Only wait for the relevant process.
8595 Don't forget to autoload.
8597 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8599 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8601 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8603 (woman-mode): Setup bookmark support.
8605 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8606 (man-bookmark-jump): New functions.
8607 (Man-mode): Setup bookmark support.
8609 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8611 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8612 recognize ssh-keygen prompt (Bug#2817).
8614 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8616 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8618 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8620 Synchronize with Tramp repository.
8622 * net/tramp.el (tramp-completion-function-alist)
8623 (tramp-file-name-regexp, tramp-chunksize)
8624 (tramp-local-coding-commands, tramp-remote-coding-commands):
8626 (tramp-remote-process-environment): Use `format' instead of `concat'.
8627 (tramp-handle-directory-files-and-attributes)
8628 (tramp-get-remote-path): Use `copy-tree'.
8629 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8630 compatibility: Use `completion-ignore-case' if
8631 `read-file-name-completion-ignore-case' does not exist.
8632 (tramp-do-copy-or-rename-file-directly): Do not use
8633 `tramp-handle-file-remote-p'.
8634 (tramp-do-copy-or-rename-file-out-of-band):
8635 Use `tramp-compat-delete-directory'.
8636 (tramp-do-copy-or-rename-file-out-of-band)
8637 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8638 Use `format-spec-make'.
8639 (tramp-find-foreign-file-name-handler)
8640 (tramp-advice-make-auto-save-file-name)
8641 (tramp-set-auto-save-file-modes): Remove superfluous check for
8642 `stringp'. This is done inside `tramp-tramp-file-p'.
8643 (tramp-debug-outline-regexp): New defconst.
8644 (tramp-get-debug-buffer): Use it.
8645 (tramp-check-for-regexp): Use (forward-line 1).
8646 (tramp-set-auto-save-file-modes): Adapt version check.
8648 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8649 Wrap call of `featurep' for 2nd argument.
8650 (tramp-compat-make-temp-file): Simplify fallback implementation.
8651 (tramp-compat-copy-tree): Remove function.
8652 (tramp-compat-delete-directory): Provide implementation for older
8655 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8656 Do not use `tramp-fish-handle-file-attributes.
8658 * net/trampver.el: Update release number.
8660 2010-04-10 Glenn Morris <rgm@gnu.org>
8662 * progmodes/compile.el (compilation-save-buffers-predicate):
8663 Add missing :version tag.
8665 2010-04-09 Sam Steingold <sds@gnu.org>
8667 * progmodes/compile.el (compilation-save-buffers-predicate):
8668 Remove the "autoload" cookie.
8670 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8671 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8672 and `bug-reference-prog-mode' can be used in hooks directly.
8674 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8676 Add --author support to git commit.
8677 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8678 (vc-git-log-edit-mode): New minor mode.
8679 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8682 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8684 * vc-hooks.el, vc-git.el: Improve documentation comments.
8686 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8688 Fix some of the problems in defsubst* (bug#5728).
8689 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8690 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8692 2010-04-07 Sam Steingold <sds@gnu.org>
8694 * progmodes/compile.el (compilation-save-buffers-predicate):
8695 New custom variable.
8696 (compile, recompile): Pass it to `save-some-buffers'.
8698 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8700 * wid-edit.el (widget-choose): Move cursor to the second line of
8701 the buffer (Bug#5695).
8703 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8705 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8706 * vc.el (vc-print-log-setup-buttons): New function split out from
8707 vc-print-log-internal.
8708 (vc-log-internal-common): New function, a parametrized version of
8709 vc-print-log-internal.
8710 (vc-print-log-internal): Just call vc-log-internal-common with the
8712 (vc-incoming-outgoing-internal):
8713 (vc-log-incoming, vc-log-outgoing): New functions.
8714 (vc-log-view-type): New permanent local variable.
8716 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8718 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8719 of the dynamic bound vc-short-log.
8720 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8722 * vc-git.el (vc-git-log-outgoing): New function.
8723 (vc-git-log-view-mode): Use vc-log-view-type instead
8724 of the dynamic bound vc-short-log.
8726 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8727 of the dynamic bound vc-short-log. Highlight the tag.
8728 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8729 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8730 (vc-hg-incoming-mode): Remove.
8731 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8733 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8735 Fix default-directory for vc-root-diff.
8736 * vc.el (vc-root-diff): Bind default-directory to the root
8737 directory for the diff command.
8739 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8741 * progmodes/verilog-mode.el (verilog-forward-sexp):
8742 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8743 word keywords, suggested by Steve Pearlmutter.
8744 (verilog-pretty-declarations): Support lineup of declarations in
8746 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8747 fix bug for /* / comments.
8748 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8749 Speed up and simplfy as this is never called with a bound.
8750 (verilog-pretty-declarations): Enhance to line up declarations
8751 inside a parameter list, suggested by Alan Morgan.
8752 (verilog-pretty-expr): Tune assignment regular expression match
8753 string for corner cases; also use markers instead of character
8754 number as indent changes the later.
8756 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8758 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8760 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8761 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8762 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8763 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8766 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8767 1800-2009 keywords, including "global.".
8769 2010-04-06 John Wiegley <jwiegley@gmail.com>
8771 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8772 appearing in buffer list (if a live buffer name matched a recentf
8773 file basename). Should use uniquify to offer a real solution.
8775 2010-04-06 John Wiegley <jwiegley@gmail.com>
8777 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8778 comment to code, and add a :version tag.
8779 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8781 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8783 Enable recentf-mode if using virtual buffers.
8784 * ido.el (recentf-list): Declare for byte-compiler.
8785 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8786 (ido-make-buffer-list): Simplify.
8787 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8789 2010-04-05 Juri Linkov <juri@jurta.org>
8791 Scrolling commands which scroll a line instead of full screen.
8792 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8794 * simple.el (scroll-up-line, scroll-down-line): New commands.
8795 Put property isearch-scroll=t on them.
8797 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8800 2010-04-05 Juri Linkov <juri@jurta.org>
8802 Scrolling commands which do not signal errors at top/bottom.
8803 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8805 * simple.el (scroll-up-command, scroll-down-command): New commands.
8806 Put property isearch-scroll=t on them.
8808 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8809 `scroll-down-command' and [next] from `scroll-up' to
8810 `scroll-up-command'.
8812 * emulation/cua-base.el: Put property CUA=move on
8813 `scroll-up-command' and `scroll-down-command'.
8814 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8815 and `scroll-down-command' to `cua-scroll-down'.
8817 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8819 * help.el (describe-mode): Return nil.
8821 2010-04-04 John Wiegley <jwiegley@gmail.com>
8823 * ido.el (ido-use-virtual-buffers): New variable to indicate
8824 whether "virtual buffer" support is enabled for IDO.
8825 (ido-virtual): Face used to indicate virtual buffers in the list.
8826 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8827 exists, but a virtual buffer of that name does (which would be why
8828 it was in the list), recreate the buffer by reopening the file.
8829 (ido-make-buffer-list): If virtual buffers are being used, call
8830 `ido-add-virtual-buffers-to-list' before the make list hook.
8831 (ido-virtual-buffers): New variable which contains a copy of the
8832 current contents of the `recentf-list', albeit pared down for the
8833 sake of speed, and with proper faces applied.
8834 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8835 create a list of "virtual buffers" to present to the user in
8836 addition to the currently open set. Note that this logic could
8837 get rather slow if that list is too large. With the default
8838 `recentf-max-saved-items' of 200, there is little speed penalty.
8840 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8842 * font-lock.el: Require CL when compiling.
8843 (font-lock-turn-on-thing-lock): Use `case'.
8845 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8847 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8850 2010-04-02 Juri Linkov <juri@jurta.org>
8852 * ehelp.el (electric-help-orig-major-mode):
8853 New buffer-local variable.
8854 (electric-help-mode): Set it to original major-mode. Doc fix.
8855 (with-electric-help): Use `electric-help-orig-major-mode' instead
8856 of (default-value 'major-mode). Doc fix.
8857 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8859 2010-04-02 Sam Steingold <sds@gnu.org>
8861 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8862 `vc-hg-command' with a list of flags.
8864 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8865 Also accept "patch" and "RFE".
8866 (bug-reference-fontify): `bug-reference-url-format' can also be a
8867 function to be able to handle the bug kind.
8868 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8870 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8872 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8873 value to fboundp, it may not be a symbol.
8875 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8877 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8879 2010-03-31 Juri Linkov <juri@jurta.org>
8881 * simple.el (next-line, previous-line): Re-throw a signal
8882 with `signal' instead of using `ding'.
8883 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8885 2010-03-31 Juri Linkov <juri@jurta.org>
8887 * simple.el (keyboard-escape-quit): Raise deselecting the active
8888 region higher than exiting the minibuffer.
8889 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8891 2010-03-31 Juri Linkov <juri@jurta.org>
8893 * image.el (image-animated-p): Use `image-metadata' instead of
8894 `image-extension-data'. Get GIF extenstion data from metadata
8895 property `extension-data'.
8897 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8899 * simple.el (append-to-buffer): Simplify.
8901 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
8903 * textmodes/artist.el (artist-mode): Fix typo in docstring.
8904 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
8906 2010-03-31 Kenichi Handa <handa@m17n.org>
8908 * language/sinhala.el (composition-function-table): Fix regexp for
8909 the new Unicode specification.
8911 * language/indian.el (devanagari-composable-pattern)
8912 (tamil-composable-pattern, kannada-composable-pattern)
8913 (malayalam-composable-pattern): Adjust for the new Unicode
8915 (bengali-composable-pattern, gurmukhi-composable-pattern)
8916 (gujarati-composable-pattern, oriya-composable-pattern)
8917 (telugu-composable-pattern): New variables to cope with the new
8918 Unicode specification. Use them in composition-function-table.
8920 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8922 Make tmm-menubar work for the Buffers menu again (bug#5726).
8923 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8924 vectors rather than cons cells, as used in menu-bar-update-buffers.
8926 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8928 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8929 (js-insert-and-indent): Revert 2009-08-15 change, restoring
8930 electric punctuation for "{}();,:" (Bug#5586).
8932 * mail/sendmail.el (mail-default-directory): Doc fix.
8934 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8936 * mail/sendmail.el (mail-default-directory): Doc fix.
8938 2010-03-31 Eli Zaretskii <eliz@gnu.org>
8940 * subr.el (version-regexp-alist, version-to-list)
8941 (version-list-<, version-list-=, version-list-<=)
8942 (version-list-not-zero, version<, version<=, version=): Doc fix.
8945 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
8947 * vc.el (vc-root-diff): Doc fix.
8949 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8951 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8953 * simple.el (append-to-buffer): Fix last change.
8955 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8957 * simple.el (append-to-buffer): Ensure that point is preserved if
8958 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8961 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8963 * files.el (auto-mode-case-fold): Change default to t.
8965 2010-03-30 Juri Linkov <juri@jurta.org>
8967 * dired-x.el (dired-omit-mode): Doc fix.
8969 2010-03-30 Juri Linkov <juri@jurta.org>
8971 * replace.el (occur-accumulate-lines): Move occur-engine related
8972 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8973 to be located after `occur-engine'.
8975 2010-03-30 Juri Linkov <juri@jurta.org>
8977 Make occur handle multi-line matches cleanly with context.
8978 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8980 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8981 (occur-engine): Add local variables `ret', `prev-after-lines',
8982 `prev-lines'. Use more arguments for `occur-context-lines'.
8983 Set first elem of its returned list to `data', and the second elem
8984 to `prev-after-lines'. Don't print the separator line.
8985 In the end, print remaining context after-lines.
8986 (occur-context-lines): Add new arguments `begpt', `endpt',
8987 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
8988 after-lines of the previous match with before-lines of the
8989 current match and not overlap them. Return a list with two
8990 values: the output line and the list of context after-lines.
8992 2010-03-30 Juri Linkov <juri@jurta.org>
8994 * replace.el (occur-accumulate-lines): Fix a bug where the first
8995 context line at the beginning of the buffer was missing.
8997 2010-03-30 Eli Zaretskii <eliz@gnu.org>
8999 * files.el: Make bidi-display-reordering safe variable for boolean
9002 2010-03-29 Phil Hagelberg <phil@evri.com>
9003 Chong Yidong <cyd@stupidchicken.com>
9005 * subr.el: Extend progress reporters to perform "spinning".
9006 (progress-reporter-update, progress-reporter-do-update):
9007 Handle non-numeric value arguments.
9008 (progress-reporter--pulse-characters): New var.
9010 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9012 * progmodes/compile.el (compilation-start): Fix regexp detection
9013 of initial cd command (Bug#5771).
9015 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9017 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9019 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9021 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9022 * progmodes/gdb-mi.el: Restore.
9023 * progmodes/gdb-ui.el: Remove.
9024 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9026 2010-03-25 Glenn Morris <rgm@gnu.org>
9028 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9029 all dired buffers, even tramp ones. (Bug#5755)
9031 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9033 Add "union tags" in mpc.el.
9034 * mpc.el: Remove backward compatibility code.
9035 (mpc-browser-tags): Change default.
9036 (mpc--find-memoize-union-tags): New var.
9037 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9038 (mpc-cmd-find): Handle the case where the playlist does not exist.
9040 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9041 (mpc-cmd-add): Use mpc-cmd-flush.
9042 (mpc-tagbrowser-tag-name): New fun.
9043 (mpc-tagbrowser-buf): Use it.
9044 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9046 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9049 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9050 Use replace-regexp-in-string.
9051 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9052 (makefile-imake-mode-syntax-table): Move init into defvar.
9053 (makefile-mode): Use define-derived-mode.
9055 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9056 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9057 not be present any more.
9059 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9061 * faces.el (set-face-attribute): Fix typo in docstring.
9062 (face-valid-attribute-values): Reflow docstring.
9064 2010-03-24 Glenn Morris <rgm@gnu.org>
9066 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9068 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9070 * indent.el (indent-for-tab-command): Doc fix.
9072 2010-03-24 Alan Mackenzie <acm@muc.de>
9074 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9075 Fix off-by-one error. Fixes bug #5747.
9077 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9079 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9080 (image-dired-read-comment): Doc fix.
9082 * json.el (json-object-type, json-array-type, json-key-type)
9083 (json-false, json-null, json-read-number):
9084 * minibuffer.el (completion-in-region-functions):
9085 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9086 (cal-tex-cursor-week):
9087 * emacs-lisp/trace.el (trace-function):
9088 * eshell/em-basic.el (eshell/printnl):
9089 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9090 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9091 * obsolete/levents.el (allocate-event, event-key, event-object)
9092 (event-point, event-process, event-timestamp, event-to-character)
9093 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9094 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9095 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9096 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9097 (reftex-highlight-selection): Fix typos in docstrings.
9099 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9101 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9103 2010-03-24 Glenn Morris <rgm@gnu.org>
9105 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9106 2008-02-13 without comment; mark it obsolete.
9107 (rmail-highlight-headers): Use rmail-highlight-face once more.
9109 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9111 * woman.el (woman2-process-escapes): Only consume the newline if
9112 the filler character is on a line by itself (Bug#5729).
9114 2010-03-24 Kenichi Handa <handa@m17n.org>
9116 * language/indian.el (devanagari-composable-pattern): Add more
9119 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9121 * net/trampver.el: Update release number.
9123 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9125 * net/tramp.el (tramp-find-executable):
9126 Use `tramp-get-connection-buffer'. Make the regexp for checking
9127 output of "wc -l" more robust.
9128 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9129 (tramp-open-connection-setup-interactive-shell): Remove workaround
9130 for OpenSolaris bug, it is not needed anymore.
9132 2010-03-24 Glenn Morris <rgm@gnu.org>
9134 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9136 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9138 * files.el (auto-mode-alist): Accept more verilog file patterns.
9140 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9142 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9144 2010-03-24 Glenn Morris <rgm@gnu.org>
9146 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9147 log-edit-before-checkin-process.
9149 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9151 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9153 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9154 (log-view-process-buffer, log-edit-extra-flags): Declare.
9156 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9158 2010-03-23 Sam Steingold <sds@gnu.org>
9160 Fix bug#5620: recalculate all markers on compilation buffer
9161 modifications, not on file modifications.
9162 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9163 the buffer modification time, for buffers not associated with files.
9164 (compilation-mode): Create it.
9165 (compilation-filter): Update it.
9166 (compilation-next-error-function): Use it instead of
9167 `visited-file-modtime' for timestamp.
9169 2010-03-23 Juri Linkov <juri@jurta.org>
9171 Implement Occur multi-line matches.
9172 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9174 * replace.el (occur): Doc fix.
9175 (occur-engine): Set `begpt' to the beginning of the first line.
9176 Set `endpt' to the end of the last match line. At first, count
9177 line numbers between `origpt' and `begpt'. Split out code from
9178 `out-line' variable to new let-bindings `match-prefix' and
9179 `match-str'. In `out-line' add non-numeric prefix to all
9180 non-first lines of multi-line matches. Finally, count lines
9181 between `begpt' and `endpt' and add to `lines'.
9183 2010-03-23 Juri Linkov <juri@jurta.org>
9185 * replace.el (occur-accumulate-lines, occur-engine):
9186 Use `occur-engine-line' instead of duplicate code.
9187 (occur-engine-line): New function created from duplicate code
9188 in `occur-accumulate-lines' and `occur-engine'.
9190 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9191 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9193 2010-03-23 Juri Linkov <juri@jurta.org>
9195 * finder.el: Remove TODO tasks.
9197 * info.el (Info-finder-find-node): Add node "all"
9198 with all package info. Handle a list of multiple keywords
9200 (info-finder): In interactive use with a prefix argument,
9201 use `completing-read-multiple' to read a list of keywords
9204 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9206 Add a new completion style `substring'.
9207 * minibuffer.el (completion-basic--pattern): New function.
9208 (completion-basic-try-completion, completion-basic-all-completions):
9210 (completion-substring--all-completions)
9211 (completion-substring-try-completion)
9212 (completion-substring-all-completions): New functions.
9213 (completion-styles-alist): New style `substring'.
9215 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9217 Get rid of .elc files after removal of the corresponding .el.
9218 * Makefile.in (compile-clean): New target.
9219 (compile-main): Use it.
9221 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9223 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9224 don't do make there. When compiling with separate object dir, there
9225 is no Makefile there.
9227 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9229 Get rid of the ELCFILES abomination, again.
9230 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9231 (all, compile): Don't call compile-last.
9232 (compile-main): Build the "elcfiles" list dynamically.
9233 (compile-targets): New (internal) target.
9235 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9237 * Makefile.in (top_srcdir): Define.
9238 (abs_top_builddir): Define.
9239 (srcdir): Don't append `/..'.
9240 (EMACS): Use ${abs_top_builddir}.
9241 (all, compile, compile-always, compile-last): Don't set emacswd.
9242 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9244 (lisp): Use $(srcdir) instead of @srcdir@.
9246 2010-03-21 Juri Linkov <juri@jurta.org>
9248 Fix message of multi-line occur regexps and multi-buffer header lines.
9249 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9251 * replace.el (occur-1): Don't display regexp if it is longer
9252 than window-width. Use `query-replace-descr' to display regexp.
9253 (occur-engine): Don't display regexp in the buffer header for
9254 multi-buffer occur. Display a separate header line with total
9255 match count and regexp for multi-buffer occur.
9256 Use `query-replace-descr' to display regexp.
9258 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9260 * net/secrets.el: Fix parenthesis.
9261 (secrets-enabled): Fix parenthesis.
9263 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9265 Use more relative file and directory names.
9266 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9267 (setwins, setwins_almost, setwins_for_subdirs):
9268 Don't `cd'; output relative names.
9269 (all, compile, compile-always, compile-last): Set emacswd.
9270 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9271 Just cd to the lisp source dir so we can use relative file names.
9273 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9275 2010-03-20 Glenn Morris <rgm@gnu.org>
9277 * textmodes/rst.el: Use faces for font-lock customization, and make the
9278 old -face variables obsolete.
9279 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9280 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9281 (rst-block-face, rst-external-face, rst-definition-face)
9282 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9283 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9285 (rst-font-lock-keywords-function): Update for above changes.
9287 2010-03-20 Juri Linkov <juri@jurta.org>
9290 * obsolete/s-region.el: Move to obsolete.
9292 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9294 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9296 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9298 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9300 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9302 Add special markup processing for commit logs.
9303 * log-edit.el (log-edit-extra-flags): New variable.
9304 (log-edit): Add new argument MODE. Use that mode when non-nil
9305 instead of the log-view-mode.
9306 (log-view-process-buffer): New function.
9308 * vc.el: Document that the checkin method takes optional
9309 arguments. Document new backend specific method: log-view-mode.
9310 (vc-default-log-edit-mode): New function.
9311 (vc-checkin): Use a backend specific log-view-mode.
9312 Pass extra arguments to the checkin method.
9313 (vc-modify-change-comment): Pass a dummy extra argument.
9315 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9317 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9318 (vc-finish-logentry): Process the log buffer before passing it
9319 down. Pass log-edit-extra-flags.
9321 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9323 (log-edit-extra-flags, log-edit-before-checkin-process):
9326 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9328 (log-edit-extra-flags, log-edit-before-checkin-process):
9330 (vc-hg-log-edit-mode): New derived mode.
9332 * vc-arch.el (vc-arch-checkin):
9333 * vc-cvs.el (vc-cvs-checkin):
9334 * vc-git.el (vc-git-checkin):
9335 * vc-mtn.el (vc-mtn-checkin):
9336 * vc-rcs.el (vc-rcs-checkin):
9337 * vc-sccs.el (vc-sccs-checkin):
9338 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9340 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9342 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9345 2010-03-19 Glenn Morris <rgm@gnu.org>
9347 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9349 2010-03-18 Glenn Morris <rgm@gnu.org>
9351 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9353 * replace.el (query-replace-history): Give it a doc string.
9354 (map-query-replace-regexp): Use query-replace-from-history-variable
9355 and query-replace-to-history-variable.
9357 * mail/hashcash.el (declare-function): Remove duplicate definition.
9359 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9360 Make it an obsolete alias for report-emacs-bug-address.
9361 (message-strip-special-text-properties): Declare.
9362 (report-emacs-bug): Remove test for a pretest bug address.
9363 Combine message-mode-specific code.
9365 * mail/supercite.el: Don't require sendmail.
9366 (mh-in-header-p): Declare rather than using with-no-warnings.
9367 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9368 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9370 * calendar/cal-french.el: Convert to utf-8.
9372 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9375 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9377 * net/secrets.el (secrets-enabled): New variable. Use it instead
9380 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9382 * net/secrets.el (top): Register the D-Bus signals only when the
9383 service "org.freedesktop.secrets" can be pinged.
9384 Provide subfeature `enabled'.
9386 2010-03-14 Juri Linkov <juri@jurta.org>
9388 Add finder unknown keywords.
9390 * finder.el (finder-unknown-keywords): New function.
9392 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9393 to create a Finder node with unknown keywords.
9395 2010-03-14 Juri Linkov <juri@jurta.org>
9397 * finder.el (finder-compile-keywords): Replace `princ' with
9398 `prin1' on a list of symbols interned from keyword strings.
9400 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9401 a comma, then split keywords using a comma and optional whitespace.
9402 Otherwise, split by whitespace.
9410 * progmodes/mixal-mode.el: Fix keywords.
9412 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9414 * Makefile.in (ELCFILES): Add net/secrets.elc.
9416 * net/secrets.el: New file.
9418 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9420 * facemenu.el (list-colors-display, list-colors-print): New arg
9421 callback. Use it to allow selecting colors.
9423 * wid-edit.el (widget-image-insert): Insert image prop even if the
9424 current display is non-graphic.
9425 (widget-field-value-set): New fun.
9426 (editable-field): Use it.
9427 (widget-field-value-get): Clean up unused var.
9428 (widget-color-value-create, widget-color--choose-action):
9429 New funs. Allow using list-colors-display to choose color.
9431 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9433 * cus-edit.el: Resort topmost custom groups.
9434 (custom-buffer-sort-alphabetically): Default to t.
9435 (customize-apropos): Use apropos-parse-pattern.
9436 (custom-search-field): New var.
9437 (custom-buffer-create-internal): Add custom-apropos search field.
9438 (custom-add-parent-links): Don't display parent doc.
9439 (custom-group-value-create): Don't sort top-level custom group.
9440 (custom-magic-value-create): Show visibility button before option name.
9442 (custom-variable-state): New fun, from custom-variable-state-set.
9443 (custom-variable-state-set): Use it.
9444 (custom-group-value-create): Hide options with standard values
9445 using the :hidden-states property. Use progress reporter.
9447 (custom-show): Simplify.
9448 (custom-visibility): Disable images by default.
9449 (custom-variable): New property :hidden-states.
9450 (custom-variable-value-create): Enable images for
9451 custom-visibility widgets. Use :hidden-states property to
9452 determine initial visibility.
9454 * wid-edit.el (widget-image-find): Give images center ascent.
9455 (visibility): Add :on-image and :off-image properties.
9456 (widget-visibility-value-create): Use them.
9458 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9460 * cus-edit.el (processes): Remove from development group.
9461 (oop, hypermedia): Delete group.
9462 (comm): Promote to top-level group.
9464 * net/browse-url.el (browse-url):
9465 * net/xesam.el (xesam):
9466 * net/tramp.el (tramp):
9467 * net/goto-addr.el (goto-address):
9468 * net/ange-ftp.el (ange-ftp): Put in comm group.
9470 * view.el (view): Remove from editing group.
9472 * uniquify.el (uniquify): Put in files group.
9474 * net/browse-url.el (browse-url):
9475 * ps-print.el (postscript): Put in external group.
9477 * cus-edit.el (outlines):
9478 * textmodes/text-mode.el (text-mode-hook):
9479 * textmodes/table.el (table):
9480 * textmodes/picture.el (picture):
9481 * outline.el (outlines): Put in wp group.
9483 * nxml/nxml-mode.el (nxml): Remove from wp group.
9485 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9487 * mail/metamail.el (metamail): Remove from hypermedia group.
9489 * cus-edit.el (abbrev):
9490 * whitespace.el (whitespace):
9491 * vcursor.el (vcursor):
9492 * reveal.el (reveal):
9493 * hl-line.el (hl-line): Put in convenience group.
9495 * epg-config.el (epg): Put in data group.
9497 * emulation/pc-select.el (pc-select): Put in emulations group.
9499 * calculator.el (calculator): Put in applications group.
9501 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9503 Add .dir-locals.el support for file-less buffers.
9504 * files.el (hack-local-variables): Split out code to apply local
9505 variable settings ...
9506 (hack-local-variables-apply): ... here. New function.
9507 (hack-dir-local-variables): Use the default directory for when the
9508 buffer does not have an associated file.
9509 (hack-dir-local-variables-non-file-buffer): New function.
9510 * diff-mode.el (diff-mode):
9511 * vc-annotate.el (vc-annotate-mode):
9512 * vc-dir.el (vc-dir-mode):
9513 * log-edit.el (log-edit-mode):
9514 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9516 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9518 Add support for shelving snapshots and for showing shelves.
9519 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9520 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9522 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9523 (vc-bzr-extra-menu-map): Map them.
9525 2010-03-11 Glenn Morris <rgm@gnu.org>
9527 * cus-edit.el (customize-changed-options-previous-release):
9530 * image.el (image-animate-max-time): Fix :version tag.
9532 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9536 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9538 * vc-git.el (vc-git-revision-table): Include remote branches.
9540 2010-03-10 Kim F. Storm <storm@cua.dk>
9543 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9545 * image.el (image-animate-max-time): New defcustom.
9546 (image-animated-types): New defconst.
9547 (create-animated-image, image-animate-timer)
9548 (image-animate-start, image-animate-stop, image-animate-timeout)
9549 (image-animated-p): New functions.
9551 * image-mode.el (image-toggle-display-image):
9552 Replace `create-image' with `create-animated-image'.
9554 2010-03-09 Miles Bader <miles@gnu.org>
9556 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9557 instead of "format:"; this ensures that the output is
9560 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9562 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9563 that all errors are caught, and that the return value is always a
9566 2010-03-08 Kenichi Handa <handa@m17n.org>
9568 * language/misc-lang.el (windows-1256): New coding system.
9569 (cp1256): New alias of windows-1256 (bug#5690).
9571 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9573 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9574 call to rfc822-bad-address. (Bug#5692)
9576 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9578 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9579 Use vc-git-root as default directory for revision path (Bug#5657).
9581 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9583 * calculator.el (calculator): Don't bind split-window-keep-point
9586 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9588 * vc-git.el: Re-flow to fit into 80 columns.
9589 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9590 Remove spurious `quote' element in each case alternative.
9591 (vc-git-show-log-entry): Use prog1.
9592 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9594 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9596 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9598 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9600 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9601 definition, not the name (Bug#5481).
9603 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9605 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9606 argument with a local variable. (Bug#5670)
9608 2010-03-02 Juri Linkov <juri@jurta.org>
9610 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9612 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9614 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9615 error when FILENAME and NEWNAME are existing remote directories.
9617 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9620 2010-03-02 Glenn Morris <rgm@gnu.org>
9622 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9623 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9625 2010-03-01 Kenichi Handa <handa@m17n.org>
9627 * language/burmese.el (burmese-composable-pattern): Rename from
9628 myanmar-composable-pattern.
9630 * international/characters.el (script-list):
9631 * international/fontset.el (script-representative-chars):
9632 Change myanmar to burmese.
9633 (otf-script-alist): Likewise.
9634 (setup-default-fontset): Likewise. Re-fix :otf spec.
9636 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9638 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9640 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9642 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9644 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9646 * net/tramp.el (tramp-handle-write-region): START can be a string.
9647 Take care in the checks. Reported by Dan Davison
9648 <davison@stats.ox.ac.uk>.
9650 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9652 * net/dbus.el (dbus-introspect, dbus-get-property)
9653 (dbus-set-property, dbus-get-all-properties):
9654 Use `dbus-call-method' when noninteractive. (Bug#5645)
9656 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9658 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9659 * emacs-lisp/elint.el (elint-add-required-env):
9660 * calendar/icalendar.el (icalendar--add-diary-entry):
9661 * calc/calcalg2.el (math-tracing-integral):
9662 * files.el (recover-session-finish): Use with-current-buffer
9663 instead of save-excursion.
9665 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9667 Fix in-buffer completion when after-change-functions modify the buffer.
9668 * minibuffer.el (completion--replace): New function.
9669 (completion--do-completion): Use it and use relative movement.
9671 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9673 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9675 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9677 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9678 Allow the characters _<> in the stack entry (Bug#5653).
9680 2010-02-26 Kenichi Handa <handa@m17n.org>
9682 * language/burmese.el: Fix entries in composition-function-table.
9683 (myanmar-composable-pattern): New variable.
9685 * international/fontset.el (setup-default-fontset): Add an entry
9688 * international/characters.el (script-list): Add Myanmar
9691 2010-02-26 Glenn Morris <rgm@gnu.org>
9693 * custom.el (custom-initialize-delay): Doc fix.
9695 * mail/sendmail.el (send-mail-function): Autoload the call
9696 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9698 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9700 * files.el (hack-local-variables-filter): For eval forms, also
9701 check safe-local-variable-p (Bug#5636).
9703 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9705 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9706 setting the modes by `ignore-errors'. It might fail, for example
9707 if the file is not owned by the user but the group.
9708 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9710 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9712 * files.el (directory-listing-before-filename-regexp):
9713 Use stricter matching for iso-style dates, to avoid false matches with
9714 date-like filenames (Bug#5597).
9716 * htmlfontify.el (htmlfontify): Doc fix.
9718 * eshell/eshell.el (eshell): Doc fix.
9720 * startup.el (fancy-about-screen): In mode-line, apply
9721 mode-line-buffer-id face only to the buffer name (Bug#5613).
9723 2010-02-20 Kevin Ryde <user42@zip.com.au>
9725 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9726 In `watcom' anchor regexp to start of line, to avoid slowness
9729 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9731 * subr.el (remove-yank-excluded-properties): Explain in a comment
9732 why `category' property is removed.
9734 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9736 * isearch.el (isearch-update-post-hook, isearch-update):
9737 Revert 2010-02-17 change.
9739 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9741 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9742 (icalendar--convert-weekly-to-ical)
9743 (icalendar--convert-yearly-to-ical)
9744 (icalendar--convert-block-to-ical)
9745 (icalendar--convert-cyclic-to-ical)
9746 (icalendar--convert-anniversary-to-ical): Take care of time
9747 specifications where hour has 1-digit only (Bug#5549).
9749 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9751 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9752 of disassemble output in GDB 7.1.
9754 2010-02-19 Glenn Morris <rgm@gnu.org>
9756 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9757 property. (Bug#5593)
9759 2010-02-18 Sam Steingold <sds@gnu.org>
9761 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9763 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9765 Use abbreviated file names in bookmarks (bug#5591).
9766 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9767 calls to expand-file-name.
9768 (bookmark-relocate): Use abbreviated file names in bookmarks.
9769 (bookmark-load): Use abbreviated file names in messages.
9771 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9773 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9774 expand "." and "..". Reported by Thierry Volpiatto
9775 <thierry.volpiatto@gmail.com>.
9777 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9779 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9780 permissions of the temporary file to "0600". In case the remote
9781 file has no read permissions for the owner, there might be
9782 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9784 22010-02-18 Glenn Morris <rgm@gnu.org>
9786 * emacs-lisp/authors.el (authors-renamed-files-alist):
9787 Add entries for INSTALL.CVS.
9789 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9791 * vc-bzr.el: Fix typo in Known Bugs section.
9793 * isearch.el (isearch-update-post-hook): New hook.
9794 (isearch-update): Use the new hook.
9796 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9798 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9799 Fix errors in copying directories.
9800 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9801 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9802 (tramp-handle-delete-file)
9803 (tramp-handle-dired-recursive-delete-directory)
9804 (tramp-handle-write-region): Flush also the cache for the upper
9807 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9809 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9811 * cus-edit.el (hardware): Doc fix.
9813 * man.el (man): Add to external custom group.
9815 * delim-col.el (columns): Move to wp custom group.
9817 * doc-view.el (doc-view): Add to data custom group.
9819 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9821 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9822 by ispell-parse-output (Bug#5575).
9824 2010-02-16 Kenichi Handa <handa@m17n.org>
9826 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9827 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9828 (skkdic-convert): Use `euc-japan' coding system for writing.
9830 2010-02-16 Glenn Morris <rgm@gnu.org>
9832 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9833 tex-main-file before using it. (Bug#5562)
9835 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9837 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9838 warnings, since it is annoying for the user to see them each time he
9841 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9843 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9844 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9845 instead of PROC for caching "first-password-request". Otherwise,
9846 new processes would not profit from passwords already entered.
9848 * net/tramp-cache.el (tramp-dump-connection-properties):
9849 Don't save "first-password-request" property.
9851 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9853 * outline.el (outline-head-from-level):
9854 * simple.el (with-wrapper-hook):
9855 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9856 (elint-defun, elint-buffer-env, elint-top-form-logged)
9857 (elint-unbound-variable):
9858 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9859 Fix typos in docstrings.
9861 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9863 * files.el (insert-directory): When WILDCARD-REGEXP and
9864 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9865 whole directory. (Bug#5551)
9867 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9868 dired's alignment sanity. (Bug#5516)
9870 2010-02-14 Juri Linkov <juri@jurta.org>
9872 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9873 Remove remaining ^H with their preceding chars. (Bug#5566)
9875 2010-02-13 Glenn Morris <rgm@gnu.org>
9877 * simple.el (transpose-subr): Give it a doc-string.
9879 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9882 2010-02-12 Juri Linkov <juri@jurta.org>
9884 * arc-mode.el (archive-unique-fname): Make directories for nested
9885 archives. (Bug#5540)
9887 2010-02-12 Juri Linkov <juri@jurta.org>
9889 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
9891 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9893 * subr.el (copy-overlay): Handle deleted overlays.
9895 * man.el (Man-completion-table): Don't signal an error if we can't run
9896 manual-program (bug#4056).
9898 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
9900 * textmodes/artist.el (artist-mt): Fix typos in docstring.
9902 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9904 * info.el (Info-bookmark-jump): Simplify.
9906 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9907 (bookmark-default-handler): Accept new bookmark field `buffer'.
9909 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
9911 * iswitchb.el (iswitchb-completions): Revert last change.
9913 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
9915 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9916 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9917 This prevents file names like "~/" being listed literally.
9919 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9921 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9922 Remove dead code. (Bug#5546)
9924 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
9926 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9927 correctly (Bug#5548).
9929 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
9931 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9932 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9934 2010-02-08 Kenichi Handa <handa@m17n.org>
9936 * international/mule-util.el (with-coding-priority): Add autoload
9937 cookie for putting `lisp-indent-function'.
9939 2010-02-07 Glenn Morris <rgm@gnu.org>
9941 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9942 Move F2003 named interfaces from keywords-2 to keywords-1, and
9943 use function-name-face rather than constant-face.
9944 Simplify "abstract interface" regexp.
9946 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
9948 * eshell/esh-util.el (eshell-file-attributes): New optional arg
9949 ID-FORMAT. Pass it to `file-attributes'.
9951 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9953 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9955 * faces.el (set-face-attribute): Allow calling
9956 internal-set-lisp-face-attribute with 'unspecified family and
9957 foundry argument (Bug#5536).
9959 2010-02-07 Glenn Morris <rgm@gnu.org>
9961 * progmodes/f90.el (f90-font-lock-keywords-2)
9962 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9963 Handle F2003 named interfaces.
9965 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
9967 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9968 beg and end before calling c-get-state-before-change-functions.
9970 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
9972 * vc-bzr.el (vc-bzr-dir-extra-headers):
9973 Disable the pending merges header.
9975 2010-02-05 Juri Linkov <juri@jurta.org>
9977 * doc-view.el (doc-view-mode):
9978 * image-mode.el (image-mode): Put property mode-class=special.
9981 2010-02-05 Mark A. Hershberger <mah@everybody.org>
9983 * vc-svn.el (vc-svn-revision-table): New function.
9985 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
9987 * net/ange-ftp.el (ange-ftp-insert-directory):
9988 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9989 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9990 Handle also directories. (Bug#5478)
9992 2010-02-05 Glenn Morris <rgm@gnu.org>
9994 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9996 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
9998 * startup.el (command-line-1): Convert options beginning with a
9999 single dash as well (Bug#5519).
10001 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10003 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10004 * minibuffer.el (completion-initials-expand): Only check the presence
10005 of delims *within* the boundaries, since otherwise the / delim is
10006 always found for files.
10008 Fix up various corner case problems.
10009 * doc-view.el (doc-view-last-page-number): New function.
10010 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10011 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10012 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10013 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10014 (doc-view-convert-current-doc): Don't create the resolution.el file
10016 (doc-view-pdf/ps->png): Do it here instead.
10017 (doc-view-already-converted-p): Check that resolution.el is present.
10018 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10019 windows that are not yet showing images.
10021 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10023 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10024 `dired-uncache' for every elemnt which is an absolute file name.
10026 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10027 directory, handle its directory component.
10028 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10029 function is called permanently and creates noise, otherwise.
10031 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10032 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10033 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10035 2010-02-04 David Burger <dburger@google.com> (tiny change)
10037 * macros.el (apply-macro-to-region-lines):
10038 Minor simplification. (Bug#5485)
10040 2010-02-04 Glenn Morris <rgm@gnu.org>
10042 * mail/rmail.el (rmail-show-message-1): Handle malformed
10043 quoted-printable text. (Bug#5441)
10045 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10047 * simple.el (visual-line-mode): Capitalize lighter.
10049 2010-02-03 John Wiegley <jwiegley@gmail.com>
10051 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10052 list of files considered for "virtual buffer" completions.
10054 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10056 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10057 also in case of (and (not full) (not wildcard)). This is needed
10058 when dired is called with a list of files, which are not in
10059 `default-directory'. (Bug#5478)
10061 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10063 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10065 2010-02-02 Juri Linkov <juri@jurta.org>
10067 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10068 from unidiff to allow function-line after @@.
10070 2010-02-02 Juri Linkov <juri@jurta.org>
10072 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10073 '(RCS SCCS) with inverted condition.
10075 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10077 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10080 2010-02-01 Juri Linkov <juri@jurta.org>
10082 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10083 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10084 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10085 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10087 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10089 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10090 (doc-view-revert-buffer): New command.
10091 (doc-view-mode-map): Use it.
10093 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10095 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10096 pending merge is detected.
10098 2010-01-31 Juri Linkov <juri@jurta.org>
10100 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10101 beginning of interactive spec like all other grep commands do.
10102 Put "all" in front of "gz". (Bug#5260)
10104 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10106 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10108 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10110 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10111 regexp is incorrect (Bug#5476).
10113 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10115 * net/tramp.el (tramp-handle-insert-directory): Handle also
10116 symlinks, when FILENAME is not in `default-directory'.
10118 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10120 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10121 FILE is not in `default-directory'. (Bug#5478)
10123 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10124 of SWITCHES. Handle the case, FILENAME is not in
10125 `default-directory'. (Bug#5478)
10126 (tramp-register-file-name-handlers): Add safe-magic property.
10128 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10130 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10133 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10135 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10136 (flymake-master-make-header-init): Add other C++ filename masks.
10137 (flymake-find-possible-master-files)
10138 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10140 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10142 Fix some busybox annoyances.
10144 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10145 not responding." string.
10146 (tramp-open-connection-setup-interactive-shell): Dump stty
10147 settings. Enable "neveropen" arg for all `tramp-send-command'
10148 calls. Handle "=" in variable values properly.
10149 (tramp-find-inline-encoding): Raise an error, when no encoding is
10151 (tramp-wait-for-output): Check, whether PROC buffer is available.
10152 Remove spurious " ^H" sequences, sent by busybox.
10153 (tramp-get-ls-command): Suppress coloring, if possible.
10155 2010-01-28 Glenn Morris <rgm@gnu.org>
10157 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10159 * log-edit.el (log-edit-strip-single-file-name): Add missing
10160 :safe, :group, and :version tags.
10162 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10164 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10165 buffers. (Bug#5477)
10167 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10169 * files.el (delete-directory): Handle moving to trash without
10170 first doing recursion (Bug#5436).
10172 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10174 * vc-hooks.el (vc-path): Mark as obsolete.
10176 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10178 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10181 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10183 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10185 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10187 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10189 * vc-bzr.el (vc-bzr-revision-table): New function.
10191 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10193 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10194 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10196 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10198 Remove support for adding --signoff on commit.
10199 Future support will use an incompatible generic mechanism.
10200 * vc-git.el (vc-git-add-signoff): Remove variable.
10201 (vc-git-toggle-signoff): Remove function.
10202 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10204 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10205 Rename from xterm-set-background-mode. Return t if the background mode
10207 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10208 earlier, call it again in case the background mode has changed.
10210 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10212 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10215 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10217 * emacs-lisp/assoc.el (aelement): Doc fix.
10218 (aput, adelete, amake): Use lexical-let (Bug#5450).
10220 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10222 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10223 is the same as subprogram call, not declaration. (Bug#5435).
10225 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10227 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10228 (tramp-smb-maybe-open-connection): Use it.
10230 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10232 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10234 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10236 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10237 just because we see "encoding: 8bit".
10238 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10240 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10242 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10244 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10246 * jka-compr.el (jka-compr-load): If load-file is not in
10247 load-history, try its file-truename version. (bug#5447)
10249 2010-01-21 Alan Mackenzie <acm@muc.de>
10251 Fix a situation where deletion of a cpp construct throws an error.
10252 * progmodes/cc-engine.el (c-invalidate-state-cache):
10253 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10254 special cpp construct is still in the buffer.
10255 (c-parse-state): Record the special cpp with markers, not numbers.
10257 2010-01-21 Kenichi Handa <handa@m17n.org>
10259 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10260 process last-command-event, as it is now decoded first (Bug#5380).
10262 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10264 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10266 2010-01-20 Glenn Morris <rgm@gnu.org>
10268 * indent.el (tab-always-indent): Fix custom-type.
10270 2010-01-19 Alan Mackenzie <acm@muc.de>
10272 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10273 buffer throws "args out of range".
10274 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10275 playing the role of delimiter.
10277 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10279 * progmodes/ada-mode.el: Fix bug#5400.
10280 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10281 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10282 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10283 Improve comments in "is" portion. Handle null procedure declaration.
10284 (ada-move-to-end): Improve doc string.
10286 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10288 * ido.el (ido-cur-list): Initialize to nil.
10289 Remove obsolete information from commentary.
10290 (ido-choice-list): Initialize to nil.
10291 (ido-get-bufname): Reject minibuffers.
10292 (ido-make-buffer-list): If "default" is a nonexistent
10293 buffer, ignore it, as per the function's comment.
10294 (ido-kill-buffer-internal): New function.
10295 (ido-kill-buffer-at-head): Use it.
10296 (ido-visit-buffer): Likewise.
10298 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10300 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10302 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10304 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10305 Fix typos in chart titles.
10307 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10308 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10309 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10310 (describe-class, eieio-describe-generic, describe-generic):
10311 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10312 (eieio-speedbar-expand):
10313 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10314 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10315 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10316 (viper-del-backward-char-in-replace, viper-backward-indent)
10317 (viper-brac-function, viper-register-to-point, viper-submit-report):
10318 * net/tramp.el (tramp-remote-coding-commands):
10319 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10320 Fix typos in docstrings.
10322 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10324 * mail/sendmail.el (mail-yank-original): Set the mark if the
10325 specified function for yanking does not do it.
10327 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10329 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10331 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10332 resyncing a directory.
10334 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10336 * progmodes/ada-mode.el: Fix bug#1920.
10337 (ada-ident-re): Delete ., allow multibyte characters.
10338 (ada-goto-label-re): New; matches goto labels.
10339 (ada-block-label-re): New; matches block labels.
10340 (ada-label-re): New; matches both.
10341 (ada-named-block-re): Deleted; callers changed to use
10342 `ada-block-label-re' instead.
10343 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10344 Use `ada-block-label-re'.
10345 (ada-indent-on-previous-lines): Improve handling of goto labels.
10346 (ada-get-indent-block-start): Special-case block label.
10347 (ada-get-indent-label): Split into `ada-indent-block-label' and
10348 `ada-indent-goto-label'.
10349 (ada-goto-stmt-start, ada-goto-next-non-ws):
10350 Optionally ignore goto labels.
10351 (ada-goto-next-word): Simplify.
10352 (ada-indent-newline-indent-conditional): Insert newline before
10353 trying to fix indentation; doc fix.
10355 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10357 * calc/calc.el (calc-command-flags): Give it an initial value.
10359 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10361 * files.el (minibuffer-with-setup-hook):
10362 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10363 (artist-key-draw-continously, artist-key-do-continously-continously)
10364 (artist-key-set-point-continously, artist-mouse-draw-continously):
10365 Fix typos in docstrings.
10367 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10369 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10370 Never return t (Bug#3898).
10372 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10374 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10375 can parse the output of the external commands (Bug#5279).
10377 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10379 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10381 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10383 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10385 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10387 * startup.el (command-line): Remove unused --icon-type arg.
10388 Handle --display arg, passing it to command-line-1 (Bug#5392).
10390 2010-01-16 Mario Lang <mlang@delysid.org>
10392 * emacs-lisp/chart.el (chart-translate-namezone):
10393 * textmodes/artist.el (artist-compute-popup-menu-table):
10394 Remove duplicated words in doc-strings.
10396 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10398 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10399 to mairix-search to suppress threading (Bug#5342).
10401 2010-01-15 Kenichi Handa <handa@m17n.org>
10403 * international/mule-cmds.el (canonicalize-coding-system-name):
10404 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10406 2010-01-15 Glenn Morris <rgm@gnu.org>
10408 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10410 * wid-edit.el (widget-keymap): Doc fix.
10412 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10413 former seems to be more widely accepted by various svn versions.
10415 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10417 * find-cmd.el (find-constituents):
10418 * vc-arch.el (vc-arch-root):
10419 * window.el (window-body-height, pop-up-frames):
10420 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10421 * progmodes/ada-stmt.el (ada-if):
10422 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10423 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10424 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10425 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10427 * progmodes/flymake.el (flymake-post-syntax-check):
10428 Fix typo in error message.
10430 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10432 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10433 which is always a string. (Bug#5313)
10435 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10437 * progmodes/ada-xref.el (ada-default-prj-properties):
10438 Simplify previous change.
10440 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10442 * progmodes/ada-xref.el (ada-default-prj-properties):
10443 Default ada_project_path to $ADA_PROJECT_PATH.
10445 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10447 * progmodes/ada-mode.el (ada-create-keymap):
10448 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10450 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10452 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10453 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10454 (ada-get-current-indent, ada-imenu-generic-expression)
10455 (ada-which-function): Check for it.
10457 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10459 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10460 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10462 2010-01-14 Glenn Morris <rgm@gnu.org>
10464 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10466 2010-01-14 Kenichi Handa <handa@m17n.org>
10468 * composite.el (auto-composition-mode): Make it a buffer local
10469 variable (permanent-local).
10470 (auto-composition-function): Set the default value to
10471 auto-compose-chars.
10472 (auto-composition-mode): Make it a simple function, not a minor mode.
10473 (global-auto-composition-mode): Likewise.
10474 (turn-on-auto-composition-if-enabled): Delete it.
10476 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10478 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10480 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10482 * files.el (copy-directory): Compute target for recursive
10483 directories with identical names. (Bug#5343)
10485 2010-01-12 Glenn Morris <rgm@gnu.org>
10487 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10488 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10490 2010-01-11 Sam Steingold <sds@gnu.org>
10492 * imenu.el (imenu-default-create-index-function): Detect infinite
10493 loops caused by imenu-prev-index-position-function.
10495 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10497 * htmlfontify.el (htmlfontify-load-rgb-file)
10498 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10499 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10500 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10501 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10502 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10503 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10504 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10505 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10506 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10507 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10508 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10509 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10510 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10511 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10512 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10513 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10514 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10515 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10516 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10517 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10518 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10519 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10520 backslash-quoting from parentheses, etc.
10522 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10524 * progmodes/js.el: Autoload javascript-mode alias.
10526 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10528 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10529 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10530 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10531 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10532 Fix typos in docstrings.
10533 (ffap-url-regexp): Doc fix.
10534 (ffap-at-mouse): Fix typo in message.
10536 2010-01-11 Glenn Morris <rgm@gnu.org>
10538 * version.el (emacs-copyright): Set copyright year to 2010.
10540 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10542 * format.el (format-annotate-function): Only set
10543 write-region-post-annotation-function after running to-fn so as not to
10544 affect nested write-region calls (bug#5273).
10546 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10548 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10551 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10553 * man.el (Man-goto-section): Signal error if the section is not
10556 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10558 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10559 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10561 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10563 * progmodes/compile.el: Don't treat compile-command as safe if
10564 compilation-read-command might be nil (Bug#4218).
10566 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10568 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10571 2010-01-08 Kenichi Handa <handa@m17n.org>
10573 * international/fontset.el (build-default-fontset-data):
10574 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10576 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10578 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10579 to `create-file-buffer' as it expects, not just a buffer name.
10580 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10581 to help uniquify. (Bug#3224)
10583 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10585 * font-setting.el (font-setting-change-default-font): Use user-spec
10588 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10590 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10592 2010-01-05 Tom Tromey <tromey@redhat.com>
10594 * progmodes/python.el (python-font-lock-keywords):
10595 Handle qualified decorators (Bug#881).
10597 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10599 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10600 in a lightweight checkout.
10602 2010-01-05 Kenichi Handa <handa@m17n.org>
10604 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10606 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10608 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10610 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10612 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10613 checkouts. (Bug#618)
10614 (vc-bzr-log-view-mode): Also highlight the author.
10615 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10616 (vc-bzr-shelve-menu-map):
10617 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10618 (vc-bzr-shelve-apply): Make prompt more explicit.
10620 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10622 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10623 They are valid characters in URL paths (rfc3986), and at least
10624 Firefox does not understand the encoded version (Bug#3166).
10626 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10628 * progmodes/octave-mod.el (octave-end-keywords)
10629 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10630 Add "end" keyword (Bug#3061).
10631 (octave-end-as-array-index-p): New function.
10632 (calculate-octave-indent): Use it.
10634 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10636 * bookmark.el: Consistently put the text property on the bookmark name.
10637 (bookmark-bmenu-marks-width): Bump back to 2, to include
10639 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10640 property on the bookmark name, instead of not putting it at all.
10641 (bookmark-bmenu-list): Fix where we put the text property.
10643 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10645 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10646 for showing buffer modified state (as added in the previous change).
10648 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10650 * bookmark.el: Show modified state of bookmark buffer more accurately.
10651 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10652 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10653 (with-buffer-modified-unmodified): New macro.
10654 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10655 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10656 Use new macro to preserve the buffer modified state.
10658 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10660 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10661 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10662 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10663 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10664 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10665 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10666 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10668 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10670 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10671 Make the lines in the generated doc string shorter. (Bug#4668)
10673 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10675 * net/rcirc.el: Add follow-link binding (Bug#4738).
10677 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10679 * Makefile.in (bzr-update): Rename from cvs-update.
10680 (cvs-update): New target for backward compatibility.
10682 * makefile.w32-in (bzr-update): Rename from cvs-update.
10683 (cvs-update): New target for backward compatibility.
10685 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10687 * bookmark.el: Remove gratuitous gratitude.
10689 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10691 * bookmark.el (bookmark-bmenu-any-marks): New function.
10692 (bookmark-bmenu-save): Clear buffer modification if no marks.
10694 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10696 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10697 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10698 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10699 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10701 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10702 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10703 To: emacs-devel {_AT_} gnu.org
10704 Subject: bookmark.el bug report
10705 Date: Mon, 28 Dec 2009 14:19:16 +0800
10706 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10708 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10710 * bookmark.el: Improvements suggested by Drew Adams:
10711 (bookmark-bmenu-ensure-position): New name for
10712 `bookmark-bmenu-check-position'. Just ensure the position,
10713 don't return any meaningful value.
10714 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10717 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10719 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10720 (bookmark-yank-point, bookmark-bmenu-check-position):
10721 Fix typos in docstrings.
10722 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10723 (bookmark-name-from-full-record, bookmark-get-position)
10724 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10725 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10726 Remove useless quoting of parenthesis, etc. in docstrings.
10728 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10729 (ediff-append-custom-diff): Fix typo in error message.
10730 (ediff-meta-mark-equal-files): Fix typos in messages.
10732 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10734 * net/imap-hash.el (imap-hash-make): Doc fix.
10735 (imap-hash-test): Fix typo in error message; reflow docstring.
10736 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10737 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10738 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10739 Fix typos in docstrings.
10740 (imap-hash-open-connection): Fix typo in error message.
10742 * play/gomoku.el (gomoku): Fix typos in docstring.
10744 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10745 (gdb-jsonify-buffer): Fix typos in docstring.
10746 (gdb-goto-breakpoint): Fix typo in error message.
10747 ("Display Other Windows"): Fix typo in help message.
10748 (gdb-speedbar-expand-node): Fix typo in question.
10750 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10751 (idlwave-html-system-help-location, idlwave-html-help-location)
10752 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10753 (idlwave-help-browser-generic-args, idlwave-help-directory)
10754 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10755 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10756 (idlwave-online-help, idlwave-help-html-link)
10757 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10758 Fix typos in docstrings.
10759 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10761 (idlwave-help-assistant-start): Fix typo in error message.
10763 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10764 (octave-electric-space): Fix typos in docstrings.
10766 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10768 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10770 2010-01-01 Juri Linkov <juri@jurta.org>
10772 * comint.el (comint-input-ring-size): Make it a defcustom and
10773 increase the default to 500 (Bug#5148).
10775 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10777 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10778 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10779 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10781 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10783 Show working revision correctly for mercurial.
10784 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10785 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10787 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10789 Declare some functions for the byte-compiler.
10790 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10791 (speedbar-timer-fn, speedbar-change-expand-button-char)
10792 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10794 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10796 This changeset reverts GDB Graphical Interface to use annotations.
10797 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10799 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10801 Make vc-dir work on subdirectories of the bzr root.
10802 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
10803 Return file names relative to it.
10804 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10805 relative directory to vc-bzr-after-dir-status.
10807 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10809 * font-lock.el (font-lock-refresh-defaults): New function, which
10810 can be used to let font-lock react to external changes in
10811 variables like font-lock-defaults and keywords.
10812 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10814 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10816 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10818 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10820 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10822 Supersede color.diff settings in git log (bug#5211).
10824 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10825 escape chars in its output when the user has color.diff set to `always'.
10826 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10828 2009-12-26 Kevin Ryde <user42@zip.com.au>
10830 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10831 node. Keep previous "Index" name to work with past coreutils too.
10833 * man.el (man): Revise docstring a bit to show -a and -l as
10834 examples. Add -k description since support for it has otherwise
10835 been a secret. (Further to bug#3717.)
10836 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10837 "no matches" rather than "Can't find manpage", as the latter reads
10838 like -k was interpreted as a page name, which is not so. (Bug#5431)
10840 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10842 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10843 switches. Check also for //SUBDIRED// line.
10845 2009-12-25 Kenichi Handa <handa@m17n.org>
10847 * language/indian.el (devanagari-composable-pattern): Fixed to
10848 handle ZWNJ and ZWJ. Use it in composition-function-table for
10850 (malayalam-composable-pattern): Fix previous change.
10852 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10854 * ps-print.el (ps-face-attributes): It was not returning the
10855 attribute face for faces specified as string. Reported by harven
10856 <harven@free.fr>. (Bug#5254)
10857 (ps-print-version): New version 7.3.5.
10859 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10861 * calendar/icalendar.el (icalendar--convert-tz-offset):
10862 Fixed timezone names.
10863 (icalendar--convert-tz-offset): Fixed the "last-day-problem".
10864 (icalendar--add-diary-entry): Remove the trailing blank that
10865 diary-make-entry inserts.
10867 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10869 Make `file-expand-wildcards' work for remote files.
10871 * files.el (file-expand-wildcards): In case of remote files, check
10872 only local file name part for wildcards. Provide feature 'files
10873 and subfeature 'remote-wildcards. (Bug#5198)
10875 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10876 if there is already an established connection.
10877 (tramp-advice-file-expand-wildcards): Remove it.
10879 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10880 (tramp-advice-file-expand-wildcards): Move from tramp.el.
10881 Activate advice for older GNU Emacs versions. (Bug#5237)
10883 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
10885 Some doc fixes (more needed).
10887 * find-cmd.el (find-constituents): Reflow docstring.
10888 (find-cmd, find-prune, find-command): Fix typos in docstrings.
10889 (find-generic): Doc fix.
10891 2009-12-17 Juri Linkov <juri@jurta.org>
10893 Fix regression from 23.1 to allow multiple modes in Local Variables.
10895 * files.el (hack-local-variables-filter): While ignoring duplicates,
10896 don't take `mode' into account.
10897 (hack-local-variables-filter, hack-dir-local-variables):
10898 Don't remove duplicate `mode' from local-variables-alist (like `eval').
10900 2009-12-17 Juri Linkov <juri@jurta.org>
10902 Make `dired-diff' safer. (Bug#5225)
10904 * dired-aux.el (dired-diff): Signal an error when `file' equals to
10905 `current' or when `file' is a directory of the `current' file.
10907 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
10909 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10910 unconditionally preloaded files.
10912 2009-12-16 Juri Linkov <juri@jurta.org>
10914 Revert to old 23.1 logic of using the file at the mark as default.
10915 * dired-aux.el (dired-diff): Use the file at the mark as default
10916 if it's not the same as the current file, and the target dir is
10917 the current dir or the mark is active. Add the current file
10918 as the arg of `dired-dwim-target-defaults'. Use the default file
10919 in the prompt. (Bug#5225)
10921 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
10923 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10924 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10925 (tramp-check-for-regexp): Check also, when an echoing shell stops
10926 to echo sent commands.
10928 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10930 * Makefile.in: Revert last change (Bug#5191).
10932 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
10934 * vc-hg.el (vc-hg-print-log): Fix argument order.
10935 (vc-hg-working-revision): Make sure the command is executed in a
10936 known environment so that we can parse the output. (Bug#4417)
10938 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10940 * progmodes/python.el (python-symbol-completions): Remove text
10941 properties from symbol string before calling python-send-receive.
10943 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
10945 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10946 when there are values for both file and line. (Bug#5060)
10948 2009-12-14 Juri Linkov <juri@jurta.org>
10950 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10951 whitespace after the file name of the first line of unified format,
10952 because git-diff doesn't output whitespace and file modification time
10953 after the file name.
10955 2009-12-14 David Kastrup <dak@gnu.org>
10957 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10958 check if it already has the `display' property added by
10959 `Info-display-images-node', and not put the `invisible' property
10962 2009-12-13 Glenn Morris <rgm@gnu.org>
10964 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10965 (report-emacs-bug): In message-mode, sort manually before storing
10966 original report text. (Bug#5178)
10967 Remove superfluous save-excursion.
10969 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
10971 * net/dbus.el (dbus-property-handler): Filter lambda forms out
10972 when responding to "GetAll" properties.
10974 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
10976 * simple.el (compose-mail): Remove mail-setup-with-from from
10977 customization checks.
10979 2009-12-12 Eli Zaretskii <eliz@gnu.org>
10981 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10982 RAR archives created on Unix systems.
10984 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10986 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10987 the varalias that was accidentally removed by the 2009-11-19 change
10990 2009-12-12 Kenichi Handa <handa@m17n.org>
10992 * language/indian.el (indian-compose-regexp): New function.
10993 (malayalam-composable-pattern): Fix the pattern.
10994 (composition-function-table): Set malayalam-composable-pattern for
10995 Malayalam characters.
10997 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
10999 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11000 rather than down-mouse-1, based on follow-link conventions.
11002 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11005 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11007 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11008 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11009 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11010 (verilog-leap-to-head, verilog-backward-token):
11011 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11013 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11015 * progmodes/verilog-mode.el (verilog-auto-lineup)
11016 (verilog-nameable-item-re): Cleanup user-visible spelling and
11017 documentation errors. One reported by Gary Delp.
11018 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11019 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11020 package, bug195. Reported by Pierre-David Pfister.
11022 2009-12-11 Glenn Morris <rgm@gnu.org>
11024 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11026 * mail/emacsbug.el: No longer require sendmail.
11027 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11028 (report-emacs-bug-orig-text): Doc fix.
11029 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11030 New local variables, to adapt to different mail-user-agents.
11031 (report-emacs-bug): Fix test for a gnu.org address.
11032 Use overlays for emphasis, since font-lock defeats 'face property.
11033 Pretest bugs also end up at the newsgroup these days.
11034 Stop message-mode stripping text properties.
11035 Set and use the new buffer-local variables.
11036 (report-emacs-bug-hook): Add doc-string.
11037 Remove some unnecessary save-excursions and simplify.
11038 Use the appropriate hook and send-command.
11040 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11041 capitalization of some menu entries.
11043 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11045 * whitespace.el (whitespace-display-char-on):
11046 Ensure `buffer-display-table' is unique when two or more windows are
11047 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11050 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11052 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11053 characters in the Attribute field.
11055 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11057 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11059 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11061 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11062 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11063 Disregard autoload-excludes.
11064 (update-directory-autoloads): Obey autoload-excludes here instead.
11065 But don't store its contents in no-autoloads and remove entries that
11066 refer to excludes files.
11068 2009-12-10 Glenn Morris <rgm@gnu.org>
11070 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11071 (expand-mail-aliases): Define for compiler.
11073 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11074 Define for compiler.
11076 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11077 appropriate for the mail-user-agent in use.
11079 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11081 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11083 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11085 Fix short log parsing and fontification.
11086 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11087 Fix fontification for the [merge] label.
11089 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11091 Drop some properties to avoid surprises (bug#5002).
11092 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11093 (hfy-fontify-buffer): Use it.
11095 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11098 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11099 Adjust all callers.
11100 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11101 args compulsory. Adjust callers.
11102 (ffap-gopher-at-point): Remove unused var `name'.
11104 Get rid of the ELCFILES abomination.
11105 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11106 (compile-elcfiles): New phony target.
11107 (compile-main): Compute ELCFILES dynamically.
11108 (compile-clean): New target to remove left-over elc files.
11109 (compile, all): Use it.
11111 2009-12-09 Kenichi Handa <handa@etlken>
11113 * international/mule-diag.el: Require help-mode instead of help-fns.
11115 2009-12-09 Kenichi Handa <handa@m17n.org>
11117 * international/mule-cmds.el (ucs-names): Supply sufficiently
11118 fine ranges instead of pre-calculating accurate ranges.
11119 Iterate with bigger gc-cons-threshold.
11121 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11123 Add support for stashing a snapshot of the current tree.
11124 * vc-git.el (vc-git-stash-snapshot): New function.
11125 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11127 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11129 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11130 instead of `(beginning|end)-of-line'.
11132 2009-12-08 Glenn Morris <rgm@gnu.org>
11134 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11136 * Makefile.in (ELCFILES): Regenerate.
11138 2009-12-07 Juri Linkov <juri@jurta.org>
11140 Don't lazy-highlight the comint output in history Isearch mode.
11142 * comint.el (comint-history-isearch-search): Instead of
11143 `comint-line-beginning-position', use `comint-after-pmark-p'
11144 to check if point if before the process mark, and go to
11145 `process-mark' in this case.
11147 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11149 * textmodes/tex-mode.el (latex-complete)
11150 (latex-indent-or-complete): Remove.
11151 (latex-mode): Set completion-at-point-functions instead.
11153 Provide a standard completion command and hook it into TAB.
11154 * minibuffer.el (completion-at-point-functions): New var.
11155 (completion-at-point): New command.
11156 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11157 * progmodes/python.el (python-mode-map): Use completion-at-point.
11158 (python-completion-at-point): Rename from python-partial-symbol and
11159 adjust for use in completion-at-point-functions.
11160 (python-mode): Setup completion-at-point for Python completion.
11161 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11162 extracted from lisp-complete-symbol.
11163 (lisp-complete-symbol): Use it.
11164 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11165 setup completion-at-point for Elisp completion.
11166 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11167 Use completion-at-point.
11168 * ielm.el (ielm-map): Use completion-at-point.
11169 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11170 * progmodes/sym-comp.el: Move to...
11171 * obsolete/sym-comp.el: Move from progmodes.
11173 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11175 Prevent save-buffer in Rmail buffers from using the coding-system
11176 of the current message, and from clobbering the encoding mnemonics
11177 in the mode line (Bug#4623).
11179 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11181 (rmail-message-encoding): New variable.
11182 (rmail-write-region-annotate): Record the encoding of the current
11183 message in rmail-message-encoding.
11184 (rmail-after-save-hook): New function, restores the encoding of
11185 the current message after the message collection is saved.
11187 2009-12-07 Juri Linkov <juri@jurta.org>
11189 * progmodes/grep.el (grep-read-files): Use `completing-read'
11190 instead of `read-string'. Set its `collection' arg to
11191 `read-file-name-internal'. (Bug#4301)
11193 2009-12-07 Juri Linkov <juri@jurta.org>
11195 Correctly restore original Isearch point. (Bug#4994)
11197 * isearch.el (isearch-mode): Move `isearch-push-state' after
11198 `(run-hooks 'isearch-mode-hook)'.
11199 (isearch-cancel): When `isearch-push-state-function' is defined,
11200 let-bind `isearch-cmds' to the first state (the last element of
11201 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11202 function and restores the original point). Otherwise, move point
11203 to `isearch-opoint'.
11205 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11207 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11208 chars that don't have names, so the table can be built much faster at
11211 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11213 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11214 change. Suggested by David Kastrup.
11216 * simple.el (compose-mail): Check for incompatibilities and warn.
11217 (compose-mail-user-agent-warnings): New option.
11219 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11221 Support showing a single log entry from vc-annotate.
11222 * vc.el (print-log): Add a new argument: START-REVISION.
11223 (vc-print-log-internal): Add a new optional argument and
11224 pass it to the backend.
11225 (vc-print-log, vc-print-root-log): Adjust callers.
11226 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11227 buffer already displays the requested log entry, use it.
11228 Otherwise display only the log entry in question.
11229 * vc-svn.el (vc-svn-print-log):
11230 * vc-mtn.el (vc-mtn-print-log):
11231 * vc-hg.el (vc-hg-state):
11232 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11233 (vc-git-show-log-entry): Return t on success.
11234 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11235 (vc-bzr-show-log-entry): Return t on success.
11236 * vc-rcs.el (vc-rcs-print-log):
11237 * vc-sccs.el (vc-sccs-print-log):
11238 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11240 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11242 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11243 Add menus to the meta mode. (Bug#5043)
11245 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11247 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11250 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11252 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11254 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11255 Berbain <raphael.berbain@gmail.com>.
11257 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11259 (tramp-initial-end-of-output): New defconst.
11260 (tramp-methods, tramp-find-shell)
11261 (tramp-open-connection-setup-interactive-shell)
11262 (tramp-maybe-open-connection): Use it.
11263 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11264 Handle existence of `#' and `$'.
11266 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11267 Use `tramp-initial-end-of-output'.
11269 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11271 Get the background mode from the terminal for xterm, and set
11273 * term/xterm.el (xterm-set-background-mode): New function.
11274 (terminal-init-xterm): Use it in case xterm supports background
11275 color queries. Recompute faces after getting the background
11278 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11280 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11281 number comment back on its own line, for easier parsing.
11283 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11285 Make it work for non-file buffers (bug#5102).
11286 * doc-view.el (doc-view-current-cache-dir):
11287 Use doc-view-buffer-file-name rather than buffer-file-name.
11288 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11290 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11292 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11293 author field is too short.
11295 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11297 * vc-git.el (vc-git-print-log): Handle a limit argument.
11298 Display the short log in graph form and with labels.
11299 (vc-git-log-view-mode): Handle labels.
11301 Make vc-revert change VC state from 'added to 'unregistered.
11302 * vc-git.el (vc-git-revert): Call git reset first.
11304 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11306 * net/newst-backend.el, net/newst-plainview.el:
11307 * net/newst-reader.el, net/newst-ticker.el:
11308 * net/newst-treeview.el, net/newsticker.el:
11309 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11311 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11313 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11315 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11316 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11317 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11318 Update annotation regexp.
11320 * simple.el (beginning-of-visual-line): Constrain to field
11321 boundaries (Bug#5106).
11323 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11325 * xml.el (xml-substitute-numeric-entities):
11326 Move newsticker--decode-numeric-entities in newst-backend.el to
11327 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11328 * net/newst-backend.el (newsticker--parse-generic-feed)
11329 (newsticker--parse-generic-items)
11330 (newsticker--decode-numeric-entities):
11331 Move newsticker--decode-numeric-entities in newst-backend.el to
11332 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11334 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11336 * progmodes/js.el (js--js-not): Add null to the list of values.
11338 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11340 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11342 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11344 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11345 delimiter if it is at the end of the current line.
11346 (bibtex-generate-url-list): Fix docstring.
11348 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11350 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11351 minibuffer's content with itself.
11352 Fold the confirm-after-completion case into the `confirm' case.
11353 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11355 2009-12-06 Kevin Ryde <user42@zip.com.au>
11357 * ffap.el (ffap-rfc-path): Make this a defcustom since
11358 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11360 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11361 manuals, similar to existing setup for help-mode. (Bug#3913.)
11363 2009-12-05 Juri Linkov <juri@jurta.org>
11365 Save and restore dired buffer's point positions too. (Bug#4880)
11367 * dired.el (dired-save-positions): Return in the first element
11368 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11370 (dired-restore-positions): First restore buffer's position.
11371 While restoring window's positions, check if window still displays
11372 the original buffer.
11374 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11376 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11379 * shell.el (shell): Require ansi-color (Bug#5113).
11381 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11383 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11385 2009-12-05 Alan Mackenzie <acm@muc.de>
11387 * progmodes/cc-mode.el (c-before-hack-hook)
11388 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11389 `c-file-style' to work again. This reversion restores the current
11390 software to its state in Emacs 23.1. (Bug#4146)
11392 2009-12-05 Kevin Ryde <user42@zip.com.au>
11394 * textmodes/sgml-mode.el (sgml-lexical-context):
11395 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11397 2009-12-05 Juri Linkov <juri@jurta.org>
11399 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11400 for virtual nodes. (Bug#4147)
11401 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11402 when moving from a virtual node.
11403 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11404 (Info-mode): Add `Info-virtual-index' to the docstring.
11406 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11408 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11409 track of the buffer position of the end of a BibTeX entry as this
11410 position may change during reformatting.
11411 (bibtex-format-entry): Remove whitespace before processing
11412 numerical fields so that we recognize the latter properly.
11413 (bibtex-reformat): Do not use push which changes the global value
11414 of bibtex-entry-format.
11415 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11416 (bibtex-field-re-init): Replace only space characters by regexp
11418 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11419 (bibtex-initialize): Also update bibtex-strings.
11420 (bibtex-kill-field): Preserve white space at end of entry.
11421 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11422 Update bibtex-reference-keys.
11424 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11426 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11427 point after a star, if that's the only place where modifications can
11430 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11432 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11435 2009-12-04 Juri Linkov <juri@jurta.org>
11437 * proced.el (proced): Call `(proced-update t)' to update process
11438 information instead of only running proced-post-display-hook.
11439 (proced-send-signal): Add a leading space to the buffer name
11440 " *Marked Processes*" to make this buffer ephemeral.
11442 2009-12-04 Juri Linkov <juri@jurta.org>
11444 * dired.el (dired-auto-revert-buffer): New defcustom.
11445 (dired-internal-noselect): Use it.
11447 2009-12-04 Juri Linkov <juri@jurta.org>
11449 Change roles of modes and functions in image-mode.el (Bug#5062).
11451 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11452 in `auto-mode-alist'.
11453 (image-mode-previous-major-mode): New variable.
11454 (image-minor-mode-map): Rename from `image-mode-text-map'.
11455 (image-mode): Move graceful error-handling code from
11456 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11457 (image-minor-mode): Remove all image-handling code.
11458 Replace `image-mode-text-map' with `image-minor-mode-map'.
11459 Check for `image-type' in mode-line format string.
11460 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11461 (image-mode-as-text): New function with most code from
11462 `image-mode-maybe'.
11463 (image-toggle-display-text): Move code that removes image
11464 properties from `image-toggle-display' to here.
11465 (image-toggle-display-image): New function with code that adds
11466 image properties copied from `image-toggle-display'.
11467 (image-toggle-display): Remove most code with leaving only code
11468 that toggles between `image-mode-as-text' and `image-mode'.
11470 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11472 * net/newst-treeview.el
11473 (newsticker--treeview-list-highlight-start): Restored call to
11474 save-excursion: Selected item was stuck.
11475 (newsticker--treeview-list-select): New.
11476 (newsticker--treeview-item-show-text)
11477 (newsticker--treeview-item-show)
11478 (newsticker--treeview-item-update): Use new
11479 newsticker-treeview-item-mode.
11480 (newsticker-treeview-update): Keep current item.
11481 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11482 (newsticker--treeview-first-feed): Doc change.
11483 (newsticker-treeview-list-menu)
11484 (newsticker-treeview-item-menu): Added menu entries.
11485 (newsticker-treeview-item-mode): New.
11487 * net/newst-backend.el (newsticker-customize): Delete other
11490 2009-12-04 Sam Steingold <sds@gnu.org>
11492 * log-view.el (log-view-mode-map): "q" calls quit-window,
11493 like in all the other non-self-insert buffers.
11495 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11498 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11499 key decoding rather than do it manually via last-input-event +
11501 (term-exec): Use delete-and-extract-region.
11502 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11503 (term-process-pager): Remove unused var `i'.
11504 (term-dynamic-simple-complete): Make obsolete.
11505 (serial-update-config-menu): Remove unused vars `y' and `str'.
11506 (term-update-mode-line): Remove unused var `temp'.
11508 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11510 Limit the number of log entries displayed by default.
11511 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11512 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11513 using a prefix argument.
11515 2009-12-03 Glenn Morris <rgm@gnu.org>
11517 * progmodes/idlwave.el (class): Restore still useful declaration.
11519 2009-12-03 Alan Mackenzie <acm@muc.de>
11521 Enhance `c-parse-state' to run efficiently in "brace deserts".
11523 * progmodes/cc-mode.el (c-basic-common-init):
11524 Call c-state-cache-init.
11525 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11526 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11527 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11529 * progmodes/cc-langs.el (c-before-font-lock-function):
11530 c-extend-and-neutralize-syntax-in-CPP has been renamed
11531 c-neutralize-syntax-in-and-mark-CPP.
11533 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11534 with `category' properties now, not `syntax-table' ones.
11536 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11537 enhanced (but slower) version of c-end-of-macro that won't land
11538 inside a literal or on another awkward character.
11539 (c-state-cache-too-far, c-state-cache-start)
11540 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11541 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11542 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11543 (c-state-min-scan-pos, c-state-brace-pair-desert)
11544 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11545 buffer local variables.
11546 (c-state-literal-at, c-state-lit-beg)
11547 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11548 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11549 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11550 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11551 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11552 (c-renarrow-state-cache)
11553 (c-append-lower-brace-pair-to-state-cache)
11554 (c-state-push-any-brace-pair, c-append-to-state-cache)
11555 (c-remove-stale-state-cache)
11556 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11557 (c-invalidate-state-cache-1, c-parse-state-1)
11558 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11559 (c-parse-state): Enhance and refactor.
11560 (c-debug-parse-state): Amend to deal with all the new variables.
11562 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11563 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11564 modify to use category text properties rather than syntax-table ones.
11565 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11566 to switch off/on the syntactic paren property of C++ template
11567 delimiters using the category property.
11568 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11569 template delims suppressed.
11570 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11571 New constant/macros which apply category properties to the start
11572 and end of preprocessor constructs.
11573 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11574 "comment out" the syntactic value of characters in preprocessor
11576 (c-with-cpps-commented-out)
11577 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11578 with characters in all or all but one preprocessor constructs
11581 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11583 * proced.el (proced-filter-alist): Use regexp-quote.
11585 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11588 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11589 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11590 arguments. Expand `default-directory'.
11592 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11593 the benefit of returning an expanded localname.
11594 (tramp-tramp-file-p): Handle the case NAME is not a string.
11596 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11598 Add support for bzr shelve/unshelve.
11599 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11600 (vc-bzr-extra-menu-map): New variables.
11601 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11602 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11603 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11604 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11605 (vc-bzr-dir-extra-headers): Display shelves.
11607 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11609 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11611 * textmodes/bibtex.el (bibtex-complete-internal):
11612 Use completion-in-region.
11613 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11615 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11617 Support applying stashes. Improve UI.
11618 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11619 (vc-git-stash-apply, vc-git-stash-pop)
11620 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11621 (vc-git-stash-menu): New functions.
11622 (vc-git-stash-menu-map): New variable.
11623 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11625 2009-12-03 Glenn Morris <rgm@gnu.org>
11627 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11628 (vc-print-log-internal): Fix previous change.
11629 (vc-revert): Correct pluralization.
11631 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11633 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11634 it to be an alist any more.
11635 (makefile-complete): Use completion-in-region.
11637 * progmodes/octave-mod.el (octave-complete-symbol):
11638 Use completion-in-region.
11641 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11642 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11643 (idlwave-complete-class): Don't quote lambda.
11644 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11645 (idlwave-mode-map): Move initialization into declaration.
11646 (idlwave-action-and-binding): Use backquotes.
11647 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11649 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11650 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11651 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11652 `parts', and `all-parts'.
11653 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11654 (idlwave-convert-xml-system-routine-info): Remove unused string
11656 (idlwave-display-user-catalog-widget): Use dolist.
11657 (idlwave-scanning-lib): Declare dynamically-scoped var.
11658 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11659 (completion-highlight-first-word-only): Declare to silence bytecomp.
11660 (idlwave-popup-select): Tighten scope of `resp'.
11661 (idlwave-find-struct-tag): Remove unused var `beg'.
11662 (idlwave-after-load-rinfo-hook): Declare.
11663 (idlwave-sintern-class-info): Remove unused var `taglist'.
11664 (idlwave-find-class-definition): Remove unused var `list'.
11665 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11666 (idlwave-what-module-find-class): Remove unused var `classes'.
11668 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11670 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11672 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11674 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11675 buffers visited. Remove redundant current-buffer-saving.
11677 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11679 Use completion-in-buffer and remove uses of dynamic scoping.
11680 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11681 (pascal-buffer-to-use, pascal-flag): Don't declare.
11682 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11683 (pascal-get-completion-decl, pascal-keyword-completion):
11684 Add `pascal-str' argument, save-excursion,
11685 return the found completions, and don't filter with pascal-pred.
11686 (pascal-completion-cache): New var.
11687 (pascal-completion): Don't switch buffer any more (it was never
11688 necessary). Don't save-excursion any more (it's done by the called
11689 subroutines). Use a cache to avoid redundant computations.
11690 Use complete-with-action rather than pascal-completion-response and
11691 let it apply the predicate as well.
11692 (pascal-complete-word): Use completion-in-buffer when
11693 pascal-toggle-completions is nil.
11694 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11696 (pascal-comp-defun): Don't change buffer any more.
11697 Use complete-with-action rather than pascal-completion-response and
11698 let it apply the predicate as well.
11699 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11702 2009-12-02 Kenichi Handa <handa@m17n.org>
11704 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11705 shape for all Indic scripts.
11707 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11709 Use completion-in-buffer.
11710 * wid-edit.el (widget-field-text-end): New function.
11711 (widget-field-value-get): Use it.
11712 (widget-string-complete, widget-file-complete)
11713 (widget-color-complete): Use it and completion-in-region.
11714 (widget-complete): Don't narrow the buffer.
11716 2009-12-02 Glenn Morris <rgm@gnu.org>
11718 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11719 (rmail-select-summary): Use rmail-pop-to-buffer.
11720 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11721 rmail-pop-to-buffer, to prevent horizontal splits.
11723 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11724 save-excursion with save-current-buffer.
11725 Widen before searching. (Bug#5093)
11726 (diary-list-sexp-entries): Remove superfluous save-excursion.
11728 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11730 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11733 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11735 * ido.el (ido-file-internal): Handle filenames at point that do
11736 not have a directory part. (Bug#5049)
11738 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11740 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11741 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11743 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11745 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11746 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11749 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11751 * comint.el (comint-insert-input): Ignore clicks to the right of
11752 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11754 * vc.el (vc-print-log-internal): Don't wait for the process to
11755 terminate before setting up the major mode.
11757 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11760 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11763 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11765 2009-12-01 Glenn Morris <rgm@gnu.org>
11767 * window.el (window--display-buffer-2): Fix previous changes.
11769 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11771 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11773 2009-12-01 Glenn Morris <rgm@gnu.org>
11775 * Makefile.in (ELCFILES): Add mpc.elc.
11777 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11779 * mpc.el: New file.
11781 2009-12-01 Glenn Morris <rgm@gnu.org>
11783 * window.el (window-to-use): Define for compiler.
11785 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11786 consistent with others (no final period).
11788 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11789 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11791 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11793 Make vc-print-log buttons work.
11794 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11796 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11798 * savehist.el (savehist-autosave-interval): Allow setting to nil
11799 through customize. (Bug#5056)
11801 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11803 Fix references to jit-lock properties.
11804 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11805 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11806 (perl-font-lock-special-syntactic-constructs):
11807 Quote jit-lock-defer-multiline property.
11809 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11811 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11813 2009-11-30 Juri Linkov <juri@jurta.org>
11815 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11816 value `buffer' of `multi-isearch-next-buffer-current-function'.
11817 Use `(current-buffer)' when `buffer' is nil.
11818 (multi-isearch-next-buffer-from-list): Don't fallback to
11819 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11821 2009-11-30 Juri Linkov <juri@jurta.org>
11823 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11824 of buffers with `get-buffer' to `multi-isearch-buffers'.
11825 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11826 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11827 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11828 FILES with `expand-file-name' converting relative file names
11829 to absolute. Doc fix. (Bug#4727)
11831 2009-11-30 Juri Linkov <juri@jurta.org>
11833 * misearch.el (multi-isearch-read-buffers)
11834 (multi-isearch-read-matching-buffers): New functions.
11835 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11836 Use them in the `interactive' spec. Doc fix.
11837 (multi-isearch-read-files, multi-isearch-read-matching-files):
11839 (multi-isearch-files, multi-isearch-files-regexp):
11840 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11842 2009-11-30 Juri Linkov <juri@jurta.org>
11844 * doc-view.el (doc-view-continuous):
11845 Rename from `doc-view-continuous-mode'.
11846 (doc-view-menu): Move "Toggle display" to the top.
11847 Add submenu "Continuous" with radio buttons "Off"/"On"
11848 and "Save as Default".
11849 (doc-view-scroll-up-or-next-page)
11850 (doc-view-scroll-down-or-previous-page)
11851 (doc-view-next-line-or-next-page)
11852 (doc-view-previous-line-or-previous-page):
11853 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11855 2009-11-30 Juri Linkov <juri@jurta.org>
11857 * comint.el (comint-mode-map): Rebind `M-r' from
11858 `comint-previous-matching-input' to
11859 `comint-history-isearch-backward-regexp'.
11860 Unbind `M-s' to allow global key binding `M-s'.
11861 Add menu items for `comint-history-isearch-backward' and
11862 `comint-history-isearch-backward-regexp'. (Bug#3746)
11864 2009-11-30 Juri Linkov <juri@jurta.org>
11866 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11867 For def=recenter, replace `recenter' with `recenter-top-bottom'
11868 that is called with `this-command' and `last-command' let-bound
11869 to `recenter-top-bottom'. When the last `def' was not `recenter',
11870 set `recenter-last-op' to nil. (Bug#4981)
11872 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11874 Minor cleanup and simplification.
11875 * filecache.el (file-cache-add-directory)
11876 (file-cache-add-directory-recursively)
11877 (file-cache-add-from-file-cache-buffer)
11878 (file-cache-delete-file-regexp, file-cache-delete-directory)
11879 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11880 (file-cache-temp-minibuffer-message): Delete function.
11881 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11883 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11884 Don't signal an error when bumping into EOB in tr, s, or y.
11886 2009-11-29 Juri Linkov <juri@jurta.org>
11888 * startup.el (fancy-about-text): Fix wording of Guided Tour.
11891 * descr-text.el (describe-char-unidata-list): Use lowercase name
11892 for "Unicode name" like in other tags.
11894 2009-11-29 Juri Linkov <juri@jurta.org>
11896 * ediff-util.el (ediff-minibuffer-with-setup-hook):
11897 New compatibility macro.
11898 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11900 2009-11-29 Juri Linkov <juri@jurta.org>
11902 Add defcustom to define the cycling order of `recenter-top-bottom'.
11905 * window.el (recenter-last-op): Doc fix.
11906 (recenter-positions): New defcustom.
11907 (recenter-top-bottom): Rewrite to use `recenter-positions'.
11908 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11910 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
11912 Improve integration of Tramp and ange-ftp in eshell.
11914 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11915 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
11916 (eshell/sudo): Flatten args. Let-bind `default-directory'.
11918 * eshell/esh-util.el (top): Require also Tramp when compiling.
11919 (eshell-directory-files-and-attributes): Check for FTP remote
11921 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11922 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11923 (eshell-file-attributes): Handle ".". Return `entry'.
11925 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11926 (ange-ftp-directory-files-and-attributes)
11927 (ange-ftp-real-directory-files-and-attributes): New defuns.
11929 * net/tramp.el (tramp-maybe-open-connection): Open the remote
11930 shell with "exec" when possible. This prevents trailing prompts
11931 in `start-file-process'.
11933 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11935 Try and remove assumptions about point-min==1.
11936 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11937 (rng-compute-mode-line-string): Show the validation percentage in
11938 terms of the narrowed text, not the widened text.
11939 (rng-do-some-validation): Don't catch internal errors when debugging.
11940 (rng-first-error): Simplify.
11941 (rng-after-change-function): Remove work around. AFAIK the bug has
11942 been fixed a while ago.
11944 * image-mode.el (image-minor-mode): Exit more gracefully when the image
11945 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11947 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11949 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11950 `cd' doesn't always do it for us (bug#5067).
11952 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11953 on 2009-10-25 as part of some other change (bug#5067).
11955 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11957 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11959 (byte-compile-warnings): Use byte-compile-warning-types.
11960 (byte-compile-save-excursion): Warn about use of set-buffer right
11961 after save-excursion.
11963 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11964 the excursion as well.
11966 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
11968 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11969 providing a Tramp related implementation of "su" and "sudo".
11970 (eshell-unix-initialize): Add "su" and "sudo".
11972 2009-11-27 Daiki Ueno <ueno@unixuser.org>
11974 * net/socks.el (socks-send-command): Convert binary request to
11975 unibyte before sending. This fixes mishandling of some port
11976 numbers such as 129.
11978 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11980 * help.el (describe-bindings-internal): Remove `interactive'.
11982 * man.el (Man-completion-table): Trim a terminating "(".
11983 Remove the space between name page a section.
11984 Add the command's description on the `help-echo' property.
11985 Remove `process-connection-type' binding since it's unused by
11987 Provide completion for the "<section> <name>" format as well.
11988 (Man-default-man-entry): Remove spurious var shadowing the argument.
11990 2009-11-26 Kevin Ryde <user42@zip.com.au>
11992 * log-view.el: Add "Keywords: tools", since its other keywords
11993 aren't in finder-known-keywords, and following vc.el.
11995 * sha1.el (sha1-string-external): default-directory "/" in case
11996 otherwise non-existent. process-connection-type pipe for touch of
11997 efficiency recommended by elisp manual. (An aside in Bug#3911.)
11999 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12001 Misc coding convention cleanups.
12002 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12003 hfy-init-kludge-hooks.
12004 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12005 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12006 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12008 (hfy-slant, hfy-weight): Use tables rather than code.
12009 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12010 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12011 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12012 (hfy-face-to-css): Remove `nconc' with single arg.
12013 (hfy-p-to-face-lennart): Use `or'.
12014 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12015 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12016 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12017 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12018 (hfy-force-fontification): Use run-hooks.
12020 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12022 Various minor fixes.
12023 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12024 Javascript belongs in the header, not the body.
12025 (hfy-javascript): Remove.
12026 (hfy-fontify-buffer): Don't insert it any more.
12027 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12028 Fix bug in invis handling when there were no invis props in a chunk.
12030 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12032 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12034 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12036 * finder.el (finder-mode-map): Add a menu.
12038 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12040 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12041 "unsigned" structs.
12043 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12044 fork" statement better.
12046 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12048 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12049 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12050 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12051 Reported by Clay Douglass.
12053 (verilog-auto-inst, verilog-auto-star-safe)
12054 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12055 Fix removing "// Interfaces" when saving .* expansions.
12056 Reported by Pierre-David Pfister.
12058 2009-11-26 Glenn Morris <rgm@gnu.org>
12060 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12063 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12065 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12066 Really use previous revision.
12068 2009-11-25 Kevin Ryde <user42@zip.com.au>
12070 * man.el (Man-completion-table): default-directory "/" in case
12071 doesn't otherwise exist. process-environment COLUMNS=999 so as
12072 not to truncate long names. process-connection-type pipe to avoid
12073 any chance of hitting the pseudo-tty TIOCGWINSZ.
12074 (man): completion-ignore-case t for friendliness and since man
12075 itself is case-insensitive on the command line.
12076 Further to Bug#3717.
12078 * arc-mode.el: Add "Keywords: files", so the details in its
12079 commentary can be reached from finder-by-keyword.
12080 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12081 editing mode, but it's comms related and sgml-mode.el has "comm"
12083 * textmodes/bibtex-style.el: Add "Keywords: tex".
12084 * international/isearch-x.el, international/ja-dic-cnv.el:
12085 * international/ja-dic-utl.el, international/kkc.el:
12086 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12088 2009-11-25 Juri Linkov <juri@jurta.org>
12090 * man.el (Man-completion-table): Modify regexp to include
12091 section names to completion strings. (Bug#3717)
12093 2009-11-25 Juri Linkov <juri@jurta.org>
12095 Search recursively in gzipped files. (Bug#4982)
12097 * progmodes/grep.el (grep-highlight-matches): Add new options
12098 `always' and `auto'. Doc fix.
12099 (grep-process-setup): Check `grep-highlight-matches' for
12100 `auto-detect' to determine the need to compute grep defaults.
12101 Move Windows/DOS specific --colors settings handling
12102 to `grep-compute-defaults'. Check `grep-highlight-matches'
12103 to get the value of "--color=".
12104 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12105 has the value `auto-detect'. Move Windows/DOS specific settings
12106 from `grep-process-setup'.
12107 (zrgrep): New command with alias `rzgrep'.
12109 2009-11-25 Juri Linkov <juri@jurta.org>
12111 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12112 to nil instead of switching off view-mode. (Bug#4896)
12114 2009-11-25 Juri Linkov <juri@jurta.org>
12116 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12118 * mwheel.el (mwheel-scroll-up-function)
12119 (mwheel-scroll-down-function): New defvars.
12120 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12121 `scroll-up', and `mwheel-scroll-down-function' instead of
12124 * doc-view.el (doc-view-scroll-up-or-next-page)
12125 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12126 Use this ARG in the call to image-scroll-up/image-scroll-down.
12127 Change `interactive' spec to "P". Goto next/previous page only
12128 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12129 SPC/DEL case). Doc fix.
12130 (doc-view-next-line-or-next-page)
12131 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12133 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12134 `doc-view-scroll-up-or-next-page', and buffer-local
12135 `mwheel-scroll-down-function' to
12136 `doc-view-scroll-down-or-previous-page'.
12138 2009-11-25 Juri Linkov <juri@jurta.org>
12140 Provide additional default values (directories at other Dired
12141 windows) via M-n in the minibuffer of some Dired commands.
12143 * dired-aux.el (dired-diff, dired-compare-directories)
12144 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12145 `minibuffer-default' in `minibuffer-with-setup-hook'.
12146 (dired-dwim-target-directory): Find a window that displays Dired
12147 buffer instead of failing when the next window is not Dired.
12148 Use `get-window-with-predicate' to find for the next Dired window.
12149 (dired-dwim-target-defaults): New function.
12151 * ediff-util.el (ediff-read-file-name):
12152 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12153 in `minibuffer-with-setup-hook'.
12155 2009-11-25 Juri Linkov <juri@jurta.org>
12157 Provide additional default values (file name at point or at the
12158 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12160 * minibuffer.el (read-file-name-defaults): New function.
12161 (read-file-name): Reset `minibuffer-default' to nil when
12162 it duplicates initial input `insdef'.
12163 Bind `minibuffer-default-add-function' to lambda that
12164 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12165 (minibuffer-insert-file-name-at-point): New command.
12167 * files.el (file-name-at-point-functions): New defcustom.
12168 (find-file-default): Remove defvar.
12169 (find-file-read-args): Don't use `find-file-default'.
12170 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12171 to `read-file-name'.
12172 (find-file-literally): Use `read-file-name' with
12173 `confirm-nonexistent-file-or-buffer'.
12175 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12177 * dired.el (dired-read-dir-and-switches):
12178 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12179 to `read-file-name'.
12180 (dired-file-name-at-point): New function.
12181 (dired-mode): Add hook `dired-file-name-at-point' to
12182 `file-name-at-point-functions'.
12184 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12186 Really make the *Completions* window soft-dedicated (bug#5030).
12187 * window.el (window--display-buffer-2): Add `dedicated' argument.
12188 (display-buffer): Pass it when needed so the dedicated flag is set
12189 after calling set-window-buffer, which would otherwise reset it.
12191 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12193 * progmodes/meta-mode.el (meta-complete-symbol):
12194 * progmodes/etags.el (complete-tag):
12195 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12196 Use completion-in-region.
12198 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12199 (dabbrev-completion): Use completion-in-region.
12200 (dabbrev--abbrev-at-point): Simplify regexp.
12202 * abbrev.el (abbrev--before-point): Use word-motion functions
12203 if :regexp is not specified (bug#5031).
12205 * subr.el (string-prefix-p): New function.
12207 * man.el (Man-completion-cache): New var.
12208 (Man-completion-table): Use it.
12210 * vc.el (vc-print-log-internal): Make `limit' optional for better
12211 compatibility (e.g. with vc-annotate.el).
12213 2009-11-24 Kevin Ryde <user42@zip.com.au>
12215 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12216 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12218 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12219 when .el source file not found or other error.
12221 2009-11-24 Markus Triska <markus.triska@gmx.at>
12223 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12225 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12227 Handle the [back] button properly (bug#4979).
12228 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12229 Use help-setup-xref, help-buffer, and with-help-window.
12230 (describe-char): Add `buffer' argument.
12231 Pass proper command to help-setup-xref. Don't meddle with
12232 help-xref-stack-item directly.
12233 (describe-text-category): Use with-help-window and help-buffer.
12235 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12236 for the displayed buffer (bug#4887).
12238 * man.el (Man-completion-table): New function.
12241 2009-11-24 David Reitter <david.reitter@gmail.com>
12243 * vc-git.el (vc-git-registered): Use checkout directory (where
12244 .git is) rather than the file's directory and a relative path spec
12245 to work around a bug in git.
12247 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12249 Improve handling of processes on remote hosts.
12251 * eshell/esh-util.el (eshell-path-env): New defvar.
12252 (eshell-parse-colon-path): New defun.
12253 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12255 * eshell/esh-ext.el (eshell-search-path):
12256 Use `eshell-parse-colon-path'.
12257 (eshell-remote-command): Remove argument HANDLER.
12258 (eshell-external-command): Check for FTP remote connection.
12260 * eshell/esh-proc.el (eshell-gather-process-output):
12261 Use `file-truename', in order to start also symlinked files.
12262 Apply `start-file-process' instead of `start-process'.
12263 Shorten `command' to the local file name part.
12265 * eshell/em-cmpl.el (eshell-complete-commands-list):
12266 Use `eshell-parse-colon-path'.
12268 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12270 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12271 to `eshell-directory-change-hook'.
12273 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12275 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12276 because it could be enabled automatically if view-read-only is non-nil.
12278 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12280 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12281 made on 2009-11-22.
12283 2009-11-24 Glenn Morris <rgm@gnu.org>
12285 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12286 deleted variable bookmark-bmenu-bookmark-column.
12288 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12290 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12292 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12294 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12295 two slashes to the "file:" prefix.
12296 (browse-url-file-url): De-munge Cygwin filenames before passing
12297 them to Windows browser.
12298 (browse-url-default-windows-browser): Use call-process.
12300 2009-11-23 Juri Linkov <juri@jurta.org>
12302 Implement DocView Continuous mode. (Bug#4896)
12303 * doc-view.el (doc-view-continuous-mode): New defcustom.
12304 (doc-view-mode-map): Bind C-n/<down> to
12305 `doc-view-next-line-or-next-page', C-p/<up> to
12306 `doc-view-previous-line-or-previous-page'.
12307 (doc-view-next-line-or-next-page)
12308 (doc-view-previous-line-or-previous-page): New commands.
12310 2009-11-23 Juri Linkov <juri@jurta.org>
12312 Implement Isearch in comint input history. (Bug#3746)
12313 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12314 `isearch-mode-hook'.
12315 (comint-history-isearch): New defcustom.
12316 (comint-history-isearch-backward)
12317 (comint-history-isearch-backward-regexp): New commands.
12318 (comint-history-isearch-message-overlay): New buffer-local variable.
12319 (comint-history-isearch-setup, comint-history-isearch-end)
12320 (comint-goto-input, comint-history-isearch-search)
12321 (comint-history-isearch-message, comint-history-isearch-wrap)
12322 (comint-history-isearch-push-state)
12323 (comint-history-isearch-pop-state): New functions.
12325 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12327 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12329 (tramp-handle-make-symbolic-link)
12330 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12332 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12333 (tramp-handle-process-file): Use it.
12335 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12337 * window.el (move-to-window-line-last-op): Remove.
12338 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12340 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12342 Make M-r mirror the new cycling behavior of C-l.
12343 * window.el (move-to-window-line-last-op): New var.
12344 (move-to-window-line-top-bottom): New command.
12345 (global-map): Bind M-r move-to-window-line-top-bottom.
12347 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12349 * dired-x.el (dired-guess-shell-alist-default):
12350 Support xz format. (Bug#4953)
12352 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12354 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12355 last-command-char/last-command-event.
12356 (viper-prefix-arg-value): Do correct conversion of event-char for
12359 * emulation/viper-util.el, emulation/viper.el:
12360 Use viper-last-command-char instead of
12361 last-command-char/last-command-event.
12363 * ediff-init.el, ediff-mult.el, ediff-util.el:
12364 Replace last-command-char and last-command-event
12365 with (ediff-last-command-char) everywhere.
12367 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12368 created in fundamental mode.
12370 * ediff.el (ediff-version): Revert the change of interactive-p to
12371 called-interactively-p.
12373 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12375 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12376 generation from word-movement command names.
12378 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12380 * cus-start.el (all): Add native condition for font-use-system-font.
12382 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12384 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12385 Correct the patch from 2009-11-18. (Bug#3910)
12387 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12389 * progmodes/subword.el: Rename from lisp/subword.el.
12391 * subword.el: Rename to progmodes/subword.el.
12393 * Makefile.in (ELCFILES): Adapt to subword.el move.
12395 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12396 Stefan Monnier <monnier@iro.umontreal.ca>
12398 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12399 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12400 (bookmark-bmenu-show-filenames): Use push.
12401 (bookmark-bmenu-hide-filenames): Use local var instead of
12402 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12403 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12404 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12405 filenames now that the bookmark names are always available.
12407 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12409 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12410 (bookmark-search-pattern): Move and leave unbound.
12411 (bookmark-bmenu-mode-map): Change binding.
12412 (bookmark-read-search-input): Simplify.
12413 Don't use text-char-description. Don't error on non-char events.
12414 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12415 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12416 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12417 Use a local var for the timer.
12418 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12419 (i.e. bookmark-bmenu-search).
12421 2009-11-21 Glenn Morris <rgm@gnu.org>
12423 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12425 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12427 * net/browse-url.el (browse-url-default-windows-browser):
12428 Use cygstart for cygwin.
12430 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12432 * bookmark.el: Formatting and doc fixes only:
12433 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12434 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12435 Minor grammar and punctuation fixes in doc string.
12436 (bookmark-read-search-input): Adjust to fit within 80 columns.
12438 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12440 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12441 (c-backward-into-nomenclature): Adapt to subword renaming.
12443 * subword.el (subword-forward, subword-backward, subword-mark)
12444 (subword-kill, subword-backward-kill, subword-transpose)
12445 (subword-downcase, subword-upcase, subword-capitalize)
12446 (subword-forward-internal, subword-backward-internal):
12447 Rename from forward-subword, backward-subword, mark-subword,
12448 kill-subword, backward-kill-subword, transpose-subwords,
12449 downcase-subword, upcase-subword, capitalize-subword,
12450 forward-subword-internal, backward-subword-internal.
12452 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12454 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12456 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12458 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12459 (bookmark-bmenu-filter-alist-by-regexp)
12460 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12461 (bookmark-bmenu-search): New command.
12462 (bookmark-bmenu-mode-map): Bind it.
12464 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12466 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12467 backward-subword to quit the byte-compiler.
12469 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12471 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12473 * progmodes/cc-cmds.el (c-update-modeline)
12474 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12475 Refer to subword.el functions instead of cc-subword.el.
12477 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12478 subword.el functions instead of cc-subword.el.
12480 * progmodes/cc-subword.el: Rename to subword.el.
12481 * subword.el: Rename from progmodes/cc-subword.el.
12482 (subword-mode-map): Rename from c-subword-mode-map.
12483 (subword-mode): Rename from c-subword-mode.
12484 (global-subword-mode): New global minor mode.
12485 (forward-subword): Rename from c-forward-subword.
12486 (backward-subword): Rename from c-backward-subword.
12487 (mark-subword): Rename from c-mark-subword.
12488 (kill-subword): Rename from c-kill-subword.
12489 (backward-kill-subword): Rename from c-backward-kill-subword.
12490 (transpose-subwords): Rename from c-tranpose-subword.
12491 (downcase-subword): Rename from c-downcase-subword.
12492 (capitalize-subword): Rename from c-capitalize-subword.
12493 (forward-subword-internal): Rename from c-forward-subword-internal.
12494 (backward-subword-internal): Rename from c-backward-subword-internal.
12496 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12498 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12499 from a dired buffer.
12500 (vc-dired-deduce-fileset): New function.
12501 (vc-root-diff, vc-print-root-log): Use it.
12503 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12504 nil LIMIT argument to vc-print-log-internal.
12506 2009-11-20 Glenn Morris <rgm@gnu.org>
12508 * Makefile.in (ELCFILES): Regenerate.
12510 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12512 * calc/calc.el (calc-set-mode-line):
12513 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12514 (math-format-number): Rename `math-format-complement-signed' to
12515 `math-format-twos-complement'.
12517 * calc/calc-bin.el (math-format-twos-complement): Rename from
12518 math-format-complement-signed.
12519 (calc-radix): Rename `calc-complement-signed-mode' to
12520 `calc-twos-complement-mode'.
12521 (calc-octal-radix, calc-hex-radix): Add an argument for
12524 * calc/calc-embed.el (calc-embedded-mode-vars):
12525 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12527 * calc/calc-ext.el (calc-init-extensions):
12528 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12529 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12531 * calc/calc-units.el (math-build-units-table-buffer):
12532 Let `calc-twos-complement-mode' be nil.
12534 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12537 * calc/calc-vec.el (calcFunc-vunpack):
12538 * calc/calc-aent.el (calc-do-calc-eval):
12539 * calc/calc-forms.el (math-format-date):
12540 * calc/calc-graph.el (calc-graph-plot):
12541 * calc/calc-math.el (math-use-emacs-fn):
12542 * calc/calccomp.el (math-compose-expr):
12543 Let `calc-twos-complement-mode' be nil.
12545 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12547 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12548 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12549 * minibuffer.el (completion-in-region-functions): New hook.
12550 (completion-in-region): New function.
12551 * emacs-lisp/lisp.el (lisp-complete-symbol):
12552 * pcomplete.el (pcomplete-std-complete): Use it.
12554 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12556 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12557 (latex-complete-alist): New vars.
12558 (latex-string-prefix-p, latex-complete-bibtex-keys)
12559 (latex-complete-envnames, latex-complete-refkeys)
12560 (latex-complete-data): New functions.
12561 (latex-complete, latex-indent-or-complete): New commands.
12563 * window.el (display-buffer-mark-dedicated): New var.
12564 (display-buffer): Obey it.
12565 * minibuffer.el (minibuffer-completion-help): Use it.
12567 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12569 * filecache.el (file-cache-add-file): Use push and cons.
12570 (file-cache-delete-file-regexp): Use push.
12571 (file-cache-complete): Use completion-in-region.
12573 * simple.el (with-wrapper-hook): Fix thinko.
12575 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12576 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12577 Use with-current-buffer and string-to-number.
12578 (hfy-fallback-colour-values): Use assoc-string.
12579 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12580 (hfy-face-at): Remove unused var `found-face'.
12581 (hfy-compile-stylesheet): Remove unused var `css'.
12582 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12584 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12585 Use with-current-buffer.
12586 (hfy-text-p): Use expand-file-name and fewer setq.
12588 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12590 * htmlfontify.el, hfy-cmap.el: New files.
12592 2009-11-19 Juri Linkov <juri@jurta.org>
12594 * minibuffer.el (completions-format): New defcustom.
12595 (completion--insert-strings): Implement vertical format.
12597 * simple.el (switch-to-completions): Move point to the first
12598 completion when point was at the beginning of the buffer.
12600 2009-11-19 Juri Linkov <juri@jurta.org>
12602 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12604 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12606 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12608 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12609 (mail-signature): Change default to t.
12610 (mail-from-style): Deprecate `system-default' value.
12611 (mail-insert-from-field): For default value of mail-from-style,
12612 default to `angles' unless `angles' needs quoting and `parens'
12614 (mail-citation-prefix-regexp): Use citation regexp from
12617 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12619 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12620 Set variables for computing the prompt for reading password.
12622 2009-11-19 Glenn Morris <rgm@gnu.org>
12624 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12626 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12628 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12629 (newsticker-treeview-listwindow-height): Fix custom type.
12631 2009-11-19 Kenichi Handa <handa@m17n.org>
12633 * descr-text.el (describe-char-padded-string): Compose with TAB
12634 only if there's a font for CH.
12635 (describe-char): Fix the condition for detecting a trivial composition.
12637 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12639 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12640 more accurate version of the regexp. (Bug#3910)
12642 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12644 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12646 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12648 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12649 (font-setting-change-default-font): Fix typo in docstring.
12651 2009-11-18 Alan Mackenzie <acm@muc.de>
12653 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12655 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12657 * font-setting.el (font-use-system-font): Move ...
12659 * cus-start.el (all): ... to here.
12661 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12663 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12664 Don't set `ad-return-value' if `ad-do-it' doesn't.
12666 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12669 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12671 * menu-bar.el: Put "Use system font" in Option-menu.
12672 (menu-bar-options-save): Add font-use-system-font.
12674 * loadup.el: If feature system-font-setting or font-render-setting is
12675 there, load font-setting.
12677 * Makefile.in (ELCFILES): Add font-settings.el.
12678 * font-setting.el: New file.
12680 2009-11-17 Glenn Morris <rgm@gnu.org>
12682 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12684 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12685 Preserve point in the list buffer. (Bug#4939)
12687 (newsticker--treeview-list-update-highlight)
12688 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12690 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12692 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12695 * calc/calc-ext.el (calc-init-extensions): Remove references to
12698 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12700 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12701 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12704 2009-11-16 Kevin Ryde <user42@zip.com.au>
12706 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12707 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12709 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12710 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12711 Ignore trailing spaces by omit-nulls to split-string (fixing
12712 regression from Emacs 21 due to the incompatible split-string
12713 change). (Bug #4928.)
12715 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12717 * vc.el (vc-log-show-limit): Default to 2000.
12718 (vc-print-log-internal): Insert buttons to request more entries
12719 when limiting the output.
12721 * vc-sccs.el (vc-sccs-print-log):
12722 * vc-rcs.el (vc-rcs-print-log):
12723 * vc-cvs.el (vc-cvs-print-log):
12724 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12727 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12729 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12730 error when `tramp-gvfs-dbus-event-vector' is set.
12731 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12733 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12735 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12737 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12739 * net/dbus.el (dbus-unregister-service): New defun.
12740 (dbus-register-property): Register the handlers of
12741 "org.freedesktop.DBus.Properties" for SERVICE.
12742 (dbus-property-handler): Fix docstring.
12744 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12746 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12747 Quote doc string reference in defvaralias as it is not in special form.
12748 (byte-compile-output-docform): Doc fix.
12750 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12752 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12753 (calc-complement-signed-mode): New variables.
12754 (calc-set-mode-line): Add indicator for twos-complements.
12755 (math-format-number): Format twos-complement notation.
12757 * calc/calc-bin.el (calc-word-size): Reset the variables
12758 `math-2-word-size' and `math-half-2-word-size'.
12759 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12760 (calc-symclip): New functions.
12762 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12764 * calc/calc-embed.el (calc-embedded-mode-vars):
12765 Add `calc-complement-signed-mode' to the list of modes.
12767 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12768 (calc-b-oper-keys): Add `calc-symclip' to list.
12770 * calc/calc-ext.el (math-read-number-fancy): Read complement
12772 (calc-init-extensions): Add binding for `calc-symclip'.
12773 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12775 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12777 (calc-modes-menu): Add item for twos complement mode.
12779 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12781 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12783 * register.el (jump-to-register, insert-register): Handle Semantic
12784 tags. From commented-out advice in semantic/senator.el.
12786 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12788 * vc.el (vc-log-show-limit): New variable.
12789 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12790 when using a prefix argument.
12791 (vc-print-log-internal): Add new argument LIMIT.
12793 * vc-svn.el (vc-svn-print-log):
12794 * vc-mtn.el (vc-mtn-print-log):
12795 * vc-hg.el (vc-hg-print-log):
12796 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12797 pass it to the log command when set. Make the BUFFER argument
12800 * vc-sccs.el (vc-sccs-print-log):
12801 * vc-rcs.el (vc-rcs-print-log):
12802 * vc-git.el (vc-git-print-log):
12803 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12804 ignore it. Make the BUFFER argument non-optional
12806 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12808 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12810 * dired.el (dired-mode-map): Move encryption items to "Operate"
12813 * strokes.el (strokes-update-window-configuration): Make strokes
12814 buffer current before erasing (Bug#4906).
12816 2009-11-15 Juri Linkov <juri@jurta.org>
12818 * simple.el (set-mark-default-inactive): Add :type, :group
12819 and :version. (Bug#4876)
12821 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12823 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12824 (archive-unique-fname): ... here. (Bug#4929)
12826 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12828 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12831 * novice.el (disabled-command-function): Add useful args.
12832 Setup the help buffer so that [back] works.
12833 Remove redundant call to help-mode.
12834 (disabled-command-function): Use `case'.
12835 (en/disable-command): New function extracted from enable-command.
12836 (enable-command, disable-command): Use it.
12838 2009-11-14 Glenn Morris <rgm@gnu.org>
12840 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12841 constants. (Bug#4913)
12843 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12845 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12847 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12848 defined in C that have no doc-strings. (Bug#1063)
12850 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12852 * cus-edit.el (data, files):
12853 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12855 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12857 * simple.el (shell-command): Doc fix (Bug#4891).
12859 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12861 2009-11-14 Glenn Morris <rgm@gnu.org>
12863 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12864 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12865 If they are already loaded, eval-after-load will do the right thing.
12867 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12870 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12872 * simple.el (x-selection-owner-p): Declare.
12873 (read-mail-command): Use custom radio type rather than choice.
12874 (completion-no-auto-exit): Doc fix.
12876 * custom.el (defgroup):
12877 * epg-config.el (epg): Doc fixes.
12879 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12881 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12882 * international/ccl.el (define-ccl-program): Do not purecopy the
12883 docstring, defconst does it anyway.
12885 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12887 * add-log.el (add-change-log-entry): Avoid displaying the changelog
12890 * x-dnd.el (x-dnd-maybe-call-test-function):
12891 * window.el (split-window-vertically):
12892 * whitespace.el (whitespace-help-on):
12893 * vc-rcs.el (vc-rcs-consult-headers):
12894 * userlock.el (ask-user-about-lock-help)
12895 (ask-user-about-supersession-help):
12896 * type-break.el (type-break-force-mode-line-update):
12897 * time-stamp.el (time-stamp-conv-warn):
12898 * terminal.el (te-set-output-log, te-more-break, te-filter)
12899 (te-sentinel, terminal-emulator):
12900 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12901 (term-write-input-ring, term-check-source, term-start-output-log):
12902 (term-display-buffer-line, term-dynamic-list-completions):
12903 (term-ansi-make-term, serial-term):
12904 * subr.el (selective-display):
12905 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12906 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12907 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12908 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12909 (speedbar-remove-localized-speedbar-support)
12910 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12911 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12912 (speedbar-buffers-line-directory):
12913 * simple.el (shell-command-on-region, append-to-buffer)
12914 (prepend-to-buffer):
12915 * shadowfile.el (shadow-save-todo-file):
12916 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12917 (scroll-bar-maybe-set-window-start):
12918 * sb-image.el (speedbar-image-dump):
12919 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12920 (load-save-place-alist-from-file):
12921 * ps-samp.el (ps-print-message-from-summary):
12922 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12923 (ps-background-image, ps-begin-job, ps-do-despool):
12924 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12925 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12926 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12927 (pr-call-process, pr-file-list, pr-interface-save):
12928 * novice.el (disabled-command-function)
12929 (enable-command, disable-command):
12930 * mouse.el (mouse-buffer-menu-alist):
12931 * mouse-copy.el (mouse-kill-preserving-secondary):
12932 * macros.el (kbd-macro-query):
12933 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12934 * informat.el (batch-info-validate):
12935 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12936 * hippie-exp.el (try-expand-dabbrev-visible):
12937 * help-mode.el (help-make-xrefs):
12938 * help-fns.el (describe-variable):
12939 * generic-x.el (bat-generic-mode-run-as-comint):
12940 * finder.el (finder-mouse-select):
12941 * find-dired.el (find-dired-sentinel):
12942 * filesets.el (filesets-file-close):
12943 * files.el (list-directory):
12944 * faces.el (list-faces-display, describe-face):
12945 * facemenu.el (list-colors-display):
12946 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12947 * epg.el (epg--process-filter, epg-cancel):
12948 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12949 (epa--read-signature-type):
12950 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12951 (emerge-file-names):
12952 * ehelp.el (electric-helpify):
12953 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12954 * ediff-vers.el (rcs-ediff-view-revision):
12955 * ediff-util.el (ediff-setup):
12956 * ediff-mult.el (ediff-append-custom-diff):
12957 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12959 * echistory.el (Electric-command-history-redo-expression):
12960 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12961 * disp-table.el (describe-display-table):
12962 * dired.el (dired-find-buffer-nocreate):
12963 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12964 * dabbrev.el (dabbrev--same-major-mode-p):
12965 * chistory.el (list-command-history):
12966 * apropos.el (apropos-documentation):
12967 * allout.el (allout-obtain-passphrase):
12968 (allout-copy-exposed-to-buffer):
12969 (allout-verify-passphrase): Use with-current-buffer.
12971 2009-11-13 Glenn Morris <rgm@gnu.org>
12973 * Makefile.in (ELCFILES): Regenerate.
12975 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
12977 * net/dbus.el (dbus-registered-objects-table): Rename from
12978 `dbus-registered-functions-table', because it contains also properties.
12979 (dbus-unregister-object): Unregister also properties.
12980 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12981 Use a timeout of 500 msec, in order to not block.
12982 (dbus-register-property, dbus-property-handler): New defuns.
12984 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12986 * simple.el (minibuffer-default-add-completions): Drop deprecated
12989 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
12991 * textmodes/artist.el (artist-mouse-choose-operation):
12992 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12993 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12994 (artist-compute-up-event-key): New function.
12995 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12997 2009-11-13 Kenichi Handa <handa@m17n.org>
12999 * language/japan-util.el: Make sure that the value of jisx0208
13000 property is jisx0208 character.
13002 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13004 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13005 car or each item, not the whole list.
13007 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13009 * minibuffer.el (minibuffer-completion-help):
13010 Use minibuffer-hide-completions.
13012 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13014 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13015 (dired-revert): Use them (bug#4880).
13017 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13019 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13021 2009-11-12 Juri Linkov <juri@jurta.org>
13023 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13025 (find-file-literally-at-point): Alias of `ffap-literally'.
13027 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13029 * textmodes/ispell.el (ispell-skip-region-alist):
13030 * textmodes/css-mode.el (auto-mode-alist):
13031 * progmodes/compile.el (auto-mode-alist):
13032 * international/mule.el (ctext-non-standard-encodings-alist)
13033 (ctext-non-standard-encodings-regexp):
13034 * simple.el (shell-command-switch, text-read-only):
13035 * replace.el (occur-mode-map):
13036 * paths.el (rmail-file-name):
13037 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13038 * find-file.el (ff-special-constructs):
13039 * files.el (file-name-handler-alist):
13040 * composite.el: Purecopy strings.
13042 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13044 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13046 * widget.el (define-widget): Purecopy the docstring.
13047 * international/mule-cmds.el (charset): Do not purecopy the
13048 docstring here, define-widget does it.
13050 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13051 * textmodes/bibtex-style.el (auto-mode-alist):
13052 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13053 * progmodes/compile.el (compile-command):
13054 * language/korea-util.el (default-korean-keyboard):
13055 * international/mule-conf.el (file-coding-system-alist):
13056 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13057 * tooltip.el (tooltip-frame-parameters):
13058 * newcomment.el (comment-end, comment-padding):
13059 * dired.el (dired-trivial-filenames):
13060 * comint.el (comint-file-name-prefix): Purecopy initial values.
13062 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13064 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13065 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13067 (tramp-advice-make-auto-save-file-name)
13068 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13069 after removing the advice.
13071 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13073 * progmodes/grep.el (grep-regexp-alist):
13074 * international/mule-cmds.el (iso-2022-control-alist):
13075 * emacs-lisp/timer.el (timer-duration-words):
13076 * subr.el (version-separator, version-regexp-alist):
13077 * minibuffer.el (completion-styles-alist):
13078 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13079 Change defvars to defconsts.
13081 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13082 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13083 * international/mule-conf.el: Allow to be byte compiled.
13085 * international/mule.el (define-charset): Purecopy props.
13086 (load-with-code-conversion): Purecopy doc string and file name.
13087 (put-charset-property): Purecopy strings.
13088 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13090 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13091 (define-char-code-property): Correctly purecopy the table.
13093 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13095 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13097 * subr.el (add-hook): Purecopy strings.
13098 (eval-after-load): Purecopy load-history-regexp and the form.
13100 * custom.el (custom-declare-group): Purecopy load-file-name.
13102 * subr.el (menu-bar-separator): New defconst.
13103 * net/eudc.el (eudc-tools-menu):
13104 * international/mule-cmds.el (set-coding-system-map)
13105 (mule-menu-keymap):
13106 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13107 * vc-hooks.el (vc-menu-map):
13108 * replace.el (occur-mode-map):
13109 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13110 (menu-bar-edit-menu, menu-bar-goto-menu)
13111 (menu-bar-custom-menu, menu-bar-showhide-menu)
13112 (menu-bar-options-menu, menu-bar-tools-menu)
13113 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13114 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13115 (menu-bar-help-menu):
13116 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13117 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13119 * term/x-win.el (x-gtk-stock-map):
13120 * progmodes/vera-mode.el (auto-mode-alist):
13121 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13122 (inferior-lisp-program, inferior-lisp-load-command):
13123 * progmodes/hideshow.el (hs-special-modes-alist):
13124 * progmodes/gud.el (same-window-regexps):
13125 * progmodes/grep.el (grep-program, find-program, xargs-program):
13126 * net/telnet.el (same-window-regexps):
13127 * net/rlogin.el (same-window-regexps):
13128 * language/ethiopic.el (font-ccl-encoder-alist):
13129 * vc-sccs.el (vc-sccs-master-templates):
13130 * vc-rcs.el (vc-rcs-master-templates):
13131 * subr.el (cl-assertion-failed):
13132 * simple.el (next-error-overlay-arrow-position):
13133 * lpr.el (lpr-command):
13134 * locate.el (locate-ls-subdir-switches):
13135 * info.el (same-window-regexps, info)
13136 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13137 * image-mode.el (image-mode, auto-mode-alist):
13138 * hippie-exp.el (hippie-expand-ignore-buffers):
13139 * format.el (format-alist):
13140 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13142 * facemenu.el (facemenu-keybindings):
13143 * dired.el (dired-listing-switches, dired-chown-program):
13144 * diff.el (diff-switches, diff-command):
13145 * cus-edit.el (same-window-regexps):
13146 * bindings.el (mode-line-mule-info)
13147 (mode-line-buffer-identification): Purecopy strings.
13149 2009-11-11 Juri Linkov <juri@jurta.org>
13151 * simple.el (dired-get-filename) <declare-function>:
13152 Tell the byte-compiler about dired-get-filename.
13153 (shell-command): In Dired mode, get filename from the current line
13154 as the default value.
13156 2009-11-10 Glenn Morris <rgm@gnu.org>
13158 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13159 * calendar/holidays.el, progmodes/cperl-mode.el:
13160 Update x-popup-menu declarations.
13162 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13163 (list-load-path-shadows): Use dolist.
13164 (list-load-path-shadows): Use with-current-buffer.
13166 2009-11-10 Juri Linkov <juri@jurta.org>
13168 * minibuffer.el (read-file-name): Support a list of default values
13169 in `default-filename'. Use the first file name where only one
13170 element is required. Doc fix.
13172 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13174 * net/dbus.el (dbus-unregister-object): Release service, if no
13175 other method is registered for it.
13177 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13179 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13180 bookmark-sort-flag is non-nil (Bug#4653).
13182 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13184 * emulation/cua-base.el: Add CUA property to some CC mode commands
13187 2009-11-08 Kevin Ryde <user42@zip.com.au>
13189 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13190 at end of sentence (Bug#4818).
13192 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13194 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13195 Handle "see declaration of" MSFT statements (Bug#4100).
13197 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13199 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13200 (tramp-advice-file-expand-wildcards): Unload via
13201 `ad-remove-advice'.
13203 * net/trampver.el: Update release number.
13205 2009-11-08 Kevin Ryde <user42@zip.com.au>
13207 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13210 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13212 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13213 in order to keep context in SELinux.
13215 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13217 * dired-aux.el (dired-query): Place cursor in echo area and allow
13220 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13221 menu item if not on a directory (Bug#4701).
13223 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13225 Sync with Tramp 2.1.17.
13227 * net/tramp.el (tramp-handle-copy-directory): Don't use
13228 `file-remote-p' (due to compatibility).
13230 * net/tramp-compat.el (tramp-compat-copy-directory)
13231 (tramp-compat-delete-directory): New defuns.
13233 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13234 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13235 Use `tramp-compat-delete-directory'.
13237 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13238 (tramp-smb-handle-delete-directory):
13239 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13241 * net/trampver.el: Update release number.
13243 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13245 * tar-mode.el (tar-copy): Call write-region on the right buffer
13248 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13249 by hand, if necessary (Bug#4878).
13251 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13253 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13254 align size column (Bug#4839).
13256 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13259 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13261 * progmodes/ld-script.el (auto-mode-alist):
13262 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13264 * cus-face.el (custom-declare-face): Purecopy face spec.
13266 2009-11-06 Kenichi Handa <handa@m17n.org>
13268 * international/uni-bidi.el: Re-generated.
13269 * international/uni-category.el: Re-generated.
13270 * international/uni-combining.el: Re-generated.
13271 * international/uni-mirrored.el: Re-generated.
13273 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13275 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13276 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13277 (tex-start-options, slitex-run-command, latex-run-command)
13278 (tex-run-command, tex-directory):
13279 * textmodes/ispell.el (ispell-html-skip-alists)
13280 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13281 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13282 (adaptive-fill-regexp):
13283 * textmodes/dns-mode.el (auto-mode-alist):
13284 * progmodes/python.el (interpreter-mode-alist):
13285 * progmodes/etags.el (tags-compression-info-list):
13286 * progmodes/etags.el (tags-file-name):
13287 * net/browse-url.el (browse-url-galeon-program)
13288 (browse-url-firefox-program):
13289 * mail/sendmail.el (mail-signature-file)
13290 (mail-citation-prefix-regexp):
13291 * international/mule-conf.el (eight-bit):
13292 * international/latexenc.el (latex-inputenc-coding-alist):
13293 * international/fontset.el (x-pixel-size-width-font-regexp):
13294 * emacs-lisp/warnings.el (warning-type-format):
13295 * emacs-lisp/trace.el (trace-buffer):
13296 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13297 (emacs-lisp-mode-map):
13298 * calendar/holidays.el (holiday-solar-holidays)
13299 (holiday-bahai-holidays, holiday-islamic-holidays)
13300 (holiday-christian-holidays, holiday-hebrew-holidays)
13301 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13302 (hebrew-holidays-1, holiday-oriental-holidays)
13303 (holiday-general-holidays):
13304 * x-dnd.el (x-dnd-known-types):
13305 * tool-bar.el (tool-bar):
13306 * startup.el (site-run-file):
13307 * shell.el (shell-dumb-shell-regexp):
13308 * rfn-eshadow.el (file-name-shadow-tty-properties)
13309 (file-name-shadow-properties):
13310 * paths.el (remote-shell-program, news-directory):
13311 * mouse.el ([C-down-mouse-3]):
13312 * menu-bar.el (menu-bar-tools-menu):
13313 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13314 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13315 (jka-compr-compression-info-list):
13316 * isearch.el (search-whitespace-regexp):
13317 * image-file.el (image-file-name-extensions):
13318 * find-dired.el (find-ls-option):
13319 * files.el (directory-listing-before-filename-regexp)
13320 (directory-free-space-args, insert-directory-program)
13321 (list-directory-brief-switches, magic-fallback-mode-alist)
13322 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13323 (automount-dir-prefix):
13324 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13325 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13326 (face-font-registry-alternatives, face-font-registry-alternatives)
13327 (face-font-family-alternatives):
13328 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13329 (facemenu-foreground-menu, facemenu-face-menu):
13330 * epa-hook.el (epa-file-name-regexp):
13331 * dnd.el (dnd-protocol-alist):
13332 * textmodes/rst.el (auto-mode-alist):
13333 * button.el (default-button): Purecopy strings.
13335 2009-11-06 Glenn Morris <rgm@gnu.org>
13337 * Makefile.in (ELCFILES): Update.
13339 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13341 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13342 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13344 * nxml/xsd-regexp.el (xsdre-gen-categories):
13345 * nxml/xmltok.el (xmltok-parse-entity):
13346 * nxml/rng-parse.el (rng-parse-validate-file):
13347 * nxml/rng-maint.el (rng-format-manual)
13348 (rng-manual-output-force-new-line):
13349 * nxml/rng-loc.el (rng-save-schema-location-1):
13350 * nxml/rng-cmpct.el (rng-c-parse-file):
13351 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13352 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13354 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13356 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13357 Remove extra save-excursions and make-variable-buffer-local's.
13358 Suggested by Stefan Monnier.
13360 (verilog-getopt-file, verilog-module-inside-filename-p)
13361 (verilog-set-define): Merge GNU 1.35 and repair changes from
13362 switching to using with-current-buffer.
13364 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13365 being treated as a number and confusing AUTORESET.
13366 Reported by Dan Dever.
13368 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13369 Add verilog-auto-ignore-concat to fix backward compatibility with
13370 older verilog-modes. Reported by Dan Katz.
13372 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13373 containing closing anchors "...$".
13375 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13376 Reported by Wade Smith.
13378 (verilog-batch-execute-func): Comment on function usage.
13380 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13382 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13385 (verilog-label-re, verilog-calc-1): Support proper indent of named
13388 (verilog-backward-token, verilog-basic-complete-re)
13389 (verilog-beg-of-statement, verilog-indent-re): Support proper
13390 indent of the assert statement at the beginning of a block of text.
13392 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13393 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13396 2009-11-05 Glenn Morris <rgm@gnu.org>
13398 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13399 Emacs 19. (Bug#1531)
13400 (byte-compile-fix-header): Update for the above change.
13401 Drop test for epoch::version.
13403 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13404 * cus-dep.el (custom-make-dependencies):
13405 * finder.el (finder-compile-keywords):
13406 Use autoload-rubric's feature argument.
13408 * calendar/diary-lib.el (top-level): Make load behave more like require.
13410 * vc-git.el (vc-git-stash-map): Move definition before use.
13412 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13414 * custom.el (custom-declare-group): Purecopy standard-value.
13415 (custom-declare-group): Purecopy custom-prefix.
13417 * international/mule.el (load-with-code-conversion):
13418 Call do-after-load-evaluation unconditionally.
13420 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13422 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13424 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13426 2009-11-04 Glenn Morris <rgm@gnu.org>
13428 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13429 (byte-compile-compatibility): Remove option.
13430 (byte-compile-close-variables, byte-compile-fix-header)
13431 (byte-compile-insert-header, byte-compile-output-docform)
13432 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13433 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13434 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13435 (byte-compile-insert, byte-compile-defun):
13436 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13437 (byte-defop-compiler19): Remove.
13438 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13439 used by anything. Replace all calls with byte-defop-compiler.
13441 2009-11-04 Juri Linkov <juri@jurta.org>
13443 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13444 (menu-bar-options-menu): Don't quote the `prop' arg of
13445 `menu-bar-make-mm-toggle'.
13447 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13449 * calendar/calendar.el (cal-loaddefs):
13450 * calendar/diary-lib.el (diary-loaddefs):
13451 * calendar/holidays.el (hol-loaddefs):
13452 * eshell/esh-module.el (esh-groups): Load rather than require.
13454 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13456 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13458 (todo-top-priorities): Only display-buffer when called interactively.
13459 (todo-item-start): Don't save excursion point.
13460 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13461 (todo-insert-item-here, todo-file-item, todo-remove-item):
13462 Adjust uses of todo-item-start and todo-item-end.
13464 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13465 (autoload-rubric): Don't use any more.
13467 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13468 and only put a prop if it is non-nil.
13470 2009-11-03 Juri Linkov <juri@jurta.org>
13472 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13473 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13475 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13476 and "Menu" to make top-level menu item visually one unit (like
13477 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13478 multi-word menu items). Fix :help string for quit-window.
13480 2009-11-03 Glenn Morris <rgm@gnu.org>
13482 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13483 (byte-compile-file-form-define-abbrev-table)
13484 (byte-compile-file-form-custom-declare-variable)
13485 (byte-compile-variable-ref, byte-compile-defvar):
13486 Whether or not a warning is enabled should only affect whether we issue
13487 the warning, not whether or not we collect the relevant data.
13488 Eg warnings can be turned on and off throughout the course of a file.
13490 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13491 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13493 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13495 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13496 * play/mpuz.el (mpuz-create-buffer):
13497 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13498 (lm-print-y,s,noise, lm-print-w0, lm-init):
13499 * play/gomoku.el (gomoku-prompt-for-move):
13500 * play/fortune.el (fortune-in-buffer):
13501 * play/dissociate.el (dissociated-press):
13502 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13503 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13504 * mail/supercite.el (sc-eref-show):
13505 * mail/smtpmail.el (smtpmail-send-it):
13506 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13507 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13508 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13509 (rmail-summary-goto-msg, rmail-summary-expunge)
13510 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13511 (rmail-summary-add-label, rmail-summary-output-menu)
13512 (rmail-summary-output-body):
13513 * mail/rfc822.el (rfc822-addresses):
13514 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13515 * mail/mailpost.el (post-mail-send-it):
13516 * mail/hashcash.el (hashcash-generate-payment):
13517 * mail/feedmail.el (feedmail-run-the-queue)
13518 (feedmail-queue-send-edit-prompt-help-first)
13519 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13520 (feedmail-deduce-address-list):
13521 * eshell/esh-ext.el (eshell-remote-command):
13522 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13523 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13524 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13525 (viper-save-string-in-file, viper-valid-marker):
13526 * emulation/viper-keym.el (viper-toggle-key):
13527 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13528 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13529 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13530 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13531 (viper-exec-form-in-emacs, viper-brac-function):
13532 * emulation/viper.el (viper-delocalize-var):
13533 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13534 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13535 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13536 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13537 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13538 * emulation/edt.el (edt-electric-helpify):
13539 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13540 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13541 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13542 (cua-indent-to-global-mark-column):
13543 * calendar/diary-lib.el (calendar-mark-1):
13544 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13545 Use with-current-buffer.
13546 * emulation/viper.el (viper-delocalize-var): Use dolist.
13548 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13550 * comint.el (comint-replace-by-expanded-history-before-point):
13551 Replace !! with the previous input string literally (Bug#1795).
13553 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13555 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13556 to be made up of whitespace.
13558 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13560 * minibuffer.el (read-file-name): Don't use file dialogs for
13561 remote directories (Bug#99).
13563 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13565 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13567 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13569 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13570 instead of deleting the window or frame.
13572 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13574 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13575 Support face colors.
13577 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13578 New function. Support face colors (Bug#1168).
13579 (tex-common-initialization): Use it.
13581 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13582 mode allows it (Bug#1168).
13584 2009-10-31 Juri Linkov <juri@jurta.org>
13586 * facemenu.el (list-colors-display): Don't mark buffer as
13587 modified (Bug#3948).
13589 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13591 * international/mule-diag.el (list-character-sets-1):
13592 Minor message fix (Bug#3526).
13594 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13595 Fix face property (Bug#4834).
13596 (etags-list-tags, etags-tags-apropos-additional)
13597 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13600 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13603 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13605 * textmodes/two-column.el (2C-split):
13606 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13607 * textmodes/tex-mode.el (tex-set-buffer-directory):
13608 * textmodes/spell.el (spell-region, spell-string):
13609 * textmodes/reftex.el (reftex-erase-buffer):
13610 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13611 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13612 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13613 (reftex-select-item):
13614 * textmodes/reftex-ref.el (reftex-label-info-update)
13615 (reftex-offer-label-menu):
13616 * textmodes/reftex-index.el (reftex-index-change-entry)
13617 (reftex-index-phrases-info):
13618 * textmodes/reftex-global.el (reftex-create-tags-file)
13619 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13620 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13621 (reftex-view-crossref-from-bibtex):
13622 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13623 (reftex-extract-bib-entries-from-thebibliography)
13624 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13625 * textmodes/refbib.el (r2b-capitalize-title):
13626 (r2b-convert-buffer, r2b-help):
13627 * textmodes/page-ext.el (pages-directory)
13628 (pages-directory-goto-with-mouse):
13629 * textmodes/bibtex.el (bibtex-validate-globally):
13630 * textmodes/bib-mode.el (bib-capitalize-title):
13631 * textmodes/artist.el (artist-clear-buffer, artist-system):
13632 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13633 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13634 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13635 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13636 (xscheme-send-control-g-interrupt, xscheme-start-process)
13637 (xscheme-process-sentinel, xscheme-cd):
13638 * progmodes/verilog-mode.el (verilog-read-always-signals)
13639 (verilog-set-define, verilog-getopt-file)
13640 (verilog-module-inside-filename-p):
13641 * progmodes/sh-script.el:
13642 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13643 (python-pdbtrack-grub-for-buffer, python-execute-file):
13644 * progmodes/octave-inf.el (inferior-octave):
13645 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13646 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13647 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13648 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13649 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13650 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13651 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13652 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13653 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13654 (idlwave-shell-examine-display, idlwave-shell-run-region)
13655 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13656 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13657 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13658 (idlwave-help-get-help-buffer):
13659 * progmodes/gud.el (gud-basic-call, gud-find-class)
13660 (gud-tooltip-activate-mouse-motions-if-enabled):
13661 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13662 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13663 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13664 (ebrowse-tags-next-file):
13665 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13666 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13667 (ebnf-eps-finish-and-write):
13668 * progmodes/cpp.el (cpp-edit-save):
13669 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13670 * progmodes/cc-defs.el (c-emacs-features):
13671 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13672 (antlr-directory-dependencies):
13673 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13674 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13675 (ada-find-any-references, ada-make-filename-from-adaname)
13676 (ada-make-body-gnatstub):
13677 * obsolete/rnews.el (news-list-news-groups):
13678 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13679 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13680 * net/rcirc.el (rcirc-debug):
13681 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13682 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13683 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13684 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13685 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13686 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13687 (newsticker--treeview-list-clear-highlight)
13688 (newsticker--treeview-list-update-highlight)
13689 (newsticker--treeview-list-highlight-start)
13690 (newsticker--treeview-tree-update-highlight)
13691 (newsticker--treeview-get-selected-item)
13692 (newsticker-treeview-mark-list-items-old)
13693 (newsticker--treeview-set-current-node):
13694 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13695 * net/newst-backend.el (newsticker--get-news-by-funcall)
13696 (newsticker--get-news-by-wget, newsticker--image-get)
13697 (newsticker--image-sentinel):
13698 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13699 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13700 (eudc-ph-close-session):
13701 * net/eudc.el (eudc-save-options):
13702 * language/thai-word.el (thai-update-word-table):
13703 * language/japan-util.el (japanese-string-conversion):
13704 * international/titdic-cnv.el (tsang-quick-converter)
13705 (ziranma-converter, ctlau-converter):
13706 * international/mule-cmds.el (describe-language-environment):
13707 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13708 (skkdic-convert-postfix, skkdic-convert-prefix):
13709 (skkdic-convert-okuri-nasi, skkdic-convert):
13710 * emacs-lisp/re-builder.el (reb-update-overlays):
13711 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13712 * emacs-lisp/gulp.el (gulp-send-requests):
13713 * emacs-lisp/find-gc.el (trace-call-tree):
13714 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13715 (eieio-describe-generic):
13716 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13717 * emacs-lisp/edebug.el (edebug-outside-excursion):
13718 * emacs-lisp/debug.el (debugger-make-xrefs):
13719 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13720 * emacs-lisp/chart.el (chart-new-buffer):
13721 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13722 Use with-current-buffer.
13723 * textmodes/artist.el (artist-system): Don't call
13724 copy-sequence on a fresh string.
13725 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13727 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13729 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13730 is no item to edit. (Bug#4820)
13731 (todo-top-priorities): Restore point and restore narrowing in Todo
13734 2009-10-31 Glenn Morris <rgm@gnu.org>
13736 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13737 (comint-last-output-start, comint-last-input-start)
13738 (comint-last-input-end): Don't defvar when compiling.
13739 (ange-ftp-process-file): Use bound-and-true-p.
13741 * pcmpl-rpm.el (top-level): Move provide statement to end.
13742 (pcmpl-rpm): Remove unused custom group.
13744 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13746 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13748 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13749 (byte-compile-warnings): Add `constants' as an option.
13750 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13751 (display-call-tree): Update for byte-compile-fdefinition possibly
13752 returning `(macro lambda ...)'. (Bug#4778)
13753 (byte-compile-variable-ref, byte-compile-setq-default):
13754 Respect `constants' member of byte-compile-warnings.
13756 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13758 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13759 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13762 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13764 * textmodes/ispell.el (ispell-skip-region-alist):
13765 * international/mule-conf.el (eight-bit):
13766 * international/fontset.el (font-encoding-alist):
13767 * startup.el (pure-space-overflow-message):
13768 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13769 * paths.el (gnus-nntp-service, rmail-spool-directory)
13770 (term-file-prefix):
13771 * files.el (save-some-buffers-action-alist):
13772 * cmuscheme.el (same-window-buffer-names):
13773 * ielm.el (same-window-buffer-names):
13774 * shell.el (same-window-buffer-names):
13775 * mail/sendmail.el (same-window-buffer-names):
13776 * progmodes/inf-lisp.el (same-window-buffer-names):
13777 * bindings.el (mode-line-client)
13778 (mode-line-column-line-number-mode-map):
13779 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13780 (tibetan-precomposed-regexp): Purecopy string arguments.
13782 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13784 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13785 (calcDigit-nondigit):
13786 * calc/calc-yank.el (calc-copy-to-buffer):
13787 * calc/calc-units.el (calc-invalidate-units-table):
13788 * calc/calc-trail.el (calc-trail-yank):
13789 * calc/calc-store.el (calc-insert-variables):
13790 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13791 * calc/calc-prog.el (calc-read-parse-table):
13792 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13793 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13794 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13795 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13796 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13797 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13798 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13799 * calc/calc-ext.el (calc-realign):
13800 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13801 (calc-embedded-finish-edit, calc-embedded-make-info)
13802 (calc-embedded-finish-command, calc-embedded-stack-change):
13803 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13805 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13806 shell-dynamic-complete-filename in preference to
13807 comint-dynamic-complete-filename.
13809 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13810 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13811 Don't consider whether the display supports colors.
13812 (bookmark-import-new-list): Use dolist.
13813 (bookmark-bmenu-mode-map): Move initialization into declaration.
13814 (bookmark-bmenu-list): Use dolist, simplify.
13815 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13816 (menu-bar-final-items): Use push.
13818 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13820 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13821 it works on remote files.
13822 (vc-hg-diff): Don't pass any `--cwd' argument.
13824 2009-10-27 Kevin Ryde <user42@zip.com.au>
13826 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13827 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13828 (Further to Bug#3921).
13830 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13832 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13833 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13834 calling `tramp-imap-put-file'. Add file size to the call.
13835 (tramp-imap-get-file-entries): Compute also user name, file size,
13837 (tramp-imap-handle-insert-directory): Insert uid and gid.
13838 (tramp-imap-handle-file-attributes): Transform uid and gid
13839 according to `id-format'.
13840 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13841 size in header X-Size.
13843 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13845 * simple.el (transpose-subr): Give clearer error when the mark
13846 is not set. (Bug#4807)
13848 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13850 * net/tramp.el (tramp-perl-file-truename): New defconst.
13851 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13852 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13853 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13854 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13856 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13857 Ignore `dired-call-process'.
13858 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13860 2009-10-26 Julian Scheid <julians37@gmail.com>
13862 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13863 (tramp-get-remote-readlink): New defun.
13864 (tramp-handle-file-truename): Use it.
13865 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13866 file exists if cache value present.
13867 (tramp-check-cached-permissions): New defun.
13868 (tramp-handle-file-readable-p): Use it.
13869 (tramp-handle-file-writable-p): Likewise.
13870 (tramp-handle-file-executable-p): Likewise.
13871 (tramp-handle-file-name-all-completions): Try using Perl to get
13872 partial completions. When perl not available, combine `cd' and
13873 `ls' into single remote operation and use shell expansion to get
13874 partial remote directory contents. Set `file-exists-p' cache for
13875 directory and any files returned by ls. Change cache handling to
13876 support partial directory contents. Use error message emitted by
13877 remote `cd' or Perl code for local tramp-error.
13878 (tramp-do-copy-or-rename-file-directly): Avoid separate
13879 tramp-send-command-and-check call.
13880 (tramp-handle-process-file): Merge three remote ops into one.
13881 Do not flush all caches when `process-file-side-effects' is set.
13882 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13883 file-attributes shows uid/gid to be set already.
13885 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13887 * textmodes/tex-mode.el (tex-dvi-view-command)
13888 (tex-show-queue-command, tex-open-quote):
13889 * progmodes/ruby-mode.el (auto-mode-alist)
13890 (interpreter-mode-alist): Purecopy strings.
13892 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13894 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13895 string for the hook, keymap and abbrev table.
13897 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13899 * x-dnd.el (x-dnd-xdnd-to-action):
13900 * startup.el (fancy-startup-text, fancy-about-text): Change to
13901 defconst from defvar.
13903 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13905 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13906 Purecopy initialization strings.
13908 * mail/sendmail.el (mail-header-separator)
13909 (mail-personal-alias-file):
13910 * mail/rmail.el (rmail-default-dont-reply-to-names)
13911 (rmail-ignored-headers, rmail-retry-ignored-headers)
13912 (rmail-highlighted-headers, rmail-secondary-file-directory)
13913 (rmail-secondary-file-regexp):
13914 * files.el (null-device, file-name-invalid-regexp)
13915 (locate-dominating-stop-dir-regexp)
13916 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13917 (interpreter-mode-alist): Use mapcar instead of mapc.
13919 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13921 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13922 (completion-ignored-extensions):
13923 (debug-ignored-errors): Purecopy strings.
13925 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13927 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13928 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13929 (pcomplete--here): Use push.
13931 * subr.el (all-completions): Declare the 4th arg obsolete.
13933 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13935 * pcomplete.el (pcomplete-unquote-argument-function): New var.
13936 (pcomplete-unquote-argument): New function.
13937 (pcomplete--common-suffix): Always pay attention to case.
13938 (pcomplete--table-subvert): Quote and unquote the text.
13939 (pcomplete--common-quoted-suffix): New function.
13940 (pcomplete-std-complete): Use it and pcomplete-begin.
13942 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13943 we're inside a dedicated or minibuffer window.
13945 2009-10-24 Karl Fogel <kfogel@red-bean.com>
13947 * bookmark.el: Update documentation, especially documentation
13948 of `bookmark-alist' and of the bookmark file format.
13949 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13951 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
13953 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13954 keybindings apply to the mail buffer (Bug#4003). Shrink help
13957 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13958 (global-whitespace-mode, global-whitespace-newline-mode)
13959 (whitespace-toggle-options, global-whitespace-toggle-options):
13960 Doc fix (Bug#3660).
13962 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13963 of xmltok-start before the end tag was inserted (Bug#2840).
13965 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13966 patterns that are preceded by an open-paren (Bug#1320).
13968 2009-10-24 Sven Joachim <svenjoac@gmx.de>
13970 * files.el (delete-directory): Delete symlinks to directories with
13971 delete-file (Bug#4739).
13973 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
13975 * vc.el (vc-backend-for-registration): Rename from
13976 vc-get-backend-for-registration. Update callers.
13978 * international/mule-cmds.el (set-language-info-alist):
13980 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13981 (charset): Purecopy the name.
13982 (define-char-code-property): Purecopy string arguments.
13984 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13985 Purecopy string arguments.
13987 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13988 * ediff-hook.el (menu-bar-ediff-menu):
13989 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13990 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13992 2009-10-24 Glenn Morris <rgm@gnu.org>
13994 * comint.el (comint-dynamic-list-completions):
13995 * term.el (term-dynamic-list-completions): Use choose-completion rather
13996 than obsolete alias mouse-choose-completion.
13998 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13999 file-cache-choose-completion.
14000 (file-cache-choose-completion): Handle an optional event argument.
14001 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14003 * progmodes/octave-mod.el (octave-complete-symbol):
14004 Use choose-completion if mouse-choose-completion is ever removed.
14006 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14009 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14012 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14014 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14016 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14017 Ignore `pred' now that we receive one.
14018 Handle test-completion specially.
14020 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14022 * vc.el (vc-responsible-backend): Throw an error if not backend is
14023 found. Remove the REGISTER argument. Move the code dealing with
14025 (vc-get-backend-for-registration): ... here. New function.
14026 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14027 of vc-responsible-backend, pass the file name instead of the
14030 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14032 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14034 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14035 (pcomplete-comint-setup): Don't modify a global var via
14036 accidental side-effects.
14037 (pcomplete-shell-setup): Adjust call accordingly.
14038 (pcomplete-parse-comint-arguments): Use push.
14040 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14042 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14043 Allow uncapitalized info node names (Bug#3921).
14045 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14046 to the DEBUG file (Bug#3781).
14048 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14050 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14051 dictionary entry (Bug#4579).
14053 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14055 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14056 from `rfn-eshadow-update-overlay-hook' when unloading.
14057 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14058 "rsyncc". Adjust doc string.
14059 (tramp-temp-buffer-file-name): New buffer-local defvar.
14060 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14061 Keep temporary file when indicated by method ("rsync" and
14063 (tramp-handle-write-region): Handle APPEND.
14064 (tramp-delete-temp-file-function): New defun. Added to
14065 `kill-buffer-hook'.
14067 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14069 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14071 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14073 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14074 (color-name-rgb-alist, tty-standard-colors)
14075 (tty-color-mode-alist): Change to defconst.
14077 * simple.el (mark-inactive): Purecopy message.
14079 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14080 (global-map, yank-menu):
14081 * textmodes/ispell.el (ispell-menu-map):
14082 * net/eudc.el (eudc-tools-menu):
14083 * international/mule-cmds.el (describe-language-environment-map)
14084 (setup-language-environment-map, set-coding-system-map)
14085 (mule-menu-keymap):
14086 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14087 * replace.el (occur-mode-map):
14088 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14090 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14092 * calc/calc.el (math-read-number, math-read-number-simple):
14093 Use `save-match-data'.
14095 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14097 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14098 rather than fiddling with global-map bindings, since it should only
14099 affect per-terminal settings.
14100 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14102 * minibuffer.el (completion-table-with-terminator): Allow to specify
14103 the terminator-regexp.
14105 * simple.el (switch-to-completions): Look for *Completions* in other
14108 * pcomplete.el: Allow the use of completion-tables.
14109 (pcomplete-std-complete): New command.
14110 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14111 (pcomplete--here): Use a function for `form' rather than an expression,
14112 so it can be byte-compiled.
14113 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14114 Add edebug declaration.
14115 (pcomplete-show-completions): Remove unused var `curbuf'.
14116 (pcomplete-do-complete, pcomplete-stub):
14117 Don't assume `completions' is a list of strings any more.
14119 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14121 * find-dired.el (find-name-arg): Fix typo in docstring.
14123 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14125 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14126 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14128 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14131 * comint.el (comint-read-input-ring, comint-write-input-ring)
14132 (comint-substitute-in-file-name)
14133 (comint-dynamic-complete-as-filename)
14134 (comint-dynamic-simple-complete)
14135 (comint-dynamic-list-filename-completions)
14136 (comint-dynamic-list-completions)
14137 (comint-redirect-results-list-from-process): Minor simplifications.
14139 2009-10-21 Kevin Ryde <user42@zip.com.au>
14141 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14142 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14143 the first form. And insert a blank line after ";;; Code" since
14144 that's usual style. (Bug#4612)
14146 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14148 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14150 * minibuffer.el (completion-table-with-terminator): Properly implement
14151 boundaries, in case `terminator' appears in the suffix.
14152 (completion--embedded-envvar-table): Don't return boundaries if
14153 there's no valid completion. Simplify.
14154 (completion-file-name-table): New completion table extracted from
14155 completion--file-name-table.
14156 (completion--file-name-table): Use it.
14157 (read-file-name-predicate): Declare obsolete.
14158 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14159 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14160 completion-file-name-table, and use the `pred' argument.
14161 * files.el (locate-file-completion-table): Use the `pred' arg rather
14162 than read-file-name-predicate.
14163 (abbreviate-file-name): Use \` rather than ^ for BOS.
14165 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14167 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14168 vc-responsible-backend to register, it causes problems.
14170 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14172 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14174 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14176 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14177 (tramp-smb-handle-file-attributes): Use it.
14178 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14179 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14180 `mapcar'. Use `tramp-smb-get-stat-capability'.
14181 Add `dired-filename' text properties.
14182 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14183 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14186 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14188 * subr.el (read-key-delay): Reduce to 0.01.
14189 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14192 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14194 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14196 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14197 (Info-menu): Remove unused vars `last' and `completions'.
14198 (Info-index-nodes): Remove unused var `node'.
14200 * info.el (Info-complete-menu-item): Use complete-with-action.
14202 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14204 Make vc-annotate work through copies and renames.
14205 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14206 Return the file name too.
14207 (vc-annotate-revision-at-line)
14208 (vc-annotate-find-revision-at-line)
14209 (vc-annotate-revision-previous-to-line)
14210 (vc-annotate-show-log-revision-at-line): Update to get the file
14211 name from vc-annotate-extract-revision-at-line.
14212 (vc-annotate-show-diff-revision-at-line-internal): Change the
14213 argument to mean whether to show a file diff or not. Get the file
14214 name from vc-annotate-extract-revision-at-line.
14215 (vc-annotate-show-diff-revision-at-line):
14216 Update vc-annotate-show-diff-revision-at-line call.
14217 (vc-annotate-warp-revision): Add an optional file argument.
14219 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14220 (vc-git-annotate-extract-revision-at-line): Also return the file
14223 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14224 command. Remove unused code.
14225 (vc-hg-annotate-re): Update to match --follow output.
14226 (vc-hg-annotate-extract-revision-at-line): Also return the file
14229 * vc.el: Update annotate-extract-revision-at-line documentation.
14231 2009-10-18 Kevin Ryde <user42@zip.com.au>
14233 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14234 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14236 * net/browse-url.el (browse-url): Identify alist with "consp and
14237 not functionp" and let all other things go down the `apply' leg,
14238 as suggested by Stefan. (Further to bug#4531.)
14240 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14242 * minibuffer.el (read-file-name): Check for repeat before putting
14243 a default argument in file-name-history (Bug#4657).
14245 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14246 read syntax (Bug#4737).
14248 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14250 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14252 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14253 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14254 entries and make note of obsolete tags.
14256 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14258 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14260 2009-10-18 Glenn Morris <rgm@gnu.org>
14262 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14263 grep, so that binary files (eg international/uni-bidi.el) can match.
14264 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14265 now, and in any case the file header format has changed.
14267 2009-10-17 Glenn Morris <rgm@gnu.org>
14269 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14270 (flyspell-get-word, flyspell-large-region)
14271 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14273 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14275 * Makefile.in (ELCFILES): Add ede/shell.
14277 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14279 * term/common-win.el (x-colors): Purecopy it.
14281 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14283 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14284 permissive for when the buffer is empty.
14285 (tar-header-block-tokenize): Decode the username and groupname.
14286 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14288 2009-10-17 Eric Ludlam <zappo@gnu.org>
14290 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14291 contains multibyte characters, choose first applicable coding
14292 system automatically.
14294 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14296 * international/mule-cmds.el (select-safe-coding-system): If the file
14297 has a coding cookie, use it regardless of any other setting (bug#4712).
14299 2009-10-17 Glenn Morris <rgm@gnu.org>
14301 * foldout.el (foldout-mouse-swallow-events):
14302 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14304 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14305 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14306 (dired-keep-marker-symlink, dired-dwim-target)
14307 (dired-copy-preserve-time): Do not autoload these defcustoms.
14309 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14310 messages from messing up the file coding. (Bug#4623)
14312 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14314 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14315 if no match is found for the current dictionary. (Bug#4578)
14317 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14318 optional, since that is how it is documented, and this is often called
14319 with a nil argument. (Bug#4577)
14320 (flyspell-external-point-words, flyspell-auto-correct-word)
14321 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14322 (flyspell-word-search-backward): Remove nil argument in calls to
14323 flyspell-get-word, since it is not needed now.
14325 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14327 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14329 2009-10-16 Glenn Morris <rgm@gnu.org>
14331 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14333 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14335 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14336 (ange-ftp-file-size): New function.
14337 (ange-ftp-file-attributes): Use it.
14339 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14341 * net/tramp-smb.el (tramp-smb-version): New defvar.
14342 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14345 2009-10-16 Glenn Morris <rgm@gnu.org>
14347 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14348 Maybe copy some custom properties from old to new name. (Bug#4706)
14350 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14352 * subr.el (error, sit-for, start-process-shell-command)
14353 (start-file-process-shell-command): Set the calling convention
14354 after the function definition.
14356 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14358 * subr.el (error, sit-for, start-process-shell-command)
14359 (start-file-process-shell-command): Use the new
14360 set-advertised-calling-convention feature.
14362 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14364 * international/ucs-normalize.el (ucs-normalize-version):
14366 (check-range): Adjust for Unicode 5.2.
14368 2009-10-15 Juri Linkov <juri@jurta.org>
14370 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14371 to the `menu-item' format.
14373 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14375 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14376 if the environment variable does not exist.
14378 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14379 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14381 (tramp-smb-handle-add-name-to-file)
14382 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14383 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14384 (tramp-smb-handle-file-attributes)
14385 (tramp-smb-do-file-attributes-with-stat)
14386 (tramp-smb-handle-file-local-copy)
14387 (tramp-smb-handle-insert-directory)
14388 (tramp-smb-handle-make-directory)
14389 (tramp-smb-handle-make-directory-internal)
14390 (tramp-smb-handle-make-symbolic-link)
14391 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14392 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14393 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14394 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14395 Handle long file names.
14396 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14397 process is running.
14398 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14399 Read share names with "-g" option.
14401 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14403 * net/rcirc.el (rcirc-view-log-file): New command.
14404 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14405 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14408 2009-10-15 Glenn Morris <rgm@gnu.org>
14410 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14411 from the second command-line argument.
14412 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14413 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14414 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14415 w32-batch-update-autoloads.
14416 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14417 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14419 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14420 the headers cannot be located. Simplify, subtracting superflous
14423 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14425 Replace completion-base-size by completion-base-position to fix bugs
14426 such as (bug#4699).
14427 * simple.el (completion-base-position): New var.
14428 (completion-base-size): Mark as obsolete.
14429 (choose-completion): Make it work for mouse events as well.
14430 Pass the new base-position to choose-completion-string.
14431 (choose-completion-guess-base-position): New function, extracted from
14432 choose-completion-delete-max-match.
14433 (choose-completion-delete-max-match): Use it. Make obsolete.
14434 (choose-completion-string): Use the new base-position info.
14435 (completion-root-regexp): Delete.
14436 (completion-setup-function): Preserve completion-base-position.
14437 Eliminate obsolete base-size manipulation.
14438 * minibuffer.el (display-completion-list): Don't mess with base-size.
14439 (minibuffer-completion-help): Set completion-base-position instead.
14440 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14442 * textmodes/bibtex.el (bibtex-complete):
14443 * emacs-lisp/crm.el (crm--choose-completion-string):
14444 Adjust to new calling convention.
14445 * complete.el (partial-completion-mode): Use minibufferp to avoid
14446 bumping into incompatible change to choose-completion-string-functions.
14447 * ido.el (ido-choose-completion-string): Make its calling convention
14449 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14450 base-size manipulation.
14451 (comint-dynamic-list-input-ring): Use dotimes and push.
14452 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14453 fundamental-mode. Use `or'.
14455 2009-10-14 Juri Linkov <juri@jurta.org>
14457 * misearch.el (multi-isearch-next-buffer-from-list)
14458 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14460 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14462 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14465 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14466 string we return is all made up of text from the completions rather
14467 than part from the completions and part from the input (bug#4219).
14469 * ido.el (ido-everywhere): Use define-minor-mode.
14471 * buff-menu.el (list-buffers, ctl-x-map):
14472 Mark the entry points with ;;;###autoload cookies.
14474 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14476 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14477 correctly in the detached head case.
14478 (vc-git-print-log): Remove unused binding.
14480 * vc.el (vc-responsible-backend): When a directory is passed for
14481 for registration create a VC repository if no backend is
14482 responsible for the directory argument.
14483 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14485 * vc.el: Move comments about RCS and SCCS ...
14487 * vc-sccs.el: ... here, respectively.
14489 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14491 * minibuffer.el (completion--file-name-table): Return nil if there's
14492 no file completion, even if substitute-in-file-name changed
14493 the string (bug#4708).
14495 2009-10-13 Juri Linkov <juri@jurta.org>
14497 * files-x.el (read-file-local-variable-value): Don't filter out
14498 minor modes from mode name completion (bug#4664).
14500 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14502 * international/mule-cmds.el (ucs-names): Remove exclusion of
14503 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14505 2009-10-13 Kenichi Handa <handa@m17n.org>
14507 * international/uni-name.el: Regenerated.
14509 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14511 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14512 should be automatically buffer-local, but isn't.)
14514 2009-10-12 Sam Steingold <sds@gnu.org>
14516 * progmodes/compile.el (compilation-next-error-function): Fix the
14517 timestamps if the buffer has been visited before.
14518 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14519 non-anchored patterns, like the perl one (bug#3928).
14521 2009-10-12 Glenn Morris <rgm@gnu.org>
14523 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14526 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14528 * proced.el (proced-unload-function): New function.
14530 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14531 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14534 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14536 2009-10-11 Juri Linkov <juri@jurta.org>
14538 * files-x.el (read-file-local-variable-value):
14539 Provide default value only for bound variables (bug#4664).
14541 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14543 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14544 connection methods like smb.
14546 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14549 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14550 (tramp-smb-file-name-handler-alist): Add handlers for
14551 `add-name-to-file', `make-symbolic-link'.
14552 (tramp-smb-handle-add-name-to-file)
14553 (tramp-smb-do-file-attributes-with-stat)
14554 (tramp-smb-handle-make-symbolic-link)
14555 (tramp-smb-get-cifs-capabilities): New defuns.
14556 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14557 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14558 (tramp-smb-handle-file-local-copy)
14559 (tramp-smb-handle-make-directory-internal)
14560 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14561 The file name syntax depends on cifs capabilities.
14562 (tramp-smb-handle-file-attributes):
14563 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14564 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14565 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14567 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14569 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14570 (eieio-defclass): Apply deftype handler and setf-method properties
14572 (eieio-add-new-slot): Avoid union function from cl library.
14573 (eieio--typep): New function.
14574 (eieio-perform-slot-validation): Use it.
14576 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14578 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14579 Update documentation to refer to the variables documented in r1.135.
14582 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14584 * bookmark.el (Info-suffix-list): Remove this unused variable.
14585 (bookmark-current-point): Remove this obsolete variable.
14586 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14587 Adjust for removal of bookmark-current-point.
14589 (bookmarks-already-loaded, bookmark-current-buffer)
14590 (bookmark-yank-point): Document. (Bug#4188)
14592 2009-10-10 Glenn Morris <rgm@gnu.org>
14594 * frame.el (frame-height): Doc fix.
14596 * calendar/calendar.el (calendar-split-width-threshold): New option.
14597 (calendar-basic-setup): Use calendar-split-width-threshold.
14599 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14601 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14602 Ideographic Supplement" range (U+1F200..U+1F2FF).
14604 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14606 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14607 since the list will have been rebuilt anyway. (Bug#4349)
14609 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14611 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14612 (bookmark-bmenu-execute-deletions): Don't save here, as
14613 bookmark-delete will now do so if necessary.
14614 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14617 2009-10-09 Glenn Morris <rgm@gnu.org>
14619 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14621 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14623 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14624 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14625 argument now, so the two function's behaviors will match. (Bug#3645)
14627 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14629 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14630 (tramp-file-name-real-host, tramp-file-name-port):
14631 Apply `save-match-data'.
14633 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14634 case both directories are remote.
14635 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14636 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14638 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14640 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14642 2009-10-07 Glenn Morris <rgm@gnu.org>
14644 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14647 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14649 * files-x.el (read-file-local-variable): Include some
14650 non-user-variables in the completion table (bug#4664).
14652 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14654 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14657 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14658 (tramp-smb-file-name-handler-alist): Add handler for
14659 `copy-directory', `expand-file-name', `set-file-modes'.
14660 (tramp-smb-handle-copy-directory)
14661 (tramp-smb-handle-expand-file-name)
14662 (tramp-smb-handle-set-file-modes): New defuns.
14663 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14664 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14666 (tramp-smb-handle-insert-directory): Don't flush the cache.
14667 (tramp-smb-maybe-open-connection): Check for samba client and
14670 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14672 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14673 to not error out of search for "^lisp=" fails.
14675 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14677 * makefile.w32-in (WINS_UPDATES): New macro.
14678 (custom-deps, finder-data, autoloads): Use it.
14680 2009-10-07 Glenn Morris <rgm@gnu.org>
14682 * Makefile.in (autoloads): Revert previous change.
14683 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14684 the list of preloaded files passed on the command-line, get
14685 it from src/Makefile.
14687 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14688 show the original buffer rather than a random one.
14690 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14692 * help.el (describe-no-warranty): Place point in a slightly better
14693 position in the GPLv3 text.
14695 2009-10-06 Sam Steingold <sds@gnu.org>
14697 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14698 the comm attribute is present before calling regexp-quote.
14700 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14702 * play/animate.el (animate-string): For good effect, make sure
14703 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14705 * play/animate.el (animate-sequence, animate-birthday-present):
14706 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14708 2009-10-06 Glenn Morris <rgm@gnu.org>
14710 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14712 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14713 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14714 (batch-update-autoloads): Process a string value of autoload-excludes,
14715 set during the build process.
14716 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14718 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14719 inside with-parsed... macro so that `v' is defined.
14721 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14722 * progmodes/fortran.el (fortran-end-of-block)
14723 (fortran-beginning-of-block):
14724 Also push mark in the macro case.
14726 * emerge.el (emerge-show-file-name):
14727 * calc/calc.el (calc-quit):
14728 * calc/calc-misc.el (calc-big-or-small):
14729 * calc/calc-graph.el (calc-graph-view):
14730 * calc/calc-ext.el (calc-reset):
14731 * calendar/calendar.el (calendar-basic-setup):
14732 Use window-full-height-p.
14734 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14735 header we don't understand, don't insert another. (Bug#4624)
14736 If changing mime charset, insert the new one in the right place.
14738 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14740 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14741 (cal-tex-cursor-month): Correctly increment the end date for diary and
14742 holiday listing. (Bug#4626)
14744 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14746 * help-fns.el (describe-function-1): Don't burp if the function is not
14749 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14751 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14752 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14753 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14754 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14756 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14757 (eieio-default-superclass): Reflow docstrings.
14758 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14759 (eieio-unbind-method-implementations, defmethod)
14760 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14761 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14762 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14763 (eieio-slot-originating-class-p, eieio-slot-name-index)
14764 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14765 (constructor, initialize-instance, no-next-method, object-print)
14766 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14767 Fix typos in docstrings.
14768 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14769 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14770 (next-method-p): Doc fixes.
14771 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14772 Fix typos in error messages.
14773 (eieio-defmethod): Fix typo in description of generic method.
14775 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14776 (eieio-persistent-save-interactive, slot-missing):
14777 Fix typos in docstrings.
14778 (eieio-instance-inheritor-slot-boundp): Doc fix.
14780 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14781 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14783 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14784 (eieio-custom-object-apply-reset):
14785 Fix typos in docstrings and error messages.
14787 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14788 Fix typo in docstring.
14790 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14791 (eieio-browse-tree): Doc fix.
14792 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14793 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14794 Fix typos in docstrings.
14796 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14797 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14798 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14799 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14802 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14804 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14805 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14806 Set log-view-vc-backend so that diff can work.
14808 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14810 (vc-diff-internal): Autoload this instead of vc-version-diff.
14812 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14814 * simple.el (eval-expression): Doc fix.
14816 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14818 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14820 * files.el (directory-files-no-dot-files-regexp): New defconst.
14821 (delete-directory): Use it.
14822 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14824 * net/tramp.el (tramp-verbose): Fix docstring.
14825 (tramp-methods): Add recursive option to `tramp-copy-args'.
14826 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14827 "scp1_old", "scp2_old", "rsync", "rsyncc".
14828 (tramp-default-method): Check also for `auth-source-user-or-password'.
14829 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14830 Add handler for `copy-directory'.
14831 (tramp-handle-copy-directory): New defun.
14832 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14833 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14834 Optimize sent command.
14836 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14838 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14839 window if necessary.
14841 * calendar/calendar.el (calendar-basic-setup): Don't call
14842 switch-to-buffer in a dedicated window.
14844 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14846 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14847 don't do anything related to relocating, just return nil.
14848 (bookmark-error-no-filename): New error.
14849 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14850 bookmark has no file. Don't even attempt to handle things that
14851 are not files; the whole point of custom handlers is to keep that
14852 knowledge elsewhere anyway. Tighten some comments.
14853 (bookmark-file-or-variation-thereof): Remove now-unused function.
14854 (bookmark-location): Doc string fix.
14857 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14859 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14860 don't use a file dialog, because they usually don't know how to read
14861 a directory target from the user. (Bug#4230)
14862 Also, make sure the prompt can display directories as well as files.
14864 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14866 * bookmark.el (bookmark-set, bookmark-buffer-name):
14867 Improve doc strings. (Bug#1193)
14869 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14871 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14872 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14873 (bookmark-get-annotation, bookmark-set-annotation)
14874 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14875 (bookmark-set-position, bookmark-get-front-context-string)
14876 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14877 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14878 (bookmark-jump-other-window, bookmark-handle-bookmark)
14879 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14880 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14881 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14882 Improve doc strings to say whether bookmark can be a string or
14883 a record or both, and make other consistency and clarity fixes.
14884 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14885 (bookmark-default-annotation-text, bookmark-yank-word)
14886 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14887 (bookmark-import-new-list, bookmark-maybe-rename)
14888 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14889 (bookmark-bmenu-bookmark): Give these doc strings.
14890 (bookmark-bmenu-check-position): Give this a doc string, but also
14891 add a FIXME comment about how the function may be pointless.
14892 (bookmark-default-handler): Rework doc string and change a
14893 parameter name, to clarify that this takes a bookmark record
14894 not a bookmark name.
14895 (bookmark-set): Change a parameter name to indicate its meaning,
14896 and improve the doc string a bit.
14899 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14901 * bookmark.el (bookmark-alist): Document the new `handler' element
14902 in the param alist.
14903 (bookmark-make-record-function): Adjust documentation for above.
14906 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14908 * info.el (Info-bookmark-make-record): Document this function.
14909 (Info-bookmark-jump): Document with a doc string, not just a comment.
14912 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
14914 * files.el (copy-directory): New defun.
14916 * dired-aux.el (dired-copy-file-recursive): Use it.
14918 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
14920 * files-x.el (modify-dir-local-variable)
14921 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14924 * recentf.el (recentf-unload-function): New function.
14926 2009-10-04 Glenn Morris <rgm@gnu.org>
14928 * window.el (window-full-height-p): Add doc string.
14930 2009-10-04 Martin Rudalics <rudalics@gmx.at>
14932 * window.el (window-full-height-p): New function. (Bug#4543)
14934 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
14936 * vc.el: Remove commented out code.
14937 (vc-derived-from-dir-mode): Remove, unused.
14938 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14940 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
14942 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14943 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
14944 there could be recursive loading when `default-directory' is a
14945 remote file name. (Bug#4614)
14947 2009-10-03 Glenn Morris <rgm@gnu.org>
14949 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14951 (calendar-generate-window): Test for shrinkability rather than width.
14953 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14954 reusing existing buffers, in case we happen to visit two files with the
14955 same basename. (Bug#4593)
14957 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14959 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14960 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14961 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14962 subdirs of cedet as well.
14963 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14965 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14967 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14968 Obey advertised-signature-table.
14970 * help-fns.el (help-function-arglist): Don't check
14971 advertised-signature-table.
14972 (describe-function-1): Do it here instead so it also applies to subrs.
14974 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
14976 * simple.el (start-file-process): Say in the doc-string, that file
14977 handlers might not support pty association, if PROGRAM is nil.
14979 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14980 HOST and USER are strings. They are nil, when there are
14981 incomplete entries in ~/.netrc, for example.
14982 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
14983 root directory ("device busy" error otherwise).
14985 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14986 Flush file properties of created directory.
14988 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14990 * makefile.w32-in (WINS_BASIC): Remove cedet.
14991 (WINS_CEDET): Add cedet.
14992 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14994 2009-10-02 Kevin Ryde <user42@zip.com.au>
14996 * net/browse-url.el (browse-url): Pass any symbol in
14997 browse-url-browser-function to `apply', since if you've mistakenly put
14998 an unbound symbol then the error is clearer. (Bug#4531)
15000 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15002 * allout.el (allout-init, allout-back-to-current-heading)
15003 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15004 (allout-ascend, allout-up-current-level, allout-end-of-level)
15005 (allout-previous-visible-heading, allout-forward-current-level)
15006 (allout-backward-current-level, allout-show-children):
15007 * apropos.el (apropos-describe-plist):
15008 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15009 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15010 * completion.el (add-completion, add-permanent-completion):
15011 * descr-text.el (describe-text-category, describe-char):
15012 * desktop.el (desktop-lazy-abort):
15013 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15014 * dired.el (dired-build-subdir-alist):
15015 * ediff.el (ediff-version):
15016 * elide-head.el (elide-head, elide-head-show):
15017 * emerge.el (emerge-version):
15019 * face-remap.el (variable-pitch-mode):
15020 * faces.el (describe-face):
15021 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15023 * files.el (find-file-existing, auto-save-mode):
15024 * font-lock.el (font-lock-fontify-buffer):
15025 * help-fns.el (describe-function, describe-variable)
15026 (describe-syntax, describe-categories):
15027 * help.el (view-lossage, describe-bindings, describe-key)
15029 * hexl.el (hexl-current-address):
15030 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15031 * info.el (Info-goto-emacs-key-command-node):
15032 * log-edit.el (log-edit-insert-cvs-template)
15033 (log-edit-insert-cvs-rcstemplate):
15034 * menu-bar.el (menu-bar-mode):
15035 * mouse.el (mouse-appearance-menu):
15036 * newcomment.el (comment-indent-new-line):
15037 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15038 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15039 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15040 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15041 * recentf.el (recentf-mode):
15042 * savehist.el (savehist-mode, savehist-save):
15043 * shadowfile.el (shadow-copy-files):
15044 * simple.el (kill-ring-save, next-line, previous-line)
15045 (normal-erase-is-backspace-mode):
15046 * strokes.el (strokes-update-window-configuration)
15047 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15048 (strokes-xpm-for-stroke):
15049 * time.el (emacs-uptime, emacs-init-time):
15050 * tutorial.el (tutorial--describe-nonstandard-key)
15051 (tutorial--detailed-help):
15052 * type-break.el (type-break-mode)
15053 (type-break-mode-line-message-mode, type-break-query-mode)
15054 (type-break-guesstimate-keystroke-threshold):
15055 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15056 * version.el (emacs-version):
15057 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15058 * winner.el (winner-mode):
15059 * calendar/timeclock.el (timeclock-in, timeclock-out)
15060 (timeclock-status-string, timeclock-change)
15061 (timeclock-workday-remaining-string)
15062 (timeclock-workday-elapsed-string)
15063 (timeclock-when-to-leave-string):
15064 * calendar/todo-mode.el (todo-add-category):
15065 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15066 * emacs-lisp/autoload.el (update-file-autoloads):
15067 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15068 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15069 (checkdoc-message-text, checkdoc-defun):
15070 * emacs-lisp/debug.el (debugger-list-functions):
15071 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15072 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15073 (eieio-describe-generic):
15074 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15075 * emacs-lisp/shadow.el (list-load-path-shadows):
15076 * emulation/cua-base.el (cua-mode):
15077 * emulation/edt.el (edt-set-scroll-margins):
15078 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15079 (tpu-toggle-regexp, tpu-toggle-search-direction)
15080 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15081 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15082 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15083 (viper-set-parsing-style-toggling-macro)
15084 (viper-set-emacs-state-searchstyle-macros):
15085 * emulation/viper.el (viper-set-hooks):
15086 * eshell/esh-mode.el (eshell-truncate-buffer):
15087 * international/mule-cmds.el (prefer-coding-system)
15088 (describe-input-method, describe-language-environment):
15089 * international/mule-diag.el (list-character-sets)
15090 (describe-character-set, describe-coding-system)
15091 (describe-fontset, list-fontsets, list-input-methods):
15092 * mail/sendmail.el (mail-signature):
15093 * net/ange-ftp.el (ange-ftp-copy-file):
15094 * net/browse-url.el (browse-url):
15095 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15096 * net/quickurl.el (quickurl-add-url):
15097 * net/rcirc.el (names, topic):
15098 * net/xesam.el (xesam-mode):
15099 * play/5x5.el (5x5-new-game):
15100 * play/yow.el (apropos-zippy):
15101 * progmodes/ada-mode.el (ada-mode-version):
15102 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15104 (f90-beginning-of-block):
15105 * progmodes/fortran.el (fortran-end-of-block)
15106 (fortran-beginning-of-block):
15107 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15108 * progmodes/python.el (python-describe-symbol, python-shell):
15109 * term/ns-win.el (ns-print-buffer):
15110 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15111 * textmodes/flyspell.el (flyspell-mode-on):
15112 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15113 (pages-directory-for-addresses):
15114 * textmodes/table.el (table-recognize-cell)
15115 (table-query-dimension, table-generate-source)
15116 (table-insert-sequence, table--warn-incompatibility):
15117 * textmodes/tex-mode.el (tex-validate-buffer):
15118 * textmodes/texinfmt.el (texinfmt-version)
15119 (texinfo-format-buffer):
15120 Use `called-interactively-p' instead of `interactive-p'.
15122 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15124 * image-mode.el (image-toggle-display):
15125 * emacs-lisp/elp.el (elp-instrument-function):
15126 * emacs-lisp/advice.el (ad-make-advised-definition):
15127 * emacs-lisp/easy-mmode.el (define-minor-mode):
15128 * net/browse-url.el (browse-url-maybe-new-window):
15129 * progmodes/sh-script.el (sh-learn-buffer-indent):
15130 Pass new argument 'any to `called-interactively-p'.
15132 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15134 * international/uni-bidi.el:
15135 * international/uni-category.el:
15136 * international/uni-combining.el:
15137 * international/uni-comment.el:
15138 * international/uni-decimal.el:
15139 * international/uni-decomposition.el:
15140 * international/uni-digit.el:
15141 * international/uni-lowercase.el:
15142 * international/uni-mirrored.el:
15143 * international/uni-name.el:
15144 * international/uni-numeric.el:
15145 * international/uni-old-name.el:
15146 * international/uni-titlecase.el:
15147 * international/uni-uppercase.el:
15148 Regenerate from Unicode 5.2.0 data.
15150 2009-10-01 Glenn Morris <rgm@gnu.org>
15152 * Makefile.in (ELCFILES): Regenerate.
15154 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15156 * subr.el (interactive-p): Mark obsolete.
15157 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15158 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15159 advertised-signature-table for subroutines as well.
15161 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15162 (set-advertised-calling-convention): New function.
15163 (make-obsolete, define-obsolete-function-alias)
15164 (make-obsolete-variable, define-obsolete-variable-alias):
15165 Make the optional-ness of `when' obsolete.
15166 (define-obsolete-face-alias): Make `when' non-optional.
15167 * help-fns.el (help-function-arglist):
15168 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15169 Use advertised-signature-table.
15171 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15173 * files.el (delete-directory): New defun. The original function
15174 in fileio.c has been renamed to `delete-directory-internal'.
15176 * dired.el (dired-delete-file): Call `delete-directory' with
15177 RECURSIVE parameter.
15179 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15180 parameter RECURSIVE. Implementation is missing.
15182 * net/tramp.el (tramp-handle-make-directory): Flush upper
15183 directory's file properties.
15184 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15185 (tramp-handle-dired-recursive-delete-directory): Flush directory
15186 properties after the remove command only.
15188 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15189 Handle optional parameter RECURSIVE.
15191 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15192 Handle optional parameter RECURSIVE.
15194 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15195 connection timeout.
15196 (tramp-smb-handle-delete-directory): Handle optional parameter
15199 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15201 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15202 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15203 (byte-compile-defmacro): Use backquotes.
15205 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15207 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15208 has no associated file.
15209 (vc-resynch-buffer): Use vc-dir-buffers.
15211 2009-10-01 Glenn Morris <rgm@gnu.org>
15213 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15214 (chart-file-count):
15215 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15216 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15217 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15218 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15219 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15220 (eieio-copy-parents-into-subclass, make-instance, class-children)
15221 (eieio-generic-form):
15223 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15224 match-data. (Bug#4555).
15226 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15227 rather than parsing it as a regexp. This relaxes the layout
15228 requirements and makes errors easier to detect.
15229 (check-declare-verify): Check file is regular.
15230 (check-declare-directory): Doc fix.
15231 * subr.el (declare-function): Doc fix.
15233 * ibuffer.el (ibuffer-format-qualifier):
15234 * isearch.el (hi-lock-regexp-okay):
15235 * calc/calc.el (math-zerop):
15236 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15237 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15238 Remove unused declarations.
15240 2009-09-30 Eric Ludlam <zappo@gnu.org>
15242 * emacs-lisp/eieio.el (boolean-p): Delete.
15244 2009-09-30 Glenn Morris <rgm@gnu.org>
15246 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15248 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15249 filename is not a string.
15251 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15253 * files.el (safe-local-eval-forms): Fix typo.
15255 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15257 * vc-hooks.el (vc-dir-buffers): New var.
15258 (vc-state-refresh): New function.
15259 (vc-state): Use it.
15260 (vc-after-save): Always ask the backend to recompute the new state.
15261 Always call vc-dir if necessary, using vc-dir-buffers.
15262 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15263 Use vc-dir-buffers.
15264 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15265 (vc-dir-prepare-status-buffer, vc-dir-update)
15266 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15267 Don't call expand-file-name on default-directory.
15269 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15271 * speedbar.el (speedbar-item-delete):
15272 * calc/calc-prog.el (calc-kbd-if):
15273 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15275 * epa.el (epa-key-list-mode-map):
15276 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15278 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15279 (hs-show-hook): Fix typo in docstring.
15281 2009-09-29 Glenn Morris <rgm@gnu.org>
15283 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15284 file-name-nondirectory call preventing location of cedet files.
15285 (check-declare-verify): Use literal search rather than re-search.
15286 Add basic defmethod and defclass, and define-overloadable-function.
15288 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15289 Use tramp-compat-file-attributes rather than nonexistent
15290 tramp-compat-handle-file-attributes.
15292 * Makefile.in (lisptagsfiles4): New.
15293 (AUTOGENEL): Add cedet loaddefs files.
15294 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15295 (update-elclist, compile-always, backup-compiled-files)
15296 (bootstrap-clean): Add yet another directory level.
15297 (update-elclist): Use LC_COLLATE rather than COLLATE.
15298 (ELCFILES): Update, via `make update-elclist'.
15300 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15302 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15303 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15304 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15306 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15308 * Makefile.in (lisptagsfiles3): Define.
15309 (TAGS, TAGS-LISP): Use it.
15310 (update-elclist): Add third directory level to look for elc files.
15311 (compile-always): Likewise.
15312 (backup-compiled-files): Likewise.
15313 (bootstrap-clean): Likewise.
15314 (ELCFILES): Update.
15316 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15318 * Makefile.in (ELCFILES): Add CEDET files.
15320 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15322 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15324 * net/tramp.el (top): Require tramp-imap.
15326 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15327 Use `tramp-compat-handle-file-attributes'.
15329 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15331 * net/tramp-imap.el: New package.
15333 2009-09-28 Eric Ludlam <zappo@gnu.org>
15335 * emacs-lisp/chart.el:
15336 * emacs-lisp/eieio-base.el:
15337 * emacs-lisp/eieio-comp.el:
15338 * emacs-lisp/eieio-custom.el:
15339 * emacs-lisp/eieio-datadebug.el:
15340 * emacs-lisp/eieio-opt.el:
15341 * emacs-lisp/eieio-speedbar.el:
15342 * emacs-lisp/eieio.el: New files.
15344 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15346 * whitespace.el (whitespace-trailing-regexp)
15347 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15350 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15352 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15355 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15356 menu-bar-ediff-menu.
15358 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15359 define-overloadable-function.
15361 * progmodes/autoconf.el: Provide autoconf as well, so that this
15362 file can be `require'd.
15364 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15366 * emacs-lisp/autoload.el (generated-autoload-feature)
15367 (generated-autoload-load-name): New vars.
15368 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15369 (make-autoload): Recognize define-overloadable-function and
15370 defclass forms (for EIEIO).
15372 * Makefile.in (update-subdirs): Exclude cedet directory.
15374 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15376 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15378 * faces.el: Default light-background background for region face to
15379 ns_selection_color under NS.
15381 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15383 * net/imap-hash.el: New library, see NEWS.
15385 * Makefile.in (ELCFILES): Add imap-hash.el.
15387 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15389 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15390 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15391 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15392 definition where the docstring could be taken for the return value.
15394 2009-09-26 Glenn Morris <rgm@gnu.org>
15396 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15397 Add option to only show images below a certain size.
15398 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15399 save-excursion calls.
15401 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15403 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15404 subdirectories) and eieio.
15406 2009-09-26 Alan Mackenzie <acm@muc.de>
15408 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15409 Correct buggy bracketing. (Bug#4289)
15411 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15412 character constants (as case labels). (Bug#4289)
15414 2009-09-25 Juri Linkov <juri@jurta.org>
15416 * files.el (safe-local-eval-forms): Allow time-stamp in
15417 before-save-hook (Bug#4554).
15419 2009-09-25 Drew Adams <drew.adams@oracle.com>
15421 * menu-bar.el (list-buffers-directory): Doc fix.
15423 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15425 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15426 Try and avoid copying twice the same paragraph.
15427 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15428 Remove save-excursion.
15429 (log-edit-changelog-entry): Do it here instead.
15431 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15433 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15434 when available, instead of hardcoding mode names. Doc fix.
15436 * menu-bar.el (list-buffers-directory): Add docstring.
15437 Make automatically buffer-local.
15439 * dired.el (dired-mode):
15440 * files.el (cd-absolute):
15441 * pcvs.el (cvs-temp-buffer):
15442 * pcvs-util.el (cvs-get-buffer-create):
15443 * shell.el (shell-mode):
15444 * vc-dir.el (vc-dir-mode):
15445 Don't make `list-buffers-directory' buffer local.
15447 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15449 * comint.el (comint-exec, comint-run, make-comint):
15450 Doc fixes (Bug#4542).
15452 2009-09-25 Glenn Morris <rgm@gnu.org>
15454 * mail/rmailmm.el (rmail-mime): New custom group.
15455 Move all defcustoms in this file into this group.
15456 (rmail-mime-media-type-handlers-alist): Revert previous change.
15457 (rmail-mime-show-images): New option.
15458 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15459 references to it, since it wasn't actually used for anything.
15460 (rmail-mime-insert-image): New function.
15461 (rmail-mime-image): Use rmail-mime-insert-image.
15462 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15463 obey the value of `rmail-mime-show-images' option. Print the size of
15466 2009-09-25 David Engster <deng@randomsample.de>
15468 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15470 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15472 * whitespace.el: Does not highlight trailing spaces While point is
15473 at end of line. Does not highligt spaces at beginning of buffer
15474 while point is at beginning of buffer. Does not highlight spaces
15475 at end of buffer while point is at end of buffer. (Bug#4177)
15477 (whitespace-display-mappings): Adjust initialization.
15478 (whitespace-point, whitespace-font-lock-refontify): New vars.
15479 (whitespace-color-on, whitespace-color-off): Adjust code.
15480 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15481 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15482 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15484 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15486 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15488 * textmodes/sgml-mode.el: Remove xml-mode alias.
15490 * files.el (auto-mode-alist, conf-mode-maybe)
15491 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15493 2009-09-24 Alan Mackenzie <acm@muc.de>
15495 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15496 c-forward-conditionals, but it doesn't move point and doesn't set
15498 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15499 (c-down-conditional-with-else, c-backward-conditional)
15500 (c-forward-conditional): Refactor to use c-scan-conditionals.
15502 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15504 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15505 (help-default-arg-highlight): Remove.
15506 (help-highlight-arg): New function.
15507 (help-do-arg-highlight): Use it.
15508 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15510 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15512 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15513 Undo last change, which didn't fix the problem and introduced others.
15515 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15517 * progmodes/gdb-mi.el: Don't require speedbar.
15518 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15520 2009-09-24 Glenn Morris <rgm@gnu.org>
15522 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15524 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15526 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15527 there is no newline after the final mime boundary. (Bug#4539)
15528 Move markers on insertion so that any buttons inserted don't end up in
15529 the next part of a multipart message.
15530 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15531 (rmail-mime-bulk-handler): Optionally handle images.
15532 (rmail-mime-image): New button action.
15533 (rmail-mime-image-handler): New function.
15534 (rmail-mime-mode): New mode.
15535 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15537 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15539 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15540 than just dropping elements from it (bug#4504).
15542 * term.el (term-set-scroll-region): Don't move cursor any more.
15543 (term-handle-ansi-escape): Call term-goto here instead.
15544 Suggested by Ivan Kanis <apple@kanis.eu>.
15546 * term.el: Require CL.
15547 (term-ansi-reset): New function.
15548 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15549 (term-handle-colors-array): Simplify.
15551 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15553 * allout.el (allout-overlay-interior-modification-handler)
15554 (allout-obtain-passphrase):
15555 * epa-file.el (epa-file-write-region):
15556 * ps-print.el (ps-begin-job):
15557 * vc-hooks.el (vc-toggle-read-only):
15558 * vc-rcs.el (vc-rcs-rollback):
15559 * vc-sccs.el (vc-sccs-rollback):
15560 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15561 (vc-version-diff, vc-revert, vc-rollback):
15562 * wdired.el (wdired-check-kill-buffer):
15563 * emacs-lisp/authors.el (authors):
15564 * net/socks.el (socks-open-connection):
15565 * net/zeroconf.el (zeroconf-service-add-hook):
15566 * obsolete/vc-mcvs.el (vc-mcvs-register):
15567 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15568 (gdb-select-frame):
15569 * progmodes/grep.el (lgrep, rgrep):
15570 * progmodes/idlw-help.el (idlwave-help-check-locations)
15571 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15572 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15573 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15574 (reftex-toc-rename-label): Fix typos in error messages.
15576 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15577 (dired-copy-how-to-fn): Doc fix.
15578 (dired-files-attributes, dired-read-shell-command):
15579 Fix typos in docstrings.
15581 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15582 (dired-x-find-file-other-window): Reflow docstrings.
15583 (dired-omit-marker-char, dired-read-shell-command)
15584 (dired-x-submit-report): Fix typos in docstrings.
15586 * shell.el (shell-mode-hook):
15587 * view.el (View-scroll-line-forward):
15588 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15589 Fix typos in docstrings.
15591 * net/dig.el (dig-invoke): Fix typo in docstring.
15592 (query-dig): Reflow docstring.
15594 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15595 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15596 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15597 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15598 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15599 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15600 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15601 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15602 (idlwave-completion-map, idlwave-current-indent)
15603 (idlwave-custom-ampersand-surround, idlwave-customize)
15604 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15605 (idlwave-define-abbrev, idlwave-determine-class-special)
15606 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15607 (idlwave-end-block-reg, idlwave-end-of-statement)
15608 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15609 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15610 (idlwave-explicit-class-listed, idlwave-file-header)
15611 (idlwave-fill-paragraph, idlwave-find-class-definition)
15612 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15613 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15614 (idlwave-in-quote, idlwave-indent-action-table)
15615 (idlwave-indent-expand-table, idlwave-indent-line)
15616 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15617 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15618 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15619 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15620 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15621 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15622 (idlwave-outlawed-buffers, idlwave-popup-select)
15623 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15624 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15625 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15626 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15627 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15628 (idlwave-statement-type, idlwave-struct-skip)
15629 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15630 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15631 (idlwave-what-module-find-class): Fix typos in docstrings.
15632 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15633 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15634 (idlwave-find-module, idlwave-find-structure-definition)
15635 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15636 (idlwave-list-load-path-shadows, idlwave-next-statement)
15637 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15638 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15639 (idlwave-template): Reflow docstrings.
15641 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15642 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15643 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15644 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15645 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15646 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15647 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15648 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15649 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15650 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15651 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15652 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15653 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15654 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15655 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15656 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15657 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15658 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15659 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15660 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15661 Fix typos in docstrings.
15662 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15663 (idlwave-shell-hide-output, idlwave-shell-mode)
15664 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15667 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15669 2009-09-24 Ivan Kanis <apple@kanis.eu>
15671 * term.el (term-bold-attribute): New var.
15672 (term-handle-colors-array): Use it.
15674 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15676 * progmodes/gdb-mi.el (gdb-version): New variable.
15677 (gdb-non-stop-handler): Set gdb-version.
15678 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15679 Condition "--thread" option on gdb-version.
15680 (gdb-invalidate-threads): Remove unused argument.
15682 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15684 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15685 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15687 2009-09-23 Glenn Morris <rgm@gnu.org>
15689 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15690 replying to mail without References or Message-Id. (Bug#4525)
15692 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15694 * term/ns-win.el (ns-reg-to-script): New variable.
15696 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15698 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15700 2009-09-22 Sam Steingold <sds@gnu.org>
15702 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15703 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15704 to 1 because hg returns status 1 when nothing is found.
15705 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15707 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15709 * textmodes/fill.el: Convert to utf-8 encoding.
15710 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15713 * add-log.el (change-log-fill-forward-paragraph): New function.
15714 (change-log-mode): Use it so fill-region DTRT.
15715 Set fill-indent-according-to-mode here rather than in
15716 change-log-fill-paragraph.
15717 (change-log-fill-paragraph): Remove.
15719 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15721 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15722 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15724 2009-09-22 Glenn Morris <rgm@gnu.org>
15726 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15727 the scroll-bar scroll the calendar window rather than the buffer.
15729 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15730 commands that move point (as opposed to scrolling).
15732 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15734 * emacs-lisp/elint.el (elint): New custom group.
15735 (elint-log-buffer): Make it a defcustom.
15736 (elint-scan-preloaded, elint-ignored-warnings)
15737 (elint-directory-skip-re): New options.
15738 (elint-builtin-variables): Doc fix.
15739 (elint-preloaded-env): New variable.
15740 (elint-unknown-builtin-args): Add an entry for encode-time.
15741 (elint-extra-errors): Make it a variable rather than a constant.
15742 (elint-preloaded-skip-re): New constant.
15743 (elint-directory): Skip files matching elint-directory-skip-re.
15744 (elint-features): New variable, local to linted buffers.
15745 (elint-update-env): Initialize elint-features. Possibly add
15746 elint-preloaded-env to the buffer's environment.
15747 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15749 (elint-init-form): New function, extracted from elint-init-env.
15750 Make non-list forms a warning rather than an error.
15751 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15752 easy-menu-define, put that adds an error-condition, and provide.
15753 When requiring cl, also require cl-macs. Really require cl, to handle
15754 some cl macros. Store required libraries in the list elint-features,
15755 so as not to re-load them. Treat cc-require like require.
15756 (elint-init-env): Call elint-init-form to do the work.
15757 Handle eval-and-compile and such like.
15758 (elint-add-required-env): Do not clear messages.
15759 (elint-special-forms): Add handlers for function, defalias, if, when,
15761 (elint-form): Add optional argument to ignore elint-special-forms,
15762 useful to prevent recursive calls from handlers. Doc fix.
15763 Respect elint-ignored-warnings.
15764 (elint-form): Respect elint-ignored-warnings.
15765 (elint-bound-variable, elint-bound-function): New variables.
15766 (elint-unbound-variable): Respect elint-bound-variable.
15767 (elint-get-args): Respect elint-bound-function.
15768 (elint-check-cond-form): Add some simple handling for (f)boundp and
15770 (elint-check-defalias-form): New handler.
15771 (elint-check-let-form): Make an empty let a warning rather than an
15773 (elint-check-setq-form): Make an empty setq a warning rather than an
15774 error. Respect elint-ignored-warnings.
15775 (elint-check-defvar-form): Accept null doc-strings.
15776 (elint-check-conditional-form): New handler. Does some simple-minded
15777 checking of featurep and (f)boundp tests.
15778 (elint-put-function-args): New function.
15779 (elint-initialize): Use elint-scan-doc-file rather than
15780 elint-find-builtin-variables. Use elint-put-function-args.
15781 Possibly scan preloaded-file-list.
15782 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15783 extend to handle functions as well.
15785 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15787 * linum.el (linum-delete-overlays, linum-update-window):
15788 Do not modify the right margin. (Bug#3971)
15790 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15792 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
15793 Use nxml-mode instead of xml-mode.
15795 2009-09-21 Kevin Ryde <user42@zip.com.au>
15797 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15799 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15801 * net/dig.el (dig-mode): Use define-derived-mode.
15803 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15805 * vc-dispatcher.el (vc-do-command): Return the process object in
15806 the asynchronous case. Use when instead of if. Do not run
15807 vc-exec-after to display a message if not enabled. (Bug#4463)
15809 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15810 properties to the stash strings.
15811 (vc-git-stash-list): Return a list of strings.
15812 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15813 (vc-git-stash-show-at-point): New functions.
15814 (vc-git-stash-map): New keymap.
15816 * register.el (ctl-x-r-map): Define the keys here instead of
15819 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15821 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15822 list, to workaround performance problem (bug#4485).
15824 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15826 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15828 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15830 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15831 Document that this option is not recommended to use.
15833 2009-09-19 Glenn Morris <rgm@gnu.org>
15835 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15838 * calc/calc-alg.el (var):
15839 * calc/calcalg2.el (var): Define for compiler.
15841 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15843 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15844 Doc fix (Bug#3932).
15846 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15848 * time-stamp.el (time-stamp-month-dd-yyyy)
15849 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15850 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15851 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15852 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15853 Remove functions that have been obsolete since 1995 (Bug#4436).
15855 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15856 indent buffer only if called interactively (Bug#4452).
15858 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15859 Eli Zaretskii <eliz@gnu.org>
15861 This fixes bug#4197 (merged to bug#865, though not identical).
15862 * server.el (server-auth-dir): Add docstring note about FAT32.
15863 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15864 but warn against using them.
15866 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15868 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15869 older GDB where there is no has_more field.
15871 2009-09-19 Glenn Morris <rgm@gnu.org>
15873 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15875 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15877 * files.el (auto-mode-alist): Change default for XML files to nXML
15880 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
15882 * server.el (server-ensure-safe-dir): Pass 'integer
15883 to `file-attributes', as suggested.
15885 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15887 * dired-aux.el (dired-query-alist): Remove spurious backslash.
15888 (dired-query): Use read-key.
15890 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
15892 * cus-start.el (ns-use-qd-smoothing): Remove.
15894 2009-09-18 Glenn Morris <rgm@gnu.org>
15896 * allout.el (top-level): Remove unnecessary progn.
15898 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15900 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15901 definition of abbrev table.
15903 * speedbar.el (speedbar-track-mouse):
15904 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15905 * net/eudc.el (eudc-expand-inline):
15906 * net/newst-backend.el (newsticker--cache-read-feed):
15907 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15908 condition-case handlers.
15910 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
15912 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15913 (gdb-var-list): Add an element for has_more field.
15914 (gdb-non-stop-handler): Enable pretty printing for STL containers.
15915 (gdb-var-create-handler, gdb-var-list-children-handler-1)
15916 (gdb-var-update-handler-1): Parse output of dynamic variable
15917 objects (STL containers).
15918 (gdb-var-delete-1): Pass var1 as an explicit second argument.
15919 (gdb-get-field): Delete alias. Use bindat-get-field directly.
15921 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15923 (gud-speedbar-buttons): Make node expandable if expression "has more"
15926 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
15928 * startup.el (emacs-quick-startup): Remove variable and all uses.
15929 (command-line): Set `inhibit-x-resources' instead.
15930 (command-line-1): Use `inhibit-x-resources' instead.
15932 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
15934 * subr.el: Fix last change to avoid using the `unless' macro,
15935 which breaks bootstrapping.
15937 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15939 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15940 extended definitions, in case we reload subr.el after having
15942 (eval-next-after-load): Mark as obsolete.
15944 2009-09-17 Juri Linkov <juri@jurta.org>
15946 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15947 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15948 (menu-bar-showhide-menu, menu-bar-tools-menu)
15949 (menu-bar-describe-menu, menu-bar-help-menu)
15950 (minibuffer-local-completion-map, minibuffer-local-map):
15953 2009-09-17 Glenn Morris <rgm@gnu.org>
15955 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15956 arguments, whether or not it has a handler.
15958 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15960 * simple.el (hard-newline): Give it a doc-string.
15962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15963 (lisp-mode-syntax-table): Give them doc-strings.
15965 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15967 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15968 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15969 (menu-bar-options-menu, menu-bar-showhide-menu)
15970 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15971 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15972 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15973 (menu-bar-options-menu, menu-bar-tools-menu)
15974 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15975 (menu-bar-help-menu):
15976 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15979 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15980 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15981 calls for the menu names and :help.
15983 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15985 * mouse.el (minor-mode-menu-from-indicator): Pay attention
15986 to :minor-mode-function (bug#4455).
15988 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15990 * startup.el (command-line): Initialize the window-system after
15991 processing the command-line.
15993 * textmodes/page.el (what-page): Make sure we don't inf-loop if
15994 page-delimiter matches the empty string.
15996 2009-09-16 Glenn Morris <rgm@gnu.org>
15998 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15999 byte-compile-not-obsolete-var. It's a list now.
16000 (byte-compile-not-obsolete-funcs): New variable.
16001 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16002 byte-compile-not-obsolete-funcs.
16003 (byte-compile-variable-ref, byte-compile-defvar): Update for
16004 byte-compile-not-obsolete-vars name-change and list nature.
16005 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16006 and variables behind (f)boundp tests.
16007 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16009 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16011 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16013 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16015 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16016 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16019 2009-09-15 Stephen Eglen <stephen@gnu.org>
16021 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16022 the virtual-buffers, use the name of the buffer specified by
16023 find-file-noselect, as the match may be a symlink. (This was a
16024 problem if the target and the symlink had different names.)
16026 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16028 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16030 * desktop.el (desktop-path): Check user-emacs-directory.
16032 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16034 * loadup.el: Use after-load-functions to GC after loading each file.
16035 Remove the explicit GC calls that used to be sprinkled around.
16037 * subr.el (after-load-functions): New hook.
16038 (do-after-load-evaluation): Run it. Use string-match-p to detect
16039 `obsolete' packages, rather than painfully extracting the relevant
16042 2009-09-15 Glenn Morris <rgm@gnu.org>
16044 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16045 free variable `doc'.
16047 * dired.el (dired-mode-map): Add menu entry for async shell command.
16049 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16050 variables, also consider the .elc files, since the .el files are
16051 normally gzipped (subsequent code locates the .el.gz from the .elc).
16053 * calc/calc-prog.el (arglist): Define for compiler.
16055 * calendar/diary-lib.el (diary-display-function): Change the default to
16057 (body): Define for compiler.
16059 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16060 (byte-compile-file-form, byte-compile-lambda)
16061 (byte-compile-top-level-body, byte-compile-form)
16062 (byte-compile-variable-ref, byte-compile-setq)
16063 (byte-compile-setq-default, byte-compile-body)
16064 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16065 (batch-byte-compile): Give some more local variables with common names
16066 a "bytecomp-" prefix to avoid masking warnings about free variables.
16068 * startup.el (command-line-1): Give local variables with common names a
16069 distinguishing prefix, so as not to hide free variable warnings during
16072 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16073 clever and add a suffix to make a unique name, just let the user decide
16074 whether or not to overwrite it. If the input is a directory, write the
16075 default filename to that directory. (Bug#4388)
16076 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16077 is a filename-as-a-directory.
16079 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16081 * textmodes/page.el (what-page): Don't move to beginning of line.
16082 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16084 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16086 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16088 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16090 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16091 * help.el (help-for-help-internal): Add purecopy calls for text.
16093 * vc.el (top): print-log method now takes an optional SHORTLOG
16094 argument. Add a new method: root.
16095 (vc-root-diff, vc-print-root-log): New functions.
16096 (vc-log-short-style): New variable.
16097 (vc-print-log-internal): Add support for showing short logs.
16099 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16100 vc-print-root-log and vc-print-root-diff.
16102 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16103 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16104 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16107 * vc-cvs.el (vc-cvs-print-log):
16108 * vc-mtn.el (vc-mtn-print-log):
16109 * vc-rcs.el (vc-rcs-print-log):
16110 * vc-sccs.el (vc-sccs-print-log):
16111 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16112 that is ignored for now.
16114 * vc-mtn.el (vc-mtn-annotate-command):
16115 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16117 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16119 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16120 to function-key-map, and give them ascii-character property.
16121 * term/x-win.el (x-alternatives-map):
16122 * term/ns-win.el (ns-alternatives-map):
16123 * term/internal.el (msdos-key-remapping-map):
16124 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16126 2009-09-14 Glenn Morris <rgm@gnu.org>
16128 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16129 temp-buffers (2009-09-12).
16131 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16133 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16134 the new read-key function.
16136 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16138 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16139 is defined (Bug#4405).
16141 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16143 * recentf.el (recentf-cleanup): Use a hash table to find
16144 duplicates (Bug#4407).
16146 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16148 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16149 kp-0 to ascii equivalents (Bug#4325).
16151 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16153 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16155 * eshell/em-hist.el:
16156 * eshell/em-dirs.el (eshell-complete-user-reference):
16157 Declare pcomplete functions and variables to avoid compiler warnings.
16159 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16161 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16162 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16163 * eshell/em-alias.el (eshell-aliases-file):
16164 * eshell/em-hist.el (eshell-history-file-name):
16165 Use expand-file-name instead of concat to make file names (Bug#4308).
16167 2009-09-13 Glenn Morris <rgm@gnu.org>
16169 * ediff-merg.el (ediff-do-merge):
16170 * filesets.el (filesets-run-cmd):
16171 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16172 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16173 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16174 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16175 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16176 Replace empty `let's with `progn'.
16178 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16180 * mail/sendmail.el (send-mail-function):
16181 * tooltip.el (tooltip-mode):
16182 * simple.el (transient-mark-mode):
16183 * rfn-eshadow.el (file-name-shadow-mode):
16184 * frame.el (blink-cursor-mode):
16185 * font-core.el (global-font-lock-mode):
16186 * files.el (temporary-file-directory)
16187 (small-temporary-file-directory, auto-save-file-name-transforms):
16188 * epa-hook.el (auto-encryption-mode):
16189 * composite.el (global-auto-composition-mode):
16190 Use custom-initialize-delay.
16191 * startup.el (command-line): Don't explicitly call
16192 custom-reevaluate-setting for all the above vars.
16193 * custom.el (custom-initialize-safe-set)
16194 (custom-initialize-safe-default): Delete.
16196 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16198 * term/x-win.el (x-initialize-window-system):
16199 * term/w32-win.el (w32-initialize-window-system):
16200 * term/ns-win.el (ns-initialize-window-system): Don't call
16201 mouse-wheel-mode since it's enabled globally by default already.
16203 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16204 actually define the variable, but only silences the byte-compiler.
16205 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16206 before looking it up.
16207 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16210 2009-09-12 Glenn Morris <rgm@gnu.org>
16212 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16214 (elint-add-required-env): Don't beep on error.
16215 (elint-forms): In case of error, return ENV unchanged.
16216 (elint-init-env): Skip non-list forms.
16217 (elint-log): Handle unknown file positions.
16219 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16221 * epg.el (epg-make-context): Add autoload cookie.
16222 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16223 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16224 (epg-verify-string, epg-start-sign, epg-sign-file)
16225 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16226 (epg-encrypt-string, epg-start-export-keys)
16227 (epg-export-keys-to-file, epg-export-keys-to-string)
16228 (epg-start-import-keys, epg-import-keys-from-file)
16229 (epg-import-keys-from-string, epg-start-receive-keys)
16230 (epg-receive-keys, epg-import-keys-from-server)
16231 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16232 (epg-sign-keys, epg-start-generate-key)
16233 (epg-generate-key-from-file, epg-generate-key-from-string):
16234 Remove autoload cookie.
16236 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16238 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16239 reevaluation of trash-directory.
16241 * mwheel.el: Fix last change.
16242 (mouse-wheel-mode): New defvar.
16243 (mouse-wheel-mode): Remove autoload cookie.
16245 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16247 * mwheel.el (mwheel-installed-bindings): New var.
16248 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16249 the bindings we set last time. Use custom-initialize-delay.
16250 * loadup.el: Load mwheel after term/*-win.el.
16251 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16252 and mouse-wheel-up-event now that their first evaluation is done
16253 sufficiently late to be correct.
16255 * startup.el (tutorial-directory): Make it a defcustom.
16256 Use custom-initialize-delay rather than eval-at-startup to set it.
16257 * image.el (image-load-path): Make it a defcustom.
16258 Use custom-initialize-delay rather than eval-at-startup to set it.
16259 * subr.el (eval-at-startup): Remove.
16260 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16262 * subr.el (do-after-load-evaluation): Warn the user after loading an
16265 2009-09-12 Glenn Morris <rgm@gnu.org>
16267 * proced.el (proced-mark-alt): Remove alias.
16268 (proced-mode-map): Remove proced-mark-alt.
16270 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16271 Elint file and directory. Remove initialization entry.
16273 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16275 (elint-current-buffer): Set mode-line-process.
16276 (elint-init-env): Handle define-derived-mode.
16277 Fix declare-function with unspecified arglist. Guard against odd
16278 defalias statements (eg iso-insert's 8859-1-map).
16279 (elint-add-required-env): Use a temp buffer.
16280 (elint-form): Just print the function/macro name, not the whole form.
16281 Return env unchanged if we fail to parse a macro.
16282 (elint-forms): Guard against parse errors.
16283 (elint-output): New function, to handle batch mode.
16284 (elint-log-message): Add optional argument. Use elint-output.
16285 (elint-set-mode-line): New function.
16287 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16289 * emacs-lisp/elp.el (elp-not-profilable): Add more
16290 functions (Bug#4233).
16292 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16294 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16295 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16297 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16299 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16300 (gdb-var-list-children): Use json parsing.
16302 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16304 * progmodes/js.el (js--proper-indentation): Handle the case where
16305 char-before is null. Reported by Deniz Dogan.
16307 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16309 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16311 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16313 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16314 (epg-digest-algorithm-alist): Add SHA224.
16315 (epg-context-set-passphrase-callback)
16316 (epg-context-set-progress-callback): Add description about
16319 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16321 * custom.el (custom-delayed-init-variables): New var.
16322 (custom-initialize-delay): New function.
16323 * startup.el (command-line): "Re"evaluate all vars in
16324 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16325 explicitly any more.
16326 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16327 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16329 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16331 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16333 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16334 (gdb-var-update-handler): Use json parsing.
16336 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16338 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16339 decode annotated text, regardless of language environment. (Bug#2741)
16341 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16343 * Makefile.in (autoloads): Make rmail.el writable as well.
16345 2009-09-11 Glenn Morris <rgm@gnu.org>
16347 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16349 * dired.el: Regenerate with extracted autoloads.
16350 * Makefile.in (autoloads): Make dired.el writable.
16352 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16353 * ibuffer.el: Regenerate with extracted autoloads.
16354 * Makefile.in (autoloads): Make ibuffer.el writable.
16356 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16357 * version.el (emacs-copyright, emacs-major-version)
16358 (emacs-minor-version): Reformat doc-strings for make-docfile.
16360 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16361 functions and variables, since they must be stuff specific to some other
16363 (apropos-print): Make mouse-click message less specific about button.
16365 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16366 that records where a macro was defined.
16367 * help-fns.el (describe-function-1): Mention if a function has a
16369 * help-mode.el (help-function-cmacro): New button.
16371 * locate.el (top-level): Always require dired.
16372 (locate-mode-map): Initialize inside the defvar.
16374 * net/ange-ftp.el (dired-compress-file): Declare.
16375 (ange-ftp-dired-compress-file): Add doc string.
16377 * term/ns-win.el (x-display-name, x-setup-function-keys):
16378 Unify doc-strings with X versions.
16380 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16382 * emulation/crisp.el (crisp-mode-map): Move initialization
16384 (crisp-mode): Use define-minor-mode.
16386 * progmodes/xscheme.el (xscheme-evaluation-commands):
16387 Put a :advertised-binding property rather than using
16388 advertised-xscheme-send-previous-expression.
16389 (advertised-xscheme-send-previous-expression): Declare obsolete.
16390 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16392 (crisp-mode): Add corresponding bindings to
16393 undo's :advertised-binding instead.
16394 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16395 than using dired-advertised-find-file.
16396 (dired-advertised-find-file):
16397 * simple.el (advertised-undo):
16398 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16399 (widget-keymap): Put a :advertised-binding property rather
16400 than using advertised-widget-backward.
16401 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16402 than using advertised-undo.
16403 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16405 2009-09-10 Simon South <ssouth@slowcomputing.org>
16407 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16408 Mark mode is enabled and region is active; otherwise indent or
16409 insert TAB as usual.
16410 (delphi-mode): Update description of TAB-key binding.
16412 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16414 * subr.el (define-key-rebound-commands): Mark obsolete.
16415 * startup.el (precompute-menubar-bindings): Remove.
16416 (normal-top-level): Remove obsolete code that tried to precompute
16418 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16419 define-key-rebound-commands and precompute-menubar-bindings.
16421 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16423 * net/imap.el (imap-interactive-login): Better messages.
16424 (imap-open): Fix bug with renamed buffer on reconnect.
16425 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16426 for easier debugging and cleaner code. On successful (guessed based on
16427 server capabilities) secondary authentication, set imap-state
16429 (imap-last-authenticator): Define imap-last-authenticator as a variable
16432 2009-09-10 Glenn Morris <rgm@gnu.org>
16434 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16436 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16437 (byte-compile-file-form-autoload): Don't warn about unknown functions
16438 where the autoload statement comes after the use.
16439 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16440 that any handlers inside the body (eg require) are in turn respected.
16442 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16445 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16446 and syntax and abbrev tables basic docs, if they don't have any.
16448 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16450 * international/mule-cmds.el (top-level): Require cl when compiling.
16451 (view-hello-file): Use default-value rather than
16452 default-enable-multibyte-characters.
16454 * progmodes/fortran.el: Move all safe and risky properties into the
16457 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16458 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16459 * mail/undigest.el:
16460 Put autoloads in rmail.el rather than loaddefs.el.
16461 * mail/rmail.el: Regenerate with extracted autoloads.
16463 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16464 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16466 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16468 Reported in thread for Bug#4375.
16469 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16470 "-data-evaluate-expression" instead of print.
16471 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16472 (gdb-tooltip-print): Parse output from above MI command.
16473 (gdb): Revert 2009-08-11 change. User should detach inferior
16476 Remove the word "separate" from IO functions as inferior
16477 output is now never displayed in the GUD buffer.
16479 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16481 * startup.el (command-line-normalize-file-name): On Windows and
16482 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16484 2009-09-10 Juri Linkov <juri@jurta.org>
16486 * isearch.el (isearch-text-char-description): Propertize escape
16487 character sequences with the `escape-glyph' face. (Bug#4344)
16489 * simple.el (shell-command): Set asynchronous process filter to
16490 `comint-output-filter'. (Bug#4343)
16492 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16493 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16494 the list. Move "asm" to the bottom.
16495 (grep-find-ignored-directories): Add `choice' with nil value
16496 to empty the list easily.
16497 (grep-find-ignored-files): New option.
16498 (grep-files-history): Set to nil by default instead of '("ch" "el").
16499 (grep-compute-defaults): Add "<X>" to `grep-template'.
16500 (grep-read-files): Bind new local variables `default-alias' and
16501 `default-extension'. Use a list of default values for the file prompt.
16502 (lgrep): Add `--exclude=' command line options composed from
16503 `grep-find-ignored-files'.
16504 (rgrep): Add `-name' command line options composed from
16505 `grep-find-ignored-files'. (Bug#4301)
16507 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16509 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16512 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16514 * calendar/time-date.el (autoload):
16515 Expand define-obsolete-function-alias into defalias and make-obsolete
16516 for old Emacsen that Gnus supports.
16517 (with-no-warnings): Define it for old Emacsen.
16518 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16520 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16521 float-time is available; suppress compile warning for time-to-seconds.
16523 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16525 * net/imap.el (imap-message-map): Docstring fix.
16527 2009-09-09 Glenn Morris <rgm@gnu.org>
16529 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16530 line numbers too. (Bug#4374)
16532 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16534 * smerge-mode.el (smerge-remove-props, smerge-refine):
16535 Use with-silent-modifications (bug#4342).
16537 * subr.el (with-silent-modifications): New macro.
16539 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16541 * files.el (top-level): Require `cl' when compiling.
16543 2009-09-07 Glenn Morris <rgm@gnu.org>
16545 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16547 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16548 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16550 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16552 * vc-git.el (vc-git-annotate-command): Use separator to parse
16553 arguments correctly.
16555 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16557 * proced.el (proced-mode): Doc fix.
16559 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16561 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16563 (tramp-do-file-attributes-with-ls): Check for file existence at
16565 (tramp-do-file-attributes-with-stat): Likewise.
16566 (tramp-convert-file-attributes): Return nil when attr is nil.
16568 2009-09-05 Glenn Morris <rgm@gnu.org>
16570 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16571 properties to this button.
16572 (diary-fancy-display): Don't extend the button to the final newline.
16573 (diary-fancy-display-mode): Continue to define "q" as a local key.
16575 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16578 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16580 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16581 (byte-compile-dest-file-function): New option.
16582 (byte-compile-dest-file): Doc fix.
16583 Obey byte-compile-dest-file-function.
16584 (byte-compile-cl-file-p): New function.
16585 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16586 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16587 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16588 than for file being previously loaded.
16589 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16590 (byte-compile-file-form-require): Handle the case where requiring a file
16591 indirectly causes CL to be loaded.
16593 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16595 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16596 before killing the old buffer, since by the time `kill-buffer' is
16597 run so many buffer variables have been set to nil that it may not
16598 behave as expected. (Bug#4061)
16600 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16602 * files.el (find-alternate-file): If the old buffer is modified
16603 and visiting a file, behave similarly to `kill-buffer' when
16604 killing it, thus reverting to the pre-1.878 behavior; see
16605 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16606 for discussion. Also, consult `buffer-file-name' as a variable
16607 not as a function, for consistency with the rest of the code.
16609 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16611 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16612 also when adding a new directory.
16614 * net/tramp-compat.el (tramp-compat-line-beginning-position):
16617 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16619 * files.el (locate-file-completion-table): Make it provide boundary
16620 information, so partial-completion works better.
16622 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16624 * mail/footnote.el (Footnote-text-under-cursor):
16625 Check footnote-text-marker-alist before using it (bug#4324).
16627 2009-09-04 Glenn Morris <rgm@gnu.org>
16629 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16630 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16631 * play/solitaire.el, play/tetris.el:
16632 Remove leading * from defcustom and defface docs.
16634 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16636 (diary-fancy-overriding-map): New variable.
16637 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16640 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16643 2009-09-03 Glenn Morris <rgm@gnu.org>
16645 * arc-mode.el (archive-mode):
16646 * dos-fns.el (set-default-process-coding-system):
16647 * man.el (Man-getpage-in-background):
16648 * menu-bar.el (menu-bar-describe-menu):
16649 * server.el (server-process-filter):
16650 * startup.el (command-line):
16651 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16652 * w32-fns.el (set-default-process-coding-system):
16653 * x-dnd.el (x-dnd-handle-file-name):
16654 * international/mule-cmds.el (mule-menu-keymap)
16655 (set-default-coding-systems, language-info-alist, set-language-info)
16656 (set-language-environment, standard-display-european-internal)
16657 (set-locale-environment):
16658 * international/mule-diag.el (mule-diag):
16659 * mail/emacsbug.el (report-emacs-bug):
16660 * mail/rmail.el (rmail-mode):
16661 * mail/sendmail.el (mail-setup):
16662 Use default-value rather than default-enable-multibyte-characters.
16664 * progmodes/f90.el: Move all safe properties into the defcustoms.
16665 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16667 * calendar/appt.el (appt-check):
16668 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16669 (diary-check-diary-file, diary-list-entries)
16670 (diary-include-other-diary-files, diary-simple-display)
16671 (diary-fancy-display, diary-print-entries)
16672 (diary-mark-included-diary-files, diary-make-entry):
16673 Don't call substitute-in-file-name on diary-file.
16675 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16676 Stefan Monnier <monnier@iro.umontreal.ca>
16678 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16679 (footnote-mode-map): Move initialization into the declaration.
16680 (footnote-minor-mode-map): Define it rather than changing global-map.
16681 (footnote-mode): Use define-minor-mode.
16683 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16685 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16686 (tramp-do-file-attributes-with-perl)
16687 (tramp-do-file-attributes-with-stat): Rename from
16688 `tramp-handle-file-attributes-with-*'.
16689 (tramp-handle-file-attributes): Use them.
16690 (tramp-do-directory-files-and-attributes-with-perl)
16691 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16692 `tramp-handle-directory-files-and-attributes-with-*'.
16693 (tramp-handle-directory-files-and-attributes): Use them.
16694 (tramp-method-out-of-band-p): Additional parameter SIZE.
16695 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16696 (tramp-handle-write-region): Use it.
16697 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16698 (tramp-handle-vc-registered): Check, whether the first run did
16699 return files to be tested.
16700 (tramp-advice-make-auto-save-file-name): Do not call directly
16701 `tramp-handle-make-auto-save-file-name', because this would bypass
16702 the locking mechanism.
16704 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16705 (file-remote-p, process-file, start-file-process, set-file-times)
16706 (tramp-compat-file-attributes): Compatibility functions shall not
16707 call directly `tramp-handle-*', because this would bypass the
16709 (tramp-compat-number-sequence): New defun.
16711 2009-09-02 Glenn Morris <rgm@gnu.org>
16713 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16714 alias for float-time.
16715 (time-to-number-of-days): In Emacs, use float-time.
16716 * net/newst-backend.el (time-add): Suppress warnings from compat
16718 * time.el (emacs-uptime, emacs-init-time):
16719 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16720 Use float-time rather than time-to-seconds.
16722 * minibuffer.el (completion-initials-expand): Fix typo.
16724 * faces.el (modeline, modeline-inactive, modeline-highlight)
16725 (modeline-buffer-id):
16726 * info.el (info-menu-5): Mark these face aliases as obsolete.
16728 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16730 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16732 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16733 no "--thread" option.
16734 (gdb-stopped): Don't print "Switched to thread" message when it is
16737 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16739 * minibuffer.el (completion-try-completion)
16740 (completion-all-completions): Remove ill-defined (and
16741 mistakenly installed and luckily never used nor documented)
16742 `completion-styles' property.
16743 (completion-initials-expand, completion-initials-all-completions)
16744 (completion-initials-try-completion): New functions.
16745 (completion-styles-alist): Add doc to each entry.
16746 Add new `initials' entry.
16748 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16750 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16751 MI command -var-evaluate-expression.
16752 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16753 and tweak for case of string child.
16754 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16756 2009-09-01 Glenn Morris <rgm@gnu.org>
16758 * add-log.el (change-log-date-face, change-log-name-face)
16759 (change-log-email-face, change-log-file-face, change-log-list-face)
16760 (change-log-conditionals-face, change-log-function-face)
16761 (change-log-acknowledgement-face):
16762 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16763 (custom-modified-face, custom-set-face, custom-changed-face)
16764 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16765 (custom-documentation-face, custom-state-face, custom-comment-face)
16766 (custom-comment-tag-face, custom-variable-tag-face)
16767 (custom-variable-button-face, custom-face-tag-face)
16768 (custom-group-tag-face-1, custom-group-tag-face):
16769 * diff-mode.el (diff-header-face, diff-file-header-face)
16770 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16771 (diff-added-face, diff-changed-face, diff-function-face)
16772 (diff-context-face, diff-nonexistent-face):
16773 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16774 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16775 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16776 (Info-title-4-face):
16777 * isearch.el (isearch-lazy-highlight-face):
16778 * log-view.el (log-view-file-face, log-view-message-face):
16779 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16780 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16781 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16783 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16784 (smerge-base-face, smerge-markers-face):
16785 * wid-edit.el (widget-documentation-face, widget-button-face)
16786 (widget-field-face, widget-single-line-field-face)
16787 (widget-inactive-face, widget-button-pressed-face):
16788 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16789 (woman-addition-face):
16790 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16791 (eshell-ls-executable-face, eshell-ls-readonly-face)
16792 (eshell-ls-unreadable-face, eshell-ls-special-face)
16793 (eshell-ls-missing-face, eshell-ls-archive-face)
16794 (eshell-ls-backup-face, eshell-ls-product-face)
16795 (eshell-ls-clutter-face):
16796 * eshell/em-prompt.el (eshell-prompt-face):
16797 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16798 * obsolete/old-whitespace.el (whitespace-highlight-face):
16799 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16800 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16801 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16802 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16803 (antlr-font-lock-literal-face):
16804 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16805 (ebrowse-root-class-face, ebrowse-file-name-face)
16806 (ebrowse-default-face, ebrowse-member-attribute-face)
16807 (ebrowse-member-class-face, ebrowse-progress-face):
16808 * progmodes/make-mode.el (makefile-space-face):
16809 * progmodes/sh-script.el (sh-heredoc-face):
16810 * textmodes/flyspell.el (flyspell-incorrect-face)
16811 (flyspell-duplicate-face):
16812 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16813 * textmodes/texinfo.el (texinfo-heading-face):
16814 Mark face aliases with "-face" suffix as obsolete.
16816 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16819 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16820 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16821 easy-menu-define wants to modify these.
16823 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16825 * net/browse-url.el (browse-url-file-url):
16826 * term/internal.el (dos-codepage-setup):
16827 Use default-value rather than default-enable-multibyte-characters.
16829 * progmodes/etags.el (etags-goto-tag-location):
16830 * progmodes/flymake.el (flymake-highlight-line)
16831 (flymake-goto-file-and-line, flymake-goto-line):
16832 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16833 (gdb-goto-breakpoint):
16834 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16835 * progmodes/python.el (python-find-function)
16836 (python-pdbtrack-track-stack-file):
16837 * progmodes/verilog-mode.el (verilog-surelint-off):
16838 * term/ns-win.el (ns-open-file-select-line):
16839 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16840 Use forward-line rather than goto-line.
16842 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16843 * textmodes/reftex-index.el (reftex-display-index):
16844 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16845 * textmodes/reftex-toc.el (reftex-toc):
16846 Remove unnecessary bindings of default-major-mode (all are followed by
16847 major-mode check and possible mode switch).
16849 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16851 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16852 Handle watchpoints (bug#4282).
16853 (def-gdb-thread-buffer-command): Enable thread to be selected by
16854 clicking without selecting threads buffer first.
16855 (gdb-current-context-command): Use selected frame so that "up",
16856 "down" etc work in the GUD buffer.
16857 (gdb-update): Find selected frame before rendering stack buffer.
16858 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16860 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16862 * progmodes/sym-comp.el (displayed-completions): Remove.
16863 (symbol-complete): Use minibuffer-complete.
16865 2009-08-31 Glenn Morris <rgm@gnu.org>
16867 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16869 * apropos.el (apropos-symbols-internal):
16870 Handle (obsolete) face aliases.
16872 * faces.el (describe-face): Adjust the output format to be more like
16873 describe-variable, and to mention (obsolete) face aliases.
16874 Adjust the whitespace so that help-setup-xref works.
16876 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16877 * calendar/diary-lib.el (diary-button-face):
16878 Mark these face aliases as obsolete.
16880 * calendar/calendar.el (calendar-today): Doc fix.
16882 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16884 * progmodes/gdb-mi.el (gdb-control-all-threads)
16885 (gdb-control-current-thread): Force tool bar update.
16886 (gdb-non-stop-handler): New function.
16887 (gdb-init-1): Use it to test if non-stop mode is supported.
16888 Remove unused gdbmi buffer type.
16890 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16892 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16893 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
16895 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
16897 * comint.el (comint-exec-1): Check command is non-null first.
16898 Part of gdb-mi.el change (2009-08-28).
16900 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16902 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16904 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
16906 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16907 instead of `dolist' to avoid a recursive require when bootstrapping.
16909 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16911 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16913 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16915 * net/imap.el (imap-send-command): Simplify.
16916 (imap-wait-for-tag): point-max -> buffer-size.
16918 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16920 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16921 with constant argument.
16923 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16925 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16927 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16928 Change default, since most of our files don't have a history.
16929 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16932 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16935 * calc/calc.el: Improve commenting convention.
16936 (calc-digit-map, toplevel): Simplify.
16938 * comint.el (comint-insert-input): Be careful to only set point if we
16939 don't delegate to some other command.
16941 * proced.el (proced-signal-list): Make it an alist.
16942 (proced-grammar-alist): Capitalize names.
16943 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16944 Disable undo manually and make it read-only.
16945 Use completion-annotate-function.
16947 * minibuffer.el (minibuffer-message): If the current buffer is not
16948 a minibuffer, insert the message in the echo area rather than at the
16950 (completion-annotate-function): New variable.
16951 (minibuffer-completion-help): Use it.
16952 (completion--embedded-envvar-table): Environment vars are
16953 always case-sensitive.
16955 2009-08-30 Glenn Morris <rgm@gnu.org>
16957 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16958 from fortran-current-defun.
16959 (fortran-beginning-of-subprogram): Be more precise about finding the
16960 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16961 (fortran-end-of-subprogram): Simplify.
16962 (fortran-current-defun): Use fortran-start-prog-re.
16964 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
16966 * subr.el (do-after-load-evaluation): Simplify.
16968 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
16970 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16972 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
16973 (vc-rcs-print-log): Use it.
16975 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16977 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16979 * paths.el (abbrev-file-name): Move to abbrev.el.
16980 * abbrev.el (abbrev-file-name): Move from paths.el.
16981 Obey user-emacs-directory.
16982 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16983 user-emacs-directory.
16984 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16985 abbrev-file-name and calc-settings-file any more.
16986 * startup.el (command-line): Recompute abbrev-file-name and
16987 abbreviated-home-dir.
16988 (normal-no-mouse-startup-screen): Improve the generic code and get rid
16989 of the special code for when C-h bindings haven't been changed.
16990 (display-startup-echo-area-message): Use with-current-buffer.
16991 (command-line-1): Use a list of strings, rather than a list of lists
16992 of strings for longopts.
16994 * files.el (get-free-disk-space): Use / for default-directory.
16996 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16997 Use with-current-buffer.
16999 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17000 Recognize immutable variables like most-positive-fixnum.
17001 (byte-compile-setq-default): Check and warn if trying to assign
17002 to an immutable variable, or a non-variable.
17004 * progmodes/cc-vars.el (c-comment-continuation-stars):
17005 * progmodes/cc-engine.el (c-looking-at-bos):
17006 * progmodes/cc-cmds.el (c-toggle-auto-state)
17007 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17008 (c-comment-line-break-function): Add version of obsolescence.
17010 2009-08-28 Juri Linkov <juri@jurta.org>
17012 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17013 associated with `archive-mode'.
17015 * image.el (image-type-header-regexps): Use only JPEG magic number
17016 to determine JPEG images, and don't use `image-jpeg-p' because
17017 Emacs can display non-JFIF non-Exif JPEG images.
17019 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17021 * arc-mode.el (archive-mode):
17022 * emacs-lisp/re-builder.el (re-builder-unload-function):
17023 Protect against the default value of `major-mode' being nil.
17025 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17027 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17028 Fix typos in docstrings.
17030 * progmodes/js.el (js--macro-decl-re): Doc fix.
17031 (js--plain-method-re, js--split-name): Refloc docstring.
17032 (js--class-styles, js--make-merged-item, js--splice-into-items):
17033 Fix typos in docstrings; reflow docstrings.
17034 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17035 (js--variable-decl-matcher, js--inside-pitem-p)
17036 (js--parse-state-at-point, js--get-all-known-symbols)
17037 (js--symbol-history, js-find-symbol, js--js-references)
17038 (js--moz-interactor, js--js-encode-value, js--read-tab):
17039 Fix typos in docstrings.
17041 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17043 * textmodes/reftex.el (reftex-get-file-buffer-force):
17044 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17045 * emulation/viper.el (viper-go-away, viper-set-hooks):
17046 * emacs-lisp/re-builder.el (re-builder-unload-function):
17047 * emacs-lisp/bytecomp.el (byte-compile-file):
17048 * ses.el (ses-unload-function):
17049 * hexl.el (hexl-find-file):
17050 * files.el (normal-mode):
17051 * ehelp.el (with-electric-help):
17052 * autoinsert.el (auto-insert-alist):
17053 * arc-mode.el (archive-mode):
17054 Use (default-value 'major-mode) instead of default-major-mode.
17056 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17057 * international/mule.el (load-with-code-conversion):
17058 * emacs-lisp/debug.el (debug):
17059 * ediff-vers.el (ediff-rcs-get-output-buffer):
17060 * dired.el (dired-internal-noselect): Don't let-bind
17061 default-major-mode around code that doesn't use it.
17062 E.g. buffer creation via get-buffer-create doesn't use it.
17064 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17066 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17067 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17068 when writing the temp file. Otherwise, epa-file gets confused.
17069 (tramp-register-file-name-handlers): Make it a defun. Move also
17070 `epa-file-handler' to the front of `file-name-handler-alist'.
17072 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17074 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17075 start right after a ^M.
17076 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17077 (tramp-completion-file-name-regexp-separate)
17078 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17079 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17080 Don't modify last-coding-system-used by accident.
17081 (tramp-completion-file-name-handler): Apply the checks here,
17082 instead during registration.
17083 (tramp-register-file-name-handlers): Renamed from
17084 `tramp-register-file-name-handler'. Register both
17085 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17086 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17088 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17090 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17091 Remove variable ...
17092 (gdb-init-1, gdb-display-separate-io-buffer)
17093 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17095 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17096 (gdb-inferior-filter): Use comint-output-filter to stop
17097 echoing and remove ^M characters.
17099 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17101 * emulation/viper-init.el (viper-restore-cursor-type):
17102 * emulation/cua-base.el (cua--update-indications):
17103 Replace default-cursor-type with (default-value 'cursor-type).
17105 * mail/sendmail.el (mail-recover-1):
17106 * international/mule-diag.el (describe-current-coding-system-briefly)
17107 (describe-current-coding-system):
17108 * international/mule-cmds.el (select-safe-coding-system)
17109 (select-message-coding-system)
17110 (set-language-environment-coding-systems, set-locale-environment):
17111 * hexl.el (hexl-insert-multibyte-char):
17112 * dos-w32.el (find-buffer-file-type-coding-system):
17113 * simple.el (what-cursor-position):
17114 Replace uses of default-buffer-file-coding-system
17115 with (default-value 'buffer-file-coding-system).
17117 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17118 Replace uses of default-cursor-in-non-selected-windows
17119 with (default-value 'cursor-in-non-selected-windows).
17120 Use with-current-buffer.
17122 * mail/feedmail.el: Use CL macros.
17123 (feedmail-run-the-queue, feedmail-send-it-immediately):
17124 * dos-w32.el (find-buffer-file-type): Replace uses of
17125 default-buffer-file-type with (default-value 'buffer-file-type).
17127 2009-08-28 Glenn Morris <rgm@gnu.org>
17129 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17130 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17131 Use default-value of major-mode rather than default-major-mode.
17133 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17135 * Makefile.in (update-elcfiles): Report left over elc files.
17137 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17138 expand-file-name and with-current-buffer.
17139 (mail-get-names, mail-directory): Use with-current-buffer.
17141 * vc.el (vc-read-revision): New function.
17142 (vc-version-diff, vc-merge): Use it.
17144 2009-08-27 Sam Steingold <sds@gnu.org>
17146 * simple.el (kill-do-not-save-duplicates): New user option.
17147 (kill-new): When it is non-nil, and the new string is the same as
17148 the latest kill, set replace to t to avoid duplicates in kill-ring.
17150 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17152 * net/tramp.el (tramp-handle-process-file): Do not flush all
17153 caches when `process-file-side-effects' is set.
17154 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17155 instead of `tramp-find-file-exists-command'.
17156 Unset `process-file-side-effects'.
17158 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17160 * net/tramp.el (tramp-methods): New method "rsyncc".
17161 (top): Add completion function for "rsyncc".
17162 (tramp-message-show-message): New defvar.
17163 (tramp-message, tramp-error): Use it.
17164 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17166 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17167 `tramp-methods' entry `copy-env' of "rsyncc".
17168 (tramp-vc-registered-read-file-names): New defconst.
17169 (tramp-vc-registered-file-names): New defvar.
17170 (tramp-handle-vc-registered): Implement optimization strategy.
17171 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17172 (tramp-vc-file-name-handler): New defun.
17173 (tramp-get-ls-command, tramp-get-test-command)
17174 (tramp-get-file-exists-command, tramp-get-remote-ln)
17175 (tramp-get-remote-perl, tramp-get-remote-stat)
17176 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17178 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17179 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17181 (tramp-get-file-property): Check for timestamps in
17182 `tramp-cache-inhibit-cache'.
17183 (tramp-set-file-property): Write timestamp.
17185 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17187 * language/japan-util.el (japanese-symbol-table): Add entries for
17190 * international/characters.el: Add category `j' to cp932-2-byte.
17192 2009-08-27 Kenichi Handa <handa@m17n.org>
17194 * international/fontset.el (build-default-fontset-data): New macro.
17195 (setup-default-fontset): Use build-default-fontset-data for CJK,
17196 tibetan, ethiopic, and ipa.
17198 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17200 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17201 (enable-multibyte-characters): Not customizable any more.
17203 * subr.el (default-mode-line-format, default-header-line-format)
17204 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17205 (default-direction-reversed, default-truncate-lines)
17206 (default-left-margin, default-tab-width, default-case-fold-search)
17207 (default-left-margin-width, default-right-margin-width)
17208 (default-left-fringe-width, default-right-fringe-width)
17209 (default-fringes-outside-margins, default-scroll-bar-width)
17210 (default-vertical-scroll-bar, default-indicate-empty-lines)
17211 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17212 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17213 (default-scroll-down-aggressively, default-fill-column)
17214 (default-cursor-type, default-buffer-file-type)
17215 (default-cursor-in-non-selected-windows)
17216 (default-buffer-file-coding-system, default-major-mode)
17217 (default-enable-multibyte-characters): Mark as obsolete.
17219 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17221 * vc-dir.el (vc-dir-update): Remove debug helper.
17223 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17225 2009-08-26 Sam Steingold <sds@gnu.org>
17227 * simple.el (save-interprogram-paste-before-kill): New user option.
17228 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17229 save the interprogram-paste into kill-ring before overriding it
17230 with the Emacs kill.
17232 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17234 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17235 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17236 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17237 and move to vc-rcs.el.
17238 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17240 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17241 (vc-rcs-update-changelog): Remove.
17242 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17243 and move to vc-rcs.el.
17245 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17246 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17248 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17249 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17250 vc.el, renamed to be RCS specific.
17252 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17254 (vc-cvs-update-changelog): Move here from vc.el.
17256 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17259 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17261 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17263 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17265 * vc-git.el (vc-git-register): Use "git add" for directories.
17266 (vc-git-stash, vc-git-stash-show): New functions.
17267 (vc-git-extra-menu-map): Bind them.
17269 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17270 directory correctly in case the item is a directory itself.
17272 * vc.el: Document the desired behavior for reverted files in the
17274 (vc-default-prettify-state-info): Remove function, unused.
17276 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17278 2009-08-26 Glenn Morris <rgm@gnu.org>
17280 * bindings.el (standard-mode-line-format): Reposition dashes in
17281 which-func entry. (Bug#4217)
17283 * files.el (enable-local-variables, enable-local-eval)
17284 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17286 (auto-mode-alist, ignored-local-variables)
17287 (save-some-buffers-action-alist): Move risky declarations to the
17289 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17290 (font-lock-defaults, format-alist, imenu--index-alist)
17291 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17292 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17293 (mode-line-modified, mode-line-mule-info, mode-line-position)
17294 (mode-line-process, mode-line-remote, outline-level)
17295 (parse-time-rules, rmail-output-file-alist)
17296 (special-display-buffer-names, vc-mode):
17297 Move risky declarations to the relevant files.
17298 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17299 (mode-line-modified, mode-line-process, mode-line-position)
17300 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17301 * font-core.el (font-lock-defaults):
17302 * format.el (format-alist):
17303 * vc-hooks.el (vc-mode):
17304 * window.el (special-display-buffer-names):
17305 * international/mule-cmds.el (input-method-alist):
17306 Define riskiness here (dumped file) rather than in files.el.
17307 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17308 * imenu.el (imenu-generic-expression, imenu--index-alist):
17309 * outline.el (outline-level):
17310 * time.el (display-time-string):
17311 * calendar/parse-time.el (parse-time-rules):
17312 * mail/rmailout.el (rmail-output-file-alist):
17313 Autoload riskiness here, rather than placing in files.el.
17315 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17317 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17319 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17321 * simple.el (process-file-side-effects): New defvar.
17323 * dired-aux.el (dired-show-file-type):
17324 * vc.el (vc-diff-internal):
17325 * vc-arch.el (vc-arch-diff):
17326 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17327 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17328 * vc-git.el (vc-git-registered, vc-git-working-revision)
17329 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17330 (vc-git--empty-db-p):
17331 * vc-hooks.el (vc-user-login-name):
17332 * vc-svn.el (vc-svn-registered, vc-svn-state)
17333 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17334 * progmodes/grep.el (grep-probe): Let-bind
17335 `process-file-side-effects' with nil.
17337 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17339 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17340 daemon. Replace ping by checking for running service for bluez
17341 and zeroconf. (Bug#4239)
17343 2009-08-25 Kevin Ryde <user42@zip.com.au>
17345 * net/dig.el (dig): Add autoload cookie.
17347 2009-08-25 Glenn Morris <rgm@gnu.org>
17349 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17350 load-history for absolute file-names.
17351 (byte-compile-file-form-require): Warn about use of the cl package.
17353 * format.el (format-alist): Doc fix.
17355 * play/bubbles.el (top-level): Don't require cl at run-time.
17357 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17360 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17362 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17364 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17366 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17368 * calc/calc-alg.el (math-trig-rewrite)
17369 (math-hyperbolic-trig-rewrite): New functions.
17370 (calc-simplify): Simplify trig functions when asked.
17372 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17374 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17376 2009-08-24 Kenichi Handa <handa@m17n.org>
17378 * language/ind-util.el (mapthread): Delete it.
17379 (combinatorial): New function.
17380 (indian--puthash-cv): Use combinatorial instead of mapthread.
17382 2009-08-22 Kevin Ryde <user42@zip.com.au>
17384 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17385 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17386 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17387 Clarify docstring that the value is strings not symbols.
17388 (checkdoc-list-of-strings-p): New function.
17390 2009-08-22 Glenn Morris <rgm@gnu.org>
17392 * files.el (auto-mode-alist):
17393 * hippie-exp.el (he-concat-directory-file-name):
17394 * lpr.el (lpr-windows-system, printer-name):
17395 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17396 * ps-print.el (ps-windows-system):
17397 * startup.el (command-line):
17398 * emulation/viper-ex.el (viper-glob-function):
17399 * international/mule-cmds.el (set-language-environment-coding-systems):
17400 * net/ange-ftp.el (ange-ftp-write-region):
17401 * obsolete/fast-lock.el (fast-lock-cache-name):
17402 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17403 unisoft-unix, vax-vms, win32, w32.
17405 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17406 given name if the pattern is not more specific.
17408 * calendar/lunar.el (lunar-phase-names): New option.
17409 (lunar-phase): Doc fix.
17410 (lunar-cycles-per-year): New constant.
17411 (lunar-index): New function.
17412 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17413 (lunar-phase-name): Use lunar-phase-names.
17414 (calendar-lunar-phases): Use format.
17415 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17417 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17418 Copy imenu-example--name-and-position function here for own use.
17419 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17421 * bs.el (bs--redisplay):
17422 * cus-edit.el (custom-redraw):
17423 * ibuffer.el (ibuffer-bury-buffer):
17424 * server.el (server-goto-line-column):
17425 * startup.el (command-line-1):
17426 * strokes.el (strokes-xpm-for-stroke):
17427 * term.el (term-display-buffer-line):
17428 * view.el (View-goto-line):
17429 * calc/calc.el (calc-do, calc-trail-buffer):
17430 * play/gamegrid.el (gamegrid-add-score-insecure):
17431 * progmodes/ada-mode.el (ada-compile-goto-error):
17432 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17433 (ebrowse-select-1st-to-9nth):
17434 * progmodes/cperl-mode.el (cperl-time-fontification):
17435 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17436 * progmodes/gud.el (gud-display-line):
17437 (idlwave-shell-display-line):
17438 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17439 * progmodes/make-mode.el (makefile-browser-toggle):
17440 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17441 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17442 * textmodes/picture.el (picture-draw-rectangle):
17443 * textmodes/reftex-index.el (reftex-index-goto-letter):
17444 (reftex-select-jump-to-previous):
17445 * textmodes/reftex-sel.el (reftex-find-start-point)
17446 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17447 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17448 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17449 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17450 * textmodes/two-column.el (2C-associated-buffer):
17451 Use forward-line rather than goto-line.
17453 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17456 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17457 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17458 (quick-check-list-to-regexp): Declare.
17460 * progmodes/make-mode.el (makefile-browser-insert-selection):
17461 Use goto-char rather than goto-line.
17463 * progmodes/prolog.el (compilation-error-regexp-alist)
17464 (compilation-forget-errors): Declare.
17466 2009-08-22 Juri Linkov <juri@jurta.org>
17468 * progmodes/grep.el (lgrep, rgrep): At the beginning
17469 set `dir' to `default-directory' unless `dir' is a non-nil
17470 readable directory. (Bug#4052)
17471 (lgrep, rgrep): Change a weird way to report an error
17472 from using `read-string' to using `error'.
17473 Instead of using interactive arguments in the function body,
17474 add new argument `confirm'.
17476 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17478 * textmodes/remember.el (remember-buffer):
17479 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17480 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17481 (icalendar-extract-ical-from-buffer):
17482 * net/newst-treeview.el (newsticker-groups-filename):
17483 * net/newst-backend.el (newsticker-cache-filename):
17484 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17485 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17486 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17487 (speedbar-buffers-line-path, speedbar-path-line)
17488 (speedbar-buffers-line-path):
17489 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17491 * epa.el (epa-display-verify-result):
17492 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17494 2009-08-21 Glenn Morris <rgm@gnu.org>
17496 * progmodes/js.el (inferior-moz-process): Fix declaration.
17498 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17500 * obsolete/rnewspost.el (news-mail-reply):
17501 Use goto-char rather than goto-line.
17503 * term/ns-win.el (ns-open-file-select-line):
17504 Use line-beginning-position rather than goto-line.
17506 * apropos.el (apropos-command):
17507 * ehelp.el (electric-helpify):
17508 * printing.el (pr-show-setup):
17509 * strokes.el (strokes-help):
17510 * tutorial.el (tutorial--describe-nonstandard-key)
17511 (tutorial--detailed-help):
17512 * woman.el (woman-mini-help, woman-display-extended-fonts):
17513 * calc/calc-help.el (calc-describe-key):
17514 * emulation/edt.el (edt-electric-helpify):
17515 * international/mule-diag.el (mule-diag):
17516 * play/yow.el (apropos-zippy):
17517 * progmodes/python.el (python-describe-symbol):
17518 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17519 * textmodes/table.el (*table--cell-describe-mode)
17520 (*table--cell-describe-bindings):
17521 Use help-print-return-message rather than the now obsolete alias.
17523 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17524 (calendar-cursor-to-visible-date):
17525 * play/5x5.el (5x5-position-cursor):
17526 * play/decipher.el (decipher):
17527 * play/gomoku.el (gomoku-goto-xy):
17528 * play/landmark.el (lm-goto-xy):
17529 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17530 (mpuz-paint-digit):
17531 Use forward-line, not goto-line.
17533 * mail/rmail.el (rmail-obsolete): Delete custom group.
17534 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17535 (rmail-remote-password, rmail-remote-password-required):
17536 Remove unneeded :set-after and :set properties.
17538 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17540 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17542 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17544 * loadup.el: Remove leftover macos code.
17546 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17547 Explicitly pass the date format to git blame so that user local
17548 so that the output format can be parsed.
17550 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17552 * net/dbus.el (top): Don't check for (getenv
17553 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17555 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17557 * log-edit.el (log-edit-strip-single-file-name): New var.
17558 (log-edit-insert-changelog): Use it. Bug#3571
17560 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17562 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17565 * help.el (help-print-return-message): Rename from
17566 print-help-return-message.
17568 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17569 cvs-mode-map parent hack.
17570 (log-view-mode): Derive from special-mode.
17572 * linum.el (linum-mode): window-size-change-functions is redundant.
17573 Adapt to new window-configuration-change-hook behavior.
17574 (linum-after-size, linum-after-config): Remove.
17576 * imenu.el (imenu-example--name-and-position)
17577 (imenu-example--lisp-extract-index-name)
17578 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17581 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17582 (inferior-prolog-mode): Use it.
17583 (inferior-prolog-load-file): Reset list of errors.
17585 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17587 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17589 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17591 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17593 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17594 is running already.
17596 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17598 * subr.el (listify-key-sequence-1): Use normal syntax since those
17599 integers are nowadays always represented by the same (positive) number
17601 (read-key-empty-map): New const.
17602 (read-key-delay): New var.
17603 (read-key): New function.
17604 (force-mode-line-update): Use with-current-buffer.
17605 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17606 (start-process-shell-command, start-file-process-shell-command):
17607 Discourage the use of command-args.
17609 2009-08-19 Glenn Morris <rgm@gnu.org>
17611 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17613 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17615 * simple.el (choose-completion-string): Don't rely on
17616 minibuffer-completing-file-name and ad-hoc checks to decide whether
17617 to continue completion or not.
17619 * minibuffer.el (minibuffer-hide-completions): New function.
17620 (completion--do-completion): Use it.
17621 (completions-annotations): New face.
17622 (completion--insert-strings): Use it.
17623 (completion-pcm--delim-wild-regex): Add docstring.
17624 (completion-pcm--string->pattern): Add support for 0-width delimiters
17625 in completion-pcm--delim-wild-regex.
17627 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17629 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17630 Remove unused var `buffer-modified-p'.
17632 * minibuffer.el (completion--do-completion): Move point for the #b001
17633 case as well (bug#4176).
17634 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17636 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17638 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17639 and :session buses.
17641 2009-08-18 Kenichi Handa <handa@m17n.org>
17643 * international/ucs-normalize.el (ucs-normalize-version):
17645 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17646 (utf-8-hfs): Make it perform normalization on encoding too.
17648 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17649 (sentence-end-without-space): Delete duplicated chars.
17650 (sentence-end-base): Likewise.
17652 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17653 (html-mode): Delete duplicated chars from sentence-end-base.
17655 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17656 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17658 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17660 * files.el (hack-one-local-variable): If the mode function is for
17661 a minor mode, pass it an argument (Bug#4148).
17663 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17665 * net/tramp.el (tramp-register-completion-file-name-handler):
17666 Check also for (member 'partial-completion completion-styles).
17668 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17670 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17673 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17675 * progmodes/cperl-mode.el: Merge upstream 6.2.
17676 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17677 (cperl-forward-re): Check cperl-brace-recursing.
17678 (cperl-highlight-charclass): New function.
17679 (cperl-find-pods-heres): Use it.
17680 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17681 (cperl-beautify-regexp-piece): Fix column calculation.
17682 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17683 (cperl-beautify-level): Don't process entire regexp.
17684 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17686 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17687 (cperl-init-faces): Build a list in the normal way.
17689 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17691 * calendar/parse-time.el (parse-time-string-chars): Save match
17694 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17696 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17697 (sql-product): Use it.
17698 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17699 (sql-set-product): Add completion.
17700 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17701 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17702 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17703 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17704 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17705 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17706 (sql-highlight-db2-keywords): Remove.
17707 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17708 (sql-highlight-product): Use derived-mode-p.
17709 (sql-set-sqli-buffer): Use with-current-buffer.
17710 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17713 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17715 * term.el: Fix commenting convention, turn comments into docstrings.
17717 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17719 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17721 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17723 * calendar/parse-time.el (parse-time-string-chars): Compute using
17724 character classes, to handle non-ascii characters (Bug#3190).
17726 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17728 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17729 another heredoc if the user adds another < (Bug#3226).
17731 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17732 Don't initialize based on window-system (Bug#4124).
17734 * facemenu.el (facemenu-read-color): Use a completion function
17735 that accepts any defined color, such as RGB triplets (Bug#3677).
17737 * files.el (get-free-disk-space): Change fallback default
17738 directory to /. Expand DIR argument before switching to fallback.
17739 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17741 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17743 * files.el (load-library): Doc fix.
17745 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17747 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17748 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17749 incremental search string.
17751 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17754 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17755 (ediff-merge-region-is-non-clash)
17756 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17757 Also check if the job is really a merge job.
17759 * ediff.el (ediff-current-file): New function.
17761 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17763 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17765 (js-insert-and-indent): Delete function.
17766 (js-mode-map): Don't bind keys to js-insert-and-indent.
17767 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17768 (js-end-of-defun): Rename from js--end-of-defun.
17769 (js-auto-indent-flag): Delete variable.
17771 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17773 * progmodes/js.el: Remove proclaim statement.
17774 Defvar which-func-imenu-joiner-function to silence compiler.
17776 * files.el (auto-mode-alist): Use js-mode for .js files.
17778 * progmodes/js2-mode.el: Remove file.
17780 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17782 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17784 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17786 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17787 Karl Landstrom <karl.landstrom@brgeight.se>
17789 * progmodes/js.el: New file.
17791 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17793 * timezone.el (timezone-parse-date): Add ability to understand ISO
17794 basic format (minimal separators) dates in addition to the
17795 already-supported extended format dates.
17797 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17799 * international/ucs-normalize.el: Add a `coding' file variable.
17801 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17803 2009-08-14 Sam Steingold <sds@gnu.org>
17805 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17807 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17809 * faces.el (help-argument-name): Define it here instead of
17810 help-fns.el, because in daemon mode help-fns.el may be loaded when
17811 faces are still uninitialized (Bug#1078).
17813 * help-fns.el (help-argument-name): Move defface to faces.el.
17815 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17817 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17818 create buffer with a pty but no process so that GDB can make the
17819 inferior the controlling process.
17821 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17823 * international/ucs-normalize.el: New file.
17825 2009-08-13 Richard Stallman <rms@gnu.org>
17827 * mail/rmail.el (rmail-get-attr-names):
17828 Accept an attribute header that is too short.
17830 * mail/rmail.el (rmail-forget-messages):
17831 Ignore nil elt in rmail-message-vector. Use dotimes.
17833 * progmodes/compile.el (compilation-goto-locus):
17834 Use next-error-move-function.
17836 * simple.el (next-error-move-function): New variable.
17838 2009-08-12 Juri Linkov <juri@jurta.org>
17840 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17841 always non-nil. (Bug#4052)
17843 * replace.el (read-regexp): Return empty string when
17844 `default-value' is nil.
17845 (keep-lines-read-args): Don't use empty string as the
17846 default value for `read-regexp'. (Bug#2495)
17848 2009-08-12 Juri Linkov <juri@jurta.org>
17850 * international/mule-cmds.el (ucs-insert): Change arguments
17851 from `arg' to `character', `count', `inherit' to be the same
17852 as in `insert-char'. Doc fix. (Bug#4039)
17854 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17856 2009-08-12 Juri Linkov <juri@jurta.org>
17858 * files-x.el: New file.
17860 * files.el: Move code that deals with adding/deleting
17861 file/directory-local variables to files-x.el.
17863 * Makefile.in (ELCFILES): Add files-x.elc.
17865 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17867 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17868 to use `goto-line'.
17869 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17871 (gdb-invalidate-disassembly): Do not refresh upon receiving
17872 'update signal. Instead, update all disassembly buffers only after
17874 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17875 (gdb-starting): Moved -data-list-register-names...
17876 (gdb-stopped): ...here so it's sent when first thread stops.
17877 (gdb-registers-handler-custom): Do nothing if register names are
17880 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17881 from `gdb-mi.el' to avoid extra tangling.
17883 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17884 change which breaks `gud-def' definitions used in `gdb'.
17885 (gdb-update-gud-running): No extra fuss for updating frame number.
17887 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
17889 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17890 (describe-language-environment-map, setup-language-environment-map)
17891 (set-coding-system-map): Move initialization into declaration.
17892 (set-language-info-alist): Last arg to define-key-after can be skipped.
17894 * international/quail.el (quail-completion-1): Simplify.
17895 (quail-define-rules): Use slightly more compact code.
17896 (quail-insert-decode-map): Propertize keys, compact columns.
17898 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17901 2009-08-10 Miles Bader <miles@gnu.org>
17903 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17904 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17905 (js2-instance-member, js2-private-member, js2-private-function-call)
17906 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17907 (js2-magic-paren, js2-external-variable):
17908 Remove "-face" suffix from face names.
17909 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17910 (js2-highlight-undeclared-vars, js2-peek-token)
17911 (js2-parse-function-params, js2-mode-show-errors)
17912 (js2-mode-show-warnings, js2-make-magic-delimiter)
17913 (js2-mode-highlight-magic-parens): Update to use new face names.
17915 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
17917 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17918 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
17920 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
17922 * subr.el: Provide hashtable-print-readable.
17924 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17925 hs-c-like-adjust-block-beginning.
17926 (hs-hide-block-at-point): Stop hiding at the beginning of
17927 hs-block-end-regexp (Bug#700).
17929 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
17931 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17933 (gdb-registers-handler-custom): Do not fail when register names
17936 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17938 * progmodes/gdb-mi.el (gdb-control-all-threads)
17939 (gdb-control-current-thread): Interactive setters for
17940 `gdb-gud-control-all-threads' to use in menu.
17941 (gdb-show-run-p): Show «Go» when process is not active.
17942 (gud-tool-bar-map): Add non-stop/A,T indicator.
17943 Uses gud/thread.xpm and gud/all.xpm.
17945 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
17947 * net/net-utils.el (net-utils-font-lock-keywords): New var.
17948 (nslookup-font-lock-keywords): Make it a variable.
17949 (net-utils-mode): New mode for viewing diagnostic network output.
17950 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17951 (net-utils-run-simple): New function.
17952 (ifconfig, iwconfig, netstat, arp, route): Use it.
17954 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17956 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17957 (gdb-memory-set-address, def-gdb-set-positive-number)
17958 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17959 after changing settings.
17960 (gdb-invalidate-disassembly): Update when first shown.
17961 (gdb-edit-locals-value): Fixed.
17962 (gdb-registers-handler-custom): Print registers in right order and
17963 allow changing register values (only for current thread yet).
17964 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17965 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17966 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17967 (gdb-locals-handler-custom, gdb-registers-handler-custom):
17968 Thread info in mode name.
17969 (gdb-registers-mode-map): TAB to switch to locals.
17971 2009-08-08 Eli Zaretskii <eliz@gnu.org>
17973 * mail/rmail.el (rmail-add-mbox-headers)
17974 (rmail-set-message-counters-counter): Search for
17975 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
17977 2009-08-08 Glenn Morris <rgm@gnu.org>
17979 * Makefile.in (ELCFILES): Update.
17981 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17983 * mail/sendmail.el (mail-yank-original):
17984 Set buffer-file-coding-system from the one used by the message whose
17987 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17988 to "windows" when "pgnuplot" is used.
17989 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
17990 Don't call accept-process-output if "pgnuplot" is used.
17991 (calc-graph-init): Don't send -display and -geometry to
17992 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17993 running "pgnuplot -V" with shell-command-to-string.
17995 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17998 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18000 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18003 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18005 * vc-dispatcher.el (vc-resynch-window): Update comment.
18007 * term.el (term-handle-ansi-escape): Add comments with the
18008 terminfo capabilities implemented.
18010 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18012 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18013 (gdb-var-create-handler): Rewritten using JSON parser.
18014 (gdb-propertize-header): Moved earlier.
18015 (gdb-set-header): Removed to avoid duplication.
18016 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18017 Refresh disassembly buffers only after threads list have been
18019 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18022 2009-08-04 Juri Linkov <juri@jurta.org>
18024 * files.el: Commands to add/delete file/directory-local variables.
18025 (read-file-local-variable, read-file-local-variable-value)
18026 (read-file-local-variable-mode, modify-file-local-variable)
18027 (modify-file-local-variable-prop-line)
18028 (modify-dir-local-variable): New functions.
18029 (add-file-local-variable, delete-file-local-variable)
18030 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18031 (add-dir-local-variable, delete-dir-local-variable)
18032 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18033 (copy-dir-locals-to-file-locals-prop-line): New commands.
18035 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18037 * abbrev.el (insert-abbrev-table-description): Prettify output.
18038 Suggested by Karl Chen.
18040 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18042 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18043 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18044 (gdb-overlay-arrow-position, gdb-thread-position)
18045 (gdb-disassembly-position): Declare variables.
18046 (gdb-wait-for-pending): Function now.
18047 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18048 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18049 compilation goes smoothly.
18050 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18051 (gdb-non-stop-setting): New customization setting which replaces
18052 `gdb-non-stop' so changing it doesn't break active GDB session.
18053 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18054 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18055 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18056 (gdb-show-threads-by-default): New customization options.
18057 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18059 (gdb-get-buffer-create): Send buffers update signal when they are
18061 (gdb-invalidate-locals, gdb-invalidate-registers)
18062 (gdb-invalidate-breakpoints)
18063 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18064 (gdb-invalidate-memory): Accept update signal.
18065 (gdb-current-context-command): Use --frame option.
18066 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18067 Implement `gdb-frame-number' selection logic.
18068 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18069 whether to show GUD toolbar buttons.
18070 (gdb-thread-exited): Unselect current thread when it exits.
18071 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18072 (gdb-mark-line): Routine which sets overlay arrow or inverses
18073 video on fringeless displays.
18074 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18075 to build aligned columns of data in GDB buffers and set text
18076 properties line-by-line.
18077 (gdb-invalidate-breakpoints)
18078 (gdb-breakpoints-list-handler-custom)
18079 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18080 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18081 (gdb-registers-handler-custom): Align data columns.
18082 (gdb-locals-handler-custom): Now prints data like in variable
18084 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18085 Removed confusing buttons.
18086 (gdb-invalidate-threads): Append --frame.
18087 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18088 between breakpoints/threads buffers.
18089 (gdb-set-window-buffer): Now can ignore dedicated windows.
18090 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18091 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18092 (def-gdb-thread-buffer-gud-command): Replaces
18093 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18094 for fine thread control.
18095 (gdb-preempt-existing-or-display-buffer): New function used to
18096 display bound buffers without breaking window layout.
18097 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18098 (gdb-select-frame): New version of `gdb-frames-select' which now
18099 sets `gdb-frame-number' so commands may use --frame option instead
18100 of inner debugger state.
18101 (gdb-frame-handler): Do not set `gdb-frame-number'.
18102 (gdb-threads-mode-map): Select threads with mouse.
18104 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18105 avoid compilation warning.
18106 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18109 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18110 Argument `key' renamed to `buffer-type'.
18111 (gdb-current-context-buffer-name): Do not add thread info to
18112 buffer name when no thread is selected.
18113 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18114 command (bug 3794).
18115 (gdb-thread-selected): Handle `=thread-selected' notification.
18116 (gdb-wait-for-pending): New macro to deal with congestion problems.
18117 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18119 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18120 This fixes problem similar to one described in bug 3947.
18121 (gud-menu-map): More menu items.
18122 (gdb-init-1): Reset `gdb-thread-number' to nil.
18124 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18127 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18128 (gdb-current-context-command): Do not append --thread if
18129 `gdb-thread-number' is nil.
18130 (gdb-running-threads-count, gdb-stopped-threads-count):
18132 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18133 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18134 New customization options.
18135 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18137 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18138 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18139 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18140 set `gdb-thread-number' and update `gud-running' properly.
18141 (gdb-running): Update threads list when new threads appear.
18142 (gdb-stopped): Support non-stop operation and new thread switching
18144 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18145 (gdb-json-partial-output): New set of JSON routines.
18146 (def-gdb-auto-update-trigger): New `signal-list' optional
18148 (gdb-thread-list-handler-custom): Update `gud-running',
18149 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18150 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18151 (gdb-continue-thread, gdb-step-thread): New commands for fine
18152 thread execution control.
18153 (gud-menu-map): New menu items to switch non-stop options.
18154 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18155 (gdb-send): Mimic RET properly (bug 3794).
18157 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18158 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18160 (def-gdb-auto-update-handler): New nopreserve optional argument.
18161 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18163 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
18164 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18165 (gdb-parent-mode): New mode to derive other GDB modes from.
18166 (gdb-display-disassembly-for-thread)
18167 (gdb-frame-disassembly-for-thread): New commands for threads
18170 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18171 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18172 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18173 (gdb-update): We now store all GDB buffers in a list so that they
18174 can be updated by traversing a list instead of calling invalidate
18175 triggers explicitly.
18176 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18177 pair for GDB buffer.
18178 (gdb-stack-buffer-name): Add thread information.
18179 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18180 handle pending triggers.
18181 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18182 (def-gdb-thread-buffer-simple-command)
18183 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18184 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18185 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18186 New commands which show buffers bound to thread.
18187 (gdb-stack-list-locals-regexp): Removed unused regexp.
18189 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18190 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18191 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18192 to (gud-comint-buffer) in *-buffer-name functions
18193 because (gdb-get-target-string) already does that.
18194 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18195 (gdb-changed-registers-handler): Rewritten without regexps.
18197 * progmodes/gdb-mi.el: Basic thread selection support.
18198 (gdb-thread-number): New variable.
18199 (gdb-current-context-command): New macro which adds --thread
18201 (gdb-threads-mode-map): Select thread with SPC.
18202 (gdb-thread-list-handler-custom): Mark current thread with overlay
18203 arrow. Synchronize GDB thread and Emacs thread.
18204 (gdb-select-thread): New command which selects current thread.
18205 (gdb-invalidate-frames, gdb-invalidate-locals)
18206 (gdb-invalidate-registers): Use --thread option.
18208 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18210 * net/tramp.el (top): Make check for tramp-gvfs loading more
18212 (tramp-handle-insert-file-contents): `unwind-protect' must be
18213 inside `with-parsed-tramp-file-name'.
18215 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18218 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18220 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18221 directory if CLASSPATH is not set.
18223 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18225 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18227 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18229 2009-08-02 Kevin Ryde <user42@zip.com.au>
18231 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18232 Update freshmeat link. Delete newsforge.com as it seems gone.
18234 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18236 * select.el (x-set-selection): Doc fix (Bug#4021).
18238 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18240 * help-fns.el (describe-variable): Treat list return values from
18241 dir-locals-find-file properly (Bug#4005).
18243 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18245 * net/tramp.el (tramp-debug-message): Print also microseconds.
18247 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18249 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18251 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18252 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18255 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18256 (tramp-get-file-property): Use it.
18258 * autorevert.el (auto-revert-handler):
18259 Allow `auto-revert-tail-mode' for remote files.
18261 2009-08-02 Jason Rumney <jasonr@gnu.org>
18263 * minibuffer.el (read-file-name): Treat confirm options to
18264 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18266 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18268 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18269 (font-lock-variable-name-face, font-lock-constant-face):
18270 Darken the colors for light backgrounds.
18272 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18274 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18275 month names. (Bug#3987)
18277 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18279 * simple.el (line-move-finish): Pass whole number to
18280 line-move-to-column.
18281 (line-move-visual): Perform hscroll to the recorded position.
18283 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18285 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18287 2009-07-29 Alan Mackenzie <acm@muc.de>
18289 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18291 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18293 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18294 (gdb-place-breakpoints): Use full path when setting breakpoints.
18296 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18298 * calc/calc.el (calc-mode-map): Add keybinding for
18299 `calc-transpose-lines'.
18301 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18303 * calc/calc-misc.el (calc-transpose-lines): New function.
18305 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18307 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18308 Simplify check for out-of-band methods.
18309 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18310 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18312 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18314 * vc-git.el (vc-git-checkin): Fix typo.
18316 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18318 * progmodes/js2-mode.el: New file.
18320 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18322 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18323 (gud-menu-map): Adjust tooltip accordingly.
18325 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18327 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18328 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18330 * add-log.el (change-log-mode-map): Add a menu.
18332 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18334 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18335 function returns nil.
18336 (dbus-handle-event): Handle special return value :ignore.
18337 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18339 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18341 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18344 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18348 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18350 * term/pc-win.el (x-display-name, x-colors)
18351 (x-select-enable-clipboard, x-select-text): Doc fix.
18353 * term/common-win.el (x-display-name, x-colors): Doc fix.
18355 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18356 (xw-defined-colors): Doc fix.
18358 * w32-fns.el (x-select-text, x-setup-function-keys)
18359 (x-get-selection, x-set-selection): Doc fix.
18361 * term/x-win.el (x-select-text, x-setup-function-keys)
18362 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18364 * select.el (x-set-selection): Doc fix.
18366 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18368 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18369 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18370 "IsNSSSupportAvailable" method is not available.
18371 Reported by Steve Youngs <steve@sxemacs.org>.
18373 2009-07-24 Kenichi Handa <handa@m17n.org>
18375 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18376 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18377 (build-unicode-category-table): Fix range checks.
18379 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18381 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18382 the buffer we try to sync is current when calling
18385 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18386 not show up to date files.
18388 2009-07-24 Glenn Morris <rgm@gnu.org>
18390 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18391 Add autoload cookies. If necessary, initialize.
18392 (elint-log): Handle non-file buffers.
18393 (elint-initialize): Add optional argument to reinitialize.
18394 (elint-find-builtin-variables): Save excursion.
18396 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18398 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18401 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18403 * vc.el (vc-print-log-internal): New function, split out from ...
18404 (vc-print-log): ... here.
18405 (vc-dir-move-to-goal-column): Declare.
18407 * vc-git.el (vc-git-add-signoff): New variable.
18408 (vc-git-checkin): Use it.
18409 (vc-git-toggle-signoff): New function.
18410 (vc-git-extra-menu-map): Bind it to menu.
18411 (vc-git--run-command-string): Accept a nil FILE argument.
18412 (vc-git-stash-list): New function.
18413 (vc-git-dir-extra-headers): Use it.
18415 2009-07-23 Glenn Morris <rgm@gnu.org>
18417 * help-fns.el (describe-variable): Describe ignored and risky local
18418 variables in a similar way to that in which we describe safe ones.
18420 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18421 (byte-compile-output-file-form, byte-compile-output-docform)
18422 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18423 Give some more local variables with common names a "bytecomp-" prefix,
18424 so as not to shadow things during compilation.
18425 * emacs-lisp/cl-macs.el (load-time-value)
18426 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18427 `outbuffer' to `bytecomp-outbuffer'.
18429 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18430 since the next two variables cover them automatically now.
18431 (elint-builtin-variables, elint-autoloaded-variables): New.
18432 (elint-unknown-builtin-args): Remove all members, since they can be
18433 parsed automatically now.
18434 (elint-extra-errors): New.
18435 (elint-env-add-env, elint-env-add-macro): Use cadr.
18436 (elint-current-buffer): Use or. Change final message.
18437 (elint-get-top-forms): Use line-end-position.
18438 (elint-init-env): Use cadr. Handle autoload, declare-function,
18440 (elint-add-required-env): Doc fix. Use or. Standardize error.
18441 (regexp-assoc): Remove unused function.
18442 (elint-top-form): Set elint-current-pos, to record the start of the
18443 top-level form, for compilation-mode.
18444 (elint-form): Trap errors in macro expansion. Use dolist.
18445 (elint-unbound-variable): Use elint-builtin-variables and
18446 elint-autoloaded-variables.
18447 (elint-get-args): Use cadr, or.
18448 (elint-check-cond-form): Use dolist, cadr.
18449 (elint-check-condition-case-form): Doc fix. Use cadr.
18450 Use elint-extra-errors.
18451 (elint-log): New function.
18452 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18453 Distinguish errors and warnings.
18454 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18455 Use a bytecomp-style format.
18456 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18457 (elint-get-log-buffer): Use compilation mode. Disable undo.
18458 Don't truncate lines.
18459 (elint-initialize): Set builtin and autoloaded variable lists.
18460 Only process elint-unknown-builtin-args if non-nil.
18461 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18463 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18465 2009-07-22 Kevin Ryde <user42@zip.com.au>
18467 * net/newst-backend.el (newsticker--parse-atom-1.0)
18468 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18469 (newsticker--parse-rss-1.0):
18470 * progmodes/idlwave.el (idlwave-mode):
18471 * progmodes/idlw-shell.el (idlwave-shell-mode):
18472 * progmodes/vera-mode.el (vera-mode):
18473 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18474 * progmodes/vhdl-mode.el (vhdl-mode):
18475 * textmodes/table.el (table-generate-source)
18476 (table--warn-incompatibility):
18477 Hyperlink urls in docstrings with URL `...'.
18479 2009-07-22 Glenn Morris <rgm@gnu.org>
18481 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18482 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18483 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18484 Remove leading * from defcustom docs.
18486 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18488 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18490 (list-load-path-shadows): Optionally, just return shadows as a string.
18492 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18494 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18496 * mail/rmailedit.el (rmail-edit-mode):
18497 Use auto-save-include-big-deletions.
18499 * mail/rmail.el (rmail-variables):
18500 Use auto-save-include-big-deletions.
18502 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18505 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18507 * calc/calc.el (calc-undo-length): New variable.
18508 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18510 2009-07-21 Richard Stallman <rms@gnu.org>
18512 * files.el (auto-save-mode): Handle buffer-save-size = -2
18515 2009-07-21 Glenn Morris <rgm@gnu.org>
18517 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18519 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18521 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18522 silence compiler. Instead...
18523 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18524 (ps-print-ensure-fontified): Update for above function name changes.
18526 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18527 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18528 silence compiler. Instead...
18529 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18530 (mh-show-buffer): Only define for compiler.
18531 (pr-mh-current-message): Update for above function name changes.
18533 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18535 (find-file-noselect, insert-file-1): Update for above change.
18537 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18539 * mail/mailclient.el (mailclient-send-it): Fix message.
18541 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18542 (edebug-eval): Check cl-debug-env is bound.
18543 (print-level, print-circle): Don't redefine built-in variables.
18545 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18546 (custom-print-vectors): Remove old comments from doc.
18548 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18549 (emerge-version): Make the variable an obsolete alias for the
18550 emacs-version variable. Make the function obsolete.
18551 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18552 Emerge options, rather than merging in into the main Options menu.
18553 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18554 and auto advance modes. Disable edit/fast items when not relevant.
18556 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18558 * term/vt420.el (terminal-init-vt420): Fix typo.
18560 2009-07-20 Sam Steingold <sds@gnu.org>
18562 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18563 variable (removed from compile.el on 2004-03-11).
18565 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18567 * files.el (hack-local-variables-filter): Fix last change.
18569 2009-07-19 Juri Linkov <juri@jurta.org>
18571 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18572 (dir-local-variables-alist): New buffer-local variable.
18573 (hack-local-variables-filter): If variable is not dir-local,
18574 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18575 because file-local overrides dir-local.
18576 (c-postprocess-file-styles) <declare-function>:
18577 Remove obsolete declaration.
18578 (hack-dir-local-variables): Add dir-local variable/value pair to
18579 `dir-local-variables-alist' and remove duplicates. Doc fix.
18581 * help-fns.el (describe-variable): Add information about
18582 file-local and dir-local variables.
18584 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18586 * files.el (hack-local-variables-filter): Rewrite.
18588 2009-07-19 Glenn Morris <rgm@gnu.org>
18590 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18591 Silence compiler by only defining on XEmacs.
18593 * international/mule.el (auto-coding-regexp-alist): Only match
18594 BABYL... at the start of buffer, not of lines. (Bug#3790)
18596 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18597 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18598 (cal-menu-context-mouse-menu): Doc fix.
18600 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18602 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18604 2009-07-18 Juri Linkov <juri@jurta.org>
18606 * info.el: Virtual Info keyword finder.
18607 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18608 (Info-finder-file): New variable.
18609 (Info-finder-find-file): New function.
18610 (finder-known-keywords, finder-package-info)
18611 (find-library-name, lm-commentary): Use defvar and
18612 declare-function to silence compiler warnings.
18613 (Info-finder-find-node): New function.
18614 (info-finder): New command.
18616 * subr.el (process-kill-buffer-query-function): New function.
18617 (add-hook)<kill-buffer-query-functions>: Add hook
18618 `process-kill-buffer-query-function'.
18620 2009-07-18 Alan Mackenzie <acm@muc.de>
18622 * progmodes/cc-mode.el (c-before-hack-hook)
18623 (c-postprocess-file-styles): Give invocation of `c-set-style'
18624 DONT-OVERRIDE parameter of t. Already set style variables will
18625 thus not be overridden by style settings given by `c-file-syle'.
18627 * files.el (hack-local-variables-filter): Remove entries with
18628 duplicate keys from `file-local-variables-alist'.
18630 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18632 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18633 x-set-selection if display-selections-p returns nil for the
18636 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18638 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18640 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18642 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18643 Accept nil in addition to a regexp.
18644 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18645 Accept nil in addition to a regexp.
18646 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18647 buffers that have an associated file. Handle nil values of
18648 desktop-buffers-not-to-save and desktop-files-not-to-save.
18651 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18652 (x-disown-selection-internal): New functions.
18654 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18656 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18658 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18659 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18661 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18663 * simple.el (set-mark): Revert last change.
18665 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18667 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18668 rendering of pngs is not possible instead of messaging a long
18671 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18673 * w32-fns.el (x-selection-owner-p): New function.
18675 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18676 (mouse-yank-at-click, mouse-yank-primary):
18677 If select-active-regions is non-nil, deactivate the mark before
18680 * simple.el (deactivate-mark, set-mark): Only save selection if we
18683 2009-07-17 Kenichi Handa <handa@m17n.org>
18685 * case-table.el (describe-buffer-case-table): Fix for the case
18686 that KEY is a cons.
18688 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18690 * vc-rcs.el (vc-rcs-find-file-hook):
18691 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18693 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18695 * net/tramp.el (tramp-wait-for-output): Handle the case when
18696 commands do not return a newline but a null byte before the shell
18699 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18701 * term/ns-win.el (ns-set-alpha): Don't declare.
18702 (ns-set-background-alpha): Remove function.
18704 2009-07-16 Kevin Ryde <user42@zip.com.au>
18706 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18707 y-or-n-p, for safety.
18709 2009-07-16 Richard Stallman <rms@gnu.org>
18711 * files.el (auto-save-mode): If buffer-saved-size is -2,
18714 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18715 (rmail-retry-ignored-headers): Add more uninteresting fields.
18717 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18719 * net/rcirc.el (rcirc): Use history variables.
18720 (rcirc-server-name-history, rcirc-nick-name-history)
18721 (rcirc-server-port-history): New variables.
18723 2009-07-15 Kenichi Handa <handa@m17n.org>
18725 * international/mule-cmds.el (set-language-environment-charset):
18726 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18729 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18730 Delete unibyte-display.
18732 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18734 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18736 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18738 * simple.el (deactivate-mark): Optional argument FORCE.
18739 (set-mark): Use deactivate-mark.
18741 * info.el (Info-search): No need to check transient-mark-mode
18742 before calling deactivate-mark.
18744 * select.el (x-set-selection): Doc fix.
18745 (x-valid-simple-selection-p): Allow buffer values.
18746 (xselect--selection-bounds): Handle buffer values.
18747 Suggested by David De La Harpe Golden.
18749 * mouse.el (mouse-set-region, mouse-drag-track):
18750 Call copy-region-as-kill before setting the mark, to let
18751 select-active-regions work.
18753 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18755 * simple.el (deactivate-mark): If select-active-regions is
18756 non-nil, copy the selection data into a string.
18757 (activate-mark): If select-active-regions is non-nil, set the
18758 selection to the current buffer.
18759 (set-mark): Update selection if select-active-regions is non-nil.
18761 * select.el (x-valid-simple-selection-p): Allow buffer values.
18763 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18765 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18766 and more featureful message-mode.
18768 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18770 * select.el (x-set-selection): Doc fix.
18771 (x-valid-simple-selection-p): Disallow selection data consisting
18772 of a list or cons of integers, since that is not used.
18773 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18774 (xselect-convert-to-string, xselect-convert-to-length)
18775 (xselect-convert-to-filename, xselect-convert-to-charpos)
18776 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18778 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18780 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18781 output in -break-info command (Emacs bug #3794).
18783 2009-07-14 Glenn Morris <rgm@gnu.org>
18785 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18786 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18787 (edebug-print-length, edebug-print-level, edebug-print-circle)
18788 (edebug-sit-for-seconds, edebug-view-outside)
18789 (edebug-bounce-point, edebug-set-global-break-condition)
18790 (edebug-Go-nonstop-mode, edebug-trace-mode)
18791 (edebug-Trace-fast-mode, edebug-continue-mode)
18792 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18793 (edebug-visit-eval-list): Doc fixes.
18795 * subr.el (def-edebug-spec): Doc fix.
18797 2009-07-14 Kenichi Handa <handa@m17n.org>
18799 * international/characters.el: Fix setting of category ?C.
18801 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18803 * term/ns-win.el (x-select-font): defalias x-select-font to
18804 ns-popup-font-panel instead of generate-fontset-menu.
18806 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18808 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18810 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18812 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18813 the PK\003\004 header (Bug#3770).
18815 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18817 * pcomplete.el (pcomplete-comint-setup): Check for
18818 shell-dynamic-complete-filename too.
18820 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18822 * simple.el (temporary-goal-column): Change the value for
18823 line-move-visual to a cons cell.
18824 (line-move-visual): Record or set the window hscroll, if
18825 necessary (Bug#3494).
18826 (line-move-1): Handle cons value of temporary-goal-column.
18828 2009-07-11 Kenichi Handa <handa@m17n.org>
18830 * international/mule-diag.el (describe-character-set): Don't show
18833 2009-07-10 Sam Steingold <sds@gnu.org>
18835 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18836 Omake sometimes indents the errors it prints, so allow all
18837 regexps to start with spaces.
18839 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18841 * cus-edit.el (customize-changed-options-previous-release):
18842 Bump value to 22.1. (Bug#3804)
18844 2009-07-08 Sam Steingold <sds@gnu.org>
18846 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18847 to be a cons cell (test . ignored-directory) to selectively ignore
18848 some directories depending on the location of the search.
18850 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18852 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18853 remote user is root, on the local host.
18854 (tramp-local-host-p): Either the local user or the remote user
18855 must be root. (Bug#3771)
18857 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18859 * progmodes/gdb-mi.el (gdb): Remove description of
18860 gdb-use-separate-io-buffer.
18861 (menu): Don't allow toggling of or enable
18862 gdb-use-separate-io-buffer from menubar.
18864 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18866 * mail/unrmail.el (unrmail): Make sure the message ends with two
18867 newlines (Bug#3769).
18869 2009-07-08 Glenn Morris <rgm@gnu.org>
18871 * calendar/calendar.el (calendar-current-date): Rework previous change.
18873 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18875 * calendar/calendar.el (calendar-current-date):
18876 Add an optional argument giving an offset from today.
18878 2009-07-08 Glenn Morris <rgm@gnu.org>
18880 * tutorial.el (tutorial--describe-nonstandard-key):
18881 Adjust the message for when a key has been unbound.
18882 (help-with-tutorial): Hide the arch-tag.
18884 2009-07-08 Kenichi Handa <handa@m17n.org>
18886 * international/fontset.el (setup-default-fontset): For each
18887 script, append (not set) font-specs.
18889 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18892 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18894 * progmodes/gdb-mi.el (gdb-init-1): Move sending
18895 -data-list-register-names to ...
18896 (gdb-starting): ... here because GDB 7.0 requires execution to
18897 have started when using this MI command.
18898 (gdb-set-header): New function to distinguish select and
18899 unselected tabs in gdb buffers.
18900 (gdb-propertize-header): New macro that uses gdb-set-header.
18901 (gdb-breakpoints-header, gdb-locals-header): Use it.
18902 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18904 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
18906 * Makefile.in (ELCFILES): Remove fadr.elc.
18908 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
18910 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18911 may contain frame information, so `string-match' should be used.
18912 (gdb-update): Disassembly is invalidated through
18913 `gdb-get-selected-frame'.
18914 (gdb-pad-string): New function to pad string with spaces.
18915 (gdb-invalidate-disassembly): Invalidate only if the buffer
18917 (gdb-disassembly-handler-custom): Column alignment.
18918 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18920 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18922 (gdb-frame-handler): Match convention to for disassembly buffer
18924 (gdb-stack-list-frames-handler): Rewritten without regexps.
18925 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18926 not highlight breakpoints without line information.
18927 (gdb-input): Add trailing newline to command.
18929 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18931 (gdb-breakpoints-list-handler-custom): Replacement for
18932 `gdb-break-list-handler'. Using real parser instead of regexps
18934 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18935 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18936 to place breakpoints.
18937 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18939 (gdb-disassembly-handler-custom): Show overlay arrow.
18940 (gdb-disassembly-place-breakpoints): Show breakpoints in
18941 disassembly buffer.
18942 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18943 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18944 instead of parsing breakpoints buffer. Fixed old menu references
18949 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18950 (gdb-memory-address): New variable which holds top address of
18951 memory page shown in memory buffer.
18952 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
18953 New customization variables.
18955 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18956 display the memory buffer.
18957 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18958 buffer display parameters.
18959 (def-gdb-memory-format, gdb-memory-format-binary)
18960 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18961 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18962 Functions for setting memory buffer format.
18963 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18964 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18965 unit size used in memory buffer.
18966 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
18967 Switch to next/previous page of memory buffer.
18968 Now using (bindat-get-field) instead of fadr functions.
18970 2009-07-07 Sam Steingold <sds@gnu.org>
18972 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18973 non-top-level files.
18975 2009-07-07 Kenichi Handa <handa@m17n.org>
18977 * international/mule-cmds.el (reset-language-environment):
18978 Put the highset priority to the charset iso-8859-1.
18980 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18982 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18983 to the end of the line when locating the block (Bug#700).
18985 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
18987 * net/tramp.el (tramp-handle-write-region): Flush file properties
18988 in case of short track.
18990 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
18992 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18993 Coded custom representation of verilog error regular expressions
18994 to work with Emacs-22's new format.
18995 (verilog-error-regexp-xemacs-alist): Coded custom representation
18996 of verilog error regular expressions to work with XEmacs format.
18997 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18998 error recognition into XEmacs.
18999 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19000 error recognition into Emacs-22.
19002 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19004 * woman.el: Remove stand-alone closing parentheses.
19005 (woman-file-name, woman2-format-paragraphs)
19006 (woman-leave-blank-lines): Code cleanup.
19007 (woman-use-own-frame): Change default to nil.
19008 (woman-italic, woman-bold, woman-unknown, woman-addition):
19009 Change defaults to inherit from default faces.
19010 (woman2-process-escapes): Consume the newline after a stand-alone
19011 filler character (Bug#3651).
19013 2009-07-06 Glenn Morris <rgm@gnu.org>
19015 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19016 (top-level): Move provide to the end.
19017 (ffap): Remove defunct URL from custom group.
19019 * subr.el (eval-after-load): Doc fix.
19021 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19023 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19024 `calc-embedded-word' is called twice.
19026 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19028 * files.el (find-alternate-file-other-window, find-alternate-file):
19029 Obey confirm-nonexistent-file-or-buffer.
19031 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19033 * dired-aux.el (dired-show-file-type): Handle remote files.
19035 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19037 * desktop.el (desktop-globals-to-save):
19038 Add file-name-history (Bug#2750).
19040 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19042 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19044 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19046 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19047 property on entire argument since this is what eshell-lisp-command
19050 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19052 * net/tramp-gvfs.el (tramp-gvfs-methods)
19053 (tramp-gvfs-zeroconf-domain)
19054 (tramp-bluez-discover-devices-timeout): Add version flag.
19055 (tramp-gvfs-handler-mounted-unmounted)
19056 (tramp-gvfs-connection-mounted-p): Polish handling of
19057 incompatibilities between GVFS 0.2 and 1.0.
19059 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19061 * cus-start.el (all): Add make-pointer-invisible.
19063 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19065 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19066 formatted correctly.
19068 2009-07-02 Juri Linkov <juri@jurta.org>
19070 * info.el: Virtual Info files and nodes.
19071 (Info-virtual-files, Info-virtual-nodes): New variables.
19072 (Info-current-node-virtual): New variable.
19073 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19075 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19076 to check for a virtual file instead of checking a fixed list
19078 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19079 instead of ad-hoc processing of "dir" and (apropos history toc).
19080 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19081 instead of ad-hoc processing of "dir" and (apropos history toc).
19082 Reread a file when moving from a virtual node.
19083 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19084 (Info-directory-toc-nodes, Info-directory-find-file)
19085 (Info-directory-find-node): New functions.
19086 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19087 (Info-history): Move part of code to
19088 `Info-history-find-node'.
19089 (Info-history-toc-nodes, Info-history-find-file)
19090 (Info-history-find-node): New functions.
19091 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19092 (Info-toc): Move part of code to `Info-toc-find-node'.
19093 (Info-toc-find-node): New function.
19094 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19095 the current Info file name to references because now the node
19096 "*TOC*" belongs to the same Info manual.
19097 (Info-toc-build): Rename from `Info-build-toc'.
19098 (Info-toc-nodes): Rename input argument `file' to `filename'.
19099 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19100 instead of ad-hoc processing of ("dir" apropos history toc).
19101 (Info-index-nodes): Use Info-virtual-file-p
19102 to check for a virtual file instead of checking a fixed list
19104 (Info-index-node): Add check for `Info-current-node-virtual'.
19105 Raise `save-match-data' higher up the tree to contain
19106 `search-forward' too (bug fix).
19107 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19108 (Info-virtual-index-nodes): New variable.
19109 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19110 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19111 (Info-apropos-file, Info-apropos-nodes): New variables.
19112 (Info-apropos-toc-nodes, Info-apropos-find-file)
19113 (Info-apropos-find-node, Info-apropos-matches): New functions.
19114 (info-apropos): Move part of code to `Info-apropos-find-node' and
19115 `Info-apropos-matches'.
19116 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19117 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19118 for a virtual file instead of checking a fixed list of node names.
19120 * simple.el (async-shell-command): New command.
19122 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19124 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19125 instead of `mount-info'.
19127 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19129 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19130 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19132 2009-07-02 Kenichi Handa <handa@m17n.org>
19134 * international/mule.el (set-keyboard-coding-system): Force *-unix
19135 coding-system to avoid eol conversion.
19137 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19139 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19140 Add handler for `process-file', `shell-command' and
19141 `start-file-process'.
19142 (tramp-gvfs-handle-shell-command)
19143 (tramp-gvfs-handle-start-file-process)
19144 (tramp-gvfs-handle-process-file): New defuns.
19145 (tramp-synce-list-devices): Simplify check for existence of property.
19147 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19149 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19151 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19153 * language/korean.el (set-language-info-alist): Add korean-cp949,
19156 2009-07-01 Kenichi Handa <handa@m17n.org>
19158 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19160 * international/encoded-kb.el: Deleted.
19162 * international/mule.el (set-keyboard-coding-system): Perform the
19163 necessary setup here instead of calling encoded-kbd-setup-display.
19165 2009-07-01 Glenn Morris <rgm@gnu.org>
19167 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19169 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19171 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19173 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19175 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19176 Handle also the 'rename case, when setting file modes. (Bug#3712)
19177 (tramp-default-file-modes): Remove execute permissions.
19179 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19180 (top): Add a default for "synce" in `tramp-default-user-alist'.
19181 Add completion function for "synce" method.
19182 (tramp-hal-service, tramp-hal-path-manager)
19183 (tramp-hal-interface-manager, tramp-hal-interface-device):
19185 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19186 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19189 * net/trampver.el: Update release number.
19191 2009-06-30 Kenichi Handa <handa@m17n.org>
19193 * international/fontset.el (setup-default-fontset): Add CJK fonts
19194 for symbols and the other miscellaneous characters.
19196 * language/korea-util.el (setup-korean-environment-internal):
19197 Make char-width-table suitable for Korean environments.
19198 (exit-korean-environment): Cancel above.
19200 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19201 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19202 setup-function to make char-width-table suitable for respective
19203 environments, and an exit-function to cancel that.
19205 * language/japan-util.el (setup-japanese-environment-internal):
19206 Call use-cjk-char-width-table with arg `ja_JP'.
19208 * international/characters.el (cjk-char-width-table): Delete it.
19209 (cjk-char-width-table-list): New variable.
19210 (use-cjk-char-width-table): New arg local-name.
19211 (use-default-char-width-table): Fix for the case that Emacs is
19212 already using the default char-width-table.
19214 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19216 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19217 modes mandatory. (Bug#3712)
19219 2009-06-29 Alan Mackenzie <acm@muc.de>
19221 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19222 correction between the visible width of TABs and their number of bytes.
19224 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19226 * server.el (server-buffer-done): Prevent kill-buffer from
19227 prompting by clearing the buffer modification flag (Bug#3696).
19229 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19231 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19232 (verilog-endcomment-reason-re): Support unique case and priority case.
19233 (verilog-basic-complete-re): Support localparam lineup.
19234 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19235 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19237 (verilog-leap-to-case-head): Now support *nested* unique &
19238 priority case statements.
19239 (verilog-auto-lineup): Make just declarations the default (as it
19241 (verilog-leap-to-case-head): Support priority/unique case statements.
19242 (verilog-auto-lineup): Rework to give users radio buttons to
19243 select the various styles of automatic lineup.
19244 (verilog-error-regexp-alist): Rework to support the XEmacs style
19245 of error regular expressions from compilers, lint tools &
19246 simulators. Note that GNU Emacs has made it impossible for a mode
19247 to load such things.
19248 (electric-verilog-terminate-line, verilog-indent-declaration)
19249 (verilog-auto-wiure): Rework for radio button selection of
19250 auto-lineup selection of specification of auto lineup.
19251 (verilog-beg-of-statement-1): Redesign to support proper operation
19252 in additional code, based on testing with auto-lineup.
19253 (verilog-calculate-indent, assignments & declarations)
19254 (verilog-backward-token): Enhance to support auto-lineup of
19255 assignments & declarations.
19256 (verilog-in-directive-p, verilog-at-struct-p): New function for
19257 easy test of whether we are.
19258 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19259 to support safe execution at almost anyline.
19260 (verilog-calc-1): Properly support indenting deep inside generate
19262 (verilog-init-font): Remove definition & use of verilog-init-font,
19263 as it is redundant with font-lock-defaults.
19264 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19265 to avoid circular calls if syntax-ppss is a function (as is the
19266 case now in 22.x GNU Emacs) as that function would sometimes call
19267 itself, leading to (nearly) infinite recursion.
19268 (verilog-ovm-begin-re, verilog-ovm-end-re)
19269 (verilog-ovm-statement-re, verilog-leap-to-head)
19270 (verilog-backward-token): Add support for OVM macros. Some are
19271 complete statements, and others open and close scopes like begin
19273 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19274 (verilog-defun-level-generate-only-re): Really fix the defun-list
19276 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19277 coverpoint, constraint and cross statements.
19278 (verilog-defun-level-list, verilog-generate-defun-level-list)
19279 (verilog-all-defun-level-list): Redo these specifications - it is
19280 too hard to support eval-when compile aggregation of lists also
19281 built at when-compile time.
19282 (verilog-defun-level-list): Place defconsts of variables used in
19283 building regular expressions which are built in eval-when-compile
19284 bodies in the same eval-when-compile body to facilitate compile
19286 (verilog-beg-block-re-ordered): Support indenting
19287 virtual/protected tasks and functions.
19288 (verilog-defun-level-list, verilog-in-generate-region-p)
19289 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19290 indentation of some module items (generate items).
19291 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19292 across virtual/protected tasks and functions.
19294 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19296 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19297 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19298 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19299 in concatenations. Reported by Yishay Belkind.
19300 (verilog-auto-ascii-enum): Support one-hot state machines in
19301 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19302 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19303 modport in AUTOINST and add vl-modport for users.
19304 Reported by David Rogoff.
19305 (verilog-auto-inout-module, verilog-auto-inst)
19306 (verilog-decls-get-interfaces, verilog-insert-definition)
19307 (verilog-insert-one-definition, verilog-read-decls)
19308 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19309 (verilog-sig-modport, verilog-signals-combine-bus)
19310 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19311 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19312 Suggested by David Rogoff.
19313 (verilog-repair-open-comma): Fix non-insertion of comma when
19314 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19315 (verilog-make-width-expression): Simplify [A-1:0] expression
19316 widths to just {A{1'b0}}.
19317 (verilog-mode): Cleanup checkdoc warnings.
19318 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19319 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19320 inputs/outputs or data type. Suggested by Vasu Kandadi.
19321 (next-error-last-buffer): Fix byte-compiler warning.
19322 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19323 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19324 or shell command text during AUTO expansion. Suggested by Tad Truex.
19325 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19326 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19327 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19328 in AUTOINOUT. Reported by Matthew Lovell.
19329 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19330 causing use of <= assignments. Reported by Alex Reed.
19331 (verilog-read-decls): Fix triand, trior, wand, wor to be
19332 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19333 (verilog-extended-complete-re): Support import "DPI-C" functions.
19334 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19335 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19336 (verilog-insert-date, verilog-insert-year)
19337 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19338 Windows systems. Reported by Michael Potts.
19339 (verilog-read-module-name): Fix AUTOINST when the child module
19340 declaration's name is a tick define. Reported by Elliot Mednick.
19341 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19342 passed to next parameter's definition. Reported by Bruce T.
19343 (verilog-read-decls): Fix detecting "parameter int" when using
19344 AUTOINSTPARAM. Reported by Bruce T.
19345 (verilog-goto-defun): Fix goto not finding modules unless first
19346 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19347 (verilog-mode): Expand -f flag arguments on entry to mode so
19348 verilog-goto-defun will work. Reported by Lawrence Butcher.
19349 (verilog-getopt): Expand environment variables in -f file
19350 arguments. Suggested by Lawrence Butcher.
19351 (verilog-set-define): Fix "Symbol's value as variable is void"
19352 when reading enumerations.
19353 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19354 Suggested by Stephen Peltan.
19355 (verilog-read-defines): Fix reading of enumerations in include
19356 files. Reported by Steve Peltan.
19358 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19360 * files.el (trash-directory): Fix defcustom type.
19362 2009-06-28 Juri Linkov <juri@jurta.org>
19364 * help-fns.el (describe-function-1): Correctly locate adviced
19365 functions in hyperlink (Bug#2438).
19367 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19369 * files.el (trash-directory): Change default to nil.
19370 (move-file-to-trash): If trash-directory is nil and
19371 system-move-file-to-trash is unbound, perform freedesktop-style
19374 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19376 * files.el (move-file-to-trash): Add freedesktop trash
19379 2009-06-28 Glenn Morris <rgm@gnu.org>
19381 * autorevert.el (global-auto-revert-non-file-buffers)
19382 (global-auto-revert-mode): Doc fixes.
19384 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19386 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19388 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19390 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19391 opened an X connection before calling x-get-resource (Bug#3194).
19393 * play/doctor.el: Remove reference to obsolete website.
19394 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19396 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19398 Remove find-file-not-found-hook VC method. (Bug#2757)
19399 * vc-hooks.el (vc-file-not-found-hook)
19400 (vc-default-find-file-not-found-hook): Remove functions.
19401 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19402 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19405 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19407 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19409 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19410 compatibility function for `looking-back'.
19412 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19413 Use `ispell-looking-back'.
19415 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19417 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19418 rather than `filename'.
19420 2009-06-23 Miles Bader <miles@gnu.org>
19422 * face-remap.el (text-scale-set): New function.
19424 2009-06-23 Glenn Morris <rgm@gnu.org>
19426 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19428 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19430 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19432 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19434 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19435 Simplify Persian conditionals.
19437 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19438 variable `filename'.
19440 * comint.el (comint-insert-input): Doc fix.
19442 * Makefile.in (ELCFILES): Fix typo in previous change.
19444 2009-06-23 Miles Bader <miles@gnu.org>
19446 * cus-start.el: Add entry for `recenter-redisplay'.
19448 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19450 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19451 Add an optional argument for the backend, use it instead of
19452 calling vc-backend.
19453 (vc-mode-line): Add an optional argument for the backend.
19454 Pass the backend to vc-state and vc-working-revision. Move code for
19455 special handling for vc-state being a buffer to ...
19457 * vc-rcs.el (vc-rcs-find-file-hook):
19458 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19460 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19461 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19462 vc-stay-local-p and vc-mode-line calls.
19464 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19465 (vc-cvs-diff, vc-cvs-annotate-command)
19466 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19467 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19468 vc-mode-line calls.
19470 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19472 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19473 backend when calling vc-mode-line.
19474 (vc-register): Do not create a closure for calling the vc register
19475 function, call it directly.
19477 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19479 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19480 to make it obvious item can be clicked.
19482 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19484 2009-06-23 Kenichi Handa <handa@m17n.org>
19486 * language/korea-util.el (korean-key-bindings): Change the binding
19487 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19490 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19492 Sync with Tramp 2.1.16.
19494 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19496 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19497 when a loading of a package fails. Completion function for rsync
19498 is `tramp-completion-function-alist-ssh'.
19499 (all): Replace all calls of `split-string' and
19500 `tramp-split-string' by `tramp-compat-split-string'.
19501 (tramp-default-method): Use `tramp-compat-process-running-p'.
19502 (tramp-default-proxies-alist): Allow also Lisp forms.
19503 (tramp-remote-path): Add choice "Private Directories".
19504 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19505 (tramp-domain-regexp): Allow also "-", "_" and ".".
19506 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19507 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19508 (tramp-debug-message): Insert header line in debug buffer.
19509 (tramp-handle-directory-files-and-attributes-with-stat):
19510 Care about filenames with spaces, or starting with "-".
19511 (tramp-handle-dired-uncache): New defun.
19512 (tramp-handle-insert-directory): Don't flush the directory from
19513 cache, this is handled by `dired-uncache' now.
19514 (tramp-handle-insert-file-contents): Improve error handling.
19515 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19516 Quote `tramp-end-of-output'.
19517 (tramp-action-password): Improve trace message.
19518 (tramp-check-for-regexp): Both echoes must be present, before removing.
19519 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19520 (tramp-compute-multi-hops): Eval cons cells of
19521 `tramp-default-proxies-alist'.
19522 (tramp-maybe-open-connection): Use the same command pattern for
19523 first hop and further hops.
19524 (tramp-wait-for-output): Remove handling of newlines.
19525 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19526 (tramp-split-string): Remove function. It is handled in
19529 * net/tramp-cmds.el (tramp-bug):
19530 Recommend `tramp-cleanup-all-connections' in the bug mail.
19532 * net/tramp-compat.el (tramp-compat-split-string)
19533 (tramp-compat-process-running-p): New defuns.
19535 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19536 for `dired-uncache'.
19538 * net/tramp-gvfs.el: New package.
19540 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19541 Add handler for `dired-uncache'.
19542 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19544 * net/trampver.el: Update release number. Make version check fit
19547 2009-06-22 Jim Meyering <meyering@redhat.com>
19549 Automatically handle .xz suffix (XZ-compressed files), too.
19550 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19551 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19553 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19554 Nick Roberts <nickrob@snap.net.nz>
19556 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19557 repository (http://sphinx.net.ru/hg/gdb-mi/).
19559 2009-06-22 Glenn Morris <rgm@gnu.org>
19561 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19562 `mode' and `eval' entries. (Bug#3430)
19564 * Makefile.in (ELCFILES): Add fadr.elc.
19566 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19567 differing behavior of \n and ^ in strings. (Bug#3385)
19569 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19571 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19573 (lisp-indent-function): Make it a defcustom.
19575 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19577 * progmodes/gdb-ui.el: Replace with ...
19578 * progmodes/gdb-mi.el: ... this file.
19579 * progmodes/gud.el: Modify for gdb-mi.el.
19581 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19583 * fadr.el: New file.
19585 See ChangeLog.14 for earlier changes.
19587 ;; Local Variables:
19591 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19593 This file is part of GNU Emacs.
19595 GNU Emacs is free software: you can redistribute it and/or modify
19596 it under the terms of the GNU General Public License as published by
19597 the Free Software Foundation, either version 3 of the License, or
19598 (at your option) any later version.
19600 GNU Emacs is distributed in the hope that it will be useful,
19601 but WITHOUT ANY WARRANTY; without even the implied warranty of
19602 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19603 GNU General Public License for more details.
19605 You should have received a copy of the GNU General Public License
19606 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.