1 2010-11-26 Glenn Morris <rgm@gnu.org>
3 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4 diary-outlook-formats can be sensitive to calendar-date-style.
5 (diary-outlook-formats): Simplify the default setting.
6 (diary-from-outlook-internal): Pass subject and body as arguments.
7 Use dolist rather than dotimes. Don't save the diary buffer.
8 (diary-from-outlook-gnus, diary-from-outlook-rmail):
9 Pass subject and body as explicit arguments to the -internal function.
11 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
14 parsing them. This makes mailto:...?subject=foo\nbar work.
16 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
18 * vc/diff.el (diff): Fix last change.
20 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
22 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
23 (pcase--dontcare-upats): New var.
24 (pcase-let, pcase-let*): Generate better code.
25 Accept the same bodies as `let'.
26 (pcase-dolist): New macro.
27 (pcase--trivial-upat-p): New helper function.
28 (pcase--expand): Strip leading "(let nil" if any.
30 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
32 * mail/mailclient.el (browse-url): Require.
33 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
34 use the external browser function to send the mail (bug#7469).
36 * net/browse-url.el (browse-url-browser-function): Revert the
37 default back to the previous value, since the new value broke
39 (browse-url-mailto-function): New variable for mailto: URLs.
40 (browse-url): Use the new variable for mailto: URLs.
42 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
44 * eshell/esh-cmd.el (eshell-parse-command):
45 * eshell/esh-arg.el (eshell-parse-arguments):
46 * eshell/em-script.el (eshell-source-file):
47 Use with-silent-modifications.
49 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
51 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
54 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
55 (vc-bzr-merge-branch): Always prompt.
56 (vc-bzr-async-command): Use the full branch filename.
58 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
60 * shell.el (shell): Use current-buffer by default if it's already
61 a shell mode buffer and its process is dead.
62 Suggested by <jemarch@gnu.org>.
64 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
66 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
67 Mention that the keywords should be comma separated.
69 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
71 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
72 Accept optional prefix arg meaning to prompt for a command.
73 (vc-update): Use vc-BACKEND-pull if available. Accept optional
74 prefix arg meaning to prompt for a command.
75 (vc-pull): Alias for vc-update.
77 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
78 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
79 (vc-bzr-merge-branch): New functions, implementing merge-branch
82 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
84 * Makefile.in: Fix up last merge.
86 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
87 (diff-sentinel): Get them as arguments instead.
88 (diff-old-file, diff-new-file, diff-extra-args): Remove.
89 (diff-file-local-copy, diff-better-file-name): New funs.
90 (diff-no-select): Rename from diff-into-buffer.
91 Support buffers additionally to files. Move `buf' arg. Don't display buf.
92 Prefer closures to buffer-local variables.
93 (diff): Adjust accordingly.
94 (diff-buffer-with-file): Move from files.el.
95 * files.el (diff-buffer-with-file): Move to vc/diff.el.
96 (diff-buffer-internal): Remove.
97 (diff-buffer-buffer): Remove.
98 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
99 the buffer name used, and so as not to mess up windows and frames.
101 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
103 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
104 (diff-buffer-internal): New function extracted from diff-buffer-with-file
105 (diff-buffer-with-file): Use it.
106 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
109 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
111 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
112 \ref's or \pageref's value as default instead of initial input.
114 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
116 * files.el (backup-by-copying-when-mismatch): The default value is
119 * startup.el (normal-top-level):
120 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
121 `backup-by-copying-when-mismatch'.
123 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
125 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
127 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
129 * progmodes/python.el (python-font-lock-keywords):
130 Highlight top-level augmented assignments (Bug#6445).
132 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
134 * term/ns-win.el (ns-right-control-modifier)
135 (ns-right-command-modifier): Defvar them.
137 * cus-start.el (all): Add ns-right-control-modifier and
138 ns-right-command-modifier (Bug#7458).
140 2010-11-20 Glenn Morris <rgm@gnu.org>
142 * emacs-lisp/authors.el (authors-ignored-files)
143 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
145 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
147 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
148 (report-emacs-bug-parse-query-results)
149 (report-emacs-bug-create-existing-bugs-buffer): Pass through
150 keywords used for querying the bug database to show them in the
151 existing bugs buffer.
153 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
155 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
157 * info.el (info-tool-bar-map): Add some :vert-only keywords.
159 2010-11-20 Eli Zaretskii <eliz@gnu.org>
161 * international/characters.el (glyphless-char-display-control):
162 Make it a defcustom, with update-glyphless-char-display as its
164 (top level): Don't call update-glyphless-char-display.
166 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
168 Sync with Tramp 2.2.0.
170 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
171 `file-remote-p' (due to compatibility).
173 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
174 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
176 * net/trampver.el: Update release number.
178 2010-11-20 Eli Zaretskii <eliz@gnu.org>
180 * faces.el (glyphless-char): Define value for `pc'.
182 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
184 Implemented a bug querying mechanism.
185 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
186 (report-emacs-bug-create-existing-bugs-buffer)
187 (report-emacs-bug-parse-query-results)
188 (report-emacs-bug-query-existing-bugs): New functions.
190 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
192 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
193 a \ref{} or \pageref{} macro, then use its value as initial input.
195 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
197 * calc/calc-units.el (math-build-units-table-buffer):
198 calc/README: Mention that the TeX specific units won't use the
199 `tex' prefix in TeX mode.
200 calc/calc-lang.el (math-variable-table): Don't use the `tex'
201 prefix for units in TeX mode.
203 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
205 * simple.el (kill-new, kill-append, kill-region):
206 * comint.el (comint-kill-region): Make the yank-handler argument obsolete.
208 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
210 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
211 that are both openers (resp. closers) and something else.
212 (smie-grammar): Loosen definition of valid values.
213 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
214 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
215 (smie-indent-after-keyword): Adjust users.
216 (smie-indent-keyword): Don't indent empty lines.
218 * vc-hg.el (vc-hg-program): New var.
219 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
220 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
222 2010-11-18 Glenn Morris <rgm@gnu.org>
224 * emacs-lisp/autoload.el (autoload-find-destination): The function
225 coding-system-eol-type may return non-numeric values. (Bug#7414)
227 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
229 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
231 2010-11-18 Eli Zaretskii <eliz@gnu.org>
233 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
235 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
237 * textmodes/picture.el (picture-mouse-set-point): Don't use
238 posn-col-row; explicitly compute the motion based on the posn at
239 the window-start (Bug#7390).
241 2010-11-18 Glenn Morris <rgm@gnu.org>
243 * novice.el (disabled-command-function):
244 Fix 2009-11-15 change. (Bug#7384)
246 2010-11-18 Glenn Morris <rgm@gnu.org>
248 * calendar/calendar.el (diary-iso-date-forms): Make elements
249 mutually exclusive. (Bug#7377)
251 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
253 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
254 when filling the remaining "unconstrained" values.
256 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
258 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
261 * files.el (safe-local-variable-p): Gracefully handle errors.
263 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
264 Use smie-indent-virtual when indenting relative to an opener.
265 (smie-rule-separator): Use smie-rule-parent.
266 (smie-indent-keyword): Consult rules, even for openers at bol.
267 (smie-indent-comment-close): Try to align closer's content.
269 2010-11-18 Glenn Morris <rgm@gnu.org>
271 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
273 2010-11-18 Glenn Morris <rgm@gnu.org>
275 * printing.el (pr-menu-bind): Doc fix.
277 * speedbar.el (speedbar-toggle-images): Doc fix.
279 * progmodes/python.el (python-shell): Doc fix.
281 * wid-edit.el (widget-field-use-before-change)
282 (widget-use-overlay-change): Doc fixes.
284 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
286 Minor cleanup to improve style.
287 * textmodes/rst.el (rst-update-section): Use point-marker.
288 (rst-get-decoration): Eliminate unneeded assignment.
289 (rst-promote-region, rst-straighten-decorations)
290 (rst-section-tree, rst-adjust): Use point-marker.
291 (rst-toc-mode-mouse-goto): Avoid setq.
292 (rst-shift-region-guts, rst-shift-region-left)
293 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
294 (rst-convert-bullets-to-enumeration): Use copy-marker.
296 * minibuffer.el (completion-fail-discreetly): New var.
297 (completion--do-completion): Use it.
299 * electric.el (electric-pair-pairs): New var.
300 (electric-pair-post-self-insert-function): Use it.
301 (electric-layout-post-self-insert-function): Don't insert a before
302 newline unless it's actually needed.
304 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
306 * progmodes/python.el (run-python): Explain why we remove the current
307 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
309 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
311 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
313 * progmodes/octave-mod.el: Rely on elecric-*-modes.
314 (octave-mode-map): Don't bind ;, SPC, and LF.
315 (octave-auto-indent, octave-auto-newline): Remove.
316 (electric-layout-rules): Declare.
317 (octave-mode): Set electric-layout-rules.
318 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
319 (octave-reindent-then-newline-and-indent, octave-electric-semi)
320 (octave-electric-space): Remove.
322 * electric.el (electric-layout-mode): New minor mode.
323 (electric--after-char-pos): New function.
324 (electric-indent-post-self-insert-function): Use it.
325 (electric-layout-rules): New var.
326 (electric-layout-post-self-insert-function): New function.
327 (electric-indent-mode): Make them interact better.
329 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
331 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
332 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
333 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
335 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
337 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
338 Make sure to check inside the word (Bug#6761).
340 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
342 * startup.el (command-line): If the cursorColor resource is set,
343 change the cursor face-spec (Bug#7392).
345 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
347 The main features of the following allout.el changes are:
348 - implement user customization for the allout key bindings
349 - add a customization control by which the user can inhibit use of
350 a trailing Ctrl-H, so by default it's reserved for use with
351 describe-prefix-bindings
352 - adapt to new version of called-interactively-p, while
353 maintaining backwards compatibility with old version
354 - fix hotspot navigation so i works properly with meta-modified keys
356 * allout.el (allout-keybindings, allout-bind-keys)
357 (allout-keybindings-binding, allout-prefixed-keybindings)
358 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
359 (allout-keybindings-list, allout-mode-map-adjustments)
360 (allout-setup-mode-map): Establish allout-mode keymaps as user
361 customizable settings, and also establish a customizable setting which
362 regulates whether or not a trailing control-h is reserved for use with
363 describe-prefix-bindings - and inhibit it by default, so that control-h
364 *is* reserved for describe-prefix-bindings unless the user changes it.
366 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
367 and accurately between modified and unmodified events, and handle
368 modified events more comprehensively.
370 * allout.el (allout-substring-no-properties):
371 Alias to use or provide version of `substring-no-properties'.
372 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
374 * allout.el (allout-next-single-char-property-change):
375 Alias to use or provide version of `next-single-char-property-change'.
376 (allout-annotate-hidden, allout-hide-by-annotation):
377 Use `allout-next-single-char-property-change'.
379 * allout.el (allout-select-safe-coding-system):
380 Alias to use or provide version of `select-safe-coding-system'.
381 (allout-toggle-subtree-encryption):
382 Use `allout-select-safe-coding-system'.
384 * allout.el (allout-set-buffer-multibyte):
385 Alias to use or provide version of `set-buffer-multibyte'.
386 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
388 * allout.el (allout-called-interactively-p): Macro for using the
389 different versions of called-interactively-p identically, depending on
390 the subroutine's argument signature.
391 (allout-back-to-current-heading, allout-beginning-of-current-entry):
392 Use `(interactive "p")' instead of `(called-interactively-p)'.
394 * allout.el (allout-init, allout-ascend, allout-end-of-level)
395 (allout-previous-visible-heading, allout-forward-current-level)
396 (allout-backward-current-level, allout-show-children):
397 Use `allout-called-interactively-p' instead of `called-interactively-p'.
399 * allout.el (allout-before-change-handler):
400 Exempt edits to the (overlaid) character after the allout outline
401 bullet from edit confirmation prompt.
403 * allout.el (allout-add-resumptions):
404 Ensure that it respects correct buffer for keybindings.
406 * allout.el (allout-beginning-of-line):
407 Use `allout-previous-single-char-property-change' alias for the sake of
408 diverse compatibility.
410 * allout.el (allout-end-of-line):
411 Use `allout-mark-active-p' to encapsulate respect for mark activity.
413 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
415 * frame.el (frame-notice-user-settings): Don't clobber other
416 user-set parameters when calling face-set-after-frame-default in
417 response to background-color parameter (Bug#7373).
419 2010-11-13 Eli Zaretskii <eliz@gnu.org>
421 * international/characters.el (glyphless-char-display-control):
422 Renamed from glyphless-char-control; all users changed. Doc fix.
423 Signal an error if display method is not one of the recognized
426 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
428 * net/tramp-compat.el (tramp-compat-line-beginning-position)
429 (tramp-compat-line-end-position): Remove them.
431 * net/tramp.el (tramp-parse-rhosts-group)
432 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
433 (tramp-parse-hosts-group, tramp-parse-passwd-group)
434 (tramp-parse-netrc-group, tramp-parse-putty-group)
435 * net/tramp-cmds.el (tramp-append-tramp-buffers)
436 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
437 (tramp-sh-handle-file-selinux-context)
438 (tramp-sh-handle-file-name-all-completions)
439 (tramp-sh-handle-insert-directory)
440 (tramp-sh-handle-expand-file-name, tramp-find-executable)
441 (tramp-wait-for-output, tramp-send-command-and-read)
442 * net/tramp-smb.el (tramp-smb-read-file-entry)
443 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
445 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
447 (tramp-remote-coding-commands): Add an alternative using "base64
448 -d -i". This is needed for older base64 versions from GNU
449 coreutils. Reported by Klaus Reichl
450 <Klaus.Reichl@thalesgroup.com>.
452 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
454 * simple.el (count-words-region): New function.
456 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
458 * shell.el (shell-dir-cookie-re): New custom variable.
459 (shell-dir-cookie-watcher): New function.
461 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
462 and compilation-mode (bug#7350).
464 * vc/smerge-mode.el (smerge-refine): Choose better default part to
465 highlight when one of them is empty.
467 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
469 (skeleton-newline): New function.
470 (skeleton-internal-1): Use it.
472 * simple.el (open-line): `newline' may strip trailing space.
474 2010-11-12 Kevin Ryde <user42@zip.com.au>
476 * international/mule-cmds.el (princ-list): Use mapc.
478 2010-11-12 Glenn Morris <rgm@gnu.org>
480 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
481 Use it to replace all instances of "*Compile-Log*"
483 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
485 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
488 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
490 * progmodes/modula2.el: Use SMIE and skeleton.
491 (m2-mode-syntax-table): (*..*) can be nested.
492 Add //...\n. Fix paren syntax.
493 (m2-mode-map): Remove LF and TAB bindings.
494 (m2-indent): Add safety property.
495 (m2-smie-grammar): New var.
496 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
497 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
498 (m2-mode): Use define-derived-mode.
499 (m2-newline, m2-tab): Remove.
500 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
501 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
502 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
503 (m2-import): Use define-skeleton.
505 2010-11-11 Glenn Morris <rgm@gnu.org>
507 * obsolete/lucid.el: Don't warn about any CL functions in this file.
509 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
510 (ls-lisp-verbosity): Add custom :set-after property.
511 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
512 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
513 (ls-lisp-insert-directory): Update caller.
514 (ls-lisp-set-options): New function.
515 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
518 * play/landmark.el (lm-prompt-for-move):
519 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
521 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
523 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
524 (idlwave-study-twins): Prefix dynamic local variable `name'.
525 (idlwave-routine-twin-compare): Update for above change.
527 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
528 Prefix dynamic local variables `name', `kwd', and `link'.
529 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
530 * progmodes/idlw-complete-structtag.el
531 (idlwave-complete-structure-tag-help):
532 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
533 (idlwave-complete-sysvar-tag-help)
534 (idlwave-complete-class-structure-tag-help):
535 Update for above name changes.
537 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
539 * net/browse-url.el (browse-url-browser-function): Change the
540 default to use `browse-url-mail' on mailto: URLs.
542 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
544 * emacs-lisp/package.el (package-read-all-archive-contents):
545 Reset package-archive-contents to nil before re-reading.
547 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
549 * textmodes/flyspell.el (flyspell-word): Do not re-check words
550 already found as misspellings by (flyspell-large-region), just
551 do highlighting (bug#7322).
553 2010-11-10 Glenn Morris <rgm@gnu.org>
555 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
557 * emulation/edt.el (edt-with-position): New macro.
558 (edt-find-forward, edt-find-backward, edt-find-next-forward)
559 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
560 (edt-paragraph-forward, edt-paragraph-backward): Use it.
562 * emulation/tpu-extras.el (tpu-with-position): New macro.
563 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
565 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
567 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
568 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
569 (texinfo-master-menu, texinfo-insert-node-lines)
570 (texinfo-multiple-files-update):
571 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
572 Use line-beginning-position.
574 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
575 No recent Emacs supports system-type `emx'.
577 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
578 (ada-command-separator, ada-default-prj-properties)
579 (ada-find-any-references): Update for above name change.
581 * dirtrack.el (dirtrack-directory-function)
582 (dirtrack-canonicalize-function):
583 * filecache.el (file-cache-completion-ignore-case)
584 (file-cache-case-fold-search, file-cache-ignore-case):
585 * term.el (serial-port-is-file-p): Cosmetic change.
587 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
588 Remove non-existent `windows-95' system-type.
589 * dired.el (dired-chown-program): Remove non-existent `linux'
592 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
593 (ping-program-options): Remove non-existent `linux' system-type.
595 * startup.el (package-initialize): Update declaration.
597 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
598 (ls-lisp-handle-switches): Use time-less-p.
599 (ls-lisp-format-time): Use float-time.
601 * textmodes/remember.el (remember-time-to-seconds): Remove.
602 (remember-store-in-mailbox): Use float-time.
604 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
606 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
607 never a real function.
608 (with-no-warnings): Remove compat stub, now unused.
609 (time-less-p): Doc fix.
610 (time-to-number-of-days): Simplify.
612 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
614 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
615 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
616 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
617 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
618 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
620 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
621 (eshell-shuffle-files, eshell-shorthand-tar-command)
622 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
623 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
624 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
625 Prefix dynamic local variable `matches'.
627 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
628 Prefix dynamic local variable `skeleton'.
630 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
632 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
633 in mail buffer; make yank-action always a command that yanks original
636 2010-11-09 Glenn Morris <rgm@gnu.org>
638 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
640 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
642 * minibuffer.el (minibuffer-completion-help): Specify the end of the
643 completion field (bug#7211).
645 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
646 Fix handling of backslash escapes.
647 (python-quote-syntax): Adjust accordingly.
649 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
651 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
652 (vc-mtn-workfile-branch): Adjust to new output format.
654 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
656 * international/mule-cmds.el (princ-list): Mark as obsolete.
658 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
660 * emacs-lisp/smie.el: New package.
662 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
664 * files.el (backup-by-copying-when-mismatch):
665 Set `permanent-local' property.
667 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
668 `permanent-local' property for `backup-by-copying-when-mismatch'.
670 2010-11-09 Eli Zaretskii <eliz@gnu.org>
672 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
674 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
676 * progmodes/verilog-mode.el (verilog-insert-one-definition)
677 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
678 AUTOINOUT for SV style multidimensional arrays, bug294.
679 Reported by Eric Mastromarchi.
680 (verilog-preprocess): Use with-current-buffer and
681 font-lock-fontify-buffer to cleanup style issues.
683 2010-11-09 Glenn Morris <rgm@gnu.org>
685 * locate.el (locate, locate-mode): Doc fixes.
687 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
689 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
690 user for confirmation.
691 (server-force-stop): Use it.
692 (server-start): Use server-force-stop for kill-emacs-hook, to
693 avoid user interaction while killing Emacs.
695 2010-11-09 Glenn Morris <rgm@gnu.org>
697 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
698 (meta-indent-line): Simplify.
700 * vc/emerge.el (emerge-line-number-in-buf):
701 * textmodes/ispell.el (ispell-region):
702 * textmodes/fill.el (current-fill-column):
703 * progmodes/xscheme.el (xscheme-send-current-line):
704 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
705 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
706 * progmodes/sh-script.el (sh-handle-prev-do):
707 * progmodes/meta-mode.el (meta-indent-line):
708 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
710 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
711 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
712 * progmodes/fortran.el (fortran-looking-at-if-then):
713 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
714 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
715 (cperl-find-pods-heres):
716 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
717 * net/quickurl.el (quickurl-list-insert):
718 * net/ldap.el (ldap-search-internal):
719 * net/eudc.el (eudc-expand-inline):
720 * mail/sendmail.el (sendmail-send-it):
721 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
722 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
723 (viper-brac-function):
724 * calc/calc-yank.el (calc-do-grab-region):
725 * calc/calc-keypd.el (calc-keypad-press):
726 * term.el (term-move-columns, term-insert-spaces):
727 * speedbar.el (speedbar-highlight-one-tag-line):
728 * simple.el (current-word):
729 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
730 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
732 * hippie-exp.el (he-line-beg):
733 * epa.el (epa--marked-keys):
734 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
735 (dired-update-file-line, dired-add-entry, dired-remove-entry)
736 (dired-relist-entry):
737 * buff-menu.el (Buffer-menu-buffer):
738 * array.el (current-line):
739 * allout.el (allout-resolve-xref)
740 (allout-latex-verbatim-quote-curr-line):
741 Replace yet more uses of end-of-line etc with line-end-position, etc.
743 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
745 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
746 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
747 (checkdoc-syntax-table): Initialize in the declaration.
748 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
749 the mode on unconditionally.
751 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
752 (extent-end-position, extent-start-position): Remove setf method for
753 non-existing functions (bug#7319).
755 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
757 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
758 (smie-precs->prec2): Rename from smie-precs-precedence-table.
759 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
760 (smie-prec2->grammar): Rename from smie-prec2-levels.
761 (smie-grammar): Rename from smie-op-levels.
762 (smie-indent--hanging-p): Rename from smie-hanging-p.
763 (smie-rule-hanging-p): New alias.
764 (smie-indent--bolp): Rename from smie-bolp.
765 (smie-indent--hanging-p): New alias.
766 (smie--token): New dynamically bound variable.
767 (smie-indent--parent): New function.
768 (smie-rule-parent-p): Use it; rename from smie-parent-p.
769 (smie-rule-next-p): Rename from smie-next-p.
770 (smie-rule-prev-p): Rename from smie-prev-p.
771 (smie-rule-sibling-p, smie-rule-parent)
772 (smie-indent--separator-outdent, smie-rule-separator): New functions.
773 (smie-rule-separator-outdent): New var.
774 (smie-indent--rule): Merge with smie-indent--column.
775 (smie-indent-forward-token, smie-indent-backward-token):
776 Also recognize close parens.
777 (smie-indent-keyword): Don't use smie-indent--column any more.
778 (smie-indent-after-keyword): Ignore closers by default.
779 (smie-indent-line): Use with-demoted-errors.
780 * progmodes/octave-mod.el (octave-smie-grammar):
781 Rename from octave-smie-op-levels.
782 (octave-smie-rules): Adjust to new behavior.
783 * progmodes/prolog.el (prolog-smie-grammar):
784 Rename from prolog-smie-op-levels.
786 2010-11-07 Glenn Morris <rgm@gnu.org>
788 * eshell/esh-util.el (subst-char-in-string)
789 (directory-files-and-attributes): These compatibility definitions are
790 not needed on any version of Emacs since at least 21.4.
792 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
793 (verilog-get-end-of-line): Remove.
794 (verilog-within-string, verilog-re-search-forward-substr)
795 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
796 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
797 Use point-at-bol, point-at-eol.
798 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
800 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
801 (electric-pascal-terminate-line, pascal-set-auto-comments)
802 (pascal-indent-paramlist, pascal-indent-declaration)
803 (pascal-get-lineup-indent, pascal-func-completion)
804 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
805 Use point-at-bol, point-at-eol.
806 * progmodes/flymake.el (flymake-line-beginning-position)
807 (flymake-line-end-position): Remove.
808 (flymake-highlight-line): Use point-at-bol, point-at-eol.
809 * eshell/esh-util.el (line-end-position, line-beginning-position):
810 Remove compat definitions.
812 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
814 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
815 Use line-end-position.
817 * emacs-lisp/chart.el (chart-zap-chars):
818 * play/decipher.el (decipher-set-map):
819 * progmodes/ada-mode.el (ada-get-current-indent)
820 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
821 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
822 * progmodes/ada-xref.el (ada-initialize-runtime-library)
823 (ada-get-all-references):
824 * progmodes/cperl-mode.el (cperl-electric-paren)
825 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
826 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
827 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
828 (cperl-word-at-point-hard):
829 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
830 (idlwave-shell-filename-string, idlwave-shell-batch-command)
831 (idlwave-shell-display-line):
832 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
833 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
834 * progmodes/js.el (js--re-search-forward-inner)
835 (js--re-search-backward-inner):
836 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
837 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
838 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
839 * textmodes/flyspell.el (flyspell-process-localwords):
840 * textmodes/ispell.el (ispell-buffer-local-parsing)
841 (ispell-buffer-local-dict, ispell-buffer-local-words):
842 Use point-at-bol and point-at-eol.
844 * speedbar.el (speedbar-generic-item-info)
845 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
846 (speedbar-add-indicator, speedbar-check-vc-this-line)
847 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
848 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
849 Replace more uses of end-of-line etc with line-end-position.
851 2010-11-06 Glenn Morris <rgm@gnu.org>
853 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
854 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
855 (texinfo-delete-existing-pointers, texinfo-find-pointer)
856 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
857 (texinfo-multiple-files-update):
858 * textmodes/table.el (table--probe-cell-left-up)
859 (table--probe-cell-right-bottom):
860 * textmodes/picture.el (picture-tab-search):
861 * textmodes/page-ext.el (pages-copy-header-and-position)
862 (pages-directory-for-addresses):
863 * progmodes/vera-mode.el (vera-get-offset):
864 * progmodes/simula.el (simula-calculate-indent):
865 * progmodes/python.el (python-pdbtrack-overlay-arrow):
866 * progmodes/prolog.el (end-of-prolog-clause):
867 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
868 * progmodes/icon.el (indent-icon-exp):
869 * progmodes/etags.el (tag-re-match-p):
870 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
871 * progmodes/ebnf2ps.el (ebnf-begin-file):
872 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
873 (dcl-save-local-variable):
874 * play/life.el (life-setup):
875 * play/gametree.el (gametree-looking-at-ply):
876 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
877 * mail/sendmail.el (mail-mode-auto-fill):
878 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
879 * emacs-lisp/edebug.el (edebug-overlay-arrow):
880 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
881 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
882 (woman-tab-to-tab-stop, WoMan-warn-ignored):
883 * type-break.el (type-break-file-keystroke-count):
884 * term.el (term-replace-by-expanded-history-before-point)
885 (term-skip-prompt, term-extract-string):
886 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
887 (speedbar-contract-line, speedbar-toggle-line-expansion)
888 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
889 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
890 * sort.el (sort-skip-fields):
891 * skeleton.el (skeleton-internal-list):
892 * simple.el (line-move-finish, line-move-to-column):
893 * shell.el (shell-forward-command):
894 * misc.el (copy-from-above-command):
895 * makesum.el (double-column):
896 * ebuff-menu.el (electric-buffer-update-highlight):
897 * dired.el (dired-move-to-end-of-filename):
898 * dframe.el (dframe-popup-kludge):
899 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
900 * arc-mode.el (archive-get-lineno):
901 Use line-end-position and line-beginning-position.
903 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
904 (idlwave-study-twins): Prefix dynamic local `class'.
905 (idlwave-routine-twin-compare): Update for above name change.
907 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
908 Use boundp tests to silence compiler. Update for changed name of
909 bytecomp-filename variable.
911 * emulation/viper-cmd.el (viper-read-string-with-history):
912 Prefix dynamic local `initial'.
913 (viper-minibuffer-standard-hook): Update for above name change.
915 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
916 (elint-init-form): Update for above name change.
918 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
919 local variables `cbeg' and `cend' a prefix.
920 (mail-extr-voodoo): Update for above name change.
922 * textmodes/reftex-toc.el (reftex-toc-do-promote)
923 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
924 (reftex-toc-promote-action): Doc fix.
926 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
927 `prompt', `data' a prefix.
928 (reftex-select-post-command-hook, reftex-select-callback)
929 (reftex-select-mouse-accept, reftex-select-read-cite):
930 Update for above name changes.
932 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
933 `refstyle' to reftex-refstyle.
934 (reftex-offer-label-menu): Update for above name change.
935 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
936 `refstyle' name change.
938 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
939 with with-current-buffer.
940 (diff, template): Give dynamic local variables a prefix.
941 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
942 (emerge-line-number-in-buf): Update for above name change.
943 (emerge-combine-versions-internal): Rename local `template' to
944 emerge-combine-template.
945 (emerge-combine-versions-edit): Update for above name change.
947 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
949 * textmodes/reftex-cite.el
950 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
951 entries with whitespace after \bibitem.
952 (reftex-create-bibtex-file): Match entries containing numbers and
953 symbol constituents. Make sure that entries with whitespace at
954 various places are found.
956 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
958 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
960 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
962 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
964 2010-11-05 Glenn Morris <rgm@gnu.org>
966 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
967 (woman2-roff-buffer): Give local variable `request' a prefix.
968 (woman0-macro): Rename argument `request' in the same way.
969 (woman-request): New name for `request' dynamic variable.
970 (woman-unquote, woman-forward-arg): Update for above name change.
971 (woman1-roff-buffer): Give local variable `unquote' a prefix.
972 (woman1-unquote): New name for `unquote' dynamic variable.
973 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
974 (woman-translations): Rename from `translations'. No longer global.
975 (woman2-tr, woman-translate): Update for above name change.
976 (woman-translate): Check for bound variable.
977 (woman2-roff-buffer): Give local variable `translations' a prefix.
979 * play/doctor.el: Give all local variables a prefix. Update callers.
980 (doc$, doctor-put-meaning): Use backquote.
982 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
983 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
985 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
986 variables bytes, ptr, op a prefix.
987 (disassemble-offset): Update for above change.
989 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
991 * emacs-lisp/package.el (package-unpack): Remove no-op.
992 (package--builtins, package--dir): Doc fix.
993 (package-activate-1, package-activate, package-install)
994 (package-compute-transaction): Fix error message.
995 (package-delete): Use delete-directory. Omit system packages.
996 (package-initialize): Set package-alist to nil first.
997 (package-menu-mark-delete, package-menu-mark-install): Don't add
998 symbols that are inconsistent with the package state.
999 (package-menu-execute): Perform deletions and installations as
1000 single batch operations.
1002 2010-11-03 Glenn Morris <rgm@gnu.org>
1004 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1005 (props): Remove unnecessary declaration.
1007 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1008 set-process-query-on-exit-flag.
1010 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1011 (reftex-toc-do-promote): Remove unused local `mpos'.
1012 (reftex-toc-restore-region): Make `mpos' local to this function.
1014 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1016 * play/landmark.el (lm-losing-threshold): Correct spelling.
1017 (lm-human-plays): Use new name.
1019 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1020 (gomoku-human-plays): Use new name.
1022 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1023 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1024 (gomoku-score-trans-table, gomoku-winning-threshold)
1025 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1027 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1029 * emacs-lisp/package.el: Don't put built-in packages in
1030 package-alist, to avoid loading inefficiencies.
1031 (package-built-in-p): Make VERSION optional, and treat it as a
1032 minimum acceptable version.
1033 (package-activate): Search separately for built-in packages.
1034 Emit a warning if a dependency fails.
1035 (define-package): Handle most common case, where there is no
1036 obsolete package, first.
1037 (package-compute-transaction): Print required version in error.
1038 (package--initialized): New variable.
1039 (list-packages): Use it.
1040 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1041 built-in packages in packages-alist; keep it separate.
1042 Set package--initialized.
1043 (describe-package): Avoid activating packages as a side-effect.
1044 Search separately for built-in packages.
1045 (describe-package-1): Handle the case where an elpa package is
1046 simultaneously built-in and available/installed.
1047 (package-installed-p, package--generate-package-list):
1048 Search separately for built-in packages.
1049 (package-load-descriptor): Doc fix.
1051 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1053 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1054 Handle __DATA__ and __END__.
1056 2010-11-02 Noah Friedman <friedman@splode.com>
1058 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1059 nil, do not ask to recompile files that are not already compiled,
1060 and do not recompile them.
1062 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1064 * emacs-lisp/package.el (package-initialize): Ensure that
1065 obsoleted built-in packages are not in package-activated-list
1067 (describe-package-1): Make the "installed" status override
1070 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1072 * subr.el (version-separator, version-regexp-alist): Remove '*'
1074 (version-list-<=, version<=, version=): Doc fix.
1076 2010-11-01 Kenichi Handa <handa@m17n.org>
1078 * faces.el (glyphless-char): Inherit underline for tty.
1080 2010-11-01 Kenichi Handa <handa@m17n.org>
1082 Implement various display methods for glyphless characters.
1084 * international/characters.el (char-acronym-table): New variable.
1085 (glyphless-char-control): New variable.
1086 (update-glyphless-char-display): New funciton.
1088 * faces.el (glyphless-char): New face.
1090 2010-11-01 Glenn Morris <rgm@gnu.org>
1092 * calendar/holidays.el (general-holidays, oriental-holidays)
1093 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1094 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1095 the definitions of their targets.
1097 * emacs-lisp/smie.el (smie): New custom group.
1098 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1100 * faces.el (xw-defined-colors, x-setup-function-keys):
1101 * mouse-sel.el (x-select-text):
1102 * term/w32console.el (x-setup-function-keys): Update declarations.
1104 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1106 * textmodes/ispell.el (comment-add): Declare.
1108 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1111 * info.el (finder-keywords-hash, package-alist): Declare.
1113 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1115 * finder.el (finder-compile-keywords): Don't use intern-soft,
1116 since package names may not yet exist in the obarray.
1118 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1120 * vc/vc-arch.el (vc-arch-checkin):
1121 * vc/vc-cvs.el (vc-cvs-checkin):
1122 * vc/vc-mtn.el (vc-mtn-checkin):
1123 * vc/vc-rcs.el (vc-rcs-checkin):
1124 * vc/vc-sccs.el (vc-sccs-checkin):
1125 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1126 since 2010-04-21 commit by Stefan Monnier.
1128 2010-11-01 Glenn Morris <rgm@gnu.org>
1130 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1132 * startup.el (package-enable-at-startup, package-initialize):
1135 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1138 2010-10-31 Julien Danjou <julien@danjou.info>
1140 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1141 (byte-recompile-directory):
1142 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1143 Use `byte-recompile-file'.
1145 2010-10-31 Glenn Morris <rgm@gnu.org>
1147 * cus-start.el: Handle standard values via a keyword.
1148 Only set version property if specified.
1149 (cursor-in-non-selected-windows, menu-bar-mode)
1150 (tool-bar-mode, show-trailing-whitespace):
1151 Do not specify standard values.
1152 (transient-mark-mode, temporary-file-directory): Use :standard.
1154 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1156 * term/x-win.el (x-get-selection-value): New function that gets
1157 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1159 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1161 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1162 preserve owner and group when editing files. (Bug#7289)
1164 2010-10-31 Glenn Morris <rgm@gnu.org>
1166 * speedbar.el (speedbar-mode):
1167 * play/fortune.el (fortune-in-buffer, fortune):
1168 * play/gomoku.el (gomoku-mode):
1169 * play/landmark.el (lm-mode):
1170 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1171 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1173 * select.el (x-selection): Mark it as an obsolete alias.
1175 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1177 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1178 major-mode (bug#7284).
1180 2010-10-31 Glenn Morris <rgm@gnu.org>
1182 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1183 rather than just an unused variable that inherits from the real one.
1185 2010-10-31 Alan Mackenzie <acm@muc.de>
1187 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1188 This fixes bug #7185.
1190 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1192 * startup.el (command-line): Search for package directories, and
1193 don't load package.el if none are found.
1195 * emacs-lisp/package.el (describe-package, list-packages):
1196 Call package-initialize if it has not been called yet.
1198 2010-10-30 Alan Mackenzie <acm@muc.de>
1200 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1201 which fontifies the tail of an enum.
1202 (c-basic-matchers-after): Insert a call to the above new function.
1203 This fixes bug #7264.
1205 2010-10-30 Glenn Morris <rgm@gnu.org>
1207 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1208 tool-bar-mode, transient-mark-mode. (Bug#7306)
1209 Include the :set property in the dumped Emacs.
1211 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1213 SMIE: change indent rules format, improve smie-setup.
1214 * emacs-lisp/smie.el (smie-precs-precedence-table)
1215 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1216 Mark them pure so the tables gets built at compile time.
1217 (smie-bnf-precedence-table): Store the closer-alist in the table.
1218 (smie-prec2-levels): Preserve the closer-alist.
1219 (smie-blink-matching-open): Be more forgiving in case of indentation.
1220 (smie-hanging-p): Rename from smie-indent--hanging-p.
1221 (smie-bolp): Rename from smie-indent--bolp.
1222 (smie--parent, smie--after): New dynamic vars.
1223 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1224 (smie-indent-rules): Remove.
1225 (smie-indent--offset-rule): Remove fun.
1226 (smie-rules-function): New var.
1227 (smie-indent--rule): New fun.
1228 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1229 (smie-indent-exps): Use it.
1230 (smie-setup): Setup paren blinking; add keyword args for token
1231 functions; extract closer-alist from op-levels.
1232 (smie-indent-debug-log): Remove var.
1233 (smie-indent-debug): Remove fun.
1234 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1235 (prolog-smie-rules): New fun to replace it.
1236 (prolog-mode-variables): Simplify.
1237 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1238 it's setup automatically.
1239 (octave-smie-indent-rules): Remove.
1240 (octave-smie-rules): New fun to replace it.
1241 (octave-mode): Simplify.
1243 2010-10-29 Glenn Morris <rgm@gnu.org>
1245 * files.el (temporary-file-directory): Remove (already defined in C).
1246 * cus-start.el: Add temporary-file-directory.
1248 * abbrev.el (abbrev-mode):
1249 * composite.el (auto-composition-mode):
1250 * menu-bar.el (menu-bar-mode):
1251 * simple.el (transient-mark-mode):
1252 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1253 that they do not define the associated variables twice.
1254 * simple.el (transient-mark-mode): Remove defvar.
1255 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1256 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1257 Handle multiple groups, and also custom-delayed-init-variables.
1258 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1260 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1262 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1263 (pcase-if): Add one minor optimization.
1264 (pcase-split-equal): Rename from pcase-split-eq.
1265 (pcase-split-member): Rename from pcase-split-memq.
1266 (pcase-u1): Add strings to the member optimization.
1267 Add `guard' variant of predicates.
1268 (pcase-q1): Add string patterns.
1270 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1272 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1274 2010-10-28 Glenn Morris <rgm@gnu.org>
1276 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1277 Move menu-bar related settings to ../menu-bar.el.
1278 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1279 Move ns-specific settings here from term/ns-win.el.
1281 * simple.el (x-selection-owner-p): Remove unused declaration.
1283 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1285 * minibuffer.el (completion-cycling): New var (bug#7266).
1286 (minibuffer-complete, completion--do-completion):
1287 Use completion--flush-all-sorted-completions.
1288 (minibuffer-complete): Only cycle if completion-cycling is set.
1289 (completion--flush-all-sorted-completions): Unset completion-cycling.
1290 (minibuffer-force-complete): Set completion-cycling.
1291 (completion-all-sorted-completions): Move declaration before first use.
1293 2010-10-28 Leo <sdl.web@gmail.com>
1295 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1296 which changes the order of matches seen by users (bug#7231).
1298 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1300 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1301 Don't confuse -omega as "-o mega".
1303 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1305 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1306 (log-edit-author): New dynamic var.
1307 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1308 to return the author if different from committer.
1309 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1311 * play/landmark.el: Adjust commenting convention.
1312 (lm-nil-score): Rename from nil-score.
1313 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1314 (OOOOscore): Move into a let in lm-score-trans-table.
1315 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1317 * electric.el (electric-indent-chars): Autoload.
1318 * progmodes/octave-mod.el (octave-mode):
1319 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1320 (ruby-mode-abbrev-table): Merge initialization and declaration.
1322 2010-10-27 Glenn Morris <rgm@gnu.org>
1324 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1327 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1329 * term/ns-win.el: Restore require of cl when compiling.
1330 (menu-bar-final-items): Remove non-existent `windows' menu.
1331 (ns-handle-nxopen): Optionally handle the temp-case.
1332 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1333 (ns-insert-file, ns-find-file): Use `pop'.
1335 2010-10-26 Glenn Morris <rgm@gnu.org>
1337 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1339 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1341 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1343 * term/common-win.el (x-setup-function-keys): Remove most of the
1344 keymappings. Comment on the remaining ones.
1346 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1348 * server.el (server-port): New option. (Bug#854)
1349 (server-start): Use server-port.
1351 2010-10-26 Glenn Morris <rgm@gnu.org>
1353 * term/ns-win.el (ns-version-string): Remove unused declaration.
1354 (ns-invocation-args): Change to x-invocation-args.
1355 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1356 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1357 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1358 Use x-invocation-args instead of ns-invocation-args.
1359 (ns-initialize-window-system, handle-args-function-alist):
1360 Use x-handle-args instead of ns-handle-args.
1361 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1362 * startup.el (command-line-ns-option-alist): Replace
1363 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1364 ns-handle-iconic with the x- equivalents.
1366 * term/common-win.el (x-select-enable-clipboard):
1367 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1369 * term/ns-win.el: No need to require cl when compiling.
1370 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1371 (xw-defined-colors): Use the common-win definitions.
1372 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1373 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1374 * term/common-win.el (x-select-text, x-alternatives-map)
1375 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1376 * loadup.el [ns]: Load common-win.
1378 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1380 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1381 recipients; expand mail aliases (Bug#7280).
1383 2010-10-25 Glenn Morris <rgm@gnu.org>
1385 * term/common-win.el (x-handle-switch): Simplify with pop.
1386 Optionally handle numeric switches.
1387 (x-handle-numeric-switch): Just call x-handle-switch.
1388 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1389 (x-handle-name-switch, x-handle-display, x-handle-args):
1392 * term/ns-win.el: Do not require easymenu.
1393 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1394 <spell>: Move adjustments to menu-bar.el.
1395 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1396 <separator-undo, spell>: Move ns-win's adjustments here.
1397 * loadup.el [ns]: Do not load easymenu.
1399 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1401 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1404 * startup.el (fancy-startup-tail): Instead of using inline images,
1405 refer to image files from etc/.
1407 * wid-edit.el (checkbox): Likewise.
1408 (widget-image-find): Center image specs.
1410 2010-10-24 Glenn Morris <rgm@gnu.org>
1412 * term/ns-win.el (x-select-text): Doc fix.
1413 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1414 (x-select-text): Move to term/common-win.
1415 * term/w32-win.el (xw-defined-colors): Move to common-win.
1416 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1417 (x-setup-function-keys, x-select-text): Move to common-win.
1418 * term/common-win.el (x-select-text, x-alternatives-map)
1419 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1422 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1424 * net/mairix.el (mairix-searches-mode-map):
1425 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1427 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1429 * verilog-mode.el (verilog-directive-re): Make this variable
1430 auto-built for efficiency of execution and updating.
1431 (verilog-extended-complete-re): Support 'pure' fucntion & task
1432 declarations (these have no bodies).
1433 (verilog-beg-of-statement): General cleanup to enable support of
1434 'pure' fucntion & task declarations (these have no bodies).
1435 These efforts together fix Verilog bug210 from veripool; which was also
1436 noticed by Steve Pearlmutter.
1437 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1438 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1439 Support `elsif. Reported by Shankar Giri.
1440 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1441 attribute handling for lining up declarations and assignments.
1442 (verilog-beg-of-statement-1): Fix issue where continued declaration
1443 is indented differently if it is after a begin..end clock.
1444 (verilog-in-attribute-p, verilog-skip-backward-comments)
1445 (verilog-skip-forward-comment-p): Support proper treatment of
1446 attributes by indent code. Reported by Jeff Steele.
1447 (verilog-in-directive-p): Fix comment to correctly describe function.
1448 (verilog-backward-up-list, verilog-in-struct-region-p)
1449 (verilog-backward-token, verilog-in-struct-p)
1450 (verilog-in-coverage-p, verilog-do-indent)
1451 (verilog-pretty-declarations): Use verilog-backward-up-list as
1452 wrapper around backward-up-list inorder to properly skip comments.
1453 Reported by David Rogoff.
1454 (verilog-property-re, verilog-endcomment-reason-re)
1455 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1456 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1457 of if). Reported by Max Bjurling and
1458 (verilog-calc-1): Fix for clocking block in modport
1459 declaration. Reported by Brian Hunter.
1461 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1463 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1464 (verilog-gate-keywords, verilog-read-sub-decls)
1465 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1466 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1467 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1468 (verilog-read-decls): Fix spaces in V2K module parameters causing
1469 mis-identification as interfaces, bug287.
1470 (verilog-read-decls): Fix not treating "parameter string" as a
1471 parameter in AUTOINSTPARAM.
1472 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1473 treating `elsif similar to `endif inside AUTOSENSE.
1474 (verilog-do-indent): Implement correct automatic or static task or
1475 function end comment highlight. Reported by Steve Pearlmutter.
1476 (verilog-font-lock-keywords-2): Fix highlighting of single
1477 character pins, bug264. Reported by Michael Laajanen.
1478 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1479 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1480 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1481 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1482 (verilog-pretty-expr): Fix interactive arguments, bug272.
1483 Reported by Mark Johnson.
1484 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1485 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1486 bug269. Suggested by Gary Delp.
1487 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1488 (verilog-preprocessor, verilog-set-compile-command):
1489 Create verilog-preprocess and verilog-preprocessor to show
1490 preprocessed output.
1491 (verilog-get-beg-of-line, verilog-get-end-of-line)
1492 (verilog-modi-file-or-buffer, verilog-modi-name)
1493 (verilog-modi-point, verilog-within-string): Move defmacro's
1494 before first use to avoid warning. Reported by Steve Pearlmutter.
1495 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1496 (verilog-colorize-region, verilog-highlight-buffer)
1497 (verilog-highlight-includes, verilog-highlight-modules)
1498 (verilog-highlight-region, verilog-mode): Rename colorize to
1499 highlight to match other packages. Disable module highlighting,
1500 as received speed complaints, reenable for experimentation only
1501 using new verilog-highlight-modules.
1502 (verilog-read-decls): Fix regexp stack overflow in very large
1503 AUTO_TEMPLATEs, bug250.
1504 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1505 (verilog-scan): Create verilog-save-buffer-state to standardize
1506 making insignificant changes that shouldn't call hooks.
1507 (verilog-save-no-change-functions, verilog-save-scan-cache)
1508 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1509 Create verilog-save-no-change-functions to wrap verilog-scan
1510 preservation, and fix to work with nested preserved calls.
1511 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1512 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1513 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1514 (verilog-submit-bug-report): Update variable list to be complete.
1515 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1516 breaking on-the-fly font-locking.
1517 (verilog-colorize-buffer, verilog-colorize-include-files)
1518 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1519 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1520 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1521 AUTOINST cell instance name, middle mouse button now finds-file on
1522 it. Suggested by Brad Dobbie.
1523 (verilog-alw-get-temps, verilog-auto-reset)
1524 (verilog-auto-sense-sigs, verilog-read-always-signals)
1525 (verilog-read-always-signals-recurse): Fix loop indexes being
1526 AUTORESET. AUTORESET now assumes any variables in the
1527 initialization section of a for() should be ignored.
1528 Reported by Dan Dever.
1529 (verilog-error-font-lock-keywords)
1530 (verilog-error-regexp-emacs-alist)
1531 (verilog-error-regexp-xemacs-alist): Fix error detection of
1532 Cadence HAL, reported by David Asher. Repair drift between the
1533 three similar error variables.
1534 (verilog-modi-lookup, verilog-modi-lookup-cache)
1535 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1536 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1537 Fix slow verilog-auto expansion on very large files.
1538 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1539 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1540 "{1*2{...". Broke in last revision.
1541 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1542 submodule connections with replications "{#{a},#{b}}".
1544 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1546 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1547 Fix typo in docstring.
1549 2010-10-24 Kenichi Handa <handa@m17n.org>
1551 * face-remap.el (text-scale-adjust): Call read-event with a proper
1554 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1556 * emacs-lisp/unsafep.el: Don't mark functions that display
1557 messages as safe. Suggested by Johan Bockgård.
1559 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1561 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1562 Turn comments into docstrings.
1564 * minibuffer.el (completion--replace): Move point where it belongs
1565 when there's a common suffix (bug#7215).
1567 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1569 Merge read-color and facemenu-read-color (Bug#7242).
1571 * faces.el (read-color): Use the completion code from
1572 facemenu-read-color. Require match in completion. Doc fix.
1574 * facemenu.el (facemenu-read-color): Alias for read-color.
1575 (facemenu-set-foreground, facemenu-set-background):
1578 * frame.el (set-background-color, set-foreground-color)
1579 (set-cursor-color, set-mouse-color, set-border-color):
1582 2010-10-24 Leo <sdl.web@gmail.com>
1584 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1585 argument of delete-file and delete-directory (Bug#7011).
1587 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1589 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1592 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1594 * emacs-lisp/package.el (package--generate-package-list): Make the
1595 *Packages* buffer read-only.
1597 2010-10-24 Alan Mackenzie <acm@muc.de>
1599 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1600 result of `c-beginning-of-decl-1' between invocations of a lambda
1601 function (Bug #7265).
1603 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1605 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1606 executable is not available on the system (Bug#7268).
1608 2010-10-24 Glenn Morris <rgm@gnu.org>
1610 * select.el (selection-coding-system, next-selection-coding-system):
1611 Sync doc with C versions.
1613 * w32-vars.el (x-select-enable-clipboard):
1614 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1615 * term/common-win.el (x-select-enable-clipboard): Move here.
1617 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1618 definition of C variable.
1620 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1621 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1622 Don't redefine things that are defined in C.
1623 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1624 (show-trailing-whitespace, auto-hscroll-mode)
1625 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1626 Set up the appropriate custom properties.
1628 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1631 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1632 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1633 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1634 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1636 2010-10-23 Glenn Morris <rgm@gnu.org>
1638 * textmodes/flyspell.el (flyspell-mode): If there was an error,
1641 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1642 Sync docs with C version.
1644 * term/ns-win.el (xw-defined-colors):
1645 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1647 * term/pc-win.el (x-select-enable-clipboard):
1648 * term/x-win.el (x-select-enable-clipboard):
1649 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1651 * comint.el (comint-password-prompt-regexp): Make it less vague.
1654 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1656 * help.el (finder-by-keyword): Remove unnecessary autoload.
1658 2010-10-22 Glenn Morris <rgm@gnu.org>
1660 * loadup.el: Unconditionally load float-sup.
1661 * paren.el (show-paren-delay):
1662 * emacs-lisp/float-sup.el:
1663 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1664 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1665 (lazy-lock-stealth-verbose): Assume float support.
1666 * ps-print.el: Assume float support on Emacs.
1667 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1668 Remove non-float branch.
1670 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1671 src/Makefile no longer being pre-processed.
1673 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1675 * emacs-lisp/find-func.el (find-library): Use test-completion.
1677 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1679 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1681 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
1683 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1684 space in stat format string.
1685 (tramp-send-command): Unset $PS1 when using here documents, in
1686 order not to get several prompts.
1687 (tramp-get-inline-coding): Return `nil' in case of errors.
1689 2010-10-21 Daiki Ueno <ueno@unixuser.org>
1691 * hexl.el (hexl-mode, hexl-mode-exit):
1692 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1693 (hexl-revert-buffer-function): New function.
1694 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1696 2010-10-19 Alan Mackenzie <acm@muc.de>
1698 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1699 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1700 that these keywords aren't wrongly matched as identifiers.
1702 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1703 setting of c-new-BEG and c-new-END from c-before-change to
1704 c-after-change. (Bug#7181)
1706 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1708 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1711 * custom.el (custom-theme-set-variables): Likewise.
1712 (load-theme): Add custom-theme-set-faces and
1713 custom-theme-set-variables to safe-functions while loading.
1714 (custom-enabled-themes): Mark as risky.
1716 2010-10-18 Julien Danjou <julien@danjou.info>
1718 * bindings.el: Remove end dashes in default mode-line-format.
1720 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1722 * bindings.el (global-map): Bind C-d to delete-char and deletechar
1723 to delete-forward-char.
1725 * simple.el (normal-erase-is-backspace-mode): Remap delete to
1726 deletechar, and hence delete-forward-char.
1728 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1730 * repeat.el (repeat): Use read-key (bug#6256).
1732 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
1734 * emacs-lisp/unsafep.el: Don't mark functions that display
1735 messages as safe. Suggested by Johan Bockgård.
1737 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1739 * minibuffer.el (completion--replace): Move point where it belongs
1740 when there's a common suffix (bug#7215).
1742 2010-10-19 Kenichi Handa <handa@m17n.org>
1744 * international/characters.el: Add category '|' (word breakable)
1745 to fullwidth characters.
1747 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
1749 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1750 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1751 order to make stat results a float. Patch by Andreas Schwab
1752 <schwab@linux-m68k.org>.
1754 2010-10-18 Julien Danjou <julien@danjou.info>
1756 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1757 hidden by `make-pointer-invisible'.
1759 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1761 * files.el (locate-file-completion-table): Strip non-matching elements
1762 before checking length of list (bug#7238).
1764 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
1766 * custom.el (custom-theme-set-variables): Mark as a safe function.
1767 (load-theme): Check forms using unsafep.
1769 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1771 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
1773 * textmodes/ispell.el (ispell-aspell-find-dictionary):
1774 Fix aspell data file searching (bug#7230).
1776 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1778 * cus-theme.el (custom-theme--migrate-settings): New var.
1779 (customize-create-theme): Allow editing the `user' theme.
1780 (custom-theme-add-variable, custom-theme-add-var-1)
1781 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1782 to the front of each variable or face widget.
1783 (custom-theme-write): Save theme settings in the correct order.
1784 Optionally, remove saved settings from user customizations.
1785 (custom-theme-write-variables, custom-theme-write-faces):
1786 Save only the checked widgets.
1787 (customize-themes): Add a link for migrating custom settings.
1789 * custom.el (custom-declare-theme, provide-theme):
1790 Use custom-theme-name-valid-p.
1791 (custom-theme-name-valid-p): Remove checks that are now
1792 unnecessary since themes no longer obey load-path.
1794 * cus-edit.el (custom-variable-value-create): For the simple
1795 style, hide documentation string when hidden.
1797 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1799 * cus-edit.el (custom-variable, custom-face): Combine the
1800 :inhibit-magic and :display-style properties into a single
1801 :custom-style property.
1802 (custom-toggle-hide-variable, custom-toggle-hide-face):
1803 New functions. If hiding an edited value, save it to :shown-value.
1804 (custom-variable-value-create, custom-face-value-create): Use them.
1805 (custom-magic-reset): Allow magic property to be unset.
1807 * custom.el: Custom themes no longer use load-path.
1808 (custom-theme-load-path): New option. Change built-in theme
1810 (custom-enabled-themes): Add custom-theme-load-path dependency.
1811 (custom-theme--load-path): New function.
1812 (load-theme, custom-available-themes): Use it.
1814 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1815 (customize-themes): Link to custom-theme-load-path variable.
1816 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1817 :custom-style property.
1819 * themes/*.el: Moved to etc/.
1821 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
1823 * textmodes/reftex-cite.el
1824 (reftex-extract-bib-entries-from-thebibliography): Do not move
1825 point when searching for \bibitem entries. Match entries with
1826 spaces or tabs in front of arguments.
1828 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
1830 * cus-theme.el (customize-create-theme): Delete overlays after
1831 erasing. If given a THEME arg, display only the faces of that arg
1832 instead of custom-theme--listed-faces.
1833 (custom-theme-variable-menu, custom-theme-variable-action)
1834 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1835 (custom-theme-add-variable, custom-theme-add-face): Apply value
1836 from the theme settings, instead of the current value.
1837 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1838 (custom-theme-visit-theme): Allow calling outside theme buffers.
1839 (custom-theme-merge-theme): Don't enable the theme when merging.
1840 (custom-theme-write-variables, custom-theme-write-faces): Use the
1841 :shown-value properties to save buffer values, not global ones.
1842 (customize-themes): Display a warning about user customizations.
1844 * cus-edit.el (custom-variable-value-create)
1845 (custom-face-value-create): Obey new special properties
1846 :shown-value and :inhibit-magic.
1848 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
1850 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1851 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
1854 2010-10-14 Kenichi Handa <handa@m17n.org>
1856 * mail/rmail.el (rmail-show-message-1): Catch an error of
1857 base64-decode-region and just show an error message (bug#7165).
1859 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
1860 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1861 a font-spec (bug#7197).
1863 2010-10-14 Glenn Morris <rgm@gnu.org>
1865 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1867 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
1869 * international/mule.el (define-coding-system):
1870 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1871 * composite.el (compose-region): Fix typo in docstring.
1873 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
1875 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1876 only after checking the theme-face property.
1878 * faces.el (face-spec-reset-face): Reset all attributes in one
1879 single call to set-face-attribute.
1880 (face-spec-match-p): Make it a defsubst.
1881 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1882 (x-create-frame-with-faces, tty-create-frame-with-faces)
1883 (tty-set-up-initial-frame-faces): Don't recompute face specs in
1884 frame-set-background-mode, since they are recomputed immediately
1885 afterwards in face-set-after-frame-default.
1886 (face-set-after-frame-default): Minor optimization.
1887 (cursor): Provide non-trivial defface spec.
1889 * custom.el (custom-theme-recalc-face): Simplify.
1891 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
1893 * calc/calc-alg.el (math-var): Rename from `var'.
1894 (math-is-polynomial, math-is-poly-rec): Replace `var'
1897 * calc/calcalg2.el (math-var): Rename from `var'.
1898 (calcFunc-table, math-scan-for-limits): Replace `var'
1901 2010-10-13 Glenn Morris <rgm@gnu.org>
1903 * subr.el (last): Deal with dotted lists (reported in bug#7174).
1905 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
1907 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1909 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1911 * net/tls.el (tls-program): Remove spurious %s from openssl.
1912 (tls-starttls-switches): Remove starttls hack.
1913 (open-tls-stream): Ditto.
1914 (tls-find-starttls-argument): Ditto.
1916 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1918 * image.el (image-library-alist): Declare as obsolete alias.
1919 (image-type-available-p): Use `dynamic-library-alist'.
1921 * term/w32-win.el (dynamic-library-alist):
1922 Use instead of `image-library-alist'.
1924 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
1926 * subr.el (last): Make it faster. (Bug#7174)
1928 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
1930 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
1932 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1934 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1935 (describe-theme-1): Extract doc from unloaded themes.
1937 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1939 * themes/tango-theme.el:
1940 * themes/tango-dark-theme.el:
1941 * themes/wheatgrass-theme.el: New files.
1943 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1945 * cus-theme.el (describe-theme, customize-themes)
1946 (custom-theme-save): New commands.
1947 (custom-new-theme-mode-map): Bind C-x C-s.
1948 (custom-new-theme-mode): Use custom--initialize-widget-variables.
1949 (customize-create-theme): New optional arg THEME.
1950 (custom-theme-revert): Use it.
1951 (custom-theme-visit-theme): Remove dead code.
1952 (custom-theme-merge-theme): Use custom-available-themes.
1953 (custom-theme-write): Make interactive.
1954 (custom-theme-write): Use custom-theme-name-valid-p.
1955 (describe-theme-1, custom-theme-choose-revert)
1956 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1958 (custom-theme-allow-multiple-selections): New option.
1959 (custom-theme-choose-mode): New major mode.
1961 * custom.el (custom-theme-set-variables): Remove dead code.
1962 Obey custom--inhibit-theme-enable.
1963 (custom--inhibit-theme-enable): New var.
1964 (provide-theme): Obey it.
1965 (load-theme): Replace load with manual read/eval, in order to
1966 check for correctness. Use custom-theme-name-valid-p.
1967 (custom-theme-name-valid-p): New function.
1968 (custom-available-themes): Use it.
1970 * cus-edit.el (custom--initialize-widget-variables): New function.
1971 (Custom-mode): Use it.
1973 * cus-face.el (custom-theme-set-faces): Remove dead code.
1974 Obey custom--inhibit-theme-enable.
1976 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1978 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
1980 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1982 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
1984 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1985 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1986 (mac-right-option-modifier): New alias for ns-right-option-modifier.
1988 * cus-start.el (all): ns-right-alternate-modifier is new.
1990 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1992 * emacs-lisp/lisp.el (lisp-completion-at-point):
1993 Use emacs-lisp-mode-syntax-table for the whole function.
1995 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
1997 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1998 instead of font-lock-mode before adding keywords.
1999 Remove hi-lock-mode off code. Remove inhibit hack.
2000 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2001 non-nil; removed hook inhibit hack.
2003 2010-10-12 Glenn Morris <rgm@gnu.org>
2005 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2006 (load-path-shadows-find): ... to this.
2007 (list-load-path-shadows): Update for above change.
2009 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2011 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2013 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2014 Fix comment for declare-function.
2016 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2018 * custom.el (custom-fix-face-spec): New function; code moved from
2019 custom-face-edit-fix-value.
2020 (custom-push-theme): Use it when checking if a face has been
2021 changed outside customize.
2022 (custom-available-themes): New function.
2023 (load-theme): Use it.
2025 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2027 * custom.el (custom-push-theme): Cleanup (use cond).
2028 (disable-theme): Recompute the saved-face property.
2029 (custom-theme-recalc-face): Follow face alias before setting prop.
2031 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2032 New variables, containing checkbox images.
2034 * startup.el (fancy-startup-tail):
2035 * wid-edit.el (checkbox): Use them.
2037 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2039 * shell.el (shell-mode-map):
2040 * progmodes/modula2.el (m2-mode-map):
2041 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2042 * play/mpuz.el (mpuz-mode-map):
2043 * play/landmark.el (lm-mode-map):
2044 * play/decipher.el (decipher-mode-map):
2045 * play/5x5.el (5x5-mode-map):
2046 * net/telnet.el (telnet-mode-map):
2047 * net/quickurl.el (quickurl-list-mode-map):
2048 * net/mairix.el (mairix-searches-mode-map):
2049 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2050 * net/dig.el (dig-mode-map):
2051 * mail/mspools.el (mspools-mode-map):
2052 * hexl.el (hexl-mode-map):
2053 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2054 (wordstar-C-o-map, wordstar-C-q-map):
2055 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2056 * emacs-lisp/chart.el (chart-map):
2057 * edmacro.el (edmacro-mode-map):
2058 * erc/erc-list.el (erc-list-menu-mode-map):
2059 * array.el (array-mode-map): Declare and define in one step.
2061 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2063 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2065 * epa.el (epa-passphrase-callback-function): Display filename
2066 passed as the 3rd arg.
2067 * epa-file.el (epa-file-passphrase-callback-function):
2068 Pass filename to epa-passphrase-callback-function.
2070 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2072 * cus-edit.el (custom-face-widget-to-spec)
2073 (custom-face-get-current-spec, custom-face-state): New functions.
2074 (custom-face-set, custom-face-mark-to-save)
2075 (custom-face-value-create, custom-face-state-set): Use them.
2077 * cus-theme.el (custom-theme--listed-faces): New var.
2078 (customize-create-theme): Use *Custom Theme* as the buffer name.
2079 Set revert-buffer-function. Optional arg BUFFER. Insert all
2080 faces listed in custom-theme--listed-faces.
2081 (custom-theme-revert): New function.
2082 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2084 (custom-theme-write): Prompt for theme name if empty.
2085 (custom-theme-write-variables): Use dolist.
2086 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2088 2010-10-09 Alan Mackenzie <acm@muc.de>
2090 Enhance fontification of declarators to take account of the
2091 presence/absence of "typedef".
2093 * cc-engine.el (c-forward-type): New &optional param
2095 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2096 presence of either or both of a "struct"-like keyword and "typedef".
2098 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2099 fontification of declarators which follow a "}".
2100 (c-font-lock-declarations): Fontify declarators according to the
2101 presence/absence of "typedef".
2103 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2105 (c-typedef-decl-key): New lang variable built from
2106 c-typedef-decl-kwds.
2108 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2110 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2111 since that's too annoying. Move the filter groups commands to
2114 * epa.el (epa-passphrase-callback-function): Say what we're
2115 querying the password for.
2117 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2118 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2120 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2122 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2123 (custom-magic-value-create): Pad button tags with spaces.
2124 (custom-face-edit): New variable.
2125 (custom-face-value-create): Determine whether to use the usual
2126 face editor here, instead of using custom-face-selected.
2127 Pass face defaults to custom-face-edit widget.
2128 (custom-face-selected, custom-display-unselected): Delete widgets.
2129 (custom-display-unselected-match): Function removed.
2130 (custom-face-set, custom-face-mark-to-save):
2131 Accept custom-face-edit widgets as the direct widget child.
2133 * wid-edit.el (widget--completing-widget): New var.
2134 (widget-default-complete): Bind it when doing completion.
2135 (widget-string-complete, widget-file-complete): Use it.
2137 2010-10-09 Glenn Morris <rgm@gnu.org>
2139 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2140 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2141 (holiday-hebrew-misc): Small simplifications.
2143 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2145 * net/browse-url.el: Don't require thingatpt, term, dired,
2146 executable, or w3-auto when compiling.
2147 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2149 (browse-url-text-emacs): Require term.
2151 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2153 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2155 2010-10-08 Glenn Morris <rgm@gnu.org>
2157 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2159 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2160 (shadows-compare-text-p): Make it an obsolete alias for...
2161 (load-path-shadows-compare-text): ... new name.
2162 (find-emacs-lisp-shadows): Update for above name change.
2163 (load-path-shadows-same-file-or-nonexistent): New name for the old
2164 shadow-same-file-or-nonexistent.
2166 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2168 * minibuffer.el (completion--some, completion--do-completion)
2169 (minibuffer-complete-and-exit, minibuffer-completion-help)
2170 (completion-basic-try-completion)
2171 (completion-basic-all-completions)
2172 (completion-pcm--find-all-completions): Use lexical-let to
2173 avoid some false matches in variable completion (Bug#7056)
2175 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2177 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2179 2010-10-08 Leo <sdl.web@gmail.com>
2181 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2182 return non-nil if the file exists (Bug#7090).
2184 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2186 * minibuffer.el (completion--replace):
2187 Better preserve markers (bug#7138).
2189 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2191 * server.el (server-process-filter): Doc fix.
2193 2010-10-08 Drew Adams <drew.adams@oracle.com>
2195 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2197 2010-10-08 Glenn Morris <rgm@gnu.org>
2199 * vc/ediff-wind.el (ediff-setup-control-frame):
2200 * vc/ediff-ptch.el (ediff-default-backup-extension):
2201 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2202 (ediff-exec-process): Remove system-types emx, windows-95.
2204 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2206 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2208 * cus-edit.el (custom-variable, custom-face): Doc fix.
2209 (custom-face-edit): Add value-create attribute.
2210 (custom-face-edit-value-create)
2211 (custom-face-edit-value-visibility-action): New functions.
2212 Hide unused face attributes by default, and add a visibility toggle.
2213 (custom-face-edit-deactivate): Show empty values with shadow face.
2214 (custom-face-selected): Only use this for face specs with default
2216 (custom-face-value-create): Cleanup.
2218 * wid-edit.el (widget-checklist-value-create): Use dolist.
2219 (widget-checklist-match-find): Make second arg optional.
2221 2010-10-07 Glenn Morris <rgm@gnu.org>
2223 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2226 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2227 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2228 load-path-shadows-mode, update references.
2229 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2230 Rename variable and button.
2231 (list-load-path-shadows): Update button caller.
2233 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2235 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2236 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2237 (smie-merge-prec2s): Handle those new entries.
2238 (smie-prec2-levels): Only set precedence to nil for actual
2240 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2241 that is now unnecessary.
2243 2010-10-07 Miles Bader <miles@gnu.org>
2245 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2247 2010-10-07 Glenn Morris <rgm@gnu.org>
2249 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2250 (mail-position-on-field): Remove declarations.
2251 (mail-position-on-field): Autoload it.
2252 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2253 and mail-header-end. Don't require sendmail.
2255 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2256 (shadow-mode): New mode.
2257 (shadow-find-file): New button.
2258 (list-load-path-shadows): Use shadow-mode and buttons.
2260 * iimage.el (iimage-version): Remove.
2261 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2262 Turn into defcustoms.
2263 (iimage-mode-map): Give it a doc string.
2265 * calendar/appt.el (appt-activate): Give a warning rather than an error
2266 if there is no diary-file.
2268 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2270 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2271 Use `tramp-handle-find-backup-file-name'.
2273 2010-10-06 Glenn Morris <rgm@gnu.org>
2275 * font-core.el (font-lock-defaults-alist): Remove variable.
2276 (font-lock-mode): Doc fix.
2277 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2278 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2279 (font-lock-set-defaults): Doc fix.
2280 Do not consult font-lock-defaults-alist.
2282 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2284 * emacs-lisp/cl.el: No longer provide cl-19.
2286 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2288 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2289 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2290 New defuns, taken from tramp-smb.el.
2291 (tramp-coding-system-change-eol-conversion)
2292 (tramp-set-process-query-on-exit-flag): Remove.
2294 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2295 (tramp-compat-coding-system-change-eol-conversion)
2296 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2299 * net/tramp-gvfs.el:
2300 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2301 by `tramp-compat-set-process-query-on-exit-flag'.
2303 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2304 Use `tramp-handle-directory-files-and-attributes',
2305 `tramp-handle-file-exists-p' and
2306 `tramp-handle-file-newer-than-file-p'.
2307 (tramp-imap-handle-file-exists-p)
2308 (tramp-imap-handle-file-executable-p)
2309 (tramp-imap-handle-file-readable-p)
2310 (tramp-imap-handle-directory-files-and-attributes)
2311 (tramp-imap-handle-file-newer-than-file-p): Remove.
2313 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2314 by `tramp-compat-set-process-query-on-exit-flag' and
2315 `tramp-coding-system-change-eol-conversion' by
2316 `tramp-compat-coding-system-change-eol-conversion'.
2318 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2319 Use `tramp-handle-directory-files-and-attributes',
2320 `tramp-handle-file-exists-p' and
2321 `tramp-handle-file-newer-than-file-p'.
2322 (tramp-smb-handle-directory-files-and-attributes)
2323 (tramp-smb-handle-file-exists-p)
2324 (tramp-smb-handle-file-newer-than-file-p): Remove.
2325 (tramp-smb-maybe-open-connection):
2326 Replace `tramp-set-process-query-on-exit-flag' by
2327 `tramp-compat-set-process-query-on-exit-flag'.
2329 2010-10-05 Glenn Morris <rgm@gnu.org>
2331 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2333 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2335 Continue reorganization of load dependencies. (Bug#7156)
2337 * net/tramp.el (tramp-handle-file-local-copy-hook)
2338 (tramp-delete-temp-file-function): Move down.
2339 (tramp-exists-file-name-handler): Move up.
2340 (tramp-register-file-name-handlers): Simplify autoload.
2341 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2342 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2343 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2344 (tramp-handle-file-name-completion)
2345 (tramp-handle-file-name-directory)
2346 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2347 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2348 (tramp-handle-find-backup-file-name)
2349 (tramp-handle-insert-file-contents, tramp-handle-load)
2350 (tramp-handle-substitute-in-file-name)
2351 (tramp-handle-unhandled-file-name-directory)
2352 (tramp-mode-string-to-int, tramp-local-host-p)
2353 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2355 * net/tramp-gvfs.el (top):
2356 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2358 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2359 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2361 2010-10-04 Glenn Morris <rgm@gnu.org>
2363 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2364 (appt-activate): Give status messages.
2366 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2368 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2369 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2370 `gnutls-negotiate' (formerly `starttls-negotiate').
2371 Remove trivial wrapper `starttls-open-stream'.
2373 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2375 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2376 log-outgoing commands.
2377 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2378 to create a buffer local revert-buffer-function variable.
2379 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2380 revert-buffer-function lambda.
2382 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2384 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2385 `gnutls-boot'. Make TYPE the only required parameter.
2386 Allow TRUSTFILES and KEYFILES to be lists.
2387 (open-ssl-stream): Use it.
2389 2010-10-03 Glenn Morris <rgm@gnu.org>
2391 * subr.el (directory-sep-char): Remove obsolete variable.
2392 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2395 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2396 * vc/vc.el (vc-static-header-alist): Doc fix.
2397 * vc/vc-cvs.el (vc-cvs-header):
2398 * vc/vc-rcs.el (vc-rcs-header):
2399 * vc/vc-sccs.el (vc-sccs-header):
2400 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2401 * obsolete/vc-mcvs.el (vc-mcvs-header):
2402 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2405 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2407 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2408 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2410 2010-10-03 Glenn Morris <rgm@gnu.org>
2412 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2414 * textmodes/rst.el (rst-font-lock-keywords-function):
2417 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2419 * printing.el: Drop Emacs 20 code.
2421 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2422 without having used appt.el already).
2424 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2425 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2426 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2428 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2429 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2431 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2432 (charset-width, find-charset-region, chars-in-region, forward-point)
2433 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2434 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2435 Remove compatibility cruft (none of these are used by ps*.el).
2437 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2439 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2441 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2443 * server.el (server-process-filter, server-return-error):
2444 Give emacsclient time to shut down after receiving an error string.
2446 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2448 * files.el (remote-file-name-inhibit-cache): New defcustom.
2450 * time.el (display-time-file-nonempty-p):
2451 Use `remote-file-name-inhibit-cache'.
2453 * net/tramp.el (tramp-completion-reread-directory-timeout):
2456 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2457 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2458 `remote-file-name-inhibit-cache'. Check also for an integer
2459 value. Add/increase counter when `tramp-verbose' >= 10.
2460 (tramp-set-file-property): Add/increase counter when
2461 `tramp-verbose' >= 10.
2463 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2464 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2465 (tramp-bug): Set tramp-autoload cookie. Report all interned
2466 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2467 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2468 characters only in strings.
2470 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2471 to backward compatibility.
2473 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2474 (tramp-handle-file-name-all-completions)
2475 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2476 (tramp-open-connection-setup-interactive-shell):
2477 Call `tramp-cleanup-connection' directly.
2479 2010-10-02 Glenn Morris <rgm@gnu.org>
2481 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2483 * subr.el (char-bytes): Remove obsolete function.
2485 * isearch.el (isearch-return-char): Remove obsolete function.
2487 * mouse.el: No longer provide mldrag.
2488 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2489 Remove obsolete aliases.
2491 * comint.el (comint-kill-output): Remove obsolete alias.
2493 * composite.el (decompose-composite-char): Remove obsolete function.
2494 * ps-def.el (decompose-composite-char): Remove unused function.
2496 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2498 * outline.el (outline-visible): Remove obsolete function.
2500 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2501 * faces.el (internal-find-face, internal-get-face)
2502 (frame-update-faces, frame-update-face-colors)
2503 (x-frob-font-weight, x-frob-font-slant)
2504 (internal-frob-font-weight, internal-frob-font-slant)
2505 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2506 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2507 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2509 * emulation/viper-util.el (viper-get-face):
2510 * obsolete/lucid.el (find-face, get-face): Use facep.
2511 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2512 Remove unused functions.
2513 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2515 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2516 delete tempfile if interrupted during compilation.
2518 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2520 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2522 (tls-program): Add --insecure to be consistent with the defaults from
2523 openssl s_client. Now all three commands are insecure.
2525 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2527 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2528 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2529 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2531 2010-10-01 Glenn Morris <rgm@gnu.org>
2533 * obsolete/sc.el: Remove file.
2535 * files.el (temporary-file-directory): On darwin, also try
2536 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2538 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2540 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2541 Let's not break compatibility gratuitously, shall we?
2543 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2545 * net/tls.el (tls-starttls-switches): New variable.
2546 (tls-find-starttls-argument): Use it.
2547 (open-tls-stream): Ditto.
2549 * net/netrc.el (netrc-credentials): Return the value of the "default"
2551 (netrc-machine): Ditto.
2553 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2555 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2557 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2559 * server.el (server-start): Don't write pid to the authentication file.
2560 (server-create-tty-frame): Don't send pid.
2561 (server-process-filter): Send pid at the start of every connection.
2563 2010-09-30 Glenn Morris <rgm@gnu.org>
2565 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2566 (show-all-diary-entries): Remove obsolete function aliases.
2568 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2569 Remove options, obsolete since 22.1.
2570 (appt-display-format, appt-display-message):
2571 Remove backwards-compatibility code.
2572 (appt-check): No longer check appt-issue-message.
2573 (appt-make-list): No longer autoload it. Doc fix. No longer
2574 activate the package.
2576 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2578 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2579 (starttls-negotiate): Just call boot, and let the handshake be
2580 triggered from the read loop.
2582 2010-09-29 Glenn Morris <rgm@gnu.org>
2584 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2585 not displaying the diary.
2586 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2587 * calendar/appt.el (appt-check): No longer need to kill diary.
2589 * calendar/diary-lib.el (diary-list-entries): Move the
2590 "Preparing..." message entirely here.
2591 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2592 messages to diary-list-entries.
2593 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2594 diary-display-function.
2596 * calendar/diary-lib.el (diary-include-other-diary-files):
2597 Trap some recursive includes.
2599 * calendar/appt.el (appt-activate): Check diary file.
2601 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2603 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2606 * calendar/time-date.el: No need to require cl for Emacs 21.
2608 2010-09-28 Glenn Morris <rgm@gnu.org>
2610 * calendar/appt.el (appt-check): Minor simplification.
2612 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2614 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2617 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2619 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2620 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
2622 2010-09-27 Kenichi Handa <handa@m17n.org>
2624 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2627 2010-09-27 Kenichi Handa <handa@m17n.org>
2629 * international/mule.el (define-coding-system): Docstring fixed.
2631 * international/mule-diag.el (describe-character-set): Use princ
2632 with proper print-length and print-level instead of insert.
2634 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
2636 * window.el (walk-windows): Doc fix (bug#7105).
2638 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * emacs-lisp/float-sup.el (e): Remove.
2642 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2644 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2646 (starttls-negotiate): Use it.
2648 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2650 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2653 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2655 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2657 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2659 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2661 * net/netrc.el (netrc-store-data): New function.
2663 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
2665 * net/gnutls.el: GnuTLS glue code to set up a connection.
2667 2010-09-25 Julien Danjou <julien@danjou.info>
2669 * notifications.el: Call dbus-register-signal only if it is bound.
2671 2010-09-25 Glenn Morris <rgm@gnu.org>
2673 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2674 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2675 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2676 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2677 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2678 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2679 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2680 * eshell/esh-util.el, eshell/esh-var.el:
2681 Remove leading `*' from docs of faces and defcustoms.
2683 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
2685 * eshell/em-ls.el (eshell-ls-archive-regexp):
2686 * eshell/esh-util.el (eshell-tar-regexp):
2687 * ibuffer.el (ibuffer-compressed-file-name-regexp):
2688 * info.el (Info-suffix-list):
2689 * international/mule.el (auto-coding-alist):
2690 * woman.el (woman-file-regexp, woman-file-compression-regexp):
2691 * progmodes/etags.el (tags-compression-info-list):
2692 Support xz compression.
2694 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
2696 * files.el (get-free-disk-space): Don't assume the "df" output
2697 columns line up (Bug#6995).
2699 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2701 * finder.el (finder-unknown-keywords):
2702 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2703 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2705 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
2707 * server.el (server-start): Revert part of 2010-08-08 change. Using
2708 address 127.0.0.1 for local host is now done in Fmake_network_process.
2710 2010-09-24 Glenn Morris <rgm@gnu.org>
2712 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2713 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2714 * textmodes/css-mode.el, textmodes/dns-mode.el:
2715 Move autoloaded auto-mode-alist entries to files.el.
2716 * files.el (auto-mode-alist): Move entries here.
2718 2010-09-23 Glenn Morris <rgm@gnu.org>
2720 * isearch.el (isearch-lazy-highlight-cleanup)
2721 (isearch-lazy-highlight-initial-delay)
2722 (isearch-lazy-highlight-interval)
2723 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2724 * net/net-utils.el (ipconfig-program-options):
2725 Move aliases to options before the associated definitions.
2727 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2729 * newcomment.el (comment-normalize-vars): Better test validity of
2732 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2734 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2735 (float-e): New name for `e'.
2736 (degrees-to-radians, radians-to-degrees):
2737 * calendar/solar.el (solar-longitude):
2738 * calculator.el (calculator-registers, calculator-funcall):
2739 * textmodes/artist.el (artist-spray-random-points):
2740 * play/bubbles.el (bubbles--initialize-images): Use new names.
2742 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
2744 Update to CEDET 1.0's version of EIEIO.
2746 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2748 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2749 (eieio-default-eval-maybe): Eval val instead of unquoting only.
2750 (class-precedence-list): If class is nil, return nil.
2751 (eieio-generic-call): If class of first input arg is nil, don't
2752 look up static methods, and do check for primary methods.
2753 (initialize-instance): See if the default needs to be evaluated
2754 during the constructor.
2755 (eieio-perform-slot-validation-for-default): Don't do the check
2756 for values that will eventually be evaluated.
2757 (eieio-eval-default-p): New function.
2758 (eieio-default-eval-maybe): Use it.
2760 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
2762 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2763 method-invocation-order.
2764 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2765 (eieio-class-precedence-dfs): Compute class precedence list using
2767 (eieio-class-precedence-bfs): Compute class precedence list using
2769 (eieio-class-precedence-c3): Compute class precedence list using
2771 (class-precedence-list): New function.
2772 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2773 (inconsistent-class-hierarchy): New error symbol.
2774 (call-next-method): Stow the replacement argument list for future
2775 call-next-method invocations.
2777 2010-09-23 Glenn Morris <rgm@gnu.org>
2779 * calendar/appt.el (appt-check): If not displaying the diary,
2780 use (diary 1) to only get the entries we need.
2781 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2782 that it is in day order. (Bug#7019)
2784 * calendar/appt.el (appt-check): Rather than showing the diary,
2785 just turn off invisible display, and only if needed.
2787 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
2789 2010-09-23 Glenn Morris <rgm@gnu.org>
2791 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2792 (byte-compile-defvar, byte-compile-cl-warn):
2793 Start warnings with lower-case, like the majority.
2795 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2797 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
2799 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2800 * files.el (auto-mode-alist): Move ld-script entries here, further down
2803 * vc/add-log.el: Don't require timezone when compiling.
2804 (timezone-make-date-sortable): Autoload it.
2805 (change-log-sortable-date-at): Don't require timezone.
2806 Use `ignore-errors'.
2808 * comint.el (comint-use-prompt-regexp-instead-of-fields):
2809 Move alias before definition, so it does not need autoloading.
2811 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2812 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2813 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2814 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2815 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2816 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2817 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2818 * textmodes/tex-mode.el, textmodes/two-column.el:
2819 Remove leading `*' from docs of defcustoms etc.
2821 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
2823 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2825 2010-09-22 Dan Christensen <jdc@uwo.ca>
2827 * calendar/time-date.el (date-to-time): Try using parse-time-string
2828 first before using the slower timezone-make-date-arpa-standard.
2830 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
2832 * calendar/time-date.el (format-seconds): Comment fix.
2834 2010-09-22 Glenn Morris <rgm@gnu.org>
2836 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2837 is not automatically buffer-local.
2839 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2841 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2842 (smie-indent-comment): Be more careful with comment-start-skip.
2843 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2844 (smie-indent-functions): Use them.
2846 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
2848 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2850 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
2852 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2853 tool-bar-position. Don't modify frame parameters here.
2854 (menu-bar-options-save): Add tool-bar-position.
2856 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2858 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2860 * textmodes/reftex-parse.el (reftex-what-macro)
2861 (reftex-context-substring): Let-bind forward-sexp-function to nil
2862 since we don't need/want to treat \begin...\end as a block (bug#7053).
2864 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2866 * simple.el (blink-matching-open): Use syntax-class.
2868 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2869 Set invisibility spec for pascal's outline mode.
2870 (pascal-outline-change): Clean up calling convention.
2871 (pascal-show-all, pascal-hide-other-defuns): Update callers.
2873 * progmodes/prolog.el (prolog-smie-forward-token)
2874 (prolog-smie-backward-token): New functions.
2875 (prolog-mode-variables): Use them to parse "!," correctly.
2876 Set up smie-blink-matching for ".".
2878 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2880 (ispell-region, ispell-process-line): Update users.
2882 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2885 * textmodes/ispell.el: Fix commenting convention.
2886 (ispell-parse-output): Simplify, use push.
2887 (ispell-region): Use match-string-no-properties.
2888 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2889 (ispell-minor-mode): Use define-minor-mode.
2890 (ispell-message): Remove unused var `skip-regexp'.
2891 (ispell-add-per-file-word-list): Use dynamic let-binding.
2892 Try and use the proper comment marker.
2894 * mail/sendmail.el: Fix commenting convention.
2895 (sendmail-send-it): Use line-beginning-position.
2897 * help-fns.el (describe-variable): Add original value, if applicable.
2899 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
2901 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2903 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2905 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2907 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2908 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2909 (smie-prec2-levels): Use them to better diagnose precedence cycles.
2910 (smie-blink-matching-check): Don't signal a mismatch if car is t.
2911 (smie-blink-matching-open): Rewrite to remove assumptions, so that
2912 something like "." can also be a closer.
2913 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2914 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2915 Rename internal functions to use "--". Update callers.
2917 * frame.el (make-frame-names-alist): Don't list frames on other displays.
2919 * fringe.el (fringe-styles): New var.
2920 (fringe-mode, fringe-query-style): Use it.
2922 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
2924 * progmodes/sql.el: Version 2.8
2925 (sql-login-params): Update widget structure; changes still needed.
2926 (sql-product-alist): Add :list-all and :list-table features for
2927 SQLite, Postgres and MySQL products.
2928 (sql-redirect): Handle default value.
2929 (sql-execute, sql-execute-feature): New functions.
2930 (sql-read-table-name): New function.
2931 (sql-list-all, sql-list-table): New functions. User API.
2932 (sql-mode-map, sql-interactive-mode-map): Add key definitions
2933 for above functions.
2934 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2935 for above functions.
2936 (sql-postgres-login-params): Add user and database defaults.
2937 (sql-buffer-live-p): Bug fix.
2938 (sql-product-history): New variable.
2939 (sql-read-product): New function. Use it.
2940 (sql-set-product, sql-product-interactive): Use it.
2941 (sql-connection-history): New variable.
2942 (sql-read-connection): New function. Use it.
2943 (sql-connect): New function.
2944 (sql-for-each-login): Redesign function interface.
2945 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2946 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
2947 (sql-comint): Check for program. Existing live buffer.
2948 (sql-comint-postgres): Add port parameter.
2950 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2952 * emacs-lisp/warnings.el: Fix commenting convention.
2953 (display-warning): Use special mode and make the buffer read-only.
2955 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
2957 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2958 empty string when it follows a repeated or optional pattern.
2960 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2962 * indent.el (indent-according-to-mode): Apply syntax-propertize.
2963 (indent-region): Use indent-according-to-mode.
2965 2010-09-18 Eli Zaretskii <eliz@gnu.org>
2967 * fringe.el (fringe-mode): Doc fix.
2969 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2971 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2972 refreshing the preview buffer.
2974 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2977 (latex-syntax-propertize-rules): New consts; replace
2978 tex-font-lock-syntactic-keywords.
2979 (tex-env-mark, latex-env-before-change): New functions.
2980 (latex-electric-env-pair-mode): New minor mode.
2981 (tex-font-lock-verb): Change arguments; do move point.
2982 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2983 representation as a form of comment.
2984 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2985 (doctex-syntax-propertize-rules): New const; replaces
2986 doctex-font-lock-syntactic-keywords.
2987 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2989 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2990 (fortran-make-syntax-propertize-function): New function; replaces
2991 fortran-font-lock-syntactic-keywords.
2992 (fortran-mode): Use it.
2993 (fortran-line-length): Use it. Improve interactive spec.
2995 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2996 (syntax-propertize-rules): Add var-ref case. Fix offset computation
2997 when adding surrounding \(..\).
2999 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3001 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3003 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3004 Use with-current-buffer.
3006 * isearch.el (isearch-face): Rename from `isearch'.
3007 (isearch-highlight): Use new name.
3009 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3011 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3012 5, for `half' width fringes. (Bug#6933)
3014 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3016 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3017 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3019 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3021 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3023 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3024 in calculating new frame position. Add more space between new and
3025 parent on the left (Bug#7048).
3027 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3029 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3032 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3034 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3036 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3037 obsolete alias for x-selection-value.
3039 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3041 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3043 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3046 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3048 * net/tramp-compat.el (tramp-compat-with-temp-message)
3049 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3050 (tramp-compat-process-put): New defuns.
3052 * net/tramp.el (top):
3053 * net/tramp-gvfs.el (top):
3054 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3056 * net/tramp.el (tramp-progress-reporter-update):
3057 Use `tramp-compat-funcall'.
3059 * net/tramp.el (tramp-process-actions):
3060 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3061 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3062 (tramp-get-remote-stat, tramp-get-remote-readlink):
3063 Use `tramp-compat-with-temp-message'.
3065 * net/tramp-sh.el (top): Require 'cl.
3066 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3067 (tramp-open-connection-setup-interactive-shell):
3068 Use `tramp-compat-process-put'.
3070 2010-09-15 Alan Mackenzie <acm@muc.de>
3072 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3074 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3076 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3078 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3079 `lexical' for warnings related to lexical scoping.
3080 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3081 global vars which don't have a prefix and could hence affect lexical
3082 scoping in unrelated files.
3084 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3086 * net/imap.el: Revert back to version
3087 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3090 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3092 * obsolete/old-whitespace.el (whitespace-unload-function):
3093 Explicitly pass `obarray' to `unintern' to avoid a warning.
3095 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3098 Add `when' argument. Update callers.
3100 * subr.el (unintern): Declare the obarray arg mandatory.
3102 2010-09-14 Glenn Morris <rgm@gnu.org>
3104 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3107 * calendar/diary-lib.el (diary-included-files): New variable.
3108 (diary-list-entries): Maybe initialize diary-included-files.
3109 (diary-include-other-diary-files): Append to diary-included-files.
3110 * calendar/appt.el (appt-update-list): Also check the members of
3111 diary-included-files. (Bug#6999)
3112 (appt-check): Doc fix.
3114 2010-09-14 David Reitter <david.reitter@gmail.com>
3116 * simple.el (line-move-visual): Do not truncate goal column to
3117 integer size. (Bug#7020)
3119 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3121 * repeat.el (repeat): Allow repeating when the last event is a click.
3122 Suggested by Drew Adams (bug#6256).
3124 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3126 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3127 Replace setting HGRCPATH to "" by some less invasive --config options.
3129 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3131 * font-lock.el (font-lock-beginning-of-syntax-function):
3134 2010-09-14 Glenn Morris <rgm@gnu.org>
3136 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3137 and tool-bar modes. (Bug#6211)
3138 (menu-bar-mode): Move setting of standard-value after the
3139 minor-mode definition, otherwise it seems to have no effect.
3141 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3143 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3144 Fix typo. (Bug#6976)
3146 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3148 * whitespace.el: Allow cleaning up blanks without blank
3149 visualization (Bug#6651). Adjust help window for
3150 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3151 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3152 (whitespace-style): Add new value 'face. Adjust docstring.
3153 (whitespace-space, whitespace-hspace, whitespace-tab):
3154 Adjust foreground property face.
3155 (whitespace-line-column): Adjust docstring and type declaration.
3156 (whitespace-style-value-list, whitespace-toggle-option-alist)
3157 (whitespace-help-text): Adjust const initialization.
3158 (whitespace-toggle-options, global-whitespace-toggle-options):
3160 (whitespace-display-window, whitespace-interactive-char)
3161 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3162 (whitespace-help-scroll): New fun.
3164 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3166 * calendar/time-date.el (format-seconds): Comment fix.
3168 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3170 * progmodes/sql.el: Version 2.7.
3171 (sql-buffer-live-p): Improve detection.
3172 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3173 (sql-set-sqli-buffer): Use it.
3174 (sql-product-interactive): Run `sql-set-sqli-hook'.
3175 (sql-rename-buffer): Code cleanup.
3176 (sql-redirect, sql-redirect-value): New functions. More to come.
3178 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3180 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.
3181 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3182 (TRAMP_SRC): New macro.
3183 ($(lisp)/net/tramp-loaddefs.el): New target.
3185 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3187 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3189 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3191 * net/tramp.el (top): Don't show loading message. Require just
3192 'tramp-compat, everything else is required there.
3193 Use `ignore-errors' where appropriate.
3194 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3195 (tramp-terminal-type, tramp-end-of-output)
3196 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3197 (tramp-completion-function-alist-ssh)
3198 (tramp-completion-function-alist-telnet)
3199 (tramp-completion-function-alist-su)
3200 (tramp-completion-function-alist-putty, tramp-remote-path)
3201 (tramp-remote-process-environment, tramp-sh-extra-args)
3202 (tramp-actions-before-shell, tramp-uudecode)
3203 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3204 (tramp-perl-file-attributes)
3205 (tramp-perl-directory-files-and-attributes)
3206 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3207 (tramp-perl-encode, tramp-perl-decode)
3208 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3209 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3210 (tramp-handle-make-symbolic-link, tramp-handle-load)
3211 (tramp-handle-file-name-as-directory)
3212 (tramp-handle-file-name-directory)
3213 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3214 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3215 (tramp-do-file-attributes-with-ls)
3216 (tramp-do-file-attributes-with-perl)
3217 (tramp-do-file-attributes-with-stat)
3218 (tramp-handle-set-visited-file-modtime)
3219 (tramp-handle-verify-visited-file-modtime)
3220 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3221 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3222 (tramp-handle-file-selinux-context)
3223 (tramp-handle-set-file-selinux-context)
3224 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3225 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3226 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3227 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3228 (tramp-handle-file-ownership-preserved-p)
3229 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3230 (tramp-handle-directory-files-and-attributes)
3231 (tramp-do-directory-files-and-attributes-with-perl)
3232 (tramp-do-directory-files-and-attributes-with-stat)
3233 (tramp-handle-file-name-all-completions)
3234 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3235 (tramp-handle-copy-file, tramp-handle-copy-directory)
3236 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3237 (tramp-do-copy-or-rename-file-via-buffer)
3238 (tramp-do-copy-or-rename-file-directly)
3239 (tramp-do-copy-or-rename-file-out-of-band)
3240 (tramp-handle-make-directory, tramp-handle-delete-directory)
3241 (tramp-handle-delete-file)
3242 (tramp-handle-dired-recursive-delete-directory)
3243 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3244 (tramp-handle-insert-directory)
3245 (tramp-handle-unhandled-file-name-directory)
3246 (tramp-handle-expand-file-name)
3247 (tramp-handle-substitute-in-file-name)
3248 (tramp-handle-executable-find, tramp-process-sentinel)
3249 (tramp-handle-start-file-process, tramp-handle-process-file)
3250 (tramp-handle-call-process-region, tramp-handle-shell-command)
3251 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3252 (tramp-handle-insert-file-contents)
3253 (tramp-handle-insert-file-contents-literally)
3254 (tramp-handle-find-backup-file-name)
3255 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3256 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3257 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3258 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3259 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3260 (tramp-find-file-exists-command, tramp-open-shell)
3261 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3262 (tramp-open-connection-setup-interactive-shell)
3263 (tramp-local-coding-commands, tramp-remote-coding-commands)
3264 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3265 (tramp-inline-compress-commands, tramp-find-inline-compress)
3266 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3267 (tramp-send-command, tramp-wait-for-output)
3268 (tramp-send-command-and-check, tramp-barf-unless-okay)
3269 (tramp-send-command-and-read, tramp-mode-string-to-int)
3270 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3271 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3272 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3273 (tramp-method-out-of-band-p, tramp-local-host-p)
3274 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3275 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3276 (tramp-get-test-command, tramp-get-test-nt-command)
3277 (tramp-get-file-exists-command, tramp-get-remote-ln)
3278 (tramp-get-remote-perl, tramp-get-remote-stat)
3279 (tramp-get-remote-readlink, tramp-get-remote-trash)
3280 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3281 (tramp-get-local-uid, tramp-get-local-gid)
3282 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3284 (tramp-methods, tramp-default-method-alist)
3285 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3286 Move initialization to tramp-sh.el.
3287 (tramp-temp-name-prefix): Make it a defconst.
3288 (tramp-dissect-file-name): Don't check anymore for multi-hop
3290 (tramp-debug-outline-regexp): Add a docstring.
3291 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3292 (tramp-get-debug-buffer): Use it.
3294 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3295 initialization forms.
3296 (tramp-set-connection-property): Don't protect `tramp-message'
3297 call, it isn't necessary any longer.
3298 (tramp-dump-connection-properties): Use `ignore-errors'.
3300 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3301 'password-cache and 'auth-source.
3303 * net/tramp-gvfs.el (top):
3304 * net/tramp-smb.el (top): Require 'tramp-sh.
3306 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3308 * net/tramp-sh.el: New file, derived from tramp.el.
3309 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3310 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3311 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3312 Use `ignore-errors' where appropriate.
3313 (tramp-sh-file-name-handler-alist): Rename from
3314 `tramp-file-name-handler-alist'.
3315 (tramp-send-command-and-check): Return t or nil. Remove all
3316 `zerop' checks, where called.
3317 (tramp-handle-set-file-modes)
3318 (tramp-do-copy-or-rename-file-directly)
3319 (tramp-handle-delete-directory, tramp-handle-delete-file)
3320 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3321 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3322 (tramp-get-remote-ln): Set tramp-autoload cookie.
3324 * net/tramp-fish.el: Remove file.
3326 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3328 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3329 buffer-file-name to avoid file-locking. (Bug#7026)
3331 2010-09-13 Julien Danjou <julien@danjou.info>
3333 * notifications.el (notifications-notify): Add support for
3334 image-path and sound-name.
3335 (notifications-specification-version): Add this variable.
3337 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3339 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3341 2010-09-12 Leo <sdl.web@gmail.com>
3343 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3344 (rcirc-completion-start): New variables.
3345 (rcirc-nick-completions): Rename to rcirc-completions.
3346 (rcirc-nick-completion-start-offset): Delete.
3347 (rcirc-completion-at-point): New function for constructing
3348 completion data for both nicks and irc commands. Add to
3349 completion-at-point-functions in rcirc mode.
3350 (rcirc-complete): Rename from rcirc-nick-complete; use
3351 rcirc-completion-at-point.
3352 (defun-rcirc-command): Update rcirc-client-commands.
3354 2010-09-11 Glenn Morris <rgm@gnu.org>
3356 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3357 atomically, to avoid parallel build errors. (Bug#4196)
3359 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3361 * progmodes/sql.el: Version 2.6
3362 (sql-dialect): Synonym for "sql-product".
3363 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3364 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3365 Set "sql-buffer" to buffer name not buffer object so multiple sql
3366 interactive buffers work properly. Reverts misguided changes in
3368 (sql-comint): Make sure different buffer name is used if "*SQL*"
3369 buffer is for a different product.
3370 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3372 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3373 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3374 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3375 Accept new buffer name or prompt for one.
3376 (sql-port): Default to zero.
3377 (sql-comint-mysql): Handle "sql-port" as a numeric.
3378 (sql-port-history): Delete unused variable.
3379 (sql-get-login): Default "sql-port" to a number.
3380 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3381 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3382 "sqlite3" executables.
3383 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3384 (sql-buffer-live-p): New function.
3385 (sql-mode-menu, sql-send-string): Use it.
3386 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3388 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3389 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3391 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3393 * net/netrc.el (netrc-credentials): New convenience function.
3395 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3397 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3398 to replace texinfo-font-lock-syntactic-keywords.
3399 (texinfo-mode): Use it.
3401 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3402 Use syntax-propertize-function.
3404 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3405 replace sgml-font-lock-syntactic-keywords.
3406 (sgml-mode): Use it.
3408 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3409 since we don't use it.
3411 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3413 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3415 (vhdl-fontify-buffer): Adjust.
3417 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3418 replace tcl-font-lock-syntactic-keywords.
3421 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3422 replace simula-font-lock-syntactic-keywords.
3423 (simula-mode): Use it.
3425 * progmodes/sh-script.el (sh-st-symbol): Remove.
3426 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3427 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3428 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3429 (sh-font-lock-paren): Set syntax-multiline.
3430 (sh-font-lock-syntactic-keywords): Remove.
3431 (sh-syntax-propertize-function): New function to replace it.
3434 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3435 Define while compiling.
3436 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3437 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3438 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3439 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3440 (ruby-here-doc-end-syntax): Only define when
3441 syntax-propertize is not available.
3442 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3444 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3445 (electric-indent-chars): Silence bytecompiler.
3446 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3447 electric-indent-chars.
3449 * progmodes/python.el (python-syntax-propertize-function): New var to
3450 replace python-font-lock-syntactic-keywords.
3451 (python-mode): Use it.
3452 (python-quote-syntax): Simplify and adjust to new use.
3454 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3455 replace perl-font-lock-syntactic-keywords.
3456 (perl-syntax-propertize-special-constructs): New fun to replace
3457 perl-font-lock-special-syntactic-constructs.
3458 (perl-font-lock-syntactic-face-function): New fun.
3459 (perl-mode): Use it.
3461 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3462 to replace octave-font-lock-close-quotes.
3463 (octave-syntax-propertize-function): New function to replace
3464 octave-font-lock-syntactic-keywords.
3465 (octave-mode): Use it.
3467 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3468 replaces mixal-font-lock-syntactic-keywords.
3469 (mixal-mode): Use it.
3471 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3472 New var; replaces makefile-font-lock-syntactic-keywords.
3473 (makefile-mode): Use it.
3474 (makefile-imake-mode): Adjust.
3476 * progmodes/js.el (js--regexp-literal): Define while compiling.
3477 (js-syntax-propertize-function): New var; replaces
3478 js-font-lock-syntactic-keywords.
3481 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3482 replaces gdb-script-font-lock-syntactic-keywords.
3483 (gdb-script-mode): Use it.
3485 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3486 (fortran--font-lock-syntactic-keywords): New var.
3487 (fortran-line-length): Update syntax-propertize-function and
3488 fortran--font-lock-syntactic-keywords.
3490 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3492 * progmodes/cfengine.el (cfengine-mode):
3493 Use syntax-propertize-function.
3494 (cfengine-font-lock-syntactic-keywords): Remove.
3496 * progmodes/autoconf.el (autoconf-mode):
3497 Use syntax-propertize-function.
3498 (autoconf-font-lock-syntactic-keywords): Remove.
3500 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3501 (ada-after-change-function, ada-initialize-syntax-table-properties)
3502 (ada-handle-syntax-table-properties): Only define when
3503 syntax-propertize is not available.
3504 (ada-mode): Use syntax-propertize-function.
3506 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3507 (font-lock-fontify-syntactic-keywords-region): Move handling of
3508 font-lock-syntactically-fontified to...
3509 (font-lock-default-fontify-region): ...here.
3510 Let syntax-propertize-function take precedence.
3511 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3513 * emacs-lisp/syntax.el (syntax-propertize-function)
3514 (syntax-propertize-chunk-size, syntax-propertize--done)
3515 (syntax-propertize-extend-region-functions): New vars.
3516 (syntax-propertize-wholelines, syntax-propertize-multiline)
3517 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3518 (syntax-propertize): New functions.
3519 (syntax-propertize-rules): New macro.
3520 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3521 (syntax-ppss): Call syntax-propertize.
3523 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3525 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3527 * textmodes/ispell.el (ispell-init-process): Improve comments.
3528 XEmacs compatibility changes regarding (add-hook) 'local option
3529 and (set-process-query-on-exit-flag).
3531 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3533 * net/tramp-cache.el (tramp-parse-connection-properties):
3534 Set tramp-autoload cookie.
3536 2010-09-09 Glenn Morris <rgm@gnu.org>
3538 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3539 (imagemagick-register-types): Doc fix.
3541 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3543 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3545 * progmodes/js.el (require): Require is already "eval-and-compile".
3546 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3547 (js--re-search-backward): Use js--re-search-forward.
3549 * progmodes/fortran.el (fortran-line-length): Don't recompute
3550 syntactic keywords redundantly a second time.
3552 * progmodes/ada-mode.el: Replace "(set '" with setq.
3553 (ada-mode): Simplify.
3554 (ada-create-case-exception, ada-adjust-case-interactive)
3555 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3556 (ada-search-ignore-string-comment, ada-move-to-start)
3557 (ada-move-to-end): Use with-syntax-table.
3559 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3560 (font-lock-unfontify-region, font-lock-default-fontify-region):
3561 Update usage correspondingly.
3562 (font-lock-fontify-syntactic-keywords-region):
3563 Set parse-sexp-lookup-properties buffer-locally here.
3564 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3566 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3568 2010-09-08 Glenn Morris <rgm@gnu.org>
3570 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3571 Error if not compiled with -DBYTE_CODE_METER.
3573 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3574 Ignore dir-locals-file.
3576 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3578 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3580 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3581 for the `gnu' messages.
3582 (compilation-set-skip-threshold): New command.
3583 (compilation-start): Use \' rather than $.
3584 (compilation-forget-errors): Use clrhash.
3586 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3588 * textmodes/ispell.el (ispell-valid-dictionary-list):
3591 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3593 Migrate to Tramp 2.2. Rearrange load dependencies.
3594 (Bug#1529, Bug#5448, Bug#5705)
3596 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3597 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3598 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3600 * net/tramp.el (top): Remove all other tramp-* loads except
3601 tramp-compat.el. Remove all changes to tramp-unload-hook for
3602 other tramp-* packages. Rearrange defun order. Change calls of
3603 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3604 `tramp-compat-octal-to-decimal' to new function names.
3605 (tramp-terminal-type, tramp-initial-end-of-output)
3606 (tramp-methods, tramp-foreign-file-name-handler-alist)
3607 (tramp-tramp-file-p, tramp-completion-mode-p)
3608 (tramp-send-command-and-check, tramp-get-remote-path)
3609 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3610 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3611 (with-file-property, with-connection-property): Move to
3613 (tramp-local-call-process, tramp-decimal-to-octal)
3614 (tramp-octal-to-decimal): Move to tramp-compat.el.
3615 (tramp-handle-shell-command): Do not require 'shell.
3616 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3618 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3620 * net/tramp-cache.el (top): Require 'tramp. Add to
3621 `tramp-unload-hook'.
3622 (tramp-cache-data, tramp-get-file-property)
3623 (tramp-set-file-property, tramp-flush-file-property)
3624 (tramp-flush-directory-property, tramp-get-connection-property)
3625 (tramp-set-connection-property, tramp-flush-connection-property)
3626 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3628 (with-file-property, with-connection-property): New defuns, moved
3630 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3633 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3634 (tramp-version): Set tramp-autoload cookie.
3636 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
3637 changes to tramp-unload-hook for other tramp-* packages. Add to
3638 `tramp-unload-hook'.
3639 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3640 (tramp-compat-call-process): New defuns, moved from tramp.el.
3642 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3643 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3644 Add to `tramp-unload-hook'. Change call of
3645 `tramp-compat-decimal-to-octal' to new function name.
3646 (tramp-fish-method): Make it a defconst.
3647 (tramp-fish-file-name-p): Make it a defsubst.
3648 (tramp-fish-method, tramp-fish-file-name-handler)
3649 (tramp-fish-file-name-p): Set tramp-autoload cookie.
3651 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3652 `tramp-foreign-file-name-handler-alist'. Add to
3653 `tramp-unload-hook'.
3654 (tramp-ftp-method): Make it a defconst.
3655 (tramp-ftp-file-name-p): Make it a defsubst.
3656 (tramp-ftp-method, tramp-ftp-file-name-handler)
3657 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3659 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3660 `tramp-foreign-file-name-handler-alist'. Add to
3661 `tramp-unload-hook'. Change checks, whether package can be
3663 (tramp-gvfs-file-name-p): Make it a defsubst.
3664 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3665 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3666 (tramp-gvfs-handle-file-directory-p): New defun.
3667 (tramp-gvfs-file-name-handler-alist): Use it.
3669 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3670 `tramp-foreign-file-name-handler-alist'. Add to
3671 `tramp-unload-hook'.
3672 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3673 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3675 (tramp-gw-tunnel-method, tramp-gw-socks-method)
3676 (tramp-gw-open-connection): Set tramp-autoload cookie.
3678 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
3679 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3680 Add to `tramp-unload-hook'. Change checks, whether package can be
3682 (tramp-imap-file-name-p): Make it a defsubst.
3683 (tramp-imap-method, tramp-imaps-method)
3684 (tramp-imap-file-name-handler)
3685 (tramp-imap-file-name-p): Set tramp-autoload cookie.
3687 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
3688 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3689 Add to `tramp-unload-hook'. Change checks, whether package can be
3690 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3692 (tramp-smb-tunnel-method): Make it a defconst.
3693 (tramp-smb-file-name-p): Make it a defsubst.
3694 (tramp-smb-method, tramp-smb-file-name-handler)
3695 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3697 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3698 (tramp-uuencode-region): Set tramp-autoload cookie.
3700 * net/trampver.el (top) Add to `tramp-unload-hook'.
3701 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3702 cookie. Update release number.
3704 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3706 * textmodes/ispell.el (ispell-start-process): Make sure original
3707 arg list is properly initialized (Bug#6993, Bug#6994).
3709 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3711 * files.el (directory-abbrev-alist): Use \` as default regexp.
3713 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3714 chars like - or ] (bug#6984).
3715 (rx-any-condense-range): Explode 2-char ranges.
3717 2010-09-06 Glenn Morris <rgm@gnu.org>
3719 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3721 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3723 * textmodes/bibtex.el:
3724 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3726 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3728 * net/imap.el (imap-message-map): Remove optional buffer parameter,
3729 since no callers use it.
3730 (imap-message-get): Ditto.
3731 (imap-message-put): Ditto.
3732 (imap-mailbox-map): Ditto.
3733 (imap-mailbox-put): Ditto.
3734 (imap-mailbox-get): Ditto.
3735 (imap-mailbox-get): Revert last change for this function.
3737 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3739 * net/imap.el (imap-fetch-safe): Remove function, and alter all
3740 callers to use `imap-fetch' instead. According to the comments, this
3741 should be safe, since all other IMAP clients use the 1:* syntax.
3742 (imap-enable-exchange-bug-workaround): Remove.
3743 (imap-debug): Remove -- doesn't seem very useful.
3745 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3747 * net/imap.el (imap-log): New convenience function used throughout
3748 instead of repeating the same code all over the place.
3750 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
3752 * mouse.el (mouse-save-then-kill): Save region to kill-ring
3753 when mouse-drag-copy-region is non-nil (Bug#6956).
3755 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
3757 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3758 Improve regexps (Bug#6987).
3759 (dired-sort-toggle): Search more robustly for -t flag.
3761 * files.el (get-free-disk-space): Search more robustly for
3762 "available" column. Suggested by Ehud Karni
3763 <ehud@unix.mvs.co.il>.
3765 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
3767 * international/uni-bidi.el:
3768 * international/uni-category.el:
3769 * international/uni-combining.el:
3770 * international/uni-decimal.el:
3771 * international/uni-mirrored.el:
3772 * international/uni-name.el: Regenerate.
3774 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3776 * electric.el (electric-indent-post-self-insert-function):
3777 Don't reindent with a sloppy indentation function.
3779 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3780 border case in change-log-mode.
3782 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
3784 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3785 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3786 Recognize leading tab in gcc-include regexp. Ignore names with
3787 leading "from" or "in" in gnu regexp (Bug#6937).
3789 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3791 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3792 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3793 (ispell-start-process): Avoid setq and simplify logic.
3794 (ispell-init-process): Setup kill-buffer-hook locally when needed.
3795 (kill-buffer-hook): Don't use it globally with code that uses
3796 expand-file-name since that may call kill-buffer via
3797 code_conversion_restore.
3799 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
3801 * emacs-lisp/package.el (package-directory-list): Only call
3802 file-name-nondirectory on a string.
3804 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3806 * emacs-lisp/package.el (package--download-one-archive):
3807 Ensure that archive-contents is valid before saving it.
3808 (package-activate-1, package-mark-obsolete, define-package)
3809 (package-compute-transaction, package-list-maybe-add): Use push.
3811 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3813 Use SMIE's blink-paren for octave-mode.
3814 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3815 Backslashes do not escape single-quotes, single-quotes do.
3816 (octave-block-else-regexp, octave-block-end-regexp)
3817 (octave-block-match-alist): Remove.
3818 (octave-smie-bnf-table): New var, with old content.
3819 (octave-smie-op-levels): Use it.
3820 (octave-smie-closer-alist): New var.
3821 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
3822 (octave-blink-matching-block-open): Remove.
3823 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3824 (octave-electric-space): Let self-insert-command run expand-abbrev and
3827 * electric.el (electricity): New group.
3828 (electric-indent-chars): New var.
3829 (electric-indent-post-self-insert-function): New fun.
3830 (electric-indent-mode): New minor mode.
3831 (electric-pair-skip-self): New custom.
3832 (electric-pair-post-self-insert-function): New function.
3833 (electric-pair-mode): New minor mode.
3835 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3836 calcAlg-blink-matching-open.
3837 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3838 (calc-do-alg-entry): Only touch the part of the keymap that varies.
3839 Use the new blink-matching-check-function.
3841 Provide blink-matching support to SMIE.
3842 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3843 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3844 (smie-blink-matching-check, smie-blink-matching-open): New functions.
3846 * simple.el (newline): Fix last change to properly remove itself from
3849 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3851 * simple.el (newline): Eliminate optimization.
3852 Use post-self-insert-hook to set hard-newline and things before
3853 running post-self-insert-hook.
3854 (blink-matching-check-mismatch): New function.
3855 (blink-matching-check-function): New variable.
3856 (blink-matching-open): Use them.
3857 Skip back forward over prefix chars skipped by forward-sexp.
3858 Don't check if the parens are backslash escaped.
3859 (blink-paren-post-self-insert-function): Check backslash escaping here.
3861 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
3863 * emacs-lisp/package.el (package-menu-mode-map):
3864 Change package-menu-revert bindings to revert-buffer.
3865 (package-menu-mode): Set revert-buffer-function.
3866 (package-menu-revert): Doc fix.
3868 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
3870 * textmodes/ispell.el (ispell-init-process): Use "~/" as
3871 `default-directory' unless using Ispell per-directory personal
3872 dictionaries and not in a mini-buffer under XEmacs.
3873 (kill-buffer-hook): Do not kill ispell process on exit when
3874 `ispell-process-directory' is "~/". (Bug#6143)
3876 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
3878 * simple.el (kill-new): Call interprogram-cut-function with only
3881 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3882 Remove cut buffer from error message.
3884 * term/x-win.el (x-select-text):
3885 * term/pc-win.el (x-selection-value):
3886 * term/ns-win.el (x-selection-value):
3887 * eshell/em-term.el:
3888 * w32-fns.el (x-get-selection-value):
3889 * mouse-sel.el (mouse-sel-set-selection-function):
3890 * frame.el (display-selections-p): Remove cut-buffer in documentation.
3892 * term/x-win.el: Update documentation for x-last-selected-text-*.
3893 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3894 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3895 (x-select-text): Remove argument PUSH, update documentation.
3896 Remove cut-buffer code.
3897 (x-selection-value-internal): Was previously x-selection-value.
3898 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3899 Update documentation, remove cut-buffer code.
3900 Call x-selection-value-internal.
3901 (x-clipboard-yank): Call x-selection-value-internal.
3902 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3904 * term/pc-win.el (x-last-selected-text):
3905 x-cut-buffer-or-selection-value renamed to x-selection-value
3906 (x-select-text): Remove argument PUSH, update documentation.
3908 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3909 x-cut-buffer-or-selection-value renamed to x-selection-value
3910 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3911 (x-select-text): Remove argument PUSH, update documentation.
3913 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3915 * w32-fns.el (x-last-selected-text):
3916 x-cut-buffer-or-selection-value renamed to x-selection-value.
3917 (x-cut-buffer-max): Remove.
3918 (x-select-text): Remove argument PUSH, update documentation.
3920 * simple.el (interprogram-cut-function): Remove mention of PUSH.
3922 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3924 * mouse-sel.el (mouse-sel-get-selection-function):
3925 x-cut-buffer-or-selection-value renamed to x-selection-value.
3926 (x-select-text): Remove optional push.
3928 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3930 * simple.el (blink-paren-function): Move from C to here.
3931 (blink-paren-post-self-insert-function): New function.
3932 (post-self-insert-hook): Use it.
3934 * emacs-lisp/pcase.el (pcase-split-memq):
3935 Fix overenthusiastic optimisation.
3936 (pcase-u1): Handle the case of a lambda pred.
3938 2010-08-31 Kenichi Handa <handa@m17n.org>
3940 * international/mule-cmds.el (standard-display-european-internal):
3941 Setup standard-display-table for 8-bit characters by storing 8-bit
3942 characters in the element vector.
3944 * disp-table.el (standard-display-8bit):
3945 Setup standard-display-table for 8-bit characters by storing 8-bit
3946 characters in the element vector.
3947 (standard-display-european): Likewise.
3949 2010-08-31 Masatake YAMATO <yamato@redhat.com>
3951 * textmodes/nroff-mode.el (nroff-view): New command.
3952 (nroff-mode-map): Bind it to C-c C-c.
3954 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3956 * emacs-lisp/smie.el (smie-down-list): New command.
3958 Remove old indentation and navigation code on octave-mode.
3959 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3960 smie-down-list rather than add a binding for octave-down-block.
3961 (octave-mark-block, octave-blink-matching-block-open):
3962 Rely on forward-sexp-function.
3963 (octave-fill-paragraph): Don't narrow, so you can use
3964 indent-according-to-mode.
3965 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3966 (octave-in-block-p, octave-re-search-forward-kw)
3967 (octave-re-search-backward-kw, octave-indent-calculate)
3968 (octave-end-as-array-index-p, octave-block-end-offset)
3969 (octave-scan-blocks, octave-forward-block, octave-backward-block)
3970 (octave-down-block, octave-backward-up-block, octave-up-block)
3971 (octave-before-magic-comment-p, octave-indent-line): Remove.
3973 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
3975 * emacs-lisp/package.el (package--read-archive-file): Just use
3976 `read', to avoid copying an additional string.
3977 (package-menu-mode): Set header-line-format here.
3978 (package-menu-refresh, package-menu-revert): Signal an error if
3979 not in the Package Menu.
3980 (package-menu-package-list): New var.
3981 (package--generate-package-list): Operate on the current buffer;
3982 don't assume that it is *Packages*, since the user may rename it.
3983 Allow persistent package listings and sort keys using
3984 package-menu-package-list and package-menu-package-sort-key.
3985 (package-menu--version-predicate): Fix version calculation.
3986 (package-menu-sort-by-column): Don't select the window.
3987 (package--list-packages): Create the *Packages* buffer.
3988 Set package-menu-package-list-key.
3989 (list-packages): Sorting by status is now the default.
3990 (package-buffer-info): Use match-string-no-properties.
3991 (define-package): Add a &rest argument for future proofing, but
3993 (package-install-from-buffer, package-install-buffer-internal):
3994 Merge into a single function, package-install-from-buffer.
3995 (package-install-file): Change caller.
3997 * finder.el: Load finder-inf using `require'.
3998 (finder-list-matches): Sorting by status is now the default.
3999 (finder-compile-keywords): Simpify printing.
4001 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4003 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4004 (octave-mode-map): Remove special bindings for forward/backward-block
4005 and octave-backward-up-block. Use smie-close-block.
4006 (octave-continuation-marker-regexp): New var.
4007 (octave-continuation-regexp): Use it.
4008 (octave-operator-table, octave-smie-op-levels)
4009 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4010 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4011 (octave-mode): Use SMIE.
4012 (octave-close-block): Delete.
4014 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4016 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4017 CLIPBOARD, not in PRIMARY. (Bug#6944)
4019 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4021 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4023 (smie-indent-column): Allow indirection through variables.
4025 * composite.el (save-buffer-state): Delete, unused.
4026 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4027 (font-lock-default-fontify-region): Use with-syntax-table.
4028 * jit-lock.el (with-buffer-unmodified): Remove.
4029 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4031 Use `declare' in defmacros.
4032 * window.el (save-selected-window):
4033 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4034 * progmodes/python.el (def-python-skeleton):
4035 * net/dbus.el (dbus-ignore-errors):
4036 * jka-cmpr-hook.el (with-auto-compression-mode):
4037 * international/mule.el (with-category-table):
4038 * emacs-lisp/timer.el (with-timeout):
4039 * emacs-lisp/lisp-mnt.el (lm-with-file):
4040 * emacs-lisp/eieio.el (with-slots):
4041 * emacs-lisp/easymenu.el (easy-menu-define):
4042 * emacs-lisp/debug.el (debugger-env-macro):
4043 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4044 (Multiple-value-call, Multiple-value-prog1):
4045 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4046 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4047 edebug rule to definition.
4048 * emacs-lisp/lisp-mode.el (save-selected-window)
4049 (with-current-buffer, combine-after-change-calls)
4050 (with-output-to-string, with-temp-file, with-temp-buffer)
4051 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4052 (dolist, dotimes, when, unless):
4053 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4055 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4057 * finder.el: Require `package'.
4058 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4059 (finder-package-info): Var deleted.
4060 (finder-keywords-hash, finder--builtins-alist): New vars.
4061 (finder-compile-keywords): Compute package--builtins and
4062 finder-keywords-hash instead of finder-keywords-hash, respecting
4063 the "Package" header.
4064 (finder-unknown-keywords, finder-list-matches):
4065 Use finder-keywords-hash and package--list-packages.
4066 (finder-mode): Don't set font-lock-defaults.
4067 (finder-exit): We don't use "*Finder-package*" and "*Finder
4068 Category*" buffers anymore.
4070 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4071 (package--builtins): Set default value to nil.
4072 (package-initialize): Load precomputed value of package--builtins
4074 (package-alist, package-compute-transaction)
4075 (package-download-transaction): Improve docstring.
4076 (package-read-all-archive-contents): Do not change
4077 package--builtins here.
4078 (list-packages): Make package-list-packages an alias for this.
4079 Sort by status by default.
4080 (package--list-packages): Add optional PACKAGES arg.
4081 (describe-package-1): Use font-lock-face property. For built-in
4082 packages, insert file commentary.
4083 (package--generate-package-list): Rename from
4084 package-list-packages-internal; all callers changed. Add optional
4085 PACKAGES arg. Add alphabetical sort fallbacks.
4086 (package-menu--version-predicate, package-menu--status-predicate)
4087 (package-menu--description-predicate)
4088 (package-menu--name-predicate): New functions.
4090 * info.el (Info-finder-find-node): Search package-alist instead of
4091 finder-package-info.
4093 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4095 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4097 (version-to-list): Handle versions like "10.3d".
4099 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4101 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4102 (macroexp-accumulate): Use `declare'.
4104 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4106 * whitespace.el (whitespace-style): Adjust type declaration.
4108 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4110 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4111 empty argument to gvfs-copy.
4113 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4115 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4116 handle new TRASH arg of `delete-file'.
4118 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4120 * net/tramp.el (tramp-handle-insert-directory): Don't use
4121 `forward-word', its default syntax could be changed.
4123 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4124 Michael Albinus <michael.albinus@gmx.de>
4126 Implement compression for inline methods.
4128 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4129 (tramp-copy-size-limit): Allow also nil.
4130 (tramp-inline-compress-commands): New defconst.
4131 (tramp-find-inline-compress, tramp-get-inline-compress)
4132 (tramp-get-inline-coding): New defuns.
4133 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4134 replaced by `tramp-get-inline-coding'.
4135 (tramp-handle-file-local-copy, tramp-handle-write-region)
4136 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4138 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4140 Detect ssh 'ControlMaster' argument automatically in some cases.
4142 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4143 (tramp-default-method): Use it.
4145 2010-08-26 Karel Klíč <kklic@redhat.com>
4147 * net/tramp.el (tramp-file-name-for-operation):
4148 Add file-selinux-context.
4150 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4152 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4154 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4156 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4159 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4161 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4162 (js-paren-indent-offset, js-square-indent-offset)
4163 (js-curly-indent-offset): New options.
4164 (js--proper-indentation): Use them.
4166 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4168 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4169 instead of inspecting font-lock properties (Bug#6916).
4171 2010-08-26 David Reitter <david.reitter@gmail.com>
4173 * server.el (server-visit-files): Run pre-command-hook and
4174 post-command-hook for each buffer while it is current (Bug#6910).
4175 (server-execute): Do not run hooks here.
4177 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4179 Sync with Tramp 2.1.19.
4181 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4182 (tramp-reporter-dump-variable, tramp-load-report-modules)
4183 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4184 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4186 * net/tramp-compat.el (top): Do not autoload
4187 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4188 only when `start-file-process' is not bound.
4189 (byte-compile-not-obsolete-vars): Define if not bound.
4190 (tramp-compat-funcall): New defmacro.
4191 (tramp-compat-line-beginning-position)
4192 (tramp-compat-line-end-position)
4193 (tramp-compat-temporary-file-directory)
4194 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4195 (tramp-compat-copy-file, tramp-compat-copy-directory)
4196 (tramp-compat-delete-file, tramp-compat-delete-directory)
4197 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4199 (tramp-advice-file-expand-wildcards): Do not use
4200 `tramp-handle-file-remote-p'.
4201 (tramp-compat-make-temp-file): Simplify fallback implementation.
4202 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4203 (tramp-compat-copy-tree): Remove function.
4204 (tramp-compat-delete-file): New defun.
4205 (tramp-compat-delete-directory): Provide implementation for older
4207 (tramp-compat-file-attributes): Handle only
4208 `wrong-number-of-arguments' error.
4210 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4211 Add PRESERVE_SELINUX_CONTEXT.
4212 (tramp-fish-handle-delete-file): Add TRASH arg.
4213 (tramp-fish-handle-directory-files-and-attributes):
4214 Do not use `tramp-fish-handle-file-attributes.
4215 (tramp-fish-handle-file-local-copy)
4216 (tramp-fish-handle-insert-file-contents)
4217 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4219 * net/tramp-gvfs.el (top): Require url-util.
4220 (tramp-gvfs-mount-point): Remove.
4221 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4222 and `set-file-selinux-context'.
4223 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4224 (tramp-gvfs-handle-file-selinux-context)
4225 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4226 (with-tramp-dbus-call-method): Format trace message.
4227 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4228 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4229 Implement backup call, when operation on local files fails.
4230 Use progress reporter. Flush properties of changed files.
4231 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4232 Use `tramp-compat-delete-file'.
4233 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4234 (tramp-gvfs-handle-make-directory): Make more traces.
4235 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4236 (tramp-gvfs-url-file-name): Hexify file name in url.
4237 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4238 into account for the resulting file name.
4239 (tramp-gvfs-handler-askquestion): Preserve current message, in
4240 order to let progress reporter continue afterwards. (Bug#6257)
4241 Return dummy mountpoint, when the answer is "no".
4242 See `tramp-gvfs-maybe-open-connection'.
4243 (tramp-gvfs-handler-mounted-unmounted)
4244 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4245 attribute "default_location". Set "prefix" property.
4246 Handle default-location.
4247 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4248 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4249 exists. Raise an error, if not (due to a corresponding answer
4250 "no" in interactive questions, for example).
4251 Use `tramp-compat-funcall'.
4253 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4254 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4255 (tramp-imap-do-copy-or-rename-file)
4256 (tramp-imap-handle-insert-file-contents)
4257 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4258 (tramp-imap-handle-delete-file): Add TRASH arg.
4260 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4261 Add PRESERVE-SELINUX-CONTEXT.
4262 (tramp-smb-handle-copy-file)
4263 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4264 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4265 Use `with-progress-reporter'.
4266 (tramp-smb-handle-delete-file): Add TRASH arg.
4268 * net/tramp.el (tramp-methods): Move hostname to the end in all
4269 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4271 (tramp-verbose): Describe verbose level 9.
4272 (tramp-completion-function-alist)
4273 (tramp-file-name-regexp, tramp-chunksize)
4274 (tramp-local-coding-commands, tramp-remote-coding-commands)
4275 (with-connection-property, tramp-completion-mode-p)
4276 (tramp-action-process-alive, tramp-action-out-of-band)
4277 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4278 (tramp-exists-file-name-handler): Fix docstring.
4279 (tramp-remote-process-environment): Use `format' instead of
4280 `concat'. Protect version string by apostroph.
4281 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4283 (tramp-file-name-regexp-unified)
4284 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4285 not regard the volume letter as remote filename. (Bug#5447)
4286 (tramp-perl-file-attributes)
4287 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4288 (tramp-vc-registered-read-file-names): Read input as
4289 here-document, otherwise the command could exceed maximum length
4291 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4292 `set-file-selinux-context'.
4293 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4294 backtrace functions.
4295 (tramp-error-with-buffer): Don't show the connection buffer when
4296 we are in completion mode.
4297 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4298 (tramp-handle-file-selinux-context)
4299 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4300 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4302 (with-progress-reporter): New defmacro.
4303 (tramp-debug-outline-regexp): New defconst.
4304 (top, tramp-rfn-eshadow-setup-minibuffer)
4305 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4306 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4307 (tramp-completion-mode-p, tramp-check-for-regexp)
4308 (tramp-open-connection-setup-interactive-shell)
4309 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4310 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4311 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4312 Use `tramp-compat-funcall'.
4313 (tramp-handle-make-symbolic-link): Flush file properties.
4314 (tramp-handle-load, tramp-handle-file-local-copy)
4315 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4316 (tramp-handle-vc-registered, tramp-maybe-send-script)
4317 (tramp-find-shell): Use `with-progress-reporter'.
4318 (tramp-do-file-attributes-with-stat): Add space in format string,
4319 in order to work around a bug in pdksh. Reported by Gilles Pion
4321 (tramp-handle-verify-visited-file-modtime): Do not send a command
4322 when the connection is not established.
4323 (tramp-handle-set-file-times): Simplify the check for utc.
4324 (tramp-handle-directory-files-and-attributes)
4325 (tramp-get-remote-path): Use `copy-tree'.
4326 (tramp-completion-handle-file-name-all-completions): Ensure, that
4327 non remote files are still checked. Oops.
4328 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4329 Handle PRESERVE-SELINUX-CONTEXT.
4330 (tramp-do-copy-or-rename-file): Add progress reporter.
4331 (tramp-do-copy-or-rename-file-directly): Do not use
4332 `tramp-handle-file-remote-p'.
4333 (tramp-do-copy-or-rename-file-out-of-band):
4334 Use `tramp-compat-delete-directory'.
4335 (tramp-do-copy-or-rename-file-out-of-band)
4336 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4337 Use `format-spec-make'.
4338 (tramp-handle-delete-file): Add TRASH arg.
4339 (tramp-handle-dired-uncache): Flush directory cache, not only file
4341 (tramp-handle-expand-file-name)
4342 (tramp-completion-handle-file-name-all-completions)
4343 (tramp-completion-handle-file-name-completion):
4344 Use `tramp-connectable-p'.
4345 (tramp-handle-start-file-process): Set connection property "vec".
4346 Use it, in order to invalidate file caches. Check only for
4347 `remote-tty' process property.
4348 Implement tty setting. (Bug#4604, Bug#6360)
4349 (tramp-file-name-for-operation): Add `call-process-region' and
4350 `set-file-selinux-context'.
4351 (tramp-find-foreign-file-name-handler)
4352 (tramp-advice-make-auto-save-file-name)
4353 (tramp-set-auto-save-file-modes): Remove superfluous check for
4354 `stringp'. This is done inside `tramp-tramp-file-p'.
4355 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4356 operations when we are in completion mode. This gives the user
4357 the chance to correct the file name in the minibuffer.
4358 (tramp-completion-mode-p): Use `non-essential'.
4359 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4360 compatibility: Use `completion-ignore-case' if
4361 `read-file-name-completion-ignore-case' does not exist.
4362 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4363 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4365 (tramp-action-password): Hide password prompt before next run.
4366 (tramp-process-actions): Widen connection buffer for the trace.
4367 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4368 process property. Trace stty settings if `tramp-verbose' >= 9.
4369 Apply workaround for IRIX64 bug. Move argument of last
4370 `tramp-send-command' where it belongs to.
4371 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4372 front of `login-args'.
4373 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4374 on "/dev/null" instead of "/".
4375 (tramp-get-ls-command-with-dired): Make test for "--dired"
4377 (tramp-set-auto-save-file-modes): Adapt version check.
4378 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4379 (tramp-handle-process-file): Call the program in a subshell, in
4380 order to preserve working directory.
4381 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4382 `tramp-remote-sh' from `tramp-methods'.
4383 (tramp-get-ls-command): Make test for "--color=never" stronger.
4384 (tramp-check-for-regexp): Use (forward-line 1).
4386 * net/trampver.el: Update release number.
4388 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4390 * help.el (help-map): Bind `C-h P' to describe-package.
4392 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4394 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4395 when downloading archives.
4396 (describe-package-1): Add package commentary.
4397 (package-install-button-action): New function.
4398 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4399 (package-menu-view-commentary): Function removed.
4400 (package-list-packages-internal): Hide the `package' package too.
4402 2010-08-25 Kenichi Handa <handa@m17n.org>
4404 * language/misc-lang.el ("Arabic"): New language environment.
4405 Setup composition-function-table for Arabic characters.
4407 * international/fontset.el (setup-default-fontset): Fix typo for
4408 arabic OTF spec (fini->fina).
4410 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4412 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4415 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4417 * whitespace.el: Allow cleaning up blanks without blank
4418 visualization (Bug#6651). Adjust help window for
4419 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4420 instead of whitespace-line-column (from EmacsWiki). New version
4422 (whitespace-style): Added new value 'face. Adjust docstring.
4423 (whitespace-space, whitespace-hspace, whitespace-tab):
4424 Adjust foreground property face.
4425 (whitespace-line-column): Adjust docstring and type declaration.
4426 (whitespace-style-value-list, whitespace-toggle-option-alist)
4427 (whitespace-help-text): Adjust const initialization.
4428 (whitespace-toggle-options, global-whitespace-toggle-options):
4430 (whitespace-display-window, whitespace-interactive-char)
4431 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4432 (whitespace-help-scroll): New fun.
4434 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4436 * emacs-lisp/package.el (list-packages): Alias for
4437 package-list-packages.
4439 2010-08-24 Kevin Ryde <user42@zip.com.au>
4441 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4444 * progmodes/ruby-mode.el (ruby): Add defgroup.
4446 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4448 * progmodes/python.el: Add Ipython support (Bug#5390).
4449 (python-shell-prompt-alist)
4450 (python-shell-continuation-prompt-alist): New options.
4451 (python--set-prompt-regexp): New function.
4452 (inferior-python-mode, run-python, python-shell):
4453 Require ansi-color. Use python--set-prompt-regexp to set the comint
4454 prompt based on the Python interpreter.
4455 (python--prompt-regexp): New var.
4456 (python-check-comint-prompt)
4457 (python-comint-output-filter-function): Use it.
4458 (run-python): Use a pipe (Bug#5694).
4460 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4462 * progmodes/python.el (python-send-region): Send a different
4463 Python command if Ipython is in use.
4464 (python-check-version): Use a Python command to find the version.
4466 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4468 * mouse.el (mouse-yank-primary): Avoid setting primary when
4469 deactivating the mark (Bug#6872).
4471 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4473 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4474 with "else" (Bug#3991).
4476 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4478 * net/dbus.el: Accept UNIX domain sockets as bus address.
4479 (top): Don't initialize `dbus-registered-objects-table' anymore,
4480 this is done in dbusbind,c.
4481 (dbus-check-event): Adapt test for bus.
4482 (dbus-return-values-table, dbus-unregister-service)
4483 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4486 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4488 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4490 2010-08-22 Juri Linkov <juri@jurta.org>
4492 * simple.el (read-extended-command): New function with the logic
4493 for `completing-read' moved to Elisp from `execute-extended-command'.
4494 Use `function-called-at-point' in `minibuffer-default-add-function'
4495 to get a command name for M-n (bug#5364, bug#5214).
4497 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4499 * startup.el (command-line-1): Issue warning for ignored arguments
4500 --unibyte, etc (Bug#6886).
4502 2010-08-22 Leo <sdl.web@gmail.com>
4504 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4505 (ignore, bright, dim, keyword): Split list of nicknames before
4506 passing to rcirc-add-or-remove (Bug#6894).
4508 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4510 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4512 2010-08-22 Leo <sdl.web@gmail.com>
4514 Fix buffer-list rename&refresh after killing a buffer in ido.
4515 * ido.el: Revert Óscar's.
4516 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4517 Remember the buffers at head, rather than their name.
4518 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4520 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4521 Stefan Monnier <monnier@iro.umontreal.ca>
4523 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4524 extra backslash added to each line (bug#6890).
4526 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4528 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4530 2010-08-22 Glenn Morris <rgm@gnu.org>
4532 * menu-bar.el (menu-bar-games-menu): Add landmark.
4534 2010-08-22 Glenn Morris <rgm@gnu.org>
4536 * align.el (align-regexp): Make group and spacing arguments
4537 use the interactive defaults when non-interactive. (Bug#6698)
4539 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4540 expansion, so as not to need sendmail.
4541 (mail-text-start): Remove declaration.
4542 (rmail-retry-failure): Require sendmail.
4544 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4546 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4548 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4550 * progmodes/flymake.el (flymake-start-syntax-check-process):
4551 Use `start-file-process' in order to let it run also on remote hosts.
4553 2010-08-22 Kenichi Handa <handa@m17n.org>
4555 * files.el: Add `word-wrap' as safe local variable.
4557 2010-08-22 Glenn Morris <rgm@gnu.org>
4559 * woman.el (woman-translate): Case matters. (Bug#6849)
4561 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4563 * simple.el (kill-region): Doc fix (Bug#6787).
4565 2010-08-22 Glenn Morris <rgm@gnu.org>
4567 * calendar/diary-lib.el (diary-header-line-format):
4568 Fit it to the window, not the frame.
4570 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4572 * subr.el (ignore-errors): Add debug declaration.
4574 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4576 * whitespace.el (whitespace-color-off): Remove post-command-hook
4579 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4581 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4583 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4585 * cus-edit.el (custom-group-value-create): Add extra newline
4586 before end line (Bug#6876).
4588 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4590 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4591 when extending it. Before killing on the second click, check if
4592 the buffer is the correct one. Doc fix.
4593 (mouse-secondary-save-then-kill): Allow usage without first
4594 calling mouse-start-secondary, by defaulting to point. Don't save
4595 an empty secondary selection. Doc fix.
4597 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4599 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4600 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4602 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4603 Adjust initialization.
4604 (whitespace-bob-marker, whitespace-eob-marker)
4605 (whitespace-buffer-changed): New vars.
4606 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4607 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4608 (whitespace-post-command-hook, whitespace-display-char-on):
4610 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4611 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4613 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4615 * files.el (locate-file-completion-table): Only list the .el and .elc
4616 extensions if there's no other choice (bug#5955).
4618 * facemenu.el (facemenu-self-insert-data): New var.
4619 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4621 (facemenu-add-face): Use them.
4623 * simple.el (blink-matching-open): Obey forward-sexp-function.
4625 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4627 * simple.el (prog-mode-map): New var.
4628 (prog-indent-sexp): New command.
4630 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4632 * progmodes/prolog.el (smie): Require.
4634 * emacs-lisp/smie.el (smie-default-backward-token)
4635 (smie-default-forward-token): Strip properties.
4636 (smie-next-sexp): Be more careful with associative operators.
4637 (smie-forward-sexp-command): Generalize.
4638 (smie-backward-sexp-command): Simplify.
4639 (smie-closer-alist): New var.
4640 (smie-close-block): New command.
4641 (smie-indent-debug-log): New var.
4642 (smie-indent-offset-rule): Add a few more cases.
4643 (smie-indent-column): New function.
4644 (smie-indent-after-keyword): Use it.
4645 (smie-indent-keyword): Use it.
4646 Fix up the opener code's point position.
4647 (smie-indent-comment): Only applies at BOL.
4648 (smie-indent-debug): New command.
4650 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4651 declarations that are useful before running the macro.
4653 2010-08-18 Joakim Verona <joakim@verona.se>
4655 * image.el (imagemagick-types-inhibit): New variable.
4656 (imagemagick-register-types): New function.
4657 * image-mode.el (image-transform-properties): New function.
4658 (image-transform-set-scale, image-transform-fit-to-height)
4659 (image-transform-set-rotation, image-transform-set-resize)
4660 (image-transform-fit-to-width, image-transform-fit-to-height):
4662 (image-toggle-display-image): Support image transforms.
4664 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
4666 * image.el (create-animated-image): Don't add heuristic mask to image
4669 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
4671 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4672 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4674 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
4676 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4678 Font-lock '...' strings, plus various simplifications and fixes.
4679 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4680 (octave-font-lock-close-quotes): New function.
4681 (octave-font-lock-syntactic-keywords): New var.
4682 (octave-mode): Use it. Set beginning-of-defun-function.
4683 (octave-mode-map): Don't override the <foo>-defun commands.
4684 (octave-mode-menu): Pass it directly to easy-menu-define;
4685 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4686 (octave-block-match-alist): Fix up last change so that
4687 octave-close-block uses the more specific keyword.
4688 (info-lookup-mode): Silence byte-compiler.
4689 (octave-beginning-of-defun): Not interactive any more.
4691 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4692 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4693 (octave-completion-at-point-function): Make sure point is within
4695 (octave-reindent-then-newline-and-indent):
4696 Use reindent-then-newline-and-indent.
4697 (octave-add-octave-menu): Remove.
4699 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4701 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4702 (report-emacs-bug-can-use-xdg-email): New functions.
4703 (report-emacs-bug): Set can-xdg-email to result of
4704 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4705 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4708 * net/browse-url.el (browse-url-default-browser): Add cond
4709 for browse-url-xdg-open.
4710 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4712 2010-08-17 Glenn Morris <rgm@gnu.org>
4714 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4715 (c-fontify-recorded-types-and-refs): Define for compiler.
4716 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4719 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4722 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
4724 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4726 (tramp-handle-process-file): Call the program in a subshell, in
4727 order to preserve working directory.
4728 (tramp-action-password): Hide password prompt before next run.
4729 (tramp-process-actions): Widen connection buffer for the trace.
4731 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4733 * net/rcirc.el (rcirc-log-process-buffers): New option.
4734 (rcirc-print): Use it.
4735 (rcirc-generate-log-filename): New function.
4736 (rcirc-log-filename-function): Change default to
4737 rcirc-generate-log-filename (Bug#6828).
4739 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
4741 * simple.el (deactivate-mark): If select-active-regions is `only',
4742 only set selection for temporarily active regions.
4744 * cus-start.el: Change defcustom for select-active-regions.
4746 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4748 * mouse.el (mouse--drag-set-mark-and-point): New function.
4749 (mouse-drag-track): Use LOCATION arg to push-mark.
4750 Use mouse--drag-set-mark-and-point to take click-count into
4751 consideration when updating point and mark (Bug#6840).
4753 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
4755 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4756 Give the Ruby rule a lower priority than Gnu (Bug#6778).
4758 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
4760 * font-lock.el (lisp-font-lock-keywords-2):
4761 Add combine-after-change-calls, condition-case-no-debug,
4762 with-demoted-errors, and with-silent-modifications (Bug#6025).
4764 2010-08-14 Kevin Ryde <user42@zip.com.au>
4766 * emacs-lisp/copyright.el (copyright-update-year)
4767 (copyright-update): Temporary switch-to-buffer to ensure the
4768 buffer change being queried is visible (Bug#5394).
4770 2010-08-14 Tom Tromey <tromey@redhat.com>
4772 * progmodes/etags.el (tags-file-name): Mark safe if stringp
4775 2010-08-14 Eli Zaretskii <eliz@gnu.org>
4777 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4780 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
4782 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4783 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4784 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4785 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4786 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4787 Call menu-bar-set-tool-bar-position.
4789 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4791 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4792 comment style (bug#6834).
4793 * progmodes/scheme.el (scheme-mode-syntax-table):
4794 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4795 "b" flag in "' 14b" syntax.
4797 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4798 for (un)commenting the region and performing completion.
4799 (octave-mode-menu): Use standard commands for help and completion.
4800 (octave-mode-syntax-table): Support %{..%} comments (sort of).
4801 (octave-mode): Use define-derived-mode.
4802 Set completion-at-point-functions and don't set columns.
4803 Don't disable adaptive-fill-regexp.
4804 (octave-describe-major-mode, octave-comment-region)
4805 (octave-uncomment-region, octave-comment-indent)
4806 (octave-indent-for-comment): Remove.
4807 (octave-indent-calculate): Rename from calculate-octave-indent.
4808 (octave-indent-line, octave-fill-paragraph): Update caller.
4809 (octave-initialize-completions): No need to make an alist.
4810 (octave-completion-at-point-function): New function.
4811 (octave-complete-symbol): Use it.
4812 (octave-insert-defun): Use define-skeleton.
4814 * progmodes/octave-mod.el (octave-mode): Set comment-add.
4815 (octave-mode-map): Use comment-dwim (bug#6829).
4817 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
4819 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4820 indentation of inserted comment.
4822 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
4824 * faces.el (region): Add type gtk that uses gtk colors.
4826 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4827 Handle theme-name change.
4829 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
4831 * progmodes/sql.el: Version 2.5
4832 (sql-product-alist): Add :prompt-cont-regexp property for several
4834 (sql-prompt-cont-regexp): New variable.
4835 (sql-output-newline-count, sql-output-by-send):
4836 New variables. Record number of newlines in input text.
4837 (sql-send-string): Handle multiple filters and count newlines.
4838 (sql-send-magic-terminator): Count terminator newline.
4839 (sql-interactive-remove-continuation-prompt): Filters output to
4840 remove continuation prompts; one for each newline.
4841 (sql-interactive-mode): Set up new variables, prompt regexp and
4843 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4844 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4846 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4848 * emacs-lisp/pcase.el: New file.
4850 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
4852 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4853 as here-document, otherwise the command could exceed maximum
4854 length of command line.
4855 (tramp-handle-vc-registered): Call script accordingly.
4856 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4858 2010-08-10 Kenichi Handa <handa@m17n.org>
4860 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4863 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
4865 * emacs-lisp/package.el (package-version-split)
4866 (package--version-first-nonzero, package-version-compare):
4868 (package-directory-list, package-load-all-descriptors)
4869 (package--built-in, package-activate, define-package)
4870 (package-installed-p, package-compute-transaction)
4871 (package-read-all-archive-contents)
4872 (package--add-to-archive-contents, package-buffer-info)
4873 (package-tar-file-info, package-list-packages-internal):
4874 Use version-to-list and version-list-*.
4876 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4877 Use version-to-list.
4878 (package-upload-buffer-internal): Use version-list-<=.
4880 2010-08-09 Kenichi Handa <handa@m17n.org>
4882 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4885 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
4887 * tutorial.el (tutorial--default-keys): C-d is now bound to
4888 delete-forward-char (Bug#6826).
4890 * mouse.el (mouse-drag-track): Remove accidentally-removed check
4891 for `double' value of mouse-1-click-follows-link (Bug#6807).
4893 2010-08-08 Johan Bockgård <bojohan@gnu.org>
4895 * replace.el (replace-highlight): Bind isearch-forward and
4896 isearch-error, ensuring that highlighting is updated if the user
4897 switches the search direction (Bug#6808).
4899 * isearch.el (isearch-lazy-highlight-forward): New var.
4900 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4901 (isearch-lazy-highlight-update): Use it.
4903 2010-08-08 Kenichi Handa <handa@m17n.org>
4905 * international/mule.el (define-charset): Store NAME as :base property.
4906 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4907 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4908 current priority. Force using the designation of the specific
4909 charset by adding `charset' text property. Improve the whole algorithm.
4911 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4913 * emulation/pc-select.el (pc-selection-mode-hook)
4914 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4915 (pc-selection-mode): Fix typos in docstrings.
4917 2010-08-08 Kenichi Handa <handa@m17n.org>
4919 * language/cyrillic.el: Don't add "microsoft-cp1251" to
4920 ctext-non-standard-encodings-alist here.
4922 * international/mule.el (ctext-non-standard-encodings-alist):
4923 Add "koi8-r" and "microsoft-cp1251".
4924 (ctext-standard-encodings): New variable.
4925 (ctext-non-standard-encodings-table): List only elements for
4926 non-standard encodings.
4927 (ctext-pre-write-conversion): Adjust for the above change.
4928 Check ctext-standard-encodings.
4930 * international/mule-conf.el (compound-text): Doc fix.
4931 (ctext-no-compositions): Doc fix.
4932 (compound-text-with-extensions): Doc fix.
4934 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4936 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4938 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4940 * progmodes/which-func.el (which-func-format): Split help-echo text
4941 into lines, like other mode-line tooltips.
4943 * server.el (server-start): When using TCP sockets, force IPv4
4944 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
4946 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4948 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4950 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4952 * term.el (term-delimiter-argument-list): Reflow docstring.
4953 (term-read-input-ring, term-write-input-ring, term-send-input)
4954 (term-bol, term-erase-in-display, serial-supported-or-barf):
4955 Fix typos in docstrings.
4957 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4959 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4961 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4963 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4965 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
4967 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4968 Fix typo in docstring (bug#6747).
4970 2010-08-08 Leo <sdl.web@gmail.com>
4972 * eshell/esh-io.el (eshell-get-target): Better detection of
4973 read-only file (Bug#6762).
4975 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4977 * align.el (align-default-spacing): Doc fix.
4978 (align-region-heuristic, align-regexp): Fix typos in docstrings.
4980 2010-08-08 Stephen Peters <speters@itasoftware.com>
4982 * calendar/icalendar.el
4983 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
4984 (icalendar--get-weekday-numbers): New.
4985 (icalendar--convert-recurring-to-diary): Handle multiple byday
4986 values in weekly rules. (Bug#6766)
4988 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
4990 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4991 (icalendar--create-uid, icalendar-export-region)
4992 (icalendar--parse-summary-and-rest): Code formatting.
4994 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4996 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4997 to italicize headers.
4998 (calc-highlight-selections-with-faces): New variable.
4999 (calc-selected-face, calc-nonselected-face): New faces.
5001 * calc/calccomp.el (math-comp-highlight-string): Use
5002 `calc-highlight-selections-with-faces' to determine how to highlight
5005 * calc/calc-sel.el (calc-show-selections): Change message to when
5006 using faces to highlight selections.
5008 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5010 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5011 Add SQLite 3 keywords, functions and datatypes.
5012 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5015 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5017 * simple.el (select-active-regions): Move to keyboard.c.
5018 (deactivate-mark): Used saved-region-selection.
5019 (select-active-region): Function removed.
5020 (activate-mark, set-mark, push-mark-command)
5021 (handle-shift-selection): Don't call it.
5022 (keyboard-quit): Avoid adding the region to the window selection.
5024 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5025 select-active-regions implementation.
5026 (mouse-yank-at-click): Doc fix.
5028 * cus-start.el: Add custom declaration for select-active-regions.
5030 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5032 * simple.el (delete-forward-char): Doc fix.
5034 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5035 after reading the tutorial.
5037 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5039 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5040 Fix for the case that a C style comment has its delimiters alone on
5041 their respective lines.
5043 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5045 * net/tramp.el (tramp-handle-start-file-process): Set connection
5047 (tramp-process-sentinel): Use it for flushing the cache.
5048 We cannot do it via the process buffer, the buffer could be deleted
5049 already when running the sentinel.
5051 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5053 * comint.el (comint-mode): Make directory tracking functions
5054 functional on remote files. (Bug#6764)
5056 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5058 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5060 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5062 * emacs-lisp/find-gc.el (find-gc-source-files):
5063 Rename unexec.c => unexcoff.c.
5065 * emacs-lisp/authors.el (authors-fixed-entries):
5066 Rename unexec.c => unexcoff.c.
5068 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5070 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5071 cache, not only file cache.
5072 (tramp-process-sentinel): New defun.
5073 (tramp-handle-start-file-process): Use it, in order to invalidate
5076 2010-08-03 Leo <sdl.web@gmail.com>
5078 * server.el (server-start): Simplify loop.
5080 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5082 * frame.el (screen-height, screen-width, set-screen-width)
5083 (set-screen-height): Remove ancient compatibility aliases.
5085 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5086 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5088 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5089 that change current buffer.
5091 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5093 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5094 beginning of the string. Use `string-match-p'. (Bug#6765)
5096 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5098 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5100 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5102 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5103 (package--builtins): Tweak descriptions.
5104 (package-print-package): Upcase descriptions if necessary.
5105 Show all built-in packages in font-lock-builtin-face.
5106 (package-list-packages-internal): Omit "emacs" package.
5107 Show status of built-in packages as "built-in".
5109 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5111 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5112 before killing to preserve the primary selection (Bug#6701).
5114 * term/x-win.el (x-select-text): Doc fix.
5116 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5118 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5119 (objc-font-lock-extra-types):
5120 * progmodes/cc-mode.el (c-basic-common-init):
5121 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5122 (c++-make-template-syntax-table)
5123 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5124 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5125 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5126 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5127 * progmodes/cc-fonts.el (c-make-inverse-face)
5128 (c-basic-matchers-after):
5129 * progmodes/cc-engine.el (c-forward-keyword-clause)
5130 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5131 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5132 (c-guess-continued-construct, c-guess-basic-syntax):
5133 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5134 The above functions were modified or created.
5136 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5138 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5140 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5142 * files.el (bidi-paragraph-direction): Define safe local values.
5144 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5145 language-info-alist. Remove outdated FIXME in a comment.
5147 2010-07-31 Alan Mackenzie <acm@muc.de>
5149 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5150 Auto-fill broken in C/C++ modes.
5152 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5154 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5155 (menu-bar-showhide-tool-bar-menu-customize-disable)
5156 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5157 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5158 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5159 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5160 make a menu for Options => toolbar that can move it.
5162 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5164 * emacs-lisp/package-x.el (package--make-rss-entry):
5165 (package-maint-add-news-item, package--update-news)
5166 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5168 * emacs-lisp/package.el (package-archive-url): Rename from
5170 (package-install): Doc fix.
5171 (package-download-single, package-download-tar, package-install)
5172 (package-menu-view-commentary): Callers changed.
5174 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5176 * net/tramp.el (tramp-handle-start-file-process): Check only for
5177 `remote-tty' process property.
5178 (tramp-open-shell): Don't check for tty.
5179 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5182 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5185 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5187 * emacs-lisp/package.el (package-load-list, package-archives)
5188 (package-archive-contents, package-user-dir)
5189 (package-directory-list, package--builtins, package-alist)
5190 (package-activated-list, package-obsolete-alist): Mark as risky.
5192 2010-07-28 Phil Hagelberg <phil@evri.com>
5194 Add support for non-default package repositories.
5195 * emacs-lisp/package.el (package-archive-base): Var deleted.
5196 (package-archives): New variable.
5197 (package-archive-contents): Doc fix.
5198 (package-load-descriptor): Do nothing if descriptor file is missing.
5199 (package--write-file-no-coding): New function.
5200 (package-unpack-single): Use it.
5201 (package-archive-id): New function.
5202 (package-download-single, package-download-tar)
5203 (package-menu-view-commentary): Use it.
5204 (package-installed-p): Make second argument optional.
5205 (package-read-all-archive-contents): New function.
5206 (package-initialize): Use it.
5207 (package-read-archive-contents): Add ARCHIVE argument.
5208 (package--add-to-archive-contents): New function.
5209 (package-install): Don't call package-read-archive-contents.
5210 (package--download-one-archive): Store archive file in a
5211 subdirectory of package-user-dir.
5212 (package-menu-execute): Remove spurious line movement.
5214 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5216 * cus-start.el (tool-bar-style): Add text-image-horiz.
5218 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5220 * progmodes/gud.el (gud-common-init): Check for remoteness of
5221 `file', and not of `default-directory'.
5223 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5225 * net/tramp.el (tramp-methods): Move hostname to the end in all
5226 ssh `tramp-login-args'.
5227 (tramp-verbose): Describe verbose level 9.
5228 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5229 (tramp-open-connection-setup-interactive-shell): Trace stty
5230 settings if `tramp-verbose' >= 9.
5231 (tramp-handle-start-file-process): Implement tty setting.
5232 (Bug#4604, Bug#6360)
5234 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5235 `tramp-verbose' to 9.
5237 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5239 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5240 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5241 Remove references to package `lisp-re' (bug#4369).
5243 2010-07-27 Tom Tromey <tromey@redhat.com>
5245 * progmodes/js.el (js-mode):
5246 * progmodes/make-mode.el (makefile-mode):
5247 * progmodes/simula.el (simula-mode):
5248 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5250 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5252 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5254 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5255 (display-time-world-buffer-name, display-time-world-mode-map):
5256 Fix typos in docstrings.
5258 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5260 * image-mode.el (image-display-size): New function.
5261 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5262 (image-mode-fit-frame): Use it (Bug#6639).
5264 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5266 * dired.el (dired-buffers-for-dir): Handle list values of
5267 dired-directory (Bug#6636).
5269 2010-07-26 Sam Steingold <sds@gnu.org>
5271 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5272 Do not call `x-get-selection' the second time, reuse the value.
5274 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5276 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5277 which consist of control chars only. Suggested by Richard Stallman.
5279 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5281 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5282 exists before passing an error to find-file-not-found-functions
5285 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5287 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5288 Remove leading nil element, adjust values.
5289 (tetris-shapes, tetris-shape-scores):
5290 Change representation of shapes and remove some redundancy.
5291 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5292 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5293 Adjust for working with new representation of shapes.
5294 (tetris-shape-rotations): New function.
5295 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5296 (tetris-rotate-prev, tetris-rotate-next):
5297 Adjust for working with the new version of tetris-test-shape.
5299 2010-07-23 Markus Triska <markus.triska@gmx.at>
5301 * progmodes/ps-mode.el: Use comint (bug#5954).
5302 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5303 (ps-mode-other-newline): Simplify.
5304 (ps-run-mode): Derive from comint-mode instead of
5305 fundamental-mode, yielding input history etc.
5306 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5307 (ps-run-send-string): Adapt for comint-mode.
5308 (ps-run-newline): Remove now unneeded function.
5310 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5312 * net/tramp.el (tramp-methods): Move hostname to the end in all
5313 plink `tramp-login-args'.
5315 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5317 * net/tramp.el (tramp-open-shell): New defun.
5318 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5321 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5323 * net/tramp.el (tramp-file-name-regexp-unified)
5324 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5325 not regard the volume letter as remote filename. (Bug#5447)
5327 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5329 * custom.el (custom-declare-variable): Give a clearer error message
5330 when the docstring is missing (bug#6476).
5332 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5334 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5335 (sql-login-params): New widget definition.
5336 (sql-oracle-login-params, sql-mysql-login-params)
5337 (sql-solid-login-params, sql-sybase-login-params)
5338 (sql-informix-login-params, sql-ingres-login-params)
5339 (sql-ms-login-params, sql-postgres-login-params)
5340 (sql-interbase-login-params, sql-db2-login-params)
5341 (sql-linter-login-params): Use it.
5342 (sql-sqlite-login-params): Use it; Define "database" parameter as
5344 (sql-sqlite-program): Change to "sqlite3".
5345 (sql-comint-sqlite): Make sure database name is complete.
5346 (sql-for-each-login): New function.
5347 (sql-connect, sql-save-connection): Use it.
5348 (sql-get-login-ext): New function.
5349 (sql-get-login): Use it.
5350 (sql-make-alternate-buffer-name): Handle :file parameters.
5352 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5354 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5355 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5357 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5359 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5361 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5363 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5365 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5367 * net/tramp.el (tramp-get-ls-command)
5368 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5371 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5373 * progmodes/sql.el: Version 2.3.
5374 (sql-connection-alist): Changed keys from symbols to strings;
5375 enhanced the widget definition.
5376 (sql-mode-menu): Added submenu to select connections.
5377 (sql-interactive-mode-menu): Added "Save Connection" item.
5378 (sql-add-product): Fixed menu item.
5379 (sql-get-product-feature): Improved error handling.
5380 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5381 (sql-make-alternate-buffer-name): Simplified.
5382 (sql-product-interactive): Handle missing product.
5383 (sql-connect): Support string keys, minor improvements.
5384 (sql-save-connection): New function.
5385 (sql-connection-menu-filter): New function.
5387 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5389 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5390 (tramp-open-connection-setup-interactive-shell):
5391 Apply workaround for IRIX64 bug. Move argument of last
5392 `tramp-send-command' where it belongs to.
5394 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5396 * net/tramp.el (tramp-perl-file-attributes)
5397 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5398 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5399 front of `login-args'.
5401 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5403 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5404 Set `show-trailing-whitespace' to nil.
5405 (display-time-world-display): Simplify.
5407 2010-07-18 Alan Mackenzie <acm@muc.de>
5409 Enhance `c-file-style' in file/directory local variables.
5410 * progmodes/cc-mode.el (c-count-cfss): New function.
5411 (c-before-hack-hook): Call `c-set-style' differently according to
5412 whether c-file-style was set in file or directory local
5415 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5417 * progmodes/sql.el: Version 2.2.
5418 (sql-product, sql-user, sql-database, sql-server, sql-port):
5419 Use defcustom :safe keyword rather than putting safe-local-variable
5421 (sql-password): Use defcustom :risky keyword rather than putting
5422 risky-local-variable property.
5423 (sql-oracle-login-params, sql-sqlite-login-params)
5424 (sql-solid-login-params, sql-sybase-login-params)
5425 (sql-informix-login-params, sql-ingres-login-params)
5426 (sql-ms-login-params, sql-postgres-login-params)
5427 (sql-interbase-login-params, sql-db2-login-params)
5428 (sql-linter-login-params): Add `port' option.
5429 (sql-get-product-feature): Added NO-INDIRECT parameter.
5430 (sql-comint-oracle, sql-comint-sybase)
5431 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5432 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5433 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5434 (sql-comint-linter): Renamed sql-connect-* functions to
5436 (sql-product-alist, sql-mode-menu): Renamed as above and
5437 :sqli-connect-func to :sqli-comint-func.
5438 (sql-connection): New variable.
5439 (sql-interactive-mode): Set it.
5440 (sql-connection-alist): New variable.
5441 (sql-connect): New function.
5442 (sql--alt-buffer-part, sql--alt-if-not-empty)
5443 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5445 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5447 * image-mode.el (image-bookmark-make-record): Do not set context
5448 in an image (Bug#6650).
5450 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5452 * simple.el (select-active-region): New function.
5453 (push-mark-command, set-mark, activate-mark)
5454 (handle-shift-selection): Use it.
5455 (deactivate-mark): Don't check for size of region.
5457 * mouse.el (mouse-drag-track): Use select-active-region.
5459 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5461 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5464 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5466 * term/x-win.el (x-select-enable-primary): Change default to nil.
5467 (x-select-enable-clipboard): Add :version keyword.
5469 * mouse.el (mouse-drag-copy-region):
5470 * simple.el (select-active-regions): Likewise.
5472 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5474 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5475 (vc-coding-system-for-diff): Use it to decide whether to inherit
5476 from the file the EOL format for reading the diffs of that file.
5479 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5481 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5482 unibyte, so compressed attachments are not compressed again.
5484 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5486 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5487 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5488 (tramp-find-shell): Simplify setting connection property.
5489 (tramp-get-ls-command): Make test for "--color=never" stronger.
5491 2010-07-15 Simon South <ssouth@member.fsf.org>
5493 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5494 blocks within record declarations (i.e. variant parts) correctly.
5496 2010-07-15 Simon South <ssouth@member.fsf.org>
5498 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5499 over literal tokens when parsing so newlines aren't "absorbed" by
5500 single-line comments. Corrects the indentation of case blocks
5501 that have a comment on the first line.
5503 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5505 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5506 by Drew Adams (Bug#5504).
5508 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5510 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5511 now that Unicode is used (Bug#6594).
5513 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5515 * term/x-win.el (x-select-enable-clipboard): Default to t.
5516 (x-initialize-window-system): Don't overwrite Paste menu item.
5518 * simple.el (select-active-regions): Default to t.
5519 (push-mark-command): Don't overwrite primary with empty string.
5521 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5522 (mouse-drag-copy-region): Default to nil.
5524 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5525 Cut/Copy/Paste menu bar items.
5527 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5529 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5530 Patch applied by Karl Fogel.
5532 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5533 and `bookmark-current-buffer' if they have been already set in
5534 another buffer (e.g gnus-art).
5536 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5537 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5539 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5541 * bookmark.el (bookmark-make-record-default): Allow unneeded
5542 information to be omitted from the record.
5544 Adjust declarations and calls:
5546 * info.el (bookmark-make-record-default): Adjust declaration.
5547 (Info-bookmark-make-record): Adjust call.
5549 * woman.el (bookmark-make-record-default): Adjust declaration.
5550 (woman-bookmark-make-record): Adjust call.
5552 * man.el (bookmark-make-record-default): Adjust declaration.
5553 (Man-bookmark-make-record): Adjust call.
5555 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5557 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5559 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5561 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5562 This is also from Thierry Volpiatto's patch in bug #6444. However,
5563 because it was extraneous to the functional change in that patch,
5564 and causes a re-indendation, I am committing it separately.
5566 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5568 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5569 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5570 Patch applied by Karl Fogel (Bug#6444).
5572 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5574 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5576 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5578 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5579 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5580 (ns-alternatives-map): Change S-tab binding to backtab
5583 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5586 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5588 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5591 * language/tv-util.el (tai-viet-re): Remove format.
5593 2010-07-12 Kenichi Handa <handa@m17n.org>
5595 * language/hebrew.el: Remove no-byte-compile declaration.
5596 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5597 composition-function-table for 3-character looking back.
5598 (hebrew-font-get-precomposed): New function.
5599 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5601 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5603 * mouse.el (mouse-drag-track): Handle select-active-regions
5606 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5608 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5609 empty argument to gvfs-copy.
5611 2010-07-10 Glenn Morris <rgm@gnu.org>
5613 * calendar/calendar.el (calendar-week-end-day): New function.
5614 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5615 Respect calendar-week-start-day. (Bug#6606)
5616 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5617 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5618 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5619 respect calendar-week-start-day.
5621 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
5623 * simple.el (use-region-p): Doc fix (Bug#6607).
5625 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5627 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5628 Add regexps for cucumber and ruby.
5630 2010-07-08 Daiki Ueno <ueno@unixuser.org>
5632 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5633 (epa-file-insert-file-contents): Hack to prevent
5634 find-file from opening empty buffer when decryption failed
5637 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
5639 * textmodes/ispell.el (ispell-alternate-dictionary):
5640 Use file-readable-p.
5641 Return nil if no word-list is found at default locations.
5642 (ispell-complete-word-dict): Default to nil.
5643 (ispell-command-loop): Use 'word-list' when using lookup-words.
5644 (lookup-words): Use ispell-complete-word-dict or
5645 ispell-alternate-dictionary. Check for word-list availability
5646 and handle errors if needed with better messages (Bug#6539).
5647 (ispell-complete-word): Use ispell-complete-word-dict or
5648 ispell-alternate-dictionary.
5650 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
5652 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5653 builtins (BufferError, BytesWarning, WindowsError; callables
5654 bin, bytearray, bytes, format, memoryview, next, print; __package__).
5656 2010-07-07 Glenn Morris <rgm@gnu.org>
5658 * play/zone.el (top-level): Do not require timer, tabify, or cl.
5659 (zone-shift-left): Ignore intangibility, and any errors from
5661 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
5662 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5663 deleting, and copying text properties.
5664 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5665 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5666 to point-max is hard.
5667 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5668 (zone-fill-out-screen): Ignore intangibility.
5670 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
5672 * menu-bar.el (menu-bar-mode):
5673 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5676 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5677 word/line selection (Bug#6565).
5679 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
5681 * net/dbus.el (dbus-send-signal): Declare function.
5683 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
5685 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5686 (dbus-register-property): New optional argument EMITS-SIGNAL.
5687 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5689 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
5691 * mouse.el (mouse-drag-overlay): Variable deleted.
5692 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5693 (mouse--remap-link-click-p): New function.
5694 (mouse-drag-track): Handle dragging by using temporary Transient
5695 Mark mode, instead of a special overlay.
5696 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5699 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5702 2010-07-02 Juri Linkov <juri@jurta.org>
5704 * autoinsert.el (auto-insert-alist): Fix readability
5705 by using dotted pair notation for lambda.
5707 2010-07-02 Juri Linkov <juri@jurta.org>
5709 * faces.el (read-face-name): Rename arg `string-describing-default'
5710 to `default'. Doc fix. Display the default value in quotes
5711 in the prompt. With empty input, return the `default' arg,
5712 unless the default value is a string (in which case return nil).
5713 (describe-face): Replace the string `default' arg of `read-face-name'
5714 with the symbol `default'.
5716 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
5718 * emulation/viper-cmd.el (viper-delete-backward-char)
5719 (viper-del-backward-char-in-insert)
5720 (viper-del-backward-char-in-replace, viper-change)
5721 (viper-backward-indent): Replace delete-backward-char with
5722 delete-char (Bug#6552).
5724 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
5726 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5728 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5730 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5731 argument passed to frame-creation-function (Bug#5378).
5733 * faces.el (x-handle-named-frame-geometry)
5734 (x-handle-reverse-video, x-create-frame-with-faces)
5735 (face-set-after-frame-default, tty-create-frame-with-faces):
5736 Don't separately consult default-frame-alist. It is now passed as the
5739 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
5741 * startup.el (command-line): Don't call tool-bar-setup in a
5744 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5746 * ruler-mode.el (ruler--save-header-line-format): New fun.
5747 (ruler-mode): Use it as a setter function, so as not to overwrite
5748 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5750 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
5752 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
5753 (vc-root-diff, vc-print-root-log, vc-log-incoming)
5754 (vc-log-outgoing): Use it.
5755 (vc-diff-internal): Set diff-vc-backend.
5757 * vc/diff-mode.el (diff-vc-backend): New var.
5759 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
5761 * dynamic-setting.el (font-setting-change-default-font):
5762 Remove call to message.
5764 2010-06-28 Kenichi Handa <handa@m17n.org>
5766 * international/quail.el (quail-insert-kbd-layout): Fix the
5767 showing of untranslated characters.
5769 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
5771 * simple.el (delete-active-region): New option.
5772 (delete-backward-char): Implement in Lisp.
5773 (delete-forward-char): New command.
5775 * mouse.el (mouse-region-delete-keys): Deleted.
5776 (mouse-show-mark): Simplify.
5778 * bindings.el (global-map): Bind delete and DEL, the former to
5779 delete-forward-char.
5781 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
5783 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5784 (ruby-mode): Bind indent-line-function (Bug#5119).
5786 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5788 * startup.el (command-line): Recognize "0" X resource value.
5790 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
5792 * startup.el (command-line): Use X resources to set the value of
5793 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5795 * menu-bar.el (menu-bar-mode):
5796 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5797 Set init-value to t.
5799 * frame.el (frame-notice-user-settings): Don't change
5800 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5801 vice versa (Bug#2249).
5803 2010-06-26 Eli Zaretskii <eliz@gnu.org>
5805 * w32-fns.el (w32-convert-standard-filename): Doc fix.
5807 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
5809 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5810 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5812 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5813 default directories are expanded (Bug#6143).
5815 2010-06-24 Juri Linkov <juri@jurta.org>
5817 * minibuffer.el (completions-format): Change default from nil to
5818 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
5820 2010-06-24 Juri Linkov <juri@jurta.org>
5822 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5823 buffer-locally to lambda that re-runs the vc diff command.
5826 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
5828 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5829 echo area is in use (Bug#3412).
5831 2010-06-22 Glenn Morris <rgm@gnu.org>
5833 * textmodes/texinfmt.el (texinfo-format-region)
5834 (texinfo-raise-lower-sections, texinfo-format-separate-node)
5835 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5836 (texinfo-format-option, texinfo-noindent):
5837 Use line-beginning-position and line-end-position.
5839 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5840 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5841 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5844 2010-06-21 Karl Fogel <kfogel@red-bean.com>
5846 * play/zone.el (zone-fall-through-ws): Fix next-line ->
5847 forward-line fallout.
5849 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
5851 * mouse.el (mouse-appearance-menu): Add docstring.
5853 * help.el (describe-key): Print up-event using key-description.
5855 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
5857 * net/zeroconf.el (zeroconf-resolve-service)
5858 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5859 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5861 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
5863 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5865 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
5867 Avoid displaying files with a nil state in vc-dir.
5868 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5869 cases that cause insertion.
5870 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5873 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
5875 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5877 2010-06-29 Leo <sdl.web@gmail.com>
5879 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
5881 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5883 * generic-x.el (bat-generic-mode): Fix regexp for command line
5884 switches (Bug#5719).
5886 2010-06-27 Masatake YAMATO <yamato@redhat.com>
5888 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5889 of nconc to avoid pure storage error (Bug#6239).
5891 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
5893 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5894 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5895 bindings of bookmark-automatically-show-annotations (Bug#6515).
5897 2010-06-25 Eli Zaretskii <eliz@gnu.org>
5899 * arc-mode.el (archive-zip-extract): Don't quote the file name on
5900 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
5902 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
5904 * comint.el (make-comint, make-comint-in-buffer): Mention return
5905 value in the docstrings. (Bug#6498)
5907 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
5909 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5910 since it is not present when using some non-default switches.
5912 2010-06-23 Karl Fogel <kfogel@red-bean.com>
5914 * simple.el (compose-mail): Fix doc string to refer to
5915 `compose-mail-user-agent-warnings', instead of to the
5916 nonexistent `compose-mail-check-user-agent'.
5918 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
5920 Fix an indentation bug:
5922 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5923 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5926 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5927 (c-clear->-pair-props-if-match-before): now return t when they've
5928 cleared properties, nil otherwise.
5929 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5930 by taking account of the existing value.
5932 * progmodes/cc-defs.el
5933 (c-clear-char-property-with-value-function): Fix this to clear the
5934 property rather than overwriting it with nil.
5936 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
5938 * emacs-lisp/package.el (package-print-package): Add link to
5939 package description via describe-package.
5940 (describe-package-1): List package requirements. Add button to
5941 perform installation.
5942 (package-menu-describe-package): New command.
5944 * help-mode.el (help-package): New button type.
5946 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
5948 * emacs-lisp/package.el: Move package-list-packages binding to
5950 (describe-package, describe-package-1, package--dir): New funs.
5951 (package-activate-1): Use package--dir.
5953 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5955 * help-mode.el (help-package-def): New button type.
5957 * menu-bar.el: Move package-list-packages binding here from
5960 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
5962 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
5964 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5966 * emacs-lisp/edebug.el (edebug-read-list):
5967 Phase out old-style backquotes.
5969 2010-06-17 Juri Linkov <juri@jurta.org>
5971 * help-mode.el (help-mode): Set buffer-local variable
5972 revert-buffer-function to help-mode-revert-buffer.
5973 (help-mode-revert-buffer): New function.
5975 * info.el (Info-revert-find-node): Check for major-mode Info-mode
5976 before popping to "*info*" (like in other Info functions).
5977 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
5978 old-history-forward. Pop to old-buffer-name or "*info*" to
5979 recreate the killed buffer. Set Info-history-forward from
5980 old-history-forward.
5981 (Info-breadcrumbs-depth): Add :group and :version.
5983 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
5985 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5987 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
5989 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5990 for languages like Portuguese with pt_{BR,PT} and no plain pt.
5992 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
5994 * emacs-lisp/package.el (package-menu-mode-map):
5995 Move initialization into declaration.
5997 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5999 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6001 * emacs-lisp/package.el (package-archive-base): Point to
6003 (package-enable, package-load-list): New defcustoms.
6004 (package-user-dir, package-directory-list): Turn into defcustoms.
6005 Don't include package-user-dir in package-directory-list.
6006 (package--builtins-base): Don't include Emacs as a "package".
6007 (package-subdirectory-regexp): New var.
6008 (package-load-all-descriptors, package-compute-transaction)
6009 (package-download-transaction): Obey package-load-list.
6010 (package-activate-1): Rename from package-do-activate.
6011 (package-list-packages-internal): Check package-load-list.
6012 (package-load-descriptor, package-generate-autoloads)
6013 (package-unpack, package-unpack-single)
6014 (package--read-archive-file, package-delete):
6015 Use expand-file-name.
6017 * emacs-lisp/package-x.el: New file. Package uploading
6018 functionality split out from package.el.
6020 * startup.el (command-line): Load packages after reading init file.
6022 2010-06-17 Tom Tromey <tromey@redhat.com>
6024 * emacs-lisp/package.el: New file.
6026 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6028 Fix vc-annotate for renamed files when using Git.
6029 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6030 ls-files. Doe not pass the object as a file name to cat-file, it
6032 (vc-git-annotate-command): Pass the file name using -- to avoid
6033 ambiguity with the revision.
6034 (vc-git-previous-revision): Pass a relative file name.
6036 2010-06-22 Glenn Morris <rgm@gnu.org>
6038 * progmodes/js.el (js-mode-map): Use standard capitalization and
6039 ellipses for menu entries.
6041 * wid-edit.el (widget-complete): Doc fix.
6043 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6045 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6047 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6049 Fix annotating other revisions for renamed files in vc-annotate.
6050 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6051 VC backend. Use it when non-nil.
6052 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6055 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6056 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6057 Do not pass the file name to the 'previous-revision call when we
6058 don't want a file diff. (Bug#6489)
6060 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6062 Fix finding revisions for renamed files in vc-annotate.
6063 * vc/vc.el (vc-find-revision): Add an optional argument for
6064 the VC backend. Use it when non-nil.
6065 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6066 backend to vc-find-revision. (Bug#6487)
6068 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6070 Fix reading file names in Git annotate buffers.
6071 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6072 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6074 2010-06-20 Alan Mackenzie <acm@muc.de>
6076 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6077 in file local variables, set it first.
6079 2010-06-19 Glenn Morris <rgm@gnu.org>
6081 * descr-text.el (describe-char-unicode-data): Insert separating
6082 space when needed. (Bug#6422)
6084 * progmodes/idlwave.el (idlwave-action-and-binding):
6085 Fix typo in 2009-12-03 change. (Bug#6450)
6087 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6089 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6090 handling for `lambda' (misunderstanding).
6092 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6094 * calc/calc-poly.el (math-accum-factors): Make sure that
6095 constants aren't distributed after they are factored out.
6097 2010-06-16 Juri Linkov <juri@jurta.org>
6099 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6100 `list-colors-print'. (Bug#6332)
6102 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6104 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6106 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6107 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6109 * font-lock.el (font-lock-major-mode): Rename from
6110 font-lock-mode-major-mode to distinguish it from
6111 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6112 (font-lock-set-defaults):
6113 * font-core.el (font-lock-default-function): Adjust users.
6114 (font-lock-mode): Don't set it at all.
6116 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6118 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6120 2010-06-16 Glenn Morris <rgm@gnu.org>
6122 * calendar/appt.el (appt-time-msg-list): Doc fix.
6123 (appt-check): Let-bind appt-warn-time.
6124 (appt-add): Make the 3rd argument optional.
6125 Simplify argument names. Doc fix. Check for integer WARNTIME.
6126 Only add WARNTIME to the output list if non-nil.
6128 2010-06-16 Ivan Kanis <apple@kanis.eu>
6130 * calendar/appt.el (appt-check): Let the 3rd element of
6131 appt-time-msg-list specify the warning time.
6132 (appt-add): Add new argument with the warning time. (Bug#5176)
6134 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6136 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6137 older than version 1.6. (Bug#6361)
6139 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6141 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6142 used by cl-do-arglist. (Bug#6408)
6144 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6146 * textmodes/ispell.el (ispell-dictionary-base-alist):
6147 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6148 Suggested by Rolando Pereira (bug#6434).
6150 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6152 * facemenu.el (list-colors-sort): Doc fix.
6154 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6156 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6158 2010-06-14 Juri Linkov <juri@jurta.org>
6160 Add sort option `list-colors-sort'. (Bug#6332)
6161 * facemenu.el (color-rgb-to-hsv): New function.
6162 (list-colors-sort): New defcustom.
6163 (list-colors-sort-key): New function.
6164 (list-colors-display): Doc fix. Sort list according to the option
6166 (list-colors-print): Add HSV values to `help-echo' property of
6169 2010-06-14 Juri Linkov <juri@jurta.org>
6171 * compare-w.el: Move to the "vc" subdirectory.
6173 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6175 * image-mode.el (image-mode-map): Remap left-char and right-char.
6177 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6179 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6181 * term/common-win.el (x-colors): Add all the color names defined
6182 in rgb.txt (Bug#6332).
6184 * facemenu.el (list-colors-print): Don't print extra names if it
6185 will overflow the window width.
6187 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6190 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6192 * files.el (make-directory): Doc fix (bug#6396).
6194 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6196 * net/tramp.el (tramp-remote-process-environment): Protect version
6197 string by apostroph.
6198 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6200 (tramp-file-name-for-operation): Add `call-process-region'.
6201 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6203 * net/tramp-compat.el (top): Do not autoload
6204 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6205 only when `start-file-process' is not bound.
6206 (tramp-advice-file-expand-wildcards): Do not use
6207 `tramp-handle-file-remote-p'.
6208 (tramp-compat-make-temp-file): Handle the case, that
6209 `make-temp-file' has no third argument EXTENSION.
6211 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6213 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6215 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6217 2010-06-11 Juri Linkov <juri@jurta.org>
6219 * finder.el (finder-known-keywords): Add keyword "vc"
6220 for version control.
6222 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6223 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6224 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6225 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6227 2010-06-11 Juri Linkov <juri@jurta.org>
6229 Move version control related files to the "vc" subdirectory.
6230 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6231 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6232 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6233 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6234 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6235 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6236 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6237 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6238 Move files to the "vc" subdirectory.
6240 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6242 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6245 2010-06-11 Stephen Eglen <stephen@gnu.org>
6247 * shell.el: Bind `shell-resync-dirs' to M-RET.
6249 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6251 * notifications.el: Move file from lisp/net, because it is
6252 supposed to talk locally to the user.
6254 2010-06-10 Julien Danjou <julien@danjou.info>
6256 * net/notifications.el (notifications-on-action-signal)
6257 (notifications-on-closed-signal): Pass notification id as first
6258 argument to the callback functions. Add docstrings.
6259 (notifications-notify): Fix docstring.
6261 2010-06-10 Glenn Morris <rgm@gnu.org>
6263 * emacs-lisp/authors.el (authors-ignored-files)
6264 (authors-valid-file-names): Add some files.
6266 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6268 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6269 merge conflict, giving preference to the emacs-23 version of the code.
6271 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6273 * emacs-lisp/advice.el (ad-compile-function):
6274 Define warning-suppress-types before we let-bind it (bug#6275).
6276 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6277 declare it, make it buffer-local and permanent-local (bug#6324).
6278 (vc-resynch-window): Adjust name.
6279 * vc-hooks.el (vc-find-file-hook): Adjust name.
6281 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6283 * net/notifications.el (notifications-notify): Fix docstring.
6285 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6287 Update to Unicode 6.0.0 beta.
6288 * international/charprop.el: Update copyright.
6289 * international/mule-cmds.el (ucs-names): Update character ranges.
6290 * international/uni-bidi.el:
6291 * international/uni-category.el:
6292 * international/uni-combining.el:
6293 * international/uni-comment.el:
6294 * international/uni-decimal.el:
6295 * international/uni-decomposition.el:
6296 * international/uni-digit.el:
6297 * international/uni-lowercase.el:
6298 * international/uni-mirrored.el:
6299 * international/uni-name.el:
6300 * international/uni-numeric.el:
6301 * international/uni-old-name.el:
6302 * international/uni-titlecase.el:
6303 * international/uni-uppercase.el: Regenerate.
6305 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6307 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6308 (smie-precs-precedence-table): Fix typo in docstring.
6310 * vc-mtn.el (log-edit-extract-headers): Declare function.
6312 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6314 * net/notifications.el (dbus-register-signal): Declare function.
6315 (notifications-notify): Fix typos and reflow docstring.
6317 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6319 Improve VC create/retrieve tag/branch.
6320 * vc.el (vc-create-tag): Do not read the directory name for VCs
6321 with repository revision granularity. Adjust the tag/branch
6322 prompt. Reset VC properties.
6323 (vc-retrieve-tag): Do not read the directory name for VCs
6324 with repository revision granularity. Reset VC properties.
6326 2010-06-09 Julien Danjou <julien@danjou.info>
6328 * net/notifications.el: New file.
6330 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6332 Add optional support for resetting VC properties.
6333 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6334 call vc-file-clearprops when true.
6335 (vc-resynch-buffer): Add new optional argument, pass it down.
6336 (vc-resynch-buffers-in-directory): Likewise.
6338 Improve support for special markup in the VC commit message.
6339 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6340 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6341 * vc-git.el (vc-git-checkin):
6342 * vc-bzr.el (vc-bzr-checkin): Likewise.
6344 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6346 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6347 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6349 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6351 * iimage.el: Remove images as soon as the underlying text is modified.
6352 (iimage-modification-hook): New function.
6353 (iimage-mode-buffer): Use it.
6355 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6357 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6358 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6359 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6360 (smie-indent-keyword): Add handling of open-paren keywords.
6361 (smie-indent-comment-continue): Don't assume comment-continue.
6363 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6365 * window.el (pop-to-buffer): Remove the conditional that
6366 compares new-window and old-window, so it will reselect
6367 the selected window unconditionally.
6368 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6370 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6372 * emacs-lisp/smie.el (smie-indent-offset-after)
6373 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6374 (smie-indent-after-keyword): Use them.
6375 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6376 (smie-indent-keyword): Tweak the black magic.
6377 (smie-indent-comment-continue): Strip comment-continue before use.
6378 (smie-indent-functions): Indent comments before keywords.
6380 2010-06-06 Juri Linkov <juri@jurta.org>
6382 * isearch.el (isearch-lazy-highlight-search): Fix looping
6383 by checking for empty match. This syncs this loop with the
6384 similar loop in `isearch-search'. (Bug#6362)
6386 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6388 * net/dbus.el (dbus-register-method): Declare function.
6389 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6390 (dbus-introspect): Doc fix.
6391 (dbus-event-bus-name, dbus-introspect-get-interface)
6392 (dbus-introspect-get-argument): Reflow docstrings.
6394 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6396 vc-log-incoming/vc-log-outgoing fixes for Git.
6397 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6398 incoming/outgoing logs.
6399 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6400 instead of vc-git-compute-remote.
6401 (vc-git-compute-remote): Remove.
6403 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6405 * term/common-win.el (x-colors): Add "dark green" and "dark
6406 turquoise" (Bug#6332).
6408 2010-06-04 Juri Linkov <juri@jurta.org>
6410 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6411 Instead of setting `replace' to t and replacing the same string
6412 with itself, don't do certain actions when
6413 kill-do-not-save-duplicates is non-nil and string is equal to car
6414 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6415 interprogram-paste strings to kill-ring, and don't push the input
6416 argument `string' to kill-ring.
6417 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6419 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6421 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6423 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6425 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6426 (tramp-gvfs-handler-mounted-unmounted)
6427 (tramp-gvfs-connection-mounted-p): Handle default-location.
6429 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6430 move files to trash.
6432 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6434 * international/mule-cmds.el (nonascii-insert-offset)
6435 (nonascii-translation-table): Add obsolescence information.
6437 * international/mule.el (make-translation-table-from-vector): Doc fix.
6439 2010-06-03 Glenn Morris <rgm@gnu.org>
6441 * desktop.el (desktop-clear-preserve-buffers):
6442 Add "*Warnings*" buffer. (Bug#6336)
6444 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6446 vc-log-incoming/vc-log-outgoing improvements for Git.
6447 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6449 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6451 Add bindings for vc-log-incoming and vc-log-outgoing.
6452 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6453 and vc-log-outgoing.
6454 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6455 and vc-log-outgoing.
6457 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6459 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6460 (rcirc-handler-366): Always sort nicknames.
6462 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6464 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6466 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6468 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6470 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6473 (rcirc-sort-nicknames-join): Avoid setq.
6475 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6477 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6478 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6479 (rcirc-handler-366): Use them.
6481 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6483 Split smie-indent-calculate into more manageable chunks.
6484 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6485 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6486 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6487 (smie-indent-exps): Extract from smie-indent-calculate.
6488 (smie-indent-functions): New var.
6489 (smie-indent-functions): Use them.
6491 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6494 (smie-indent-calculate): Simplify and cleanup.
6496 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6498 * net/tramp-gvfs.el (top): Require url-util.
6499 (tramp-gvfs-mount-point): Remove.
6500 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6502 (with-tramp-dbus-call-method): Format trace message.
6503 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6504 Implement backup call, when operation on local files fails.
6505 Use progress reporter. Flush properties of changed files.
6506 (tramp-gvfs-handle-make-directory): Make more traces.
6507 (tramp-gvfs-url-file-name): Hexify file name in url.
6508 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6509 into account for the resulting file name.
6510 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6511 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6512 (tramp-gvfs-handler-mounted-unmounted)
6513 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6514 attribute "default_location". Set "prefix" property.
6515 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6516 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6517 exists. Raise an error, if not (due to a corresponding answer
6518 "no" in interactive questions, for example).
6520 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6522 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6524 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6526 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6529 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6531 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6532 * vc-git.el (vc-git-compute-remote): New function.
6533 (vc-git-log-outgoing): Use it instead of hard coding a value.
6534 (vc-git-log-incoming): New function.
6536 Improve state updating for VC tag commands.
6537 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6538 to update the state of all buffers in the directory.
6540 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6542 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6544 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6545 `file-directory-p' to the filename part rather than to the whole text.
6547 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6549 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6551 2010-05-31 Drew Adams <drew.adams@oracle.com>
6553 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6555 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6557 * subr.el (momentary-string-display): Just use read-event to read
6558 the exit event (Bug#6238).
6560 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6562 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6564 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6566 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6567 Suggested by Eli Zaretskii <eliz@gnu.org>.
6569 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6571 * minibuffer.el (completion-file-name-table): Don't return a boundary
6572 past the end of `string' (bug#6299).
6573 (completion--file-name-table): Delegate to completion-file-name-table
6574 for the `boundaries' case.
6576 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6578 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6581 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6582 `path-separator', but maintain compatibility with Emacs 20.2.
6584 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6586 * server.el (server-process-filter): Receive parent-id argument
6588 (server-create-window-system-frame): New arg. Pass parent-id as
6591 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6593 Bidi-sensitive word movement with arrow keys.
6594 * subr.el (right-arrow-command, left-arrow-command): Move to
6597 * bindings.el (right-char, left-char): Move from subr.el and
6598 rename from right-arrow-command and left-arrow-command.
6599 (right-word, left-word): New functions.
6600 (global-map) <right>: Bind to right-char.
6601 (global-map) <left>: Bind to left-char.
6602 (global-map) <C-right>: Bind to right-word.
6603 (global-map) <C-left>: Bind to left-word.
6605 * ls-lisp.el (ls-lisp-classify-file): New function.
6606 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6607 (ls-lisp-classify): Call ls-lisp-classify-file.
6608 (insert-directory): Remove blanks from switches.
6610 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6612 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6613 (ansi-color-drop-regexp): New constant.
6614 (ansi-color-apply, ansi-color-filter-region)
6615 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6616 (ansi-color-apply): Build string list before calling concat.
6618 2010-05-28 Juri Linkov <juri@jurta.org>
6620 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6621 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6624 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6626 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6627 to ignored backtrace functions.
6628 (with-progress-reporter): Expand docstring.
6629 (tramp-handle-delete-file): Implement TRASH argument.
6630 (tramp-get-remote-trash): New defun.
6632 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6634 * net/tramp-compat.el (tramp-compat-delete-file):
6635 Use `symbol-value' for backward compatibility.
6637 * net/tramp.el (tramp-handle-make-symbolic-link)
6639 (tramp-do-copy-or-rename-file-via-buffer)
6640 (tramp-do-copy-or-rename-file-directly)
6641 (tramp-do-copy-or-rename-file-out-of-band)
6642 (tramp-handle-process-file, tramp-handle-call-process-region)
6643 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6644 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6645 (tramp-delete-temp-file-function): Use `delete-file' instead
6646 of `tramp-compat-delete-file'.
6648 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6649 (tramp-fish-handle-make-symbolic-link)
6650 (tramp-fish-handle-process-file): Use `delete-file' instead
6651 of `tramp-compat-delete-file'.
6653 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6654 Use `delete-file' instead of `tramp-compat-delete-file'.
6656 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6657 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6658 `tramp-compat-delete-file'.
6660 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
6661 Use `delete-file' instead of `tramp-compat-delete-file'.
6663 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6664 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6665 (tramp-smb-handle-write-region): Use `delete-file' instead of
6666 `tramp-compat-delete-file'.
6667 (tramp-smb-handle-delete-directory): Use 'trash as arg.
6669 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6671 * dired.el (dired-delete-file): New arg TRASH.
6672 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
6673 (dired-do-flagged-delete, dired-do-delete): Use trash.
6675 * speedbar.el (speedbar-item-delete): Allow trashing.
6677 * files.el (delete-directory): New arg TRASH.
6679 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6680 (ange-ftp-rename-remote-to-remote)
6681 (ange-ftp-rename-local-to-remote)
6682 (ange-ftp-rename-remote-to-local, ange-ftp-load)
6683 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6685 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6688 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6689 handle new TRASH arg of `delete-file'.
6691 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6692 (tramp-handle-make-symbolic-link, tramp-handle-load)
6693 (tramp-do-copy-or-rename-file-via-buffer)
6694 (tramp-do-copy-or-rename-file-directly)
6695 (tramp-do-copy-or-rename-file-out-of-band)
6696 (tramp-handle-process-file, tramp-handle-call-process-region)
6697 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6698 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6699 (tramp-delete-temp-file-function): Use null TRASH arg in
6700 tramp-compat-delete-file call.
6702 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6703 (tramp-fish-handle-delete-file)
6704 (tramp-fish-handle-make-symbolic-link)
6705 (tramp-fish-handle-process-file): Use null TRASH arg in
6706 `tramp-compat-delete-file' call.
6708 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6709 arg in `tramp-compat-delete-file' call.
6711 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6712 (tramp-gvfs-handle-write-region): Use null TRASH arg in
6713 `tramp-compat-delete-file' call.
6715 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6716 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6717 `tramp-compat-delete-file' call.
6719 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6720 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6721 (tramp-smb-handle-write-region): Use null TRASH arg in
6722 tramp-compat-delete-file call.
6723 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6724 (tramp-smb-handle-delete-file): Rename arg.
6726 * diff.el (diff-sentinel):
6727 * epg.el (epg--make-temp-file, epg-decrypt-string)
6728 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6729 * jka-compr.el (jka-compr-partial-uncompress)
6730 (jka-compr-call-process, jka-compr-write-region):
6731 * server.el (server-sentinel): Remove optional arg from
6732 delete-file, reverting 2010-05-03 change.
6734 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6736 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6737 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6739 2010-05-27 Kenichi Handa <handa@m17n.org>
6741 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6742 element of GSTRING is nil.
6744 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6746 * emacs-lisp/smie.el (smie-forward-token-function)
6747 (smie-backward-token-function): New vars.
6748 (smie-backward-sexp, smie-forward-sexp)
6749 (smie-indent-hanging-p, smie-indent-calculate): Use them.
6750 (smie-default-backward-token): Rename from smie-backward-token and
6752 (smie-default-forward-token): Rename from smie-forward-token and
6754 (smie-next-sexp): Handle nil results from next-token.
6755 (smie-indent-calculate): Add a new case for special `fixindent' comments.
6757 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
6759 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6760 Use font-lock-constant-face, not obsolete font-lock-reference-face.
6762 2010-05-27 Masatake YAMATO <yamato@redhat.com>
6764 * htmlfontify.el (hfy-face-resolve-face): New function.
6765 (hfy-face-to-style): Use it (Bug#6279).
6767 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6769 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6770 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6772 2010-05-26 Glenn Morris <rgm@gnu.org>
6774 * emulation/edt.el (edt-load-keys): Use locate-library.
6776 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
6778 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6779 (log-edit-changelog-entries): Doc fix.
6780 (log-edit-changelog-insert-entries): Args changed.
6781 Rename relative filenames in ChangeLog entries. Delete tabs.
6782 (log-edit-insert-changelog-entries): Reorganize return value of
6783 `log-edit-changelog-entries' to pass filenames to
6784 log-edit-changelog-insert-entries.
6786 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6788 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6789 `image-dired-dired-insert-marked-thumbs' to
6790 `image-dired-dired-toggle-marked-thumbs'.
6792 * image-dired.el: Require cl when compiling.
6793 (image-dired-dired-toggle-marked-thumbs): Rename from
6794 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
6795 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
6796 to 'no-dir. Skip files whose names don't match
6797 `image-file-name-regexp'. When file has a thumbnail overlay,
6798 delete it. (Bug#5270)
6800 2010-05-25 Juri Linkov <juri@jurta.org>
6802 * image-mode.el (image-mode): Add image-after-revert-hook to
6804 (image-after-revert-hook): New function. (Bug#5669)
6806 2010-05-25 Juri Linkov <juri@jurta.org>
6808 * image.el (image-animated-p): When delay between animated images
6809 is 0, set it to 10 (0.1 sec). (Bug#6258)
6811 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6813 * net/tramp.el (tramp-handle-insert-directory): Don't use
6814 `forward-word', its default syntax could be changed.
6816 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
6818 * net/tramp.el (tramp-progress-reporter-update): New defun.
6819 (with-progress-reporter): Use it.
6820 (tramp-process-actions):
6821 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6822 Preserve current message, in order to let progress reporter continue
6823 afterwards. (Bug#6257)
6825 2010-05-25 Glenn Morris <rgm@gnu.org>
6827 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6830 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6832 * net/rcirc.el (rcirc-default-user-name): Change to "user".
6833 (rcirc-default-full-name): Change to "unknown".
6834 (rcirc-user-name-history): Add variable.
6836 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
6837 Jonathan Rockway <jon@jrock.us>
6839 * net/rcirc.el (rcirc-server-alist): Add :pass.
6840 (rcirc): When prompting for connection parameters, also prompt for
6841 username and password.
6842 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
6843 value to server when connecting.
6845 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6847 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6848 (smie-merge-prec2s): Pass the tables as separate args.
6849 (smie-bnf-precedence-table): Adjust call accordingly.
6850 (smie-prec2-levels): Set levels at the end.
6852 Replace Lisp calls to delete-backward-char by delete-char.
6853 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6854 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6855 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6856 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6857 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6858 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6859 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6860 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6861 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6862 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6863 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6864 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6865 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6866 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6867 delete-backward-char by calls to delete-char.
6869 2010-05-25 Kenichi Handa <handa@m17n.org>
6871 * language/hebrew.el (hebrew-shape-gstring): New function.
6872 Register it in composition-function-table for all Hebrew combining
6875 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6877 * epa.el (epa--select-keys): Don't explicitly delete the window since
6878 that can fail (e.g. sole window in frame). Use dedication instead.
6880 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6882 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6884 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
6886 * image.el (image-refresh): Define as an alias for image-flush.
6888 * image-mode.el (image-toggle-display-image): Caller changed.
6890 2010-05-21 Juri Linkov <juri@jurta.org>
6892 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6893 Remove "all" from grep-files-aliases. Split grep-files-aliases by
6894 whitespace, call wildcard-to-regexp on substrings and concat them
6895 with "\\|". (Bug#6114)
6897 2010-05-21 Alan Mackenzie <acm@muc.de>
6899 * progmodes/cc-engine.el (c-parse-state-get-strategy):
6900 Replace parameter `here' with `here-' and `here-plus', which sandwich
6901 any pertinent CPP construct.
6902 (c-remove-stale-state-cache-backwards): Fix a bug which happens
6903 when doing (c-parse-state) in a CPP construct: Exclude any "new"
6904 CPP construct from taking part in the scanning.
6906 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
6908 * net/tramp.el (tramp-do-copy-or-rename-file)
6909 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6910 Tune `with-progress-reporter' messages.
6911 (tramp-handle-vc-registered):
6912 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6913 (tramp-fish-handle-insert-file-contents)
6914 (tramp-fish-maybe-open-connection):
6915 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6916 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6917 (tramp-imap-handle-insert-file-contents)
6918 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6920 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
6922 * add-log.el (change-log-font-lock-keywords):
6923 Highlight all authors in multi-author entries.
6925 * smerge-mode.el (smerge-refine-ignore-whitespace)
6926 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6927 Fix typos in docstrings.
6928 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6930 2010-05-21 Glenn Morris <rgm@gnu.org>
6932 * progmodes/fortran.el (fortran-mode):
6933 * progmodes/f90.el (f90-mode): Derive from prog-mode.
6935 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6936 having a relative path in src/Makefile.in.
6938 2010-05-20 Kevin Ryde <user42@zip.com.au>
6940 * help-mode.el (help-make-xrefs): For Info node links turn
6941 newlines into spaces. Link node names with newlines are matched
6942 by help-xref-info-regexp and buttonized, this change ensures they
6943 can be followed successfully with RET. (Bug#6206)
6945 2010-05-20 Juri Linkov <juri@jurta.org>
6947 * locate.el (locate): Use pop-to-buffer instead of
6948 switch-to-buffer-other-window. (Bug#6204)
6950 2010-05-20 Juri Linkov <juri@jurta.org>
6952 * replace.el (replace-highlight): Fix lazy-highlighting
6953 for `M-s w str M-% str RET'.
6955 2009-12-15 Masatake YAMATO <yamato@redhat.com>
6957 * isearch.el (isearch-yank-word-or-char): Pull next subword
6958 when `subword-mode' is activated. (Bug#6220)
6960 2010-05-20 Mark A. Hershberger <mah@everybody.org>
6962 * isearch.el (isearch-update-post-hook): New hook.
6963 (isearch-update): Use the new hook. (Bug#6225)
6965 2010-05-20 Juri Linkov <juri@jurta.org>
6967 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6968 [f1], [help], and (char-to-string help-char) instead of "\C-h".
6971 2010-05-20 Juri Linkov <juri@jurta.org>
6973 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6976 2010-05-20 Juri Linkov <juri@jurta.org>
6978 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6979 FILE-NAME to read from the minibuffer when called interactively
6980 with prefix argument instead of using buffer-file-name.
6981 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6983 * dired.el: Update autoloads.
6985 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
6987 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6988 nxml-finish-element, for consistency with SGML mode.
6990 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6993 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
6995 * composite.el: Require cl when compiling.
6996 (reference-point-alist, compose-gstring-for-graphic)
6997 (compose-gstring-for-terminal): Fix typos in docstrings.
6999 2010-05-19 Juri Linkov <juri@jurta.org>
7001 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7002 set-window-parameter.
7004 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7006 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7008 (tramp-maybe-open-connection): Use it.
7010 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7012 * simple.el (move-end-of-line): Make sure we are at line beginning
7013 before backing up to end of previous line.
7015 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7017 * password-cache.el (password-cache-remove): Fix docstring.
7019 * net/secrets.el: Autoload the widget functions.
7020 (secrets-search-items, secrets-create-item)
7021 (secrets-get-attributes, secrets-expand-item): Attributes will be
7022 stored on the password database without leading ":", as all other
7024 (secrets-mode): Fix docstring.
7025 (secrets-show-secrets): Provide it as autoloaded command only when
7026 D-Bus support is available. Check existence of Secret Service API.
7028 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7030 * indent.el (indent-region): Deactivate region (bug#6200).
7032 2010-05-19 Glenn Morris <rgm@gnu.org>
7034 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7036 2010-05-19 Kenichi Handa <handa@m17n.org>
7038 * composite.el: Register compose-gstring-for-graphic in
7039 composition-function-table only for combining characters (Mn, Mc, Me).
7041 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7043 * calc/calc-trail.el (calc-trail-isearch-forward)
7044 (calc-trail-isearch-backward): Ensure that the new window
7045 point is set correctly.
7047 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7049 * subr.el (read-quoted-char): Resolve modifiers after key
7050 remapping (bug#6212).
7052 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7054 Add visualization code for secrets.
7055 * net/secrets.el (secrets-mode): New major mode.
7056 (secrets-show-secrets, secrets-show-collections)
7057 (secrets-expand-collection, secrets-expand-item)
7058 (secrets-tree-widget-after-toggle-function)
7059 (secrets-tree-widget-show-password): New defuns.
7061 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7063 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7064 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7065 handled in smie-next-sexp.
7066 (smie-indent-calculate): Provide a starting indentation (so the
7067 recursion is well-founded ;-).
7069 Fix handling of non-associative equal levels.
7070 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7071 when it's not needed.
7072 (smie-op-left, smie-op-right): New functions.
7073 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7074 Better handle equal levels to distinguish the associative case from
7075 the "multi-keyword construct" case.
7076 (smie-backward-sexp, smie-forward-sexp): Use it.
7078 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7080 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7082 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7083 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7085 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7087 Provide a simple generic indentation engine and use it for Prolog.
7088 * emacs-lisp/smie.el: New file.
7089 * progmodes/prolog.el (prolog-smie-op-levels)
7090 (prolog-smie-indent-rules): New var.
7091 (prolog-mode-variables): Use them to configure SMIE.
7092 (prolog-indent-line, prolog-indent-level): Remove.
7094 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7096 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7097 order before computing the averages.
7099 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7101 * calc/calc-vec.el (calc-histogram):
7102 (calcFunc-histogram): Allow vectors as inputs.
7103 (math-vector-avg): New function.
7105 * calc/calc-ext.el (math-group-float): Have the number of digits
7106 being grouped depend on the radix (Bug#6189).
7108 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7110 * version.el (emacs-copyright, emacs-version): Don't define here,
7111 now that emacs.c defines it.
7113 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7115 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7116 "Describe Language Environment" menu item.
7118 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7120 Bidi-sensitive movement with arrow keys.
7121 * subr.el (right-arrow-command, left-arrow-command): New functions.
7123 * bindings.el (global-map): Bind them to right and left arrow keys.
7125 Don't override standard definition of convert-standard-filename.
7126 * files.el (convert-standard-filename):
7127 Call w32-convert-standard-filename and dos-convert-standard-filename on
7128 the corresponding systems.
7130 * w32-fns.el (w32-convert-standard-filename): Rename from
7131 convert-standard-filename. Doc fix.
7133 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7134 (convert-standard-filename): Don't defalias.
7135 (register-name-alist, make-register, register-value)
7136 (set-register-value, intdos): Obsolete aliases for the
7137 corresponding dos-* functions and variables.
7138 (dos-intdos): Add a doc string.
7140 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7142 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7143 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7144 (math-compose-tex-func):
7145 * calc/calccomp.el (math-compose-expr):
7146 * calc/calc-ext.el (math-format-flat-expr-fancy):
7147 * calc/calc-store.el (calc-read-var-name):
7148 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7150 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7151 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7152 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7153 (math-standard-units): Add units.
7155 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7157 * progmodes/asm-mode.el (asm-mode):
7158 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7160 * pcomplete.el (pcomplete-completions-at-point): New function,
7161 extracted from pcomplete-std-complete.
7162 (pcomplete-std-complete): Use it.
7164 2010-05-15 Glenn Morris <rgm@gnu.org>
7166 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7167 Remove references to CVS, RCS and Old directories.
7169 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7171 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7174 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7176 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7177 (sh-mode-syntax-table): Give it a default value instead.
7178 (sh-header-marker): Make buffer-local.
7179 (sh-mode): Move make-local-variable to the corresponding setq.
7180 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7181 Use complete-with-action.
7183 * simple.el (prog-mode): New (abstract) major mode.
7184 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7185 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7187 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7189 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7190 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7191 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7192 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7193 (sql-escape-newlines-filter, sql-input-sender)
7194 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7196 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7198 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7200 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7201 latex-open-block and C-c / to latex-close-block.
7203 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7204 and C-c C-e to sgml-close-tag.
7206 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7208 * net/tramp.el (with-progress-reporter): Create reporter object
7209 only when the message would be displayed. Handle nested calls.
7210 (tramp-handle-load, tramp-handle-file-local-copy)
7211 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7212 (tramp-maybe-send-script, tramp-find-shell):
7213 Use `with-progress-reporter'.
7214 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7217 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7218 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7219 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7220 Use `with-progress-reporter'.
7222 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7224 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7225 process everytime when spellchecking from the minibuffer (bug#6143).
7227 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7229 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7231 * dos-fns.el: Add "dos-" prefix for namespace control.
7232 (convert-standard-filename): Define as alias for
7233 dos-convert-standard-filename but only if applicable.
7235 2010-05-12 Alan Mackenzie <acm@muc.de>
7237 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7238 Push the mark at the start of these functions when appropriate.
7240 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7242 * minibuffer.el (completion-cycle-threshold): New custom var.
7243 (completion--do-completion): Use it.
7244 (minibuffer-complete): Use cycling if appropriate.
7246 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7248 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7249 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7251 2010-05-11 Juri Linkov <juri@jurta.org>
7253 * scroll-all.el (scroll-all-check-to-scroll):
7254 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7256 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7258 * iimage.el (iimage-mode-map): Move initialization into declaration.
7259 (iimage-mode-buffer): Use with-silent-modifications.
7260 Simplify calling convention. Adjust callers.
7261 (iimage-mode): Don't run hook redundantly.
7263 * minibuffer.el (completion-pcm--pattern->regex):
7264 Fix last change (bug#6160).
7266 2010-05-10 Juri Linkov <juri@jurta.org>
7268 Remove nodes visited during Isearch from the Info history.
7269 * info.el (Info-isearch-initial-history)
7270 (Info-isearch-initial-history-list): New variables.
7271 (Info-isearch-start): Record initial values of
7272 Info-isearch-initial-history and Info-isearch-initial-history-list.
7273 Add Info-isearch-end to isearch-mode-end-hook.
7274 (Info-isearch-end): New function.
7276 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7278 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7279 format string, in order to work around a bug in pdksh.
7280 Reported by Gilles Pion <gpion@lfdj.com>.
7281 (tramp-handle-verify-visited-file-modtime): Do not send a command
7282 when the connection is not established.
7283 (tramp-handle-set-file-times): Simplify the check for utc.
7285 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7287 Fix use of `filter-buffer-substring' (rework previous change).
7288 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7289 (cua-repeat-replace-region):
7290 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7291 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7292 (cua-cut-region-to-global-mark): Use it.
7294 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7296 * progmodes/sql.el: Version 2.1.
7297 (sql-product-alist): Redesign structure of product info.
7298 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7299 (sql-port, sql-port-history): New variables.
7300 (sql-interactive-product): New variable.
7301 (sql-send-terminator): New variable.
7302 (sql-imenu-generic-expression): Add "Types" imenu entry.
7303 (sql-oracle-login-params, sql-sqlite-login-params)
7304 (sql-mysql-login-params, sql-solid-login-params)
7305 (sql-sybase-login-params, sql-informix-login-params)
7306 (sql-ingres-login-params, sql-ms-login-params)
7307 (sql-postgres-login-params, sql-interbase-login-params)
7308 (sql-db2-login-params, sql-linter-login-params)
7309 (sql-oracle-scan-on): New variables.
7310 (sql-mode-map): Add C-c C-i to start interactive mode.
7311 (sql-mode-menu): Update existing menu entries.
7312 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7313 (sql-mode-oracle-font-lock-keywords)
7314 (sql-mode-postgres-font-lock-keywords)
7315 (sql-mode-ms-font-lock-keywords)
7316 (sql-mode-sybase-font-lock-keywords)
7317 (sql-mode-informix-font-lock-keywords)
7318 (sql-mode-interbase-font-lock-keywords)
7319 (sql-mode-ingres-font-lock-keywords)
7320 (sql-mode-solid-font-lock-keywords)
7321 (sql-mode-mysql-font-lock-keywords)
7322 (sql-mode-sqlite-font-lock-keywords)
7323 (sql-mode-db2-font-lock-keywords)
7324 (sql-mode-linter-font-lock-keywords): Update initialization to
7325 reduce run-time complexity.
7326 (sql-add-product, sql-del-product): New functions.
7327 (sql-set-product-feature, sql-get-product-feature): New functions.
7328 (sql-product-font-lock): Update product API.
7329 (sql-add-product-keywords): New function.
7330 (sql-highlight-product): Update product API.
7331 (sql-help-list-products): New function.
7332 (sql-help): Dynamically lists free and non-free products.
7333 (sql-get-login): Correct bug in handling history and added
7335 (sql-copy-column): Copy without properties.
7336 (sqli-input-sender): Apply filters to SQLi input.
7337 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7338 Implement as a filter.
7339 (sql-escape-newlines-filter): Implement as a filter.
7340 (sql-remove-tabs-filter): New function.
7341 (sql-send-magic-terminator): New function.
7342 (sql-send-string): Implement magic terminator.
7343 (sql-send-region): Use `sql-send-string'.
7344 (sql-interactive-mode): Use product API.
7345 (sql-product-interactive): Use product API.
7346 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7347 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7348 (sql-db2, sql-linter): Use `sql-product-interactive'.
7349 (sql-connect): New function.
7350 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7351 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7352 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7353 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7356 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7358 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7359 New custom variable.
7360 (completion-pcm--string->pattern): Use it.
7361 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7362 Make it handle any symbol as `any'.
7363 (completion-pcm--merge-completions): Extract common suffix for the new
7364 `prefix' symbol as well.
7365 (completion-substring--all-completions): Use the new `prefix' symbol.
7367 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7369 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7371 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7372 (tramp-compat-funcall): New defmacro.
7373 (tramp-compat-line-beginning-position)
7374 (tramp-compat-line-end-position)
7375 (tramp-compat-temporary-file-directory)
7376 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7377 (tramp-compat-copy-file, tramp-compat-copy-directory)
7378 (tramp-compat-delete-file, tramp-compat-delete-directory)
7379 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7380 * net/tramp.el (top, with-progress-reporter)
7381 (tramp-rfn-eshadow-setup-minibuffer)
7382 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7383 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7384 (tramp-completion-mode-p, tramp-check-for-regexp)
7385 (tramp-open-connection-setup-interactive-shell)
7386 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7387 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7388 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7389 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7390 (tramp-reporter-dump-variable, tramp-load-report-modules)
7391 (tramp-append-tramp-buffers)
7392 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7394 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7396 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7398 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7399 buffer-modtime. Adjust users.
7401 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7403 * international/mule.el (auto-coding-alist): Only purecopy
7404 car of each item, not the whole list (Bug#6083).
7406 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7408 * progmodes/js.el (js-mode): Make paragraph variables local before
7409 calling c-setup-paragraph-variables (Bug#6071).
7411 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7413 * composite.el (compose-region, reference-point-alist): Fix typos
7416 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7418 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7419 gnuplot's "set" command.
7421 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7423 * abbrev.el (last-abbrev-text): Doc fix.
7424 (abbrev-prefix-mark): Don't escape parenthesis.
7426 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7428 * composite.el (find-composition): Doc fix.
7430 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7432 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7433 (sql-oracle-program, sql-sqlite-options)
7434 (sql-query-placeholders-and-send): Doc fixes.
7435 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7436 (sql-imenu-generic-expression, sql-buffer)
7437 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7438 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7439 (sql-mode-sybase-font-lock-keywords)
7440 (sql-mode-informix-font-lock-keywords)
7441 (sql-mode-interbase-font-lock-keywords)
7442 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7443 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7444 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7445 (sql-product-feature, sql-highlight-product)
7446 (comint-line-beginning-position, sql-rename-buffer)
7447 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7448 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7449 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7450 Fix typos in docstrings.
7452 2010-05-08 Juri Linkov <juri@jurta.org>
7454 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7455 property instead of `invisible' and `after-string' (bug#5998).
7457 2010-05-08 Juri Linkov <juri@jurta.org>
7459 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7461 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7463 * filecache.el (file-cache-add-directory-list)
7464 (file-cache-add-directory-recursively): Fix typos in docstrings.
7466 2010-05-08 Kenichi Handa <handa@m17n.org>
7468 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7469 (gujarati-composable-pattern): Fix typo.
7471 2010-05-08 Kenichi Handa <handa@m17n.org>
7473 * language/indian.el (oriya-composable-pattern)
7474 (tamil-composable-pattern, malayalam-composable-pattern):
7475 Add two-part vowels to "v" (vowel sign).
7477 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7479 * files.el (copy-directory): Handle symlinks (Bug#5982).
7481 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7483 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7484 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7487 2010-05-08 Glenn Morris <rgm@gnu.org>
7489 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7491 * minibuffer.el (completion-at-point): Doc fix.
7493 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * electric.el (Electric-command-loop): Minor tweak.
7497 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7498 better with dedicated windows.
7500 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7502 * Version 23.2 released.
7504 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7505 Stefan Monnier <monnier@iro.umontreal.ca>
7507 Highlight vendor specific properties.
7508 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7509 (css-proprietary-property): New face.
7510 (css-font-lock-keywords): Use them.
7512 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7514 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7516 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7518 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7519 * files.el (auto-mode-alist): Remove redundant entries.
7521 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7522 * simple.el (auto-save-mode): Move from files.el.
7523 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7525 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7527 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7529 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7531 * mail/binhex.el (binhex-decode-region-internal)
7532 * mail/uudecode.el (uudecode-decode-region-internal)
7533 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7534 (dns-read-type, dns-query)
7535 * pgg-parse.el (pgg-parse-armor)
7536 * pgg.el (pgg-verify-region)
7537 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7540 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7542 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7544 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7546 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7547 * emulation/cua-base.el (cua-repeat-replace-region):
7548 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7549 (cua-cut-region-to-global-mark):
7550 Remove text properties with `set-text-properties'.
7552 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7554 * net/tramp.el (top, with-progress-reporter):
7555 Use `symbol-function' inside `funcall'.
7557 * net/tramp-compat.el (tramp-compat-file-attributes)
7558 (tramp-compat-delete-file, tramp-compat-delete-directory):
7559 Handle only `wrong-number-of-arguments' error.
7561 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7562 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7565 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7567 * minibuffer.el (completion--sreverse, completion--common-suffix):
7569 (completion-pcm--merge-completions): Extract common suffix when safe.
7571 * emacs-lisp/easy-mmode.el (define-minor-mode):
7572 Make :variable more flexible.
7573 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7575 2010-05-05 Juri Linkov <juri@jurta.org>
7577 Add `slow' and `history' tags to the desktop data.
7579 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7580 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7581 (Info-finder-find-node): Require `finder.el' to be able
7582 to restore node from the desktop.
7583 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7584 data `Info-history' and `slow' tag in the assoc list.
7585 (Info-restore-desktop-buffer): Don't restore nodes with the
7586 `slow' tag. Restore `Info-history'.
7588 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7590 Add FORCE argument to `delete-file'.
7592 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7593 forcing to delete the temporary file.
7594 (ange-ftp-delete-file): Add FORCE arg.
7595 (ange-ftp-rename-remote-to-remote)
7596 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7597 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7598 Force file deletion.
7600 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7602 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7603 (tramp-handle-make-symbolic-link, tramp-handle-load)
7604 (tramp-do-copy-or-rename-file-via-buffer)
7605 (tramp-do-copy-or-rename-file-directly)
7606 (tramp-do-copy-or-rename-file-out-of-band)
7607 (tramp-handle-process-file, tramp-handle-call-process-region)
7608 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7609 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7610 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7612 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7613 (tramp-fish-handle-make-symbolic-link)
7614 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7616 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7617 Use `tramp-compat-delete-file'.
7619 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7620 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7622 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7623 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7625 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7626 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7627 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7628 Use `tramp-compat-delete-file'.
7630 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7633 * subr.el (add-minor-mode): Use push.
7634 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7635 * emulation/edt.el (edt-select-mode): Simplify.
7637 Use define-minor-mode in more cases.
7638 * term/tvi970.el (tvi970-set-keypad-mode):
7639 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7640 (normal-erase-is-backspace-mode):
7641 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7642 (set-scroll-bar-mode-1): (Re)move to its sole caller.
7643 (get-scroll-bar-mode): New function.
7644 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7646 Use define-minor-mode for less obvious cases.
7647 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7648 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7649 * international/iso-ascii.el (iso-ascii-mode):
7650 * frame.el (auto-raise-mode, auto-lower-mode):
7651 * composite.el (global-auto-composition-mode): Use define-minor-mode.
7653 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
7655 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7656 in order to see error messages for failed logins.
7658 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
7660 * diff.el (diff-sentinel):
7662 * epg.el (epg--make-temp-file, epg-decrypt-string)
7663 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7665 * jka-compr.el (jka-compr-partial-uncompress)
7666 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7668 * server.el (server-sentinel): Use delete-file's new FORCE arg
7671 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7673 Use define-minor-mode where applicable.
7674 * view.el (view-mode):
7675 * type-break.el (type-break-query-mode)
7676 (type-break-mode-line-message-mode):
7677 * textmodes/reftex.el (reftex-mode):
7678 * term/vt100.el (vt100-wide-mode):
7679 * tar-mode.el (tar-subfile-mode):
7680 * savehist.el (savehist-mode):
7681 * ibuf-ext.el (ibuffer-auto-mode):
7682 * composite.el (auto-composition-mode):
7683 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7684 Use define-minor-mode.
7685 (vhdl-mode): Use static mode-line format.
7686 (vhdl-mode-line-update): Delete.
7687 (vhdl-create-mode-menu, vhdl-activate-customizations)
7688 (vhdl-hs-minor-mode): Don't bother calling it.
7690 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7692 * simple.el (with-wrapper-hook): Move.
7693 (buffer-substring-filters): Mark obsolete.
7694 (filter-buffer-substring-functions): New variable.
7695 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
7697 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7698 Michael Albinus <michael.albinus@gmx.de>
7700 Implement compression for inline methods.
7702 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7703 (tramp-copy-size-limit): Allow also nil.
7704 (tramp-inline-compress-commands): New defconst.
7705 (tramp-find-inline-compress, tramp-get-inline-compress)
7706 (tramp-get-inline-coding): New defuns.
7707 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7708 replaced by `tramp-get-inline-coding'.
7709 (tramp-handle-file-local-copy, tramp-handle-write-region)
7710 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7712 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7714 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7715 Remove unused functions.
7717 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7718 Set find-tag-default-function as a variable rather than a property.
7720 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7721 * progmodes/etags.el (tags-completion-at-point-function):
7722 Remove left over interactive spec. Add autoloading stub.
7723 (complete-tag): Use tags-completion-at-point-function.
7725 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
7727 * minibuffer.el (tags-completion-at-point-function): Fix return value.
7729 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7731 * ido.el (ido-init-completion-maps): Remove C-v binding.
7732 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7734 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
7736 * minibuffer.el (tags-completion-at-point-function): New function.
7737 (completion-at-point-functions): Use it.
7739 * progmodes/etags.el (complete-tag): Revert last change.
7741 2010-04-29 Alan Mackenzie <acm@muc.de>
7743 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7744 off-by-one error (in end of macro position).
7746 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7748 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7749 firefox is absent. Don't autoload.
7750 (browse-url-galeon-program): Don't autoload.
7752 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7754 * bindings.el (complete-symbol): Move into minibuffer.el.
7756 * minibuffer.el (complete-tag): Move from etags.el. If tags
7757 completion cannot be performed, return nil instead of signalling
7759 (completion-at-point): Make it an alias for complete-symbol.
7760 (complete-symbol): Move from bindings.el, and replace with the
7761 body of completion-at-point.
7763 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7765 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
7767 * net/tramp.el (tramp-remote-selinux-p): New defun.
7768 (tramp-handle-file-selinux-context)
7769 (tramp-handle-set-file-selinux-context): Use it.
7771 2010-04-28 Sam Steingold <sds@gnu.org>
7773 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7774 `safe-local-variable' if the value is a string or a symbol with
7775 the property `bug-reference-url-format'.
7777 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
7779 * progmodes/bug-reference.el (bug-reference-url-format):
7780 Revert 2010-04-27 change due to security risk.
7782 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7784 Make it possible to locally disable a globally enabled mode.
7785 * simple.el (fundamental-mode): Run fundamental-mode-hook.
7786 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7787 rather than kill-all-local-variables so it runs fundamental-mode-hook.
7788 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7789 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7790 that subsequent hooks get a chance to disable it.
7792 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7794 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7795 Avoid re-enabling a minor mode after the user turned the minor mode
7796 off if MODE-enable-in-buffers is run twice (typically once from
7797 fundamental-mode's after-change-major-mode-hook and a second time from
7798 run-mode-hook's own after-change-major-mode-hook).
7800 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7802 2010-04-27 Sam Steingold <sds@gnu.org>
7804 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7805 `safe-local-variable' if the value is a string or a function, as
7806 documented and implemented on 2010-04-02.
7808 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
7810 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7811 when method is 'kill.
7813 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
7815 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7816 condition in default directory check.
7817 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7818 Kill ispell process when killing its associated buffer.
7820 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
7822 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7823 but we aren't using it.
7825 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
7827 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7828 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7830 2010-04-24 Glenn Morris <rgm@gnu.org>
7832 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7833 Ignore VCS-ignore files, and deleted nextstep preferences files.
7834 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7835 (authors-ambiguous-files): New list.
7836 (authors-valid-file-names): Add some deleted files.
7837 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7838 (authors-disambiguate-file-name): New function. (Bug#5501)
7839 (authors-canonical-file-name): Doc fix.
7840 Don't warn about obsolete files.
7841 (authors-canonical-file-name, authors-scan-el):
7842 Use authors-disambiguate-file-name.
7844 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7845 Add autoload cookies.
7846 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7847 (generated-autoload-file): Set file-local value to "htmlfontify.el".
7848 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7849 They have definitions / compiler macros in cl.el.
7850 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7851 Replace manual autoloads with generated ones.
7852 (htmlfontify-unload-rgb-file): Remove autoload.
7853 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7855 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7857 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7858 (byte-compile-setq-default): Optimize for the
7859 single-var case and don't call byte-compile-form in this case to avoid
7860 inf-loop with byte-compile-set-default.
7862 * progmodes/compile.el (compilation-start): Abbreviate default directory.
7864 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
7866 Implement SELINUX backends.
7868 * net/tramp.el (tramp-file-name-handler-alist):
7869 Add `file-selinux-context' and `set-file-selinux-context'.
7870 (tramp-handle-file-selinux-context)
7871 (tramp-handle-set-file-selinux-context): New defuns.
7872 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7873 Handle PRESERVE-SELINUX-CONTEXT.
7875 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7876 Add `file-selinux-context' and `set-file-selinux-context'.
7877 (tramp-gvfs-handle-file-selinux-context)
7878 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7879 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7881 * net/ange-ftp.el (ange-ftp-copy-file):
7882 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7883 * net/tramp-imap.el (tramp-imap-handle-copy-file):
7884 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7885 Add PRESERVE-SELINUX-CONTEXT.
7887 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7889 Synchronize with Tramp repository.
7891 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7892 (tramp-action-process-alive, tramp-action-out-of-band)
7893 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7894 (tramp-exists-file-name-handler): Fix docstring.
7895 (with-progress-reporter): New defmacro.
7896 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7897 (tramp-maybe-open-connection): Use it.
7899 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
7901 Detect ssh 'ControlMaster' argument automatically in some cases.
7903 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7904 (tramp-default-method): Use it.
7906 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7908 * net/tramp.el (tramp-handle-copy-file): Add new optional
7909 parameter `preserve-selinux-context'.
7910 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7912 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7914 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7915 Ensure, that non remote files are still checked. Oops.
7917 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
7921 * icomplete.el (icomplete-completions): Use `non-essential'.
7923 * net/tramp.el (tramp-connectable-p): New defun.
7924 (tramp-handle-expand-file-name)
7925 (tramp-completion-handle-file-name-all-completions)
7926 (tramp-completion-handle-file-name-completion): Use it.
7928 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7930 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7932 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
7934 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7936 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7938 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7941 * info.el (info-tool-bar-map): Add labels.
7943 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7945 * cus-edit.el (custom-commands): Add labels for tool bar.
7946 (custom-buffer-create-internal, Custom-mode): Adjust for
7947 labels in custom-commands.
7949 * dynamic-setting.el: Renamed from font-setting.el.
7951 2010-04-21 John Wiegley <jwiegley@gmail.com>
7953 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7954 toggles the use of virtual buffers.
7955 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7956 (ido-toggle-virtual-buffers): New function.
7958 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
7960 Use `define-derived-mode'; fix window selection; doc fixes.
7961 * play/tetris.el (tetris, tetris-update-speed-function)
7962 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7963 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7964 (tetris-rotate-next, tetris-end-game, tetris-start-game)
7965 (tetris-pause-game): Fix typos in docstrings.
7966 (tetris-mode-map, tetris-null-map):
7967 Move initialization into declaration.
7968 (tetris-mode): Define with `define-derived-mode';
7969 set show-trailing-whitespace to nil.
7970 (tetris): Prefer window already displaying the "*Tetris*" buffer.
7972 2010-04-21 Karel Klíč <kklic@redhat.com>
7974 * files.el (backup-buffer): Handle SELinux context, and return it
7975 if a backup was made by renaming.
7976 (backup-buffer-copy): Set SELinux context to the target file.
7977 (basic-save-buffer): Set SELinux context of the newly written file.
7978 (basic-save-buffer-1): Now it also returns any SELinux context.
7979 (basic-save-buffer-2): Set SELinux context of the newly created file,
7981 * net/tramp.el (tramp-file-name-for-operation):
7982 Add file-selinux-context.
7984 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7986 Make the log-edit comments use RFC822 format throughout.
7988 * vc.el (vc-checkin, vc-modify-change-comment):
7989 Adjust to new vc-start/finish-logentry.
7990 (vc-find-conflicted-file): New command.
7991 (vc-transfer-file): Adjust to new vc-checkin.
7992 (vc-next-action): Improve scoping.
7994 * vc-hg.el (vc-hg-log-edit-mode): Remove.
7995 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
7997 * vc-git.el (vc-git-log-edit-mode): Remove.
7998 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
7999 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8001 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8002 (vc-start-logentry): Remove argument `extra'.
8003 (vc-finish-logentry): Remove extra args.
8005 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8006 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8007 (vc-bzr-conflicted-files): New function.
8009 * log-edit.el (log-edit-extra-flags)
8010 (log-edit-before-checkin-process): Remove.
8011 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8012 (log-edit-headers-alist): New var.
8013 (log-edit-header-contents-regexp): New const.
8014 (log-edit-match-to-eoh): New function.
8015 (log-edit-font-lock-keywords): Use them.
8016 (log-edit): Insert a "Summary:" header as default.
8017 (log-edit-mode): Mark font-lock rules as case-insensitive.
8018 (log-edit-done): Cleanup headers.
8019 (log-view-process-buffer): Remove.
8020 (log-edit-extract-headers): New function to replace it.
8022 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8024 * subr.el (default-direction-reversed): Remove obsolescence info.
8026 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8028 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8031 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8032 I.e. include text after point in the completion region.
8033 Also, return nil when we're not after/in a symbol.
8035 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8036 default enable-multibyte-characters.
8038 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8040 * international/mule.el: Help the user choose a valid coding-system.
8041 (read-buffer-file-coding-system): New function.
8042 (set-buffer-file-coding-system): Use it. Prompt the user if the
8043 coding-system cannot encode all the chars.
8045 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8046 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8047 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8048 Don't use *vc-bzr-shelve*.
8050 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8052 Fix the version number for added files.
8053 * vc-hg.el (vc-hg-working-revision): Check if the file is
8054 registered after hg parent fails (Bug#5961).
8056 2010-04-19 Glenn Morris <rgm@gnu.org>
8058 * htmlfontify.el (htmlfontify-buffer)
8059 (htmlfontify-copy-and-link-dir): Autoload entry points.
8061 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8063 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8064 name relative to the project root (Bug#5960).
8066 2010-04-19 Glenn Morris <rgm@gnu.org>
8068 * vc-git.el (vc-git-print-log): Doc fix.
8070 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8072 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8074 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8076 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8077 default settings (Bug#5928).
8079 2010-04-19 Glenn Morris <rgm@gnu.org>
8081 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8083 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8085 2010-04-19 Kenichi Handa <handa@m17n.org>
8087 * language/indian.el (malayalam-composable-pattern): Fix previous
8088 change (add U+0D4D "SIGN VIRAMA").
8089 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8090 (tamil-composable-pattern): Fix typo in the regexp.
8091 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8092 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8093 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8095 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8097 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8098 paragraph-separate (Bug#5821).
8100 2010-04-19 Juri Linkov <juri@jurta.org>
8102 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8104 * info.el (Info-find-node-2): Comment out code that skips
8106 (Info-mouse-follow-link): New command.
8107 (Info-link-keymap): New keymap.
8108 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8109 Return a string with links instead of inserting breadcrumbs
8111 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8112 Instead of putting the `invisible' text property over the Info
8113 header, make an overlay over the Info header with the `invisible'
8114 property and `after-string' set to the string returned by
8117 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8119 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8120 Reported by monkey@sandpframing.com.
8122 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8124 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8125 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8126 available in the "keyseq cache" any more.
8128 * custom.el (defcustom): Add edebug spec.
8130 2010-04-18 Juri Linkov <juri@jurta.org>
8132 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8134 * view.el (view-file, view-buffer): Move test for special mode-class
8135 from view-file to view-buffer.
8137 * tar-mode.el (tar-extract): Turn if's into one cond
8138 like in arc-mode.el.
8140 2010-04-18 Juri Linkov <juri@jurta.org>
8142 Add 7z archive format support (bug#5475).
8144 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8145 (archive-7z-extract): New defcustom.
8146 (archive-find-type): Add magic string for 7z.
8147 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8148 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8149 `buffer' arg of `call-process'.
8150 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8151 call the function `archive-7z-extract' with the variable
8152 `archive-7z-extract' let-bound to `archive-zip-extract'.
8153 (archive-7z-summarize, archive-7z-extract): New functions.
8155 * international/mule.el (auto-coding-alist):
8156 * files.el (auto-mode-alist): Add 7z file extension.
8158 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8160 * loadup.el: Setup hash-cons for pure data.
8162 Fix duplicate entries in cedet's loaddefs.el files.
8163 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8164 Should make most file-local generated-autoload-file unnecessary.
8165 (print-readably): Silence warnings.
8166 (autoload-find-destination): Take load-name as an arg to make sure
8167 it's the same as the one that will be in the file.
8168 (autoload-generate-file-autoloads): Adjust to above changes.
8169 Try to make the dataflow a bit simpler.
8171 * cvs-status.el (cvs-refontify): Remove unused.
8173 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8175 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8177 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8178 twos-complement mode.
8180 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8182 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8183 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8184 (calc-inverse): Add "Option" to message, as appropriate.
8185 (calc-hyperbolic): Add "Option" to message, as appropriate.
8186 (calc-option, calc-is-option): New functions.
8188 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8189 (calc-option-prefix-help): New function.
8191 * calc/calc-misc.el (calc-help): Add "Option" entry.
8193 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8194 (calc-option-flag): New variable.
8195 (calc-do): Set `calc-option-flag to nil.
8196 (calc-set-mode-line): Add "Opt " as appropriate.
8198 2010-04-16 Juri Linkov <juri@jurta.org>
8200 Move scrolling commands from simple.el to window.el
8201 because their primitives are implemented in window.c.
8203 * simple.el (scroll-error-top-bottom)
8204 (scroll-up-command, scroll-down-command, scroll-up-line)
8205 (scroll-down-line, scroll-other-window-down)
8206 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8207 * window.el (scroll-error-top-bottom)
8208 (scroll-up-command, scroll-down-command, scroll-up-line)
8209 (scroll-down-line, scroll-other-window-down)
8210 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8211 Move from simple.el to window.el because their primitives are
8212 implemented in window.c.
8214 2010-04-16 Juri Linkov <juri@jurta.org>
8216 * isearch.el (isearch-lookup-scroll-key): Check both
8217 `isearch-scroll' and `scroll-command' properties.
8218 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8220 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8222 * simple.el (scroll-up-command, scroll-down-command)
8223 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8225 2010-04-15 Juri Linkov <juri@jurta.org>
8227 * simple.el (scroll-up-command, scroll-down-command)
8228 (scroll-up-line, scroll-down-line): Put `scroll-command'
8229 property on the these symbols. Remove them from
8230 `scroll-preserve-screen-position-commands'.
8232 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8233 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8234 Remove it from `scroll-preserve-screen-position-commands'.
8236 * isearch.el (isearch-allow-scroll): Doc fix.
8238 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8240 * net/tramp.el (tramp-error-with-buffer): Don't show the
8241 connection buffer when we are in completion mode.
8242 (tramp-file-name-handler): Catch the error for some operations
8243 when we are in completion mode. This gives the user the chance to
8244 correct the file name in the minibuffer.
8246 2010-04-15 Glenn Morris <rgm@gnu.org>
8248 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8250 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8252 Simplify by using `define-derived-mode'.
8253 * info.el (Info-mode):
8254 * calendar/todo-mode.el (todo-mode):
8255 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8256 (gomoku-mode-map): Move initialization into declaration.
8258 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8261 * ido.el (ido-file-name-all-completions-1):
8262 * minibuffer.el (minibuffer-completion-help):
8263 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8265 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8267 * simple.el (non-essential): New var.
8269 Add a new field `location' to bookmarks for non-file bookmarks.
8270 * bookmark.el (bookmark-location): Use the new field, if present.
8271 (bookmark-insert-location): Undo last change, not needed any more.
8272 * man.el (Man-bookmark-make-record):
8273 * woman.el (woman-bookmark-make-record): Add `location' field.
8275 2010-04-14 Juri Linkov <juri@jurta.org>
8277 * simple.el (scroll-error-top-bottom): New defcustom.
8278 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8280 * emulation/pc-select.el (pc-select-override-scroll-error):
8281 Obsolete in favor of `scroll-error-top-bottom'.
8283 2010-04-14 Juri Linkov <juri@jurta.org>
8285 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8286 `scroll-up-command' and `M-v' to `scroll-down-command'.
8288 * emulation/cua-rect.el (cua--init-rectangles):
8289 * forms.el (forms--change-commands):
8290 * image-mode.el (image-mode-map):
8291 Remap scroll-down-command and scroll-up-command
8292 in addition to scroll-down and scroll-up.
8294 2010-04-14 Juri Linkov <juri@jurta.org>
8296 * mwheel.el (scroll-preserve-screen-position-commands):
8297 Add mwheel-scroll to this list of commands.
8299 * simple.el (scroll-preserve-screen-position-commands):
8300 Add scroll-up-command, scroll-down-command, scroll-up-line,
8301 scroll-down-line to this list of commands.
8303 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8305 * obsolete/complete.el: Move from lisp/complete.el.
8307 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8309 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8310 to the minor mode function now turns the mode ON unconditionally.
8312 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8314 * vc-dir.el (vc-dir-kill-line): New command.
8315 (vc-dir-mode-map): Bind it to C-k.
8317 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8319 * woman.el: Add bookmark declarations to silence the compiler.
8320 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8321 step to compatibility between man and woman bookmarks.
8322 Adjust for Man-default-bookmark-title renaming.
8323 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8325 * man.el: Add bookmark declarations to silence the compiler.
8326 (Man-name-local-regexp): Make it match NAME as well.
8327 (Man-getpage-in-background): Return the buffer.
8328 (Man-notify-when-ready): Use `case'.
8329 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8330 Don't hardcode "NAME". Simplify.
8331 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8332 Rename from Man-bookmark-make-record.
8333 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8334 we have the actual man-args. Use Man-getpage-in-background rather
8335 than `man' since the arg is already processed. Let bookmark.el do the
8336 window handling. Only wait for the relevant process.
8337 Don't forget to autoload.
8339 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8341 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8343 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8345 (woman-mode): Setup bookmark support.
8347 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8348 (man-bookmark-jump): New functions.
8349 (Man-mode): Setup bookmark support.
8351 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8353 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8354 recognize ssh-keygen prompt (Bug#2817).
8356 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8358 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8360 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8362 Synchronize with Tramp repository.
8364 * net/tramp.el (tramp-completion-function-alist)
8365 (tramp-file-name-regexp, tramp-chunksize)
8366 (tramp-local-coding-commands, tramp-remote-coding-commands):
8368 (tramp-remote-process-environment): Use `format' instead of `concat'.
8369 (tramp-handle-directory-files-and-attributes)
8370 (tramp-get-remote-path): Use `copy-tree'.
8371 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8372 compatibility: Use `completion-ignore-case' if
8373 `read-file-name-completion-ignore-case' does not exist.
8374 (tramp-do-copy-or-rename-file-directly): Do not use
8375 `tramp-handle-file-remote-p'.
8376 (tramp-do-copy-or-rename-file-out-of-band):
8377 Use `tramp-compat-delete-directory'.
8378 (tramp-do-copy-or-rename-file-out-of-band)
8379 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8380 Use `format-spec-make'.
8381 (tramp-find-foreign-file-name-handler)
8382 (tramp-advice-make-auto-save-file-name)
8383 (tramp-set-auto-save-file-modes): Remove superfluous check for
8384 `stringp'. This is done inside `tramp-tramp-file-p'.
8385 (tramp-debug-outline-regexp): New defconst.
8386 (tramp-get-debug-buffer): Use it.
8387 (tramp-check-for-regexp): Use (forward-line 1).
8388 (tramp-set-auto-save-file-modes): Adapt version check.
8390 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8391 Wrap call of `featurep' for 2nd argument.
8392 (tramp-compat-make-temp-file): Simplify fallback implementation.
8393 (tramp-compat-copy-tree): Remove function.
8394 (tramp-compat-delete-directory): Provide implementation for older
8397 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8398 Do not use `tramp-fish-handle-file-attributes.
8400 * net/trampver.el: Update release number.
8402 2010-04-10 Glenn Morris <rgm@gnu.org>
8404 * progmodes/compile.el (compilation-save-buffers-predicate):
8405 Add missing :version tag.
8407 2010-04-09 Sam Steingold <sds@gnu.org>
8409 * progmodes/compile.el (compilation-save-buffers-predicate):
8410 Remove the "autoload" cookie.
8412 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8413 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8414 and `bug-reference-prog-mode' can be used in hooks directly.
8416 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8418 Add --author support to git commit.
8419 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8420 (vc-git-log-edit-mode): New minor mode.
8421 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8424 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8426 * vc-hooks.el, vc-git.el: Improve documentation comments.
8428 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8430 Fix some of the problems in defsubst* (bug#5728).
8431 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8432 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8434 2010-04-07 Sam Steingold <sds@gnu.org>
8436 * progmodes/compile.el (compilation-save-buffers-predicate):
8437 New custom variable.
8438 (compile, recompile): Pass it to `save-some-buffers'.
8440 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8442 * wid-edit.el (widget-choose): Move cursor to the second line of
8443 the buffer (Bug#5695).
8445 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8447 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8448 * vc.el (vc-print-log-setup-buttons): New function split out from
8449 vc-print-log-internal.
8450 (vc-log-internal-common): New function, a parametrized version of
8451 vc-print-log-internal.
8452 (vc-print-log-internal): Just call vc-log-internal-common with the
8454 (vc-incoming-outgoing-internal):
8455 (vc-log-incoming, vc-log-outgoing): New functions.
8456 (vc-log-view-type): New permanent local variable.
8458 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8460 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8461 of the dynamic bound vc-short-log.
8462 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8464 * vc-git.el (vc-git-log-outgoing): New function.
8465 (vc-git-log-view-mode): Use vc-log-view-type instead
8466 of the dynamic bound vc-short-log.
8468 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8469 of the dynamic bound vc-short-log. Highlight the tag.
8470 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8471 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8472 (vc-hg-incoming-mode): Remove.
8473 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8475 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8477 Fix default-directory for vc-root-diff.
8478 * vc.el (vc-root-diff): Bind default-directory to the root
8479 directory for the diff command.
8481 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8483 * progmodes/verilog-mode.el (verilog-forward-sexp):
8484 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8485 word keywords, suggested by Steve Pearlmutter.
8486 (verilog-pretty-declarations): Support lineup of declarations in
8488 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8489 fix bug for /* / comments.
8490 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8491 Speed up and simplfy as this is never called with a bound.
8492 (verilog-pretty-declarations): Enhance to line up declarations
8493 inside a parameter list, suggested by Alan Morgan.
8494 (verilog-pretty-expr): Tune assignment regular expression match
8495 string for corner cases; also use markers instead of character
8496 number as indent changes the later.
8498 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8500 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8502 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8503 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8504 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8505 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8508 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8509 1800-2009 keywords, including "global.".
8511 2010-04-06 John Wiegley <jwiegley@gmail.com>
8513 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8514 appearing in buffer list (if a live buffer name matched a recentf
8515 file basename). Should use uniquify to offer a real solution.
8517 2010-04-06 John Wiegley <jwiegley@gmail.com>
8519 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8520 comment to code, and add a :version tag.
8521 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8523 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8525 Enable recentf-mode if using virtual buffers.
8526 * ido.el (recentf-list): Declare for byte-compiler.
8527 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8528 (ido-make-buffer-list): Simplify.
8529 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8531 2010-04-05 Juri Linkov <juri@jurta.org>
8533 Scrolling commands which scroll a line instead of full screen.
8534 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8536 * simple.el (scroll-up-line, scroll-down-line): New commands.
8537 Put property isearch-scroll=t on them.
8539 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8542 2010-04-05 Juri Linkov <juri@jurta.org>
8544 Scrolling commands which do not signal errors at top/bottom.
8545 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8547 * simple.el (scroll-up-command, scroll-down-command): New commands.
8548 Put property isearch-scroll=t on them.
8550 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8551 `scroll-down-command' and [next] from `scroll-up' to
8552 `scroll-up-command'.
8554 * emulation/cua-base.el: Put property CUA=move on
8555 `scroll-up-command' and `scroll-down-command'.
8556 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8557 and `scroll-down-command' to `cua-scroll-down'.
8559 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8561 * help.el (describe-mode): Return nil.
8563 2010-04-04 John Wiegley <jwiegley@gmail.com>
8565 * ido.el (ido-use-virtual-buffers): New variable to indicate
8566 whether "virtual buffer" support is enabled for IDO.
8567 (ido-virtual): Face used to indicate virtual buffers in the list.
8568 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8569 exists, but a virtual buffer of that name does (which would be why
8570 it was in the list), recreate the buffer by reopening the file.
8571 (ido-make-buffer-list): If virtual buffers are being used, call
8572 `ido-add-virtual-buffers-to-list' before the make list hook.
8573 (ido-virtual-buffers): New variable which contains a copy of the
8574 current contents of the `recentf-list', albeit pared down for the
8575 sake of speed, and with proper faces applied.
8576 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8577 create a list of "virtual buffers" to present to the user in
8578 addition to the currently open set. Note that this logic could
8579 get rather slow if that list is too large. With the default
8580 `recentf-max-saved-items' of 200, there is little speed penalty.
8582 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8584 * font-lock.el: Require CL when compiling.
8585 (font-lock-turn-on-thing-lock): Use `case'.
8587 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8589 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8592 2010-04-02 Juri Linkov <juri@jurta.org>
8594 * ehelp.el (electric-help-orig-major-mode):
8595 New buffer-local variable.
8596 (electric-help-mode): Set it to original major-mode. Doc fix.
8597 (with-electric-help): Use `electric-help-orig-major-mode' instead
8598 of (default-value 'major-mode). Doc fix.
8599 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8601 2010-04-02 Sam Steingold <sds@gnu.org>
8603 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8604 `vc-hg-command' with a list of flags.
8606 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8607 Also accept "patch" and "RFE".
8608 (bug-reference-fontify): `bug-reference-url-format' can also be a
8609 function to be able to handle the bug kind.
8610 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8612 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8614 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8615 value to fboundp, it may not be a symbol.
8617 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8619 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8621 2010-03-31 Juri Linkov <juri@jurta.org>
8623 * simple.el (next-line, previous-line): Re-throw a signal
8624 with `signal' instead of using `ding'.
8625 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8627 2010-03-31 Juri Linkov <juri@jurta.org>
8629 * simple.el (keyboard-escape-quit): Raise deselecting the active
8630 region higher than exiting the minibuffer.
8631 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8633 2010-03-31 Juri Linkov <juri@jurta.org>
8635 * image.el (image-animated-p): Use `image-metadata' instead of
8636 `image-extension-data'. Get GIF extenstion data from metadata
8637 property `extension-data'.
8639 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8641 * simple.el (append-to-buffer): Simplify.
8643 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
8645 * textmodes/artist.el (artist-mode): Fix typo in docstring.
8646 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
8648 2010-03-31 Kenichi Handa <handa@m17n.org>
8650 * language/sinhala.el (composition-function-table): Fix regexp for
8651 the new Unicode specification.
8653 * language/indian.el (devanagari-composable-pattern)
8654 (tamil-composable-pattern, kannada-composable-pattern)
8655 (malayalam-composable-pattern): Adjust for the new Unicode
8657 (bengali-composable-pattern, gurmukhi-composable-pattern)
8658 (gujarati-composable-pattern, oriya-composable-pattern)
8659 (telugu-composable-pattern): New variables to cope with the new
8660 Unicode specification. Use them in composition-function-table.
8662 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8664 Make tmm-menubar work for the Buffers menu again (bug#5726).
8665 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8666 vectors rather than cons cells, as used in menu-bar-update-buffers.
8668 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8670 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8671 (js-insert-and-indent): Revert 2009-08-15 change, restoring
8672 electric punctuation for "{}();,:" (Bug#5586).
8674 * mail/sendmail.el (mail-default-directory): Doc fix.
8676 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8678 * mail/sendmail.el (mail-default-directory): Doc fix.
8680 2010-03-31 Eli Zaretskii <eliz@gnu.org>
8682 * subr.el (version-regexp-alist, version-to-list)
8683 (version-list-<, version-list-=, version-list-<=)
8684 (version-list-not-zero, version<, version<=, version=): Doc fix.
8687 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
8689 * vc.el (vc-root-diff): Doc fix.
8691 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8693 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8695 * simple.el (append-to-buffer): Fix last change.
8697 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8699 * simple.el (append-to-buffer): Ensure that point is preserved if
8700 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8703 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8705 * files.el (auto-mode-case-fold): Change default to t.
8707 2010-03-30 Juri Linkov <juri@jurta.org>
8709 * dired-x.el (dired-omit-mode): Doc fix.
8711 2010-03-30 Juri Linkov <juri@jurta.org>
8713 * replace.el (occur-accumulate-lines): Move occur-engine related
8714 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8715 to be located after `occur-engine'.
8717 2010-03-30 Juri Linkov <juri@jurta.org>
8719 Make occur handle multi-line matches cleanly with context.
8720 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8722 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8723 (occur-engine): Add local variables `ret', `prev-after-lines',
8724 `prev-lines'. Use more arguments for `occur-context-lines'.
8725 Set first elem of its returned list to `data', and the second elem
8726 to `prev-after-lines'. Don't print the separator line.
8727 In the end, print remaining context after-lines.
8728 (occur-context-lines): Add new arguments `begpt', `endpt',
8729 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
8730 after-lines of the previous match with before-lines of the
8731 current match and not overlap them. Return a list with two
8732 values: the output line and the list of context after-lines.
8734 2010-03-30 Juri Linkov <juri@jurta.org>
8736 * replace.el (occur-accumulate-lines): Fix a bug where the first
8737 context line at the beginning of the buffer was missing.
8739 2010-03-30 Eli Zaretskii <eliz@gnu.org>
8741 * files.el: Make bidi-display-reordering safe variable for boolean
8744 2010-03-29 Phil Hagelberg <phil@evri.com>
8745 Chong Yidong <cyd@stupidchicken.com>
8747 * subr.el: Extend progress reporters to perform "spinning".
8748 (progress-reporter-update, progress-reporter-do-update):
8749 Handle non-numeric value arguments.
8750 (progress-reporter--pulse-characters): New var.
8752 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
8754 * progmodes/compile.el (compilation-start): Fix regexp detection
8755 of initial cd command (Bug#5771).
8757 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
8759 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8761 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
8763 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8764 * progmodes/gdb-mi.el: Restore.
8765 * progmodes/gdb-ui.el: Remove.
8766 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8768 2010-03-25 Glenn Morris <rgm@gnu.org>
8770 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8771 all dired buffers, even tramp ones. (Bug#5755)
8773 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8775 Add "union tags" in mpc.el.
8776 * mpc.el: Remove backward compatibility code.
8777 (mpc-browser-tags): Change default.
8778 (mpc--find-memoize-union-tags): New var.
8779 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8780 (mpc-cmd-find): Handle the case where the playlist does not exist.
8782 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
8783 (mpc-cmd-add): Use mpc-cmd-flush.
8784 (mpc-tagbrowser-tag-name): New fun.
8785 (mpc-tagbrowser-buf): Use it.
8786 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
8788 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8791 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8792 Use replace-regexp-in-string.
8793 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8794 (makefile-imake-mode-syntax-table): Move init into defvar.
8795 (makefile-mode): Use define-derived-mode.
8797 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8798 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8799 not be present any more.
8801 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8803 * faces.el (set-face-attribute): Fix typo in docstring.
8804 (face-valid-attribute-values): Reflow docstring.
8806 2010-03-24 Glenn Morris <rgm@gnu.org>
8808 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8810 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8812 * indent.el (indent-for-tab-command): Doc fix.
8814 2010-03-24 Alan Mackenzie <acm@muc.de>
8816 * progmodes/cc-engine.el (c-remove-stale-state-cache):
8817 Fix off-by-one error. Fixes bug #5747.
8819 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8821 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8822 (image-dired-read-comment): Doc fix.
8824 * json.el (json-object-type, json-array-type, json-key-type)
8825 (json-false, json-null, json-read-number):
8826 * minibuffer.el (completion-in-region-functions):
8827 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8828 (cal-tex-cursor-week):
8829 * emacs-lisp/trace.el (trace-function):
8830 * eshell/em-basic.el (eshell/printnl):
8831 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8832 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8833 * obsolete/levents.el (allocate-event, event-key, event-object)
8834 (event-point, event-process, event-timestamp, event-to-character)
8835 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8836 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8837 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8838 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8839 (reftex-highlight-selection): Fix typos in docstrings.
8841 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
8843 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8845 2010-03-24 Glenn Morris <rgm@gnu.org>
8847 * mail/rmail.el (rmail-highlight-face): Restore option deleted
8848 2008-02-13 without comment; mark it obsolete.
8849 (rmail-highlight-headers): Use rmail-highlight-face once more.
8851 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
8853 * woman.el (woman2-process-escapes): Only consume the newline if
8854 the filler character is on a line by itself (Bug#5729).
8856 2010-03-24 Kenichi Handa <handa@m17n.org>
8858 * language/indian.el (devanagari-composable-pattern): Add more
8861 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8863 * net/trampver.el: Update release number.
8865 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
8867 * net/tramp.el (tramp-find-executable):
8868 Use `tramp-get-connection-buffer'. Make the regexp for checking
8869 output of "wc -l" more robust.
8870 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8871 (tramp-open-connection-setup-interactive-shell): Remove workaround
8872 for OpenSolaris bug, it is not needed anymore.
8874 2010-03-24 Glenn Morris <rgm@gnu.org>
8876 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
8878 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
8880 * files.el (auto-mode-alist): Accept more verilog file patterns.
8882 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8884 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8886 2010-03-24 Glenn Morris <rgm@gnu.org>
8888 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8889 log-edit-before-checkin-process.
8891 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8893 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8895 * vc-dispatcher.el (vc-start-logentry): Doc fix.
8896 (log-view-process-buffer, log-edit-extra-flags): Declare.
8898 * log-edit.el (log-edit-before-checkin-process): Doc fix.
8900 2010-03-23 Sam Steingold <sds@gnu.org>
8902 Fix bug#5620: recalculate all markers on compilation buffer
8903 modifications, not on file modifications.
8904 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8905 the buffer modification time, for buffers not associated with files.
8906 (compilation-mode): Create it.
8907 (compilation-filter): Update it.
8908 (compilation-next-error-function): Use it instead of
8909 `visited-file-modtime' for timestamp.
8911 2010-03-23 Juri Linkov <juri@jurta.org>
8913 Implement Occur multi-line matches.
8914 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8916 * replace.el (occur): Doc fix.
8917 (occur-engine): Set `begpt' to the beginning of the first line.
8918 Set `endpt' to the end of the last match line. At first, count
8919 line numbers between `origpt' and `begpt'. Split out code from
8920 `out-line' variable to new let-bindings `match-prefix' and
8921 `match-str'. In `out-line' add non-numeric prefix to all
8922 non-first lines of multi-line matches. Finally, count lines
8923 between `begpt' and `endpt' and add to `lines'.
8925 2010-03-23 Juri Linkov <juri@jurta.org>
8927 * replace.el (occur-accumulate-lines, occur-engine):
8928 Use `occur-engine-line' instead of duplicate code.
8929 (occur-engine-line): New function created from duplicate code
8930 in `occur-accumulate-lines' and `occur-engine'.
8932 * replace.el (occur-engine-line): Add optional arg `keep-props'.
8933 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8935 2010-03-23 Juri Linkov <juri@jurta.org>
8937 * finder.el: Remove TODO tasks.
8939 * info.el (Info-finder-find-node): Add node "all"
8940 with all package info. Handle a list of multiple keywords
8942 (info-finder): In interactive use with a prefix argument,
8943 use `completing-read-multiple' to read a list of keywords
8946 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8948 Add a new completion style `substring'.
8949 * minibuffer.el (completion-basic--pattern): New function.
8950 (completion-basic-try-completion, completion-basic-all-completions):
8952 (completion-substring--all-completions)
8953 (completion-substring-try-completion)
8954 (completion-substring-all-completions): New functions.
8955 (completion-styles-alist): New style `substring'.
8957 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8959 Get rid of .elc files after removal of the corresponding .el.
8960 * Makefile.in (compile-clean): New target.
8961 (compile-main): Use it.
8963 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
8965 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8966 don't do make there. When compiling with separate object dir, there
8967 is no Makefile there.
8969 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8971 Get rid of the ELCFILES abomination, again.
8972 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8973 (all, compile): Don't call compile-last.
8974 (compile-main): Build the "elcfiles" list dynamically.
8975 (compile-targets): New (internal) target.
8977 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
8979 * Makefile.in (top_srcdir): Define.
8980 (abs_top_builddir): Define.
8981 (srcdir): Don't append `/..'.
8982 (EMACS): Use ${abs_top_builddir}.
8983 (all, compile, compile-always, compile-last): Don't set emacswd.
8984 (update-subdirs, update-authors): Use $(top_srcdir) instead of
8986 (lisp): Use $(srcdir) instead of @srcdir@.
8988 2010-03-21 Juri Linkov <juri@jurta.org>
8990 Fix message of multi-line occur regexps and multi-buffer header lines.
8991 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8993 * replace.el (occur-1): Don't display regexp if it is longer
8994 than window-width. Use `query-replace-descr' to display regexp.
8995 (occur-engine): Don't display regexp in the buffer header for
8996 multi-buffer occur. Display a separate header line with total
8997 match count and regexp for multi-buffer occur.
8998 Use `query-replace-descr' to display regexp.
9000 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9002 * net/secrets.el: Fix parenthesis.
9003 (secrets-enabled): Fix parenthesis.
9005 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9007 Use more relative file and directory names.
9008 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9009 (setwins, setwins_almost, setwins_for_subdirs):
9010 Don't `cd'; output relative names.
9011 (all, compile, compile-always, compile-last): Set emacswd.
9012 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9013 Just cd to the lisp source dir so we can use relative file names.
9015 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9017 2010-03-20 Glenn Morris <rgm@gnu.org>
9019 * textmodes/rst.el: Use faces for font-lock customization, and make the
9020 old -face variables obsolete.
9021 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9022 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9023 (rst-block-face, rst-external-face, rst-definition-face)
9024 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9025 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9027 (rst-font-lock-keywords-function): Update for above changes.
9029 2010-03-20 Juri Linkov <juri@jurta.org>
9032 * obsolete/s-region.el: Move to obsolete.
9034 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9036 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9038 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9040 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9042 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9044 Add special markup processing for commit logs.
9045 * log-edit.el (log-edit-extra-flags): New variable.
9046 (log-edit): Add new argument MODE. Use that mode when non-nil
9047 instead of the log-view-mode.
9048 (log-view-process-buffer): New function.
9050 * vc.el: Document that the checkin method takes optional
9051 arguments. Document new backend specific method: log-view-mode.
9052 (vc-default-log-edit-mode): New function.
9053 (vc-checkin): Use a backend specific log-view-mode.
9054 Pass extra arguments to the checkin method.
9055 (vc-modify-change-comment): Pass a dummy extra argument.
9057 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9059 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9060 (vc-finish-logentry): Process the log buffer before passing it
9061 down. Pass log-edit-extra-flags.
9063 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9065 (log-edit-extra-flags, log-edit-before-checkin-process):
9068 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9070 (log-edit-extra-flags, log-edit-before-checkin-process):
9072 (vc-hg-log-edit-mode): New derived mode.
9074 * vc-arch.el (vc-arch-checkin):
9075 * vc-cvs.el (vc-cvs-checkin):
9076 * vc-git.el (vc-git-checkin):
9077 * vc-mtn.el (vc-mtn-checkin):
9078 * vc-rcs.el (vc-rcs-checkin):
9079 * vc-sccs.el (vc-sccs-checkin):
9080 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9082 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9087 2010-03-19 Glenn Morris <rgm@gnu.org>
9089 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9091 2010-03-18 Glenn Morris <rgm@gnu.org>
9093 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9095 * replace.el (query-replace-history): Give it a doc string.
9096 (map-query-replace-regexp): Use query-replace-from-history-variable
9097 and query-replace-to-history-variable.
9099 * mail/hashcash.el (declare-function): Remove duplicate definition.
9101 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9102 Make it an obsolete alias for report-emacs-bug-address.
9103 (message-strip-special-text-properties): Declare.
9104 (report-emacs-bug): Remove test for a pretest bug address.
9105 Combine message-mode-specific code.
9107 * mail/supercite.el: Don't require sendmail.
9108 (mh-in-header-p): Declare rather than using with-no-warnings.
9109 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9110 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9112 * calendar/cal-french.el: Convert to utf-8.
9114 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9117 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9119 * net/secrets.el (secrets-enabled): New variable. Use it instead
9122 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9124 * net/secrets.el (top): Register the D-Bus signals only when the
9125 service "org.freedesktop.secrets" can be pinged.
9126 Provide subfeature `enabled'.
9128 2010-03-14 Juri Linkov <juri@jurta.org>
9130 Add finder unknown keywords.
9132 * finder.el (finder-unknown-keywords): New function.
9134 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9135 to create a Finder node with unknown keywords.
9137 2010-03-14 Juri Linkov <juri@jurta.org>
9139 * finder.el (finder-compile-keywords): Replace `princ' with
9140 `prin1' on a list of symbols interned from keyword strings.
9142 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9143 a comma, then split keywords using a comma and optional whitespace.
9144 Otherwise, split by whitespace.
9152 * progmodes/mixal-mode.el: Fix keywords.
9154 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9156 * Makefile.in (ELCFILES): Add net/secrets.elc.
9158 * net/secrets.el: New file.
9160 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9162 * facemenu.el (list-colors-display, list-colors-print): New arg
9163 callback. Use it to allow selecting colors.
9165 * wid-edit.el (widget-image-insert): Insert image prop even if the
9166 current display is non-graphic.
9167 (widget-field-value-set): New fun.
9168 (editable-field): Use it.
9169 (widget-field-value-get): Clean up unused var.
9170 (widget-color-value-create, widget-color--choose-action):
9171 New funs. Allow using list-colors-display to choose color.
9173 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9175 * cus-edit.el: Resort topmost custom groups.
9176 (custom-buffer-sort-alphabetically): Default to t.
9177 (customize-apropos): Use apropos-parse-pattern.
9178 (custom-search-field): New var.
9179 (custom-buffer-create-internal): Add custom-apropos search field.
9180 (custom-add-parent-links): Don't display parent doc.
9181 (custom-group-value-create): Don't sort top-level custom group.
9182 (custom-magic-value-create): Show visibility button before option name.
9184 (custom-variable-state): New fun, from custom-variable-state-set.
9185 (custom-variable-state-set): Use it.
9186 (custom-group-value-create): Hide options with standard values
9187 using the :hidden-states property. Use progress reporter.
9189 (custom-show): Simplify.
9190 (custom-visibility): Disable images by default.
9191 (custom-variable): New property :hidden-states.
9192 (custom-variable-value-create): Enable images for
9193 custom-visibility widgets. Use :hidden-states property to
9194 determine initial visibility.
9196 * wid-edit.el (widget-image-find): Give images center ascent.
9197 (visibility): Add :on-image and :off-image properties.
9198 (widget-visibility-value-create): Use them.
9200 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9202 * cus-edit.el (processes): Remove from development group.
9203 (oop, hypermedia): Delete group.
9204 (comm): Promote to top-level group.
9206 * net/browse-url.el (browse-url):
9207 * net/xesam.el (xesam):
9208 * net/tramp.el (tramp):
9209 * net/goto-addr.el (goto-address):
9210 * net/ange-ftp.el (ange-ftp): Put in comm group.
9212 * view.el (view): Remove from editing group.
9214 * uniquify.el (uniquify): Put in files group.
9216 * net/browse-url.el (browse-url):
9217 * ps-print.el (postscript): Put in external group.
9219 * cus-edit.el (outlines):
9220 * textmodes/text-mode.el (text-mode-hook):
9221 * textmodes/table.el (table):
9222 * textmodes/picture.el (picture):
9223 * outline.el (outlines): Put in wp group.
9225 * nxml/nxml-mode.el (nxml): Remove from wp group.
9227 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9229 * mail/metamail.el (metamail): Remove from hypermedia group.
9231 * cus-edit.el (abbrev):
9232 * whitespace.el (whitespace):
9233 * vcursor.el (vcursor):
9234 * reveal.el (reveal):
9235 * hl-line.el (hl-line): Put in convenience group.
9237 * epg-config.el (epg): Put in data group.
9239 * emulation/pc-select.el (pc-select): Put in emulations group.
9241 * calculator.el (calculator): Put in applications group.
9243 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9245 Add .dir-locals.el support for file-less buffers.
9246 * files.el (hack-local-variables): Split out code to apply local
9247 variable settings ...
9248 (hack-local-variables-apply): ... here. New function.
9249 (hack-dir-local-variables): Use the default directory for when the
9250 buffer does not have an associated file.
9251 (hack-dir-local-variables-non-file-buffer): New function.
9252 * diff-mode.el (diff-mode):
9253 * vc-annotate.el (vc-annotate-mode):
9254 * vc-dir.el (vc-dir-mode):
9255 * log-edit.el (log-edit-mode):
9256 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9258 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9260 Add support for shelving snapshots and for showing shelves.
9261 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9262 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9264 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9265 (vc-bzr-extra-menu-map): Map them.
9267 2010-03-11 Glenn Morris <rgm@gnu.org>
9269 * cus-edit.el (customize-changed-options-previous-release):
9272 * image.el (image-animate-max-time): Fix :version tag.
9274 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9278 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9280 * vc-git.el (vc-git-revision-table): Include remote branches.
9282 2010-03-10 Kim F. Storm <storm@cua.dk>
9285 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9287 * image.el (image-animate-max-time): New defcustom.
9288 (image-animated-types): New defconst.
9289 (create-animated-image, image-animate-timer)
9290 (image-animate-start, image-animate-stop, image-animate-timeout)
9291 (image-animated-p): New functions.
9293 * image-mode.el (image-toggle-display-image):
9294 Replace `create-image' with `create-animated-image'.
9296 2010-03-09 Miles Bader <miles@gnu.org>
9298 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9299 instead of "format:"; this ensures that the output is
9302 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9304 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9305 that all errors are caught, and that the return value is always a
9308 2010-03-08 Kenichi Handa <handa@m17n.org>
9310 * language/misc-lang.el (windows-1256): New coding system.
9311 (cp1256): New alias of windows-1256 (bug#5690).
9313 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9315 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9316 call to rfc822-bad-address. (Bug#5692)
9318 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9320 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9321 Use vc-git-root as default directory for revision path (Bug#5657).
9323 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9325 * calculator.el (calculator): Don't bind split-window-keep-point
9328 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9330 * vc-git.el: Re-flow to fit into 80 columns.
9331 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9332 Remove spurious `quote' element in each case alternative.
9333 (vc-git-show-log-entry): Use prog1.
9334 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9336 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9338 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9340 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9342 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9343 definition, not the name (Bug#5481).
9345 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9347 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9348 argument with a local variable. (Bug#5670)
9350 2010-03-02 Juri Linkov <juri@jurta.org>
9352 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9354 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9356 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9357 error when FILENAME and NEWNAME are existing remote directories.
9359 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9362 2010-03-02 Glenn Morris <rgm@gnu.org>
9364 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9365 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9367 2010-03-01 Kenichi Handa <handa@m17n.org>
9369 * language/burmese.el (burmese-composable-pattern): Rename from
9370 myanmar-composable-pattern.
9372 * international/characters.el (script-list):
9373 * international/fontset.el (script-representative-chars):
9374 Change myanmar to burmese.
9375 (otf-script-alist): Likewise.
9376 (setup-default-fontset): Likewise. Re-fix :otf spec.
9378 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9380 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9382 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9384 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9386 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9388 * net/tramp.el (tramp-handle-write-region): START can be a string.
9389 Take care in the checks. Reported by Dan Davison
9390 <davison@stats.ox.ac.uk>.
9392 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9394 * net/dbus.el (dbus-introspect, dbus-get-property)
9395 (dbus-set-property, dbus-get-all-properties):
9396 Use `dbus-call-method' when noninteractive. (Bug#5645)
9398 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9400 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9401 * emacs-lisp/elint.el (elint-add-required-env):
9402 * calendar/icalendar.el (icalendar--add-diary-entry):
9403 * calc/calcalg2.el (math-tracing-integral):
9404 * files.el (recover-session-finish): Use with-current-buffer
9405 instead of save-excursion.
9407 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9409 Fix in-buffer completion when after-change-functions modify the buffer.
9410 * minibuffer.el (completion--replace): New function.
9411 (completion--do-completion): Use it and use relative movement.
9413 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9415 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9417 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9419 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9420 Allow the characters _<> in the stack entry (Bug#5653).
9422 2010-02-26 Kenichi Handa <handa@m17n.org>
9424 * language/burmese.el: Fix entries in composition-function-table.
9425 (myanmar-composable-pattern): New variable.
9427 * international/fontset.el (setup-default-fontset): Add an entry
9430 * international/characters.el (script-list): Add Myanmar
9433 2010-02-26 Glenn Morris <rgm@gnu.org>
9435 * custom.el (custom-initialize-delay): Doc fix.
9437 * mail/sendmail.el (send-mail-function): Autoload the call
9438 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9440 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9442 * files.el (hack-local-variables-filter): For eval forms, also
9443 check safe-local-variable-p (Bug#5636).
9445 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9447 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9448 setting the modes by `ignore-errors'. It might fail, for example
9449 if the file is not owned by the user but the group.
9450 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9452 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9454 * files.el (directory-listing-before-filename-regexp):
9455 Use stricter matching for iso-style dates, to avoid false matches with
9456 date-like filenames (Bug#5597).
9458 * htmlfontify.el (htmlfontify): Doc fix.
9460 * eshell/eshell.el (eshell): Doc fix.
9462 * startup.el (fancy-about-screen): In mode-line, apply
9463 mode-line-buffer-id face only to the buffer name (Bug#5613).
9465 2010-02-20 Kevin Ryde <user42@zip.com.au>
9467 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9468 In `watcom' anchor regexp to start of line, to avoid slowness
9471 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9473 * subr.el (remove-yank-excluded-properties): Explain in a comment
9474 why `category' property is removed.
9476 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9478 * isearch.el (isearch-update-post-hook, isearch-update):
9479 Revert 2010-02-17 change.
9481 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9483 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9484 (icalendar--convert-weekly-to-ical)
9485 (icalendar--convert-yearly-to-ical)
9486 (icalendar--convert-block-to-ical)
9487 (icalendar--convert-cyclic-to-ical)
9488 (icalendar--convert-anniversary-to-ical): Take care of time
9489 specifications where hour has 1-digit only (Bug#5549).
9491 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9493 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9494 of disassemble output in GDB 7.1.
9496 2010-02-19 Glenn Morris <rgm@gnu.org>
9498 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9499 property. (Bug#5593)
9501 2010-02-18 Sam Steingold <sds@gnu.org>
9503 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9505 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9507 Use abbreviated file names in bookmarks (bug#5591).
9508 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9509 calls to expand-file-name.
9510 (bookmark-relocate): Use abbreviated file names in bookmarks.
9511 (bookmark-load): Use abbreviated file names in messages.
9513 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9515 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9516 expand "." and "..". Reported by Thierry Volpiatto
9517 <thierry.volpiatto@gmail.com>.
9519 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9521 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9522 permissions of the temporary file to "0600". In case the remote
9523 file has no read permissions for the owner, there might be
9524 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9526 22010-02-18 Glenn Morris <rgm@gnu.org>
9528 * emacs-lisp/authors.el (authors-renamed-files-alist):
9529 Add entries for INSTALL.CVS.
9531 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9533 * vc-bzr.el: Fix typo in Known Bugs section.
9535 * isearch.el (isearch-update-post-hook): New hook.
9536 (isearch-update): Use the new hook.
9538 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9540 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9541 Fix errors in copying directories.
9542 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9543 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9544 (tramp-handle-delete-file)
9545 (tramp-handle-dired-recursive-delete-directory)
9546 (tramp-handle-write-region): Flush also the cache for the upper
9549 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9551 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9553 * cus-edit.el (hardware): Doc fix.
9555 * man.el (man): Add to external custom group.
9557 * delim-col.el (columns): Move to wp custom group.
9559 * doc-view.el (doc-view): Add to data custom group.
9561 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9563 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9564 by ispell-parse-output (Bug#5575).
9566 2010-02-16 Kenichi Handa <handa@m17n.org>
9568 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9569 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9570 (skkdic-convert): Use `euc-japan' coding system for writing.
9572 2010-02-16 Glenn Morris <rgm@gnu.org>
9574 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9575 tex-main-file before using it. (Bug#5562)
9577 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9579 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9580 warnings, since it is annoying for the user to see them each time he
9583 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9585 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9586 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9587 instead of PROC for caching "first-password-request". Otherwise,
9588 new processes would not profit from passwords already entered.
9590 * net/tramp-cache.el (tramp-dump-connection-properties):
9591 Don't save "first-password-request" property.
9593 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9595 * outline.el (outline-head-from-level):
9596 * simple.el (with-wrapper-hook):
9597 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9598 (elint-defun, elint-buffer-env, elint-top-form-logged)
9599 (elint-unbound-variable):
9600 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9601 Fix typos in docstrings.
9603 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9605 * files.el (insert-directory): When WILDCARD-REGEXP and
9606 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9607 whole directory. (Bug#5551)
9609 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9610 dired's alignment sanity. (Bug#5516)
9612 2010-02-14 Juri Linkov <juri@jurta.org>
9614 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9615 Remove remaining ^H with their preceding chars. (Bug#5566)
9617 2010-02-13 Glenn Morris <rgm@gnu.org>
9619 * simple.el (transpose-subr): Give it a doc-string.
9621 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9624 2010-02-12 Juri Linkov <juri@jurta.org>
9626 * arc-mode.el (archive-unique-fname): Make directories for nested
9627 archives. (Bug#5540)
9629 2010-02-12 Juri Linkov <juri@jurta.org>
9631 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
9633 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9635 * subr.el (copy-overlay): Handle deleted overlays.
9637 * man.el (Man-completion-table): Don't signal an error if we can't run
9638 manual-program (bug#4056).
9640 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
9642 * textmodes/artist.el (artist-mt): Fix typos in docstring.
9644 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9646 * info.el (Info-bookmark-jump): Simplify.
9648 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9649 (bookmark-default-handler): Accept new bookmark field `buffer'.
9651 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
9653 * iswitchb.el (iswitchb-completions): Revert last change.
9655 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
9657 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9658 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9659 This prevents file names like "~/" being listed literally.
9661 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9663 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9664 Remove dead code. (Bug#5546)
9666 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
9668 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9669 correctly (Bug#5548).
9671 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
9673 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9674 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9676 2010-02-08 Kenichi Handa <handa@m17n.org>
9678 * international/mule-util.el (with-coding-priority): Add autoload
9679 cookie for putting `lisp-indent-function'.
9681 2010-02-07 Glenn Morris <rgm@gnu.org>
9683 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9684 Move F2003 named interfaces from keywords-2 to keywords-1, and
9685 use function-name-face rather than constant-face.
9686 Simplify "abstract interface" regexp.
9688 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
9690 * eshell/esh-util.el (eshell-file-attributes): New optional arg
9691 ID-FORMAT. Pass it to `file-attributes'.
9693 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9695 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9697 * faces.el (set-face-attribute): Allow calling
9698 internal-set-lisp-face-attribute with 'unspecified family and
9699 foundry argument (Bug#5536).
9701 2010-02-07 Glenn Morris <rgm@gnu.org>
9703 * progmodes/f90.el (f90-font-lock-keywords-2)
9704 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9705 Handle F2003 named interfaces.
9707 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
9709 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9710 beg and end before calling c-get-state-before-change-functions.
9712 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
9714 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9716 2010-02-05 Juri Linkov <juri@jurta.org>
9718 * doc-view.el (doc-view-mode):
9719 * image-mode.el (image-mode): Put property mode-class=special.
9722 2010-02-05 Mark A. Hershberger <mah@everybody.org>
9724 * vc-svn.el (vc-svn-revision-table): New function.
9726 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
9728 * net/ange-ftp.el (ange-ftp-insert-directory):
9729 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9730 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9731 Handle also directories. (Bug#5478)
9733 2010-02-05 Glenn Morris <rgm@gnu.org>
9735 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9737 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
9739 * startup.el (command-line-1): Convert options beginning with a
9740 single dash as well (Bug#5519).
9742 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9744 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9745 * minibuffer.el (completion-initials-expand): Only check the presence
9746 of delims *within* the boundaries, since otherwise the / delim is
9747 always found for files.
9749 Fix up various corner case problems.
9750 * doc-view.el (doc-view-last-page-number): New function.
9751 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9752 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9753 (doc-view-kill-proc): Avoid inf-loop in freak cases.
9754 (doc-view-reconvert-doc): Use the new recursive delete-directory.
9755 (doc-view-convert-current-doc): Don't create the resolution.el file
9757 (doc-view-pdf/ps->png): Do it here instead.
9758 (doc-view-already-converted-p): Check that resolution.el is present.
9759 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9760 windows that are not yet showing images.
9762 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
9764 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9765 `dired-uncache' for every elemnt which is an absolute file name.
9767 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9768 directory, handle its directory component.
9769 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9770 function is called permanently and creates noise, otherwise.
9772 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9773 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9774 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
9776 2010-02-04 David Burger <dburger@google.com> (tiny change)
9778 * macros.el (apply-macro-to-region-lines):
9779 Minor simplification. (Bug#5485)
9781 2010-02-04 Glenn Morris <rgm@gnu.org>
9783 * mail/rmail.el (rmail-show-message-1): Handle malformed
9784 quoted-printable text. (Bug#5441)
9786 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9788 * simple.el (visual-line-mode): Capitalize lighter.
9790 2010-02-03 John Wiegley <jwiegley@gmail.com>
9792 * iswitchb.el (iswitchb-completions): Add bookmark files to the
9793 list of files considered for "virtual buffer" completions.
9795 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
9797 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9798 also in case of (and (not full) (not wildcard)). This is needed
9799 when dired is called with a list of files, which are not in
9800 `default-directory'. (Bug#5478)
9802 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
9804 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9806 2010-02-02 Juri Linkov <juri@jurta.org>
9808 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9809 from unidiff to allow function-line after @@.
9811 2010-02-02 Juri Linkov <juri@jurta.org>
9813 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9814 '(RCS SCCS) with inverted condition.
9816 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
9818 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9821 2010-02-01 Juri Linkov <juri@jurta.org>
9823 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9824 compare with "pkunzip" and "pkzip" instead of only "pkzip".
9825 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9826 only when (car archive-zip-extract) is "unzip". (Bug#5475)
9828 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
9830 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9831 (doc-view-revert-buffer): New command.
9832 (doc-view-mode-map): Use it.
9834 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
9836 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9837 pending merge is detected.
9839 2010-01-31 Juri Linkov <juri@jurta.org>
9841 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9842 beginning of interactive spec like all other grep commands do.
9843 Put "all" in front of "gz". (Bug#5260)
9845 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
9847 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9849 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
9851 * dirtrack.el (dirtrack): Warn instead of signalling error if the
9852 regexp is incorrect (Bug#5476).
9854 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
9856 * net/tramp.el (tramp-handle-insert-directory): Handle also
9857 symlinks, when FILENAME is not in `default-directory'.
9859 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9861 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9862 FILE is not in `default-directory'. (Bug#5478)
9864 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9865 of SWITCHES. Handle the case, FILENAME is not in
9866 `default-directory'. (Bug#5478)
9867 (tramp-register-file-name-handlers): Add safe-magic property.
9869 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
9871 * arc-mode.el (archive-zip-extract): Quote the argument passed to
9874 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
9876 * progmodes/flymake.el (flymake-allowed-file-name-masks)
9877 (flymake-master-make-header-init): Add other C++ filename masks.
9878 (flymake-find-possible-master-files)
9879 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9881 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
9883 Fix some busybox annoyances.
9885 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9886 not responding." string.
9887 (tramp-open-connection-setup-interactive-shell): Dump stty
9888 settings. Enable "neveropen" arg for all `tramp-send-command'
9889 calls. Handle "=" in variable values properly.
9890 (tramp-find-inline-encoding): Raise an error, when no encoding is
9892 (tramp-wait-for-output): Check, whether PROC buffer is available.
9893 Remove spurious " ^H" sequences, sent by busybox.
9894 (tramp-get-ls-command): Suppress coloring, if possible.
9896 2010-01-28 Glenn Morris <rgm@gnu.org>
9898 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
9900 * log-edit.el (log-edit-strip-single-file-name): Add missing
9901 :safe, :group, and :version tags.
9903 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
9905 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9908 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
9910 * files.el (delete-directory): Handle moving to trash without
9911 first doing recursion (Bug#5436).
9913 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
9915 * vc-hooks.el (vc-path): Mark as obsolete.
9917 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
9919 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9922 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9924 (vc-bzr-log-view-mode): Adjust regexp for the above change.
9926 2010-01-25 Mark A. Hershberger <mah@everybody.org>
9928 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9930 * vc-bzr.el (vc-bzr-revision-table): New function.
9932 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
9934 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9935 diff-index command. This requires at least git-1.5.5. (Bug#1589).
9937 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
9939 Remove support for adding --signoff on commit.
9940 Future support will use an incompatible generic mechanism.
9941 * vc-git.el (vc-git-add-signoff): Remove variable.
9942 (vc-git-toggle-signoff): Remove function.
9943 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9945 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9946 Rename from xterm-set-background-mode. Return t if the background mode
9948 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9949 earlier, call it again in case the background mode has changed.
9951 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
9953 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9956 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
9958 * emacs-lisp/assoc.el (aelement): Doc fix.
9959 (aput, adelete, amake): Use lexical-let (Bug#5450).
9961 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
9963 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9964 is the same as subprogram call, not declaration. (Bug#5435).
9966 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
9968 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9969 (tramp-smb-maybe-open-connection): Use it.
9971 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
9973 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
9975 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9977 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9978 just because we see "encoding: 8bit".
9979 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9981 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
9983 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9985 2010-01-22 Eli Zaretskii <eliz@gnu.org>
9987 * jka-compr.el (jka-compr-load): If load-file is not in
9988 load-history, try its file-truename version. (bug#5447)
9990 2010-01-21 Alan Mackenzie <acm@muc.de>
9992 Fix a situation where deletion of a cpp construct throws an error.
9993 * progmodes/cc-engine.el (c-invalidate-state-cache):
9994 Before invoking c-with-all-but-one-cpps-commented-out, check that the
9995 special cpp construct is still in the buffer.
9996 (c-parse-state): Record the special cpp with markers, not numbers.
9998 2010-01-21 Kenichi Handa <handa@m17n.org>
10000 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10001 process last-command-event, as it is now decoded first (Bug#5380).
10003 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10005 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10007 2010-01-20 Glenn Morris <rgm@gnu.org>
10009 * indent.el (tab-always-indent): Fix custom-type.
10011 2010-01-19 Alan Mackenzie <acm@muc.de>
10013 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10014 buffer throws "args out of range".
10015 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10016 playing the role of delimiter.
10018 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10020 * progmodes/ada-mode.el: Fix bug#5400.
10021 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10022 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10023 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10024 Improve comments in "is" portion. Handle null procedure declaration.
10025 (ada-move-to-end): Improve doc string.
10027 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10029 * ido.el (ido-cur-list): Initialize to nil.
10030 Remove obsolete information from commentary.
10031 (ido-choice-list): Initialize to nil.
10032 (ido-get-bufname): Reject minibuffers.
10033 (ido-make-buffer-list): If "default" is a nonexistent
10034 buffer, ignore it, as per the function's comment.
10035 (ido-kill-buffer-internal): New function.
10036 (ido-kill-buffer-at-head): Use it.
10037 (ido-visit-buffer): Likewise.
10039 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10041 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10043 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10045 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10046 Fix typos in chart titles.
10048 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10049 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10050 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10051 (describe-class, eieio-describe-generic, describe-generic):
10052 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10053 (eieio-speedbar-expand):
10054 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10055 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10056 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10057 (viper-del-backward-char-in-replace, viper-backward-indent)
10058 (viper-brac-function, viper-register-to-point, viper-submit-report):
10059 * net/tramp.el (tramp-remote-coding-commands):
10060 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10061 Fix typos in docstrings.
10063 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10065 * mail/sendmail.el (mail-yank-original): Set the mark if the
10066 specified function for yanking does not do it.
10068 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10070 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10072 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10073 resyncing a directory.
10075 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10077 * progmodes/ada-mode.el: Fix bug#1920.
10078 (ada-ident-re): Delete ., allow multibyte characters.
10079 (ada-goto-label-re): New; matches goto labels.
10080 (ada-block-label-re): New; matches block labels.
10081 (ada-label-re): New; matches both.
10082 (ada-named-block-re): Deleted; callers changed to use
10083 `ada-block-label-re' instead.
10084 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10085 Use `ada-block-label-re'.
10086 (ada-indent-on-previous-lines): Improve handling of goto labels.
10087 (ada-get-indent-block-start): Special-case block label.
10088 (ada-get-indent-label): Split into `ada-indent-block-label' and
10089 `ada-indent-goto-label'.
10090 (ada-goto-stmt-start, ada-goto-next-non-ws):
10091 Optionally ignore goto labels.
10092 (ada-goto-next-word): Simplify.
10093 (ada-indent-newline-indent-conditional): Insert newline before
10094 trying to fix indentation; doc fix.
10096 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10098 * calc/calc.el (calc-command-flags): Give it an initial value.
10100 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10102 * files.el (minibuffer-with-setup-hook):
10103 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10104 (artist-key-draw-continously, artist-key-do-continously-continously)
10105 (artist-key-set-point-continously, artist-mouse-draw-continously):
10106 Fix typos in docstrings.
10108 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10110 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10111 Never return t (Bug#3898).
10113 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10115 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10116 can parse the output of the external commands (Bug#5279).
10118 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10120 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10122 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10124 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10126 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10128 * startup.el (command-line): Remove unused --icon-type arg.
10129 Handle --display arg, passing it to command-line-1 (Bug#5392).
10131 2010-01-16 Mario Lang <mlang@delysid.org>
10133 * emacs-lisp/chart.el (chart-translate-namezone):
10134 * textmodes/artist.el (artist-compute-popup-menu-table):
10135 Remove duplicated words in doc-strings.
10137 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10139 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10140 to mairix-search to suppress threading (Bug#5342).
10142 2010-01-15 Kenichi Handa <handa@m17n.org>
10144 * international/mule-cmds.el (canonicalize-coding-system-name):
10145 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10147 2010-01-15 Glenn Morris <rgm@gnu.org>
10149 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10151 * wid-edit.el (widget-keymap): Doc fix.
10153 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10154 former seems to be more widely accepted by various svn versions.
10156 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10158 * find-cmd.el (find-constituents):
10159 * vc-arch.el (vc-arch-root):
10160 * window.el (window-body-height, pop-up-frames):
10161 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10162 * progmodes/ada-stmt.el (ada-if):
10163 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10164 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10165 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10166 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10168 * progmodes/flymake.el (flymake-post-syntax-check):
10169 Fix typo in error message.
10171 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10173 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10174 which is always a string. (Bug#5313)
10176 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10178 * progmodes/ada-xref.el (ada-default-prj-properties):
10179 Simplify previous change.
10181 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10183 * progmodes/ada-xref.el (ada-default-prj-properties):
10184 Default ada_project_path to $ADA_PROJECT_PATH.
10186 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10188 * progmodes/ada-mode.el (ada-create-keymap):
10189 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10191 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10193 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10194 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10195 (ada-get-current-indent, ada-imenu-generic-expression)
10196 (ada-which-function): Check for it.
10198 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10200 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10201 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10203 2010-01-14 Glenn Morris <rgm@gnu.org>
10205 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10207 2010-01-14 Kenichi Handa <handa@m17n.org>
10209 * composite.el (auto-composition-mode): Make it a buffer local
10210 variable (permanent-local).
10211 (auto-composition-function): Set the default value to
10212 auto-compose-chars.
10213 (auto-composition-mode): Make it a simple function, not a minor mode.
10214 (global-auto-composition-mode): Likewise.
10215 (turn-on-auto-composition-if-enabled): Delete it.
10217 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10219 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10221 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10223 * files.el (copy-directory): Compute target for recursive
10224 directories with identical names. (Bug#5343)
10226 2010-01-12 Glenn Morris <rgm@gnu.org>
10228 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10229 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10231 2010-01-11 Sam Steingold <sds@gnu.org>
10233 * imenu.el (imenu-default-create-index-function): Detect infinite
10234 loops caused by imenu-prev-index-position-function.
10236 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10238 * htmlfontify.el (htmlfontify-load-rgb-file)
10239 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10240 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10241 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10242 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10243 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10244 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10245 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10246 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10247 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10248 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10249 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10250 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10251 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10252 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10253 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10254 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10255 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10256 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10257 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10258 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10259 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10260 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10261 backslash-quoting from parentheses, etc.
10263 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10265 * progmodes/js.el: Autoload javascript-mode alias.
10267 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10269 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10270 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10271 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10272 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10273 Fix typos in docstrings.
10274 (ffap-url-regexp): Doc fix.
10275 (ffap-at-mouse): Fix typo in message.
10277 2010-01-11 Glenn Morris <rgm@gnu.org>
10279 * version.el (emacs-copyright): Set copyright year to 2010.
10281 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10283 * format.el (format-annotate-function): Only set
10284 write-region-post-annotation-function after running to-fn so as not to
10285 affect nested write-region calls (bug#5273).
10287 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10289 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10292 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10294 * man.el (Man-goto-section): Signal error if the section is not
10297 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10299 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10300 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10302 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10304 * progmodes/compile.el: Don't treat compile-command as safe if
10305 compilation-read-command might be nil (Bug#4218).
10307 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10309 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10312 2010-01-08 Kenichi Handa <handa@m17n.org>
10314 * international/fontset.el (build-default-fontset-data):
10315 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10317 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10319 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10320 to `create-file-buffer' as it expects, not just a buffer name.
10321 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10322 to help uniquify. (Bug#3224)
10324 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10326 * font-setting.el (font-setting-change-default-font): Use user-spec
10329 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10331 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10333 2010-01-05 Tom Tromey <tromey@redhat.com>
10335 * progmodes/python.el (python-font-lock-keywords):
10336 Handle qualified decorators (Bug#881).
10338 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10340 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10341 in a lightweight checkout.
10343 2010-01-05 Kenichi Handa <handa@m17n.org>
10345 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10347 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10349 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10351 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10353 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10354 checkouts. (Bug#618)
10355 (vc-bzr-log-view-mode): Also highlight the author.
10356 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10357 (vc-bzr-shelve-menu-map):
10358 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10359 (vc-bzr-shelve-apply): Make prompt more explicit.
10361 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10363 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10364 They are valid characters in URL paths (rfc3986), and at least
10365 Firefox does not understand the encoded version (Bug#3166).
10367 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10369 * progmodes/octave-mod.el (octave-end-keywords)
10370 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10371 Add "end" keyword (Bug#3061).
10372 (octave-end-as-array-index-p): New function.
10373 (calculate-octave-indent): Use it.
10375 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10377 * bookmark.el: Consistently put the text property on the bookmark name.
10378 (bookmark-bmenu-marks-width): Bump back to 2, to include
10380 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10381 property on the bookmark name, instead of not putting it at all.
10382 (bookmark-bmenu-list): Fix where we put the text property.
10384 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10386 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10387 for showing buffer modified state (as added in the previous change).
10389 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10391 * bookmark.el: Show modified state of bookmark buffer more accurately.
10392 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10393 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10394 (with-buffer-modified-unmodified): New macro.
10395 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10396 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10397 Use new macro to preserve the buffer modified state.
10399 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10401 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10402 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10403 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10404 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10405 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10406 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10407 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10409 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10411 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10412 Make the lines in the generated doc string shorter. (Bug#4668)
10414 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10416 * net/rcirc.el: Add follow-link binding (Bug#4738).
10418 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10420 * Makefile.in (bzr-update): Rename from cvs-update.
10421 (cvs-update): New target for backward compatibility.
10423 * makefile.w32-in (bzr-update): Rename from cvs-update.
10424 (cvs-update): New target for backward compatibility.
10426 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10428 * bookmark.el: Remove gratuitous gratitude.
10430 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10432 * bookmark.el (bookmark-bmenu-any-marks): New function.
10433 (bookmark-bmenu-save): Clear buffer modification if no marks.
10435 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10437 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10438 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10439 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10440 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10442 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10443 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10444 To: emacs-devel {_AT_} gnu.org
10445 Subject: bookmark.el bug report
10446 Date: Mon, 28 Dec 2009 14:19:16 +0800
10447 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10449 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10451 * bookmark.el: Improvements suggested by Drew Adams:
10452 (bookmark-bmenu-ensure-position): New name for
10453 `bookmark-bmenu-check-position'. Just ensure the position,
10454 don't return any meaningful value.
10455 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10458 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10460 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10461 (bookmark-yank-point, bookmark-bmenu-check-position):
10462 Fix typos in docstrings.
10463 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10464 (bookmark-name-from-full-record, bookmark-get-position)
10465 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10466 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10467 Remove useless quoting of parenthesis, etc. in docstrings.
10469 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10470 (ediff-append-custom-diff): Fix typo in error message.
10471 (ediff-meta-mark-equal-files): Fix typos in messages.
10473 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10475 * net/imap-hash.el (imap-hash-make): Doc fix.
10476 (imap-hash-test): Fix typo in error message; reflow docstring.
10477 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10478 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10479 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10480 Fix typos in docstrings.
10481 (imap-hash-open-connection): Fix typo in error message.
10483 * play/gomoku.el (gomoku): Fix typos in docstring.
10485 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10486 (gdb-jsonify-buffer): Fix typos in docstring.
10487 (gdb-goto-breakpoint): Fix typo in error message.
10488 ("Display Other Windows"): Fix typo in help message.
10489 (gdb-speedbar-expand-node): Fix typo in question.
10491 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10492 (idlwave-html-system-help-location, idlwave-html-help-location)
10493 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10494 (idlwave-help-browser-generic-args, idlwave-help-directory)
10495 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10496 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10497 (idlwave-online-help, idlwave-help-html-link)
10498 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10499 Fix typos in docstrings.
10500 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10502 (idlwave-help-assistant-start): Fix typo in error message.
10504 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10505 (octave-electric-space): Fix typos in docstrings.
10507 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10509 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10511 2010-01-01 Juri Linkov <juri@jurta.org>
10513 * comint.el (comint-input-ring-size): Make it a defcustom and
10514 increase the default to 500 (Bug#5148).
10516 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10518 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10519 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10520 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10522 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10524 Show working revision correctly for mercurial.
10525 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10526 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10528 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10530 Declare some functions for the byte-compiler.
10531 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10532 (speedbar-timer-fn, speedbar-change-expand-button-char)
10533 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10535 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10537 This changeset reverts GDB Graphical Interface to use annotations.
10538 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10540 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10542 Make vc-dir work on subdirectories of the bzr root.
10543 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
10544 Return file names relative to it.
10545 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10546 relative directory to vc-bzr-after-dir-status.
10548 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10550 * font-lock.el (font-lock-refresh-defaults): New function, which
10551 can be used to let font-lock react to external changes in
10552 variables like font-lock-defaults and keywords.
10553 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10555 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10557 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10559 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10561 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10563 Supersede color.diff settings in git log (bug#5211).
10565 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10566 escape chars in its output when the user has color.diff set to `always'.
10567 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10569 2009-12-26 Kevin Ryde <user42@zip.com.au>
10571 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10572 node. Keep previous "Index" name to work with past coreutils too.
10574 * man.el (man): Revise docstring a bit to show -a and -l as
10575 examples. Add -k description since support for it has otherwise
10576 been a secret. (Further to bug#3717.)
10577 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10578 "no matches" rather than "Can't find manpage", as the latter reads
10579 like -k was interpreted as a page name, which is not so. (Bug#5431)
10581 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10583 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10584 switches. Check also for //SUBDIRED// line.
10586 2009-12-25 Kenichi Handa <handa@m17n.org>
10588 * language/indian.el (devanagari-composable-pattern): Fixed to
10589 handle ZWNJ and ZWJ. Use it in composition-function-table for
10591 (malayalam-composable-pattern): Fix previous change.
10593 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10595 * ps-print.el (ps-face-attributes): It was not returning the
10596 attribute face for faces specified as string. Reported by harven
10597 <harven@free.fr>. (Bug#5254)
10598 (ps-print-version): New version 7.3.5.
10600 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10602 * calendar/icalendar.el (icalendar--convert-tz-offset):
10603 Fix timezone names.
10604 (icalendar--convert-tz-offset): Fix the "last-day-problem".
10605 (icalendar--add-diary-entry): Remove the trailing blank that
10606 diary-make-entry inserts.
10608 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10610 Make `file-expand-wildcards' work for remote files.
10612 * files.el (file-expand-wildcards): In case of remote files, check
10613 only local file name part for wildcards. Provide feature 'files
10614 and subfeature 'remote-wildcards. (Bug#5198)
10616 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10617 if there is already an established connection.
10618 (tramp-advice-file-expand-wildcards): Remove it.
10620 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10621 (tramp-advice-file-expand-wildcards): Move from tramp.el.
10622 Activate advice for older GNU Emacs versions. (Bug#5237)
10624 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
10626 Some doc fixes (more needed).
10628 * find-cmd.el (find-constituents): Reflow docstring.
10629 (find-cmd, find-prune, find-command): Fix typos in docstrings.
10630 (find-generic): Doc fix.
10632 2009-12-17 Juri Linkov <juri@jurta.org>
10634 Fix regression from 23.1 to allow multiple modes in Local Variables.
10636 * files.el (hack-local-variables-filter): While ignoring duplicates,
10637 don't take `mode' into account.
10638 (hack-local-variables-filter, hack-dir-local-variables):
10639 Don't remove duplicate `mode' from local-variables-alist (like `eval').
10641 2009-12-17 Juri Linkov <juri@jurta.org>
10643 Make `dired-diff' safer. (Bug#5225)
10645 * dired-aux.el (dired-diff): Signal an error when `file' equals to
10646 `current' or when `file' is a directory of the `current' file.
10648 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
10650 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10651 unconditionally preloaded files.
10653 2009-12-16 Juri Linkov <juri@jurta.org>
10655 Revert to old 23.1 logic of using the file at the mark as default.
10656 * dired-aux.el (dired-diff): Use the file at the mark as default
10657 if it's not the same as the current file, and the target dir is
10658 the current dir or the mark is active. Add the current file
10659 as the arg of `dired-dwim-target-defaults'. Use the default file
10660 in the prompt. (Bug#5225)
10662 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
10664 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10665 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10666 (tramp-check-for-regexp): Check also, when an echoing shell stops
10667 to echo sent commands.
10669 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10671 * Makefile.in: Revert last change (Bug#5191).
10673 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
10675 * vc-hg.el (vc-hg-print-log): Fix argument order.
10676 (vc-hg-working-revision): Make sure the command is executed in a
10677 known environment so that we can parse the output. (Bug#4417)
10679 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
10681 * progmodes/python.el (python-symbol-completions): Remove text
10682 properties from symbol string before calling python-send-receive.
10684 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
10686 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10687 when there are values for both file and line. (Bug#5060)
10689 2009-12-14 Juri Linkov <juri@jurta.org>
10691 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10692 whitespace after the file name of the first line of unified format,
10693 because git-diff doesn't output whitespace and file modification time
10694 after the file name.
10696 2009-12-14 David Kastrup <dak@gnu.org>
10698 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10699 check if it already has the `display' property added by
10700 `Info-display-images-node', and not put the `invisible' property
10703 2009-12-13 Glenn Morris <rgm@gnu.org>
10705 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10706 (report-emacs-bug): In message-mode, sort manually before storing
10707 original report text. (Bug#5178)
10708 Remove superfluous save-excursion.
10710 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
10712 * net/dbus.el (dbus-property-handler): Filter lambda forms out
10713 when responding to "GetAll" properties.
10715 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
10717 * simple.el (compose-mail): Remove mail-setup-with-from from
10718 customization checks.
10720 2009-12-12 Eli Zaretskii <eliz@gnu.org>
10722 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10723 RAR archives created on Unix systems.
10725 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10727 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10728 the varalias that was accidentally removed by the 2009-11-19 change
10731 2009-12-12 Kenichi Handa <handa@m17n.org>
10733 * language/indian.el (indian-compose-regexp): New function.
10734 (malayalam-composable-pattern): Fix the pattern.
10735 (composition-function-table): Set malayalam-composable-pattern for
10736 Malayalam characters.
10738 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
10740 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10741 rather than down-mouse-1, based on follow-link conventions.
10743 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10746 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
10748 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10749 (verilog-vmm-statement-re, verilog-ovm-statement-re)
10750 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10751 (verilog-leap-to-head, verilog-backward-token):
10752 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
10754 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
10756 * progmodes/verilog-mode.el (verilog-auto-lineup)
10757 (verilog-nameable-item-re): Cleanup user-visible spelling and
10758 documentation errors. One reported by Gary Delp.
10759 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10760 (verilog-read-decls): Fix AUTOWIRE with types declared in a
10761 package, bug195. Reported by Pierre-David Pfister.
10763 2009-12-11 Glenn Morris <rgm@gnu.org>
10765 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10767 * mail/emacsbug.el: No longer require sendmail.
10768 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
10769 (report-emacs-bug-orig-text): Doc fix.
10770 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10771 New local variables, to adapt to different mail-user-agents.
10772 (report-emacs-bug): Fix test for a gnu.org address.
10773 Use overlays for emphasis, since font-lock defeats 'face property.
10774 Pretest bugs also end up at the newsgroup these days.
10775 Stop message-mode stripping text properties.
10776 Set and use the new buffer-local variables.
10777 (report-emacs-bug-hook): Add doc-string.
10778 Remove some unnecessary save-excursions and simplify.
10779 Use the appropriate hook and send-command.
10781 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10782 capitalization of some menu entries.
10784 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10786 * whitespace.el (whitespace-display-char-on):
10787 Ensure `buffer-display-table' is unique when two or more windows are
10788 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10791 2009-12-10 Eli Zaretskii <eliz@gnu.org>
10793 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10794 characters in the Attribute field.
10796 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
10798 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
10800 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
10802 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10803 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10804 Disregard autoload-excludes.
10805 (update-directory-autoloads): Obey autoload-excludes here instead.
10806 But don't store its contents in no-autoloads and remove entries that
10807 refer to excludes files.
10809 2009-12-10 Glenn Morris <rgm@gnu.org>
10811 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10812 (expand-mail-aliases): Define for compiler.
10814 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10815 Define for compiler.
10817 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10818 appropriate for the mail-user-agent in use.
10820 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
10822 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10824 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
10826 Fix short log parsing and fontification.
10827 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10828 Fix fontification for the [merge] label.
10830 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
10832 Drop some properties to avoid surprises (bug#5002).
10833 * htmlfontify.el (hfy-ignored-properties): New defcustom.
10834 (hfy-fontify-buffer): Use it.
10836 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
10839 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10840 Adjust all callers.
10841 (ffap-locate-file): Remove unused arg `dir-ok' and make other
10842 args compulsory. Adjust callers.
10843 (ffap-gopher-at-point): Remove unused var `name'.
10845 Get rid of the ELCFILES abomination.
10846 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10847 (compile-elcfiles): New phony target.
10848 (compile-main): Compute ELCFILES dynamically.
10849 (compile-clean): New target to remove left-over elc files.
10850 (compile, all): Use it.
10852 2009-12-09 Kenichi Handa <handa@etlken>
10854 * international/mule-diag.el: Require help-mode instead of help-fns.
10856 2009-12-09 Kenichi Handa <handa@m17n.org>
10858 * international/mule-cmds.el (ucs-names): Supply sufficiently
10859 fine ranges instead of pre-calculating accurate ranges.
10860 Iterate with bigger gc-cons-threshold.
10862 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
10864 Add support for stashing a snapshot of the current tree.
10865 * vc-git.el (vc-git-stash-snapshot): New function.
10866 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10868 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
10870 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10871 instead of `(beginning|end)-of-line'.
10873 2009-12-08 Glenn Morris <rgm@gnu.org>
10875 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10877 * Makefile.in (ELCFILES): Regenerate.
10879 2009-12-07 Juri Linkov <juri@jurta.org>
10881 Don't lazy-highlight the comint output in history Isearch mode.
10883 * comint.el (comint-history-isearch-search): Instead of
10884 `comint-line-beginning-position', use `comint-after-pmark-p'
10885 to check if point if before the process mark, and go to
10886 `process-mark' in this case.
10888 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10890 * textmodes/tex-mode.el (latex-complete)
10891 (latex-indent-or-complete): Remove.
10892 (latex-mode): Set completion-at-point-functions instead.
10894 Provide a standard completion command and hook it into TAB.
10895 * minibuffer.el (completion-at-point-functions): New var.
10896 (completion-at-point): New command.
10897 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10898 * progmodes/python.el (python-mode-map): Use completion-at-point.
10899 (python-completion-at-point): Rename from python-partial-symbol and
10900 adjust for use in completion-at-point-functions.
10901 (python-mode): Setup completion-at-point for Python completion.
10902 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10903 extracted from lisp-complete-symbol.
10904 (lisp-complete-symbol): Use it.
10905 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10906 setup completion-at-point for Elisp completion.
10907 (emacs-lisp-mode-map, lisp-interaction-mode-map):
10908 Use completion-at-point.
10909 * ielm.el (ielm-map): Use completion-at-point.
10910 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10911 * progmodes/sym-comp.el: Move to...
10912 * obsolete/sym-comp.el: Move from progmodes.
10914 2009-12-07 Eli Zaretskii <eliz@gnu.org>
10916 Prevent save-buffer in Rmail buffers from using the coding-system
10917 of the current message, and from clobbering the encoding mnemonics
10918 in the mode line (Bug#4623).
10920 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10922 (rmail-message-encoding): New variable.
10923 (rmail-write-region-annotate): Record the encoding of the current
10924 message in rmail-message-encoding.
10925 (rmail-after-save-hook): New function, restores the encoding of
10926 the current message after the message collection is saved.
10928 2009-12-07 Juri Linkov <juri@jurta.org>
10930 * progmodes/grep.el (grep-read-files): Use `completing-read'
10931 instead of `read-string'. Set its `collection' arg to
10932 `read-file-name-internal'. (Bug#4301)
10934 2009-12-07 Juri Linkov <juri@jurta.org>
10936 Correctly restore original Isearch point. (Bug#4994)
10938 * isearch.el (isearch-mode): Move `isearch-push-state' after
10939 `(run-hooks 'isearch-mode-hook)'.
10940 (isearch-cancel): When `isearch-push-state-function' is defined,
10941 let-bind `isearch-cmds' to the first state (the last element of
10942 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10943 function and restores the original point). Otherwise, move point
10944 to `isearch-opoint'.
10946 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10948 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10949 chars that don't have names, so the table can be built much faster at
10952 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
10954 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10955 change. Suggested by David Kastrup.
10957 * simple.el (compose-mail): Check for incompatibilities and warn.
10958 (compose-mail-user-agent-warnings): New option.
10960 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10962 Support showing a single log entry from vc-annotate.
10963 * vc.el (print-log): Add a new argument: START-REVISION.
10964 (vc-print-log-internal): Add a new optional argument and
10965 pass it to the backend.
10966 (vc-print-log, vc-print-root-log): Adjust callers.
10967 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10968 buffer already displays the requested log entry, use it.
10969 Otherwise display only the log entry in question.
10970 * vc-svn.el (vc-svn-print-log):
10971 * vc-mtn.el (vc-mtn-print-log):
10972 * vc-hg.el (vc-hg-state):
10973 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10974 (vc-git-show-log-entry): Return t on success.
10975 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10976 (vc-bzr-show-log-entry): Return t on success.
10977 * vc-rcs.el (vc-rcs-print-log):
10978 * vc-sccs.el (vc-sccs-print-log):
10979 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10981 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10983 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10984 Add menus to the meta mode. (Bug#5043)
10986 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
10988 * ediff-init.el (ediff-event-key): Use event-to-character instead of
10991 * ediff.el (ediff-buffers-internal): Add unwind-protect.
10993 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
10995 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
10996 Berbain <raphael.berbain@gmail.com>.
10998 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11000 (tramp-initial-end-of-output): New defconst.
11001 (tramp-methods, tramp-find-shell)
11002 (tramp-open-connection-setup-interactive-shell)
11003 (tramp-maybe-open-connection): Use it.
11004 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11005 Handle existence of `#' and `$'.
11007 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11008 Use `tramp-initial-end-of-output'.
11010 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11012 Get the background mode from the terminal for xterm, and set
11014 * term/xterm.el (xterm-set-background-mode): New function.
11015 (terminal-init-xterm): Use it in case xterm supports background
11016 color queries. Recompute faces after getting the background
11019 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11021 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11022 number comment back on its own line, for easier parsing.
11024 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11026 Make it work for non-file buffers (bug#5102).
11027 * doc-view.el (doc-view-current-cache-dir):
11028 Use doc-view-buffer-file-name rather than buffer-file-name.
11029 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11031 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11033 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11034 author field is too short.
11036 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11038 * vc-git.el (vc-git-print-log): Handle a limit argument.
11039 Display the short log in graph form and with labels.
11040 (vc-git-log-view-mode): Handle labels.
11042 Make vc-revert change VC state from 'added to 'unregistered.
11043 * vc-git.el (vc-git-revert): Call git reset first.
11045 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11047 * net/newst-backend.el, net/newst-plainview.el:
11048 * net/newst-reader.el, net/newst-ticker.el:
11049 * net/newst-treeview.el, net/newsticker.el:
11050 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11052 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11054 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11056 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11057 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11058 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11059 Update annotation regexp.
11061 * simple.el (beginning-of-visual-line): Constrain to field
11062 boundaries (Bug#5106).
11064 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11066 * xml.el (xml-substitute-numeric-entities):
11067 Move newsticker--decode-numeric-entities in newst-backend.el to
11068 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11069 * net/newst-backend.el (newsticker--parse-generic-feed)
11070 (newsticker--parse-generic-items)
11071 (newsticker--decode-numeric-entities):
11072 Move newsticker--decode-numeric-entities in newst-backend.el to
11073 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11075 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11077 * progmodes/js.el (js--js-not): Add null to the list of values.
11079 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11081 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11083 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11085 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11086 delimiter if it is at the end of the current line.
11087 (bibtex-generate-url-list): Fix docstring.
11089 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11091 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11092 minibuffer's content with itself.
11093 Fold the confirm-after-completion case into the `confirm' case.
11094 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11096 2009-12-06 Kevin Ryde <user42@zip.com.au>
11098 * ffap.el (ffap-rfc-path): Make this a defcustom since
11099 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11101 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11102 manuals, similar to existing setup for help-mode. (Bug#3913.)
11104 2009-12-05 Juri Linkov <juri@jurta.org>
11106 Save and restore dired buffer's point positions too. (Bug#4880)
11108 * dired.el (dired-save-positions): Return in the first element
11109 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11111 (dired-restore-positions): First restore buffer's position.
11112 While restoring window's positions, check if window still displays
11113 the original buffer.
11115 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11117 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11120 * shell.el (shell): Require ansi-color (Bug#5113).
11122 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11124 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11126 2009-12-05 Alan Mackenzie <acm@muc.de>
11128 * progmodes/cc-mode.el (c-before-hack-hook)
11129 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11130 `c-file-style' to work again. This reversion restores the current
11131 software to its state in Emacs 23.1. (Bug#4146)
11133 2009-12-05 Kevin Ryde <user42@zip.com.au>
11135 * textmodes/sgml-mode.el (sgml-lexical-context):
11136 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11138 2009-12-05 Juri Linkov <juri@jurta.org>
11140 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11141 for virtual nodes. (Bug#4147)
11142 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11143 when moving from a virtual node.
11144 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11145 (Info-mode): Add `Info-virtual-index' to the docstring.
11147 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11149 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11150 track of the buffer position of the end of a BibTeX entry as this
11151 position may change during reformatting.
11152 (bibtex-format-entry): Remove whitespace before processing
11153 numerical fields so that we recognize the latter properly.
11154 (bibtex-reformat): Do not use push which changes the global value
11155 of bibtex-entry-format.
11156 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11157 (bibtex-field-re-init): Replace only space characters by regexp
11159 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11160 (bibtex-initialize): Also update bibtex-strings.
11161 (bibtex-kill-field): Preserve white space at end of entry.
11162 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11163 Update bibtex-reference-keys.
11165 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11167 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11168 point after a star, if that's the only place where modifications can
11171 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11173 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11176 2009-12-04 Juri Linkov <juri@jurta.org>
11178 * proced.el (proced): Call `(proced-update t)' to update process
11179 information instead of only running proced-post-display-hook.
11180 (proced-send-signal): Add a leading space to the buffer name
11181 " *Marked Processes*" to make this buffer ephemeral.
11183 2009-12-04 Juri Linkov <juri@jurta.org>
11185 * dired.el (dired-auto-revert-buffer): New defcustom.
11186 (dired-internal-noselect): Use it.
11188 2009-12-04 Juri Linkov <juri@jurta.org>
11190 Change roles of modes and functions in image-mode.el (Bug#5062).
11192 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11193 in `auto-mode-alist'.
11194 (image-mode-previous-major-mode): New variable.
11195 (image-minor-mode-map): Rename from `image-mode-text-map'.
11196 (image-mode): Move graceful error-handling code from
11197 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11198 (image-minor-mode): Remove all image-handling code.
11199 Replace `image-mode-text-map' with `image-minor-mode-map'.
11200 Check for `image-type' in mode-line format string.
11201 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11202 (image-mode-as-text): New function with most code from
11203 `image-mode-maybe'.
11204 (image-toggle-display-text): Move code that removes image
11205 properties from `image-toggle-display' to here.
11206 (image-toggle-display-image): New function with code that adds
11207 image properties copied from `image-toggle-display'.
11208 (image-toggle-display): Remove most code with leaving only code
11209 that toggles between `image-mode-as-text' and `image-mode'.
11211 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11213 * net/newst-treeview.el
11214 (newsticker--treeview-list-highlight-start): Restored call to
11215 save-excursion: Selected item was stuck.
11216 (newsticker--treeview-list-select): New.
11217 (newsticker--treeview-item-show-text)
11218 (newsticker--treeview-item-show)
11219 (newsticker--treeview-item-update): Use new
11220 newsticker-treeview-item-mode.
11221 (newsticker-treeview-update): Keep current item.
11222 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11223 (newsticker--treeview-first-feed): Doc change.
11224 (newsticker-treeview-list-menu)
11225 (newsticker-treeview-item-menu): Added menu entries.
11226 (newsticker-treeview-item-mode): New.
11228 * net/newst-backend.el (newsticker-customize): Delete other
11231 2009-12-04 Sam Steingold <sds@gnu.org>
11233 * log-view.el (log-view-mode-map): "q" calls quit-window,
11234 like in all the other non-self-insert buffers.
11236 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11239 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11240 key decoding rather than do it manually via last-input-event +
11242 (term-exec): Use delete-and-extract-region.
11243 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11244 (term-process-pager): Remove unused var `i'.
11245 (term-dynamic-simple-complete): Make obsolete.
11246 (serial-update-config-menu): Remove unused vars `y' and `str'.
11247 (term-update-mode-line): Remove unused var `temp'.
11249 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11251 Limit the number of log entries displayed by default.
11252 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11253 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11254 using a prefix argument.
11256 2009-12-03 Glenn Morris <rgm@gnu.org>
11258 * progmodes/idlwave.el (class): Restore still useful declaration.
11260 2009-12-03 Alan Mackenzie <acm@muc.de>
11262 Enhance `c-parse-state' to run efficiently in "brace deserts".
11264 * progmodes/cc-mode.el (c-basic-common-init):
11265 Call c-state-cache-init.
11266 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11267 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11268 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11270 * progmodes/cc-langs.el (c-before-font-lock-function):
11271 c-extend-and-neutralize-syntax-in-CPP has been renamed
11272 c-neutralize-syntax-in-and-mark-CPP.
11274 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11275 with `category' properties now, not `syntax-table' ones.
11277 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11278 enhanced (but slower) version of c-end-of-macro that won't land
11279 inside a literal or on another awkward character.
11280 (c-state-cache-too-far, c-state-cache-start)
11281 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11282 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11283 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11284 (c-state-min-scan-pos, c-state-brace-pair-desert)
11285 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11286 buffer local variables.
11287 (c-state-literal-at, c-state-lit-beg)
11288 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11289 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11290 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11291 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11292 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11293 (c-renarrow-state-cache)
11294 (c-append-lower-brace-pair-to-state-cache)
11295 (c-state-push-any-brace-pair, c-append-to-state-cache)
11296 (c-remove-stale-state-cache)
11297 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11298 (c-invalidate-state-cache-1, c-parse-state-1)
11299 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11300 (c-parse-state): Enhance and refactor.
11301 (c-debug-parse-state): Amend to deal with all the new variables.
11303 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11304 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11305 modify to use category text properties rather than syntax-table ones.
11306 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11307 to switch off/on the syntactic paren property of C++ template
11308 delimiters using the category property.
11309 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11310 template delims suppressed.
11311 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11312 New constant/macros which apply category properties to the start
11313 and end of preprocessor constructs.
11314 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11315 "comment out" the syntactic value of characters in preprocessor
11317 (c-with-cpps-commented-out)
11318 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11319 with characters in all or all but one preprocessor constructs
11322 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11324 * proced.el (proced-filter-alist): Use regexp-quote.
11326 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11329 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11330 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11331 arguments. Expand `default-directory'.
11333 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11334 the benefit of returning an expanded localname.
11335 (tramp-tramp-file-p): Handle the case NAME is not a string.
11337 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11339 Add support for bzr shelve/unshelve.
11340 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11341 (vc-bzr-extra-menu-map): New variables.
11342 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11343 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11344 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11345 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11346 (vc-bzr-dir-extra-headers): Display shelves.
11348 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11350 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11352 * textmodes/bibtex.el (bibtex-complete-internal):
11353 Use completion-in-region.
11354 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11356 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11358 Support applying stashes. Improve UI.
11359 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11360 (vc-git-stash-apply, vc-git-stash-pop)
11361 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11362 (vc-git-stash-menu): New functions.
11363 (vc-git-stash-menu-map): New variable.
11364 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11366 2009-12-03 Glenn Morris <rgm@gnu.org>
11368 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11369 (vc-print-log-internal): Fix previous change.
11370 (vc-revert): Correct pluralization.
11372 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11374 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11375 it to be an alist any more.
11376 (makefile-complete): Use completion-in-region.
11378 * progmodes/octave-mod.el (octave-complete-symbol):
11379 Use completion-in-region.
11382 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11383 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11384 (idlwave-complete-class): Don't quote lambda.
11385 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11386 (idlwave-mode-map): Move initialization into declaration.
11387 (idlwave-action-and-binding): Use backquotes.
11388 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11390 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11391 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11392 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11393 `parts', and `all-parts'.
11394 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11395 (idlwave-convert-xml-system-routine-info): Remove unused string
11397 (idlwave-display-user-catalog-widget): Use dolist.
11398 (idlwave-scanning-lib): Declare dynamically-scoped var.
11399 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11400 (completion-highlight-first-word-only): Declare to silence bytecomp.
11401 (idlwave-popup-select): Tighten scope of `resp'.
11402 (idlwave-find-struct-tag): Remove unused var `beg'.
11403 (idlwave-after-load-rinfo-hook): Declare.
11404 (idlwave-sintern-class-info): Remove unused var `taglist'.
11405 (idlwave-find-class-definition): Remove unused var `list'.
11406 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11407 (idlwave-what-module-find-class): Remove unused var `classes'.
11409 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11411 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11413 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11415 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11416 buffers visited. Remove redundant current-buffer-saving.
11418 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11420 Use completion-in-buffer and remove uses of dynamic scoping.
11421 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11422 (pascal-buffer-to-use, pascal-flag): Don't declare.
11423 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11424 (pascal-get-completion-decl, pascal-keyword-completion):
11425 Add `pascal-str' argument, save-excursion,
11426 return the found completions, and don't filter with pascal-pred.
11427 (pascal-completion-cache): New var.
11428 (pascal-completion): Don't switch buffer any more (it was never
11429 necessary). Don't save-excursion any more (it's done by the called
11430 subroutines). Use a cache to avoid redundant computations.
11431 Use complete-with-action rather than pascal-completion-response and
11432 let it apply the predicate as well.
11433 (pascal-complete-word): Use completion-in-buffer when
11434 pascal-toggle-completions is nil.
11435 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11437 (pascal-comp-defun): Don't change buffer any more.
11438 Use complete-with-action rather than pascal-completion-response and
11439 let it apply the predicate as well.
11440 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11443 2009-12-02 Kenichi Handa <handa@m17n.org>
11445 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11446 shape for all Indic scripts.
11448 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11450 Use completion-in-buffer.
11451 * wid-edit.el (widget-field-text-end): New function.
11452 (widget-field-value-get): Use it.
11453 (widget-string-complete, widget-file-complete)
11454 (widget-color-complete): Use it and completion-in-region.
11455 (widget-complete): Don't narrow the buffer.
11457 2009-12-02 Glenn Morris <rgm@gnu.org>
11459 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11460 (rmail-select-summary): Use rmail-pop-to-buffer.
11461 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11462 rmail-pop-to-buffer, to prevent horizontal splits.
11464 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11465 save-excursion with save-current-buffer.
11466 Widen before searching. (Bug#5093)
11467 (diary-list-sexp-entries): Remove superfluous save-excursion.
11469 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11471 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11474 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11476 * ido.el (ido-file-internal): Handle filenames at point that do
11477 not have a directory part. (Bug#5049)
11479 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11481 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11482 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11484 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11486 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11487 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11490 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11492 * comint.el (comint-insert-input): Ignore clicks to the right of
11493 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11495 * vc.el (vc-print-log-internal): Don't wait for the process to
11496 terminate before setting up the major mode.
11498 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11501 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11504 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11506 2009-12-01 Glenn Morris <rgm@gnu.org>
11508 * window.el (window--display-buffer-2): Fix previous changes.
11510 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11512 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11514 2009-12-01 Glenn Morris <rgm@gnu.org>
11516 * Makefile.in (ELCFILES): Add mpc.elc.
11518 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11520 * mpc.el: New file.
11522 2009-12-01 Glenn Morris <rgm@gnu.org>
11524 * window.el (window-to-use): Define for compiler.
11526 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11527 consistent with others (no final period).
11529 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11530 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11532 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11534 Make vc-print-log buttons work.
11535 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11537 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11539 * savehist.el (savehist-autosave-interval): Allow setting to nil
11540 through customize. (Bug#5056)
11542 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11544 Fix references to jit-lock properties.
11545 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11546 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11547 (perl-font-lock-special-syntactic-constructs):
11548 Quote jit-lock-defer-multiline property.
11550 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11552 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11554 2009-11-30 Juri Linkov <juri@jurta.org>
11556 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11557 value `buffer' of `multi-isearch-next-buffer-current-function'.
11558 Use `(current-buffer)' when `buffer' is nil.
11559 (multi-isearch-next-buffer-from-list): Don't fallback to
11560 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11562 2009-11-30 Juri Linkov <juri@jurta.org>
11564 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11565 of buffers with `get-buffer' to `multi-isearch-buffers'.
11566 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11567 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11568 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11569 FILES with `expand-file-name' converting relative file names
11570 to absolute. Doc fix. (Bug#4727)
11572 2009-11-30 Juri Linkov <juri@jurta.org>
11574 * misearch.el (multi-isearch-read-buffers)
11575 (multi-isearch-read-matching-buffers): New functions.
11576 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11577 Use them in the `interactive' spec. Doc fix.
11578 (multi-isearch-read-files, multi-isearch-read-matching-files):
11580 (multi-isearch-files, multi-isearch-files-regexp):
11581 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11583 2009-11-30 Juri Linkov <juri@jurta.org>
11585 * doc-view.el (doc-view-continuous):
11586 Rename from `doc-view-continuous-mode'.
11587 (doc-view-menu): Move "Toggle display" to the top.
11588 Add submenu "Continuous" with radio buttons "Off"/"On"
11589 and "Save as Default".
11590 (doc-view-scroll-up-or-next-page)
11591 (doc-view-scroll-down-or-previous-page)
11592 (doc-view-next-line-or-next-page)
11593 (doc-view-previous-line-or-previous-page):
11594 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11596 2009-11-30 Juri Linkov <juri@jurta.org>
11598 * comint.el (comint-mode-map): Rebind `M-r' from
11599 `comint-previous-matching-input' to
11600 `comint-history-isearch-backward-regexp'.
11601 Unbind `M-s' to allow global key binding `M-s'.
11602 Add menu items for `comint-history-isearch-backward' and
11603 `comint-history-isearch-backward-regexp'. (Bug#3746)
11605 2009-11-30 Juri Linkov <juri@jurta.org>
11607 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11608 For def=recenter, replace `recenter' with `recenter-top-bottom'
11609 that is called with `this-command' and `last-command' let-bound
11610 to `recenter-top-bottom'. When the last `def' was not `recenter',
11611 set `recenter-last-op' to nil. (Bug#4981)
11613 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11615 Minor cleanup and simplification.
11616 * filecache.el (file-cache-add-directory)
11617 (file-cache-add-directory-recursively)
11618 (file-cache-add-from-file-cache-buffer)
11619 (file-cache-delete-file-regexp, file-cache-delete-directory)
11620 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11621 (file-cache-temp-minibuffer-message): Delete function.
11622 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11624 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11625 Don't signal an error when bumping into EOB in tr, s, or y.
11627 2009-11-29 Juri Linkov <juri@jurta.org>
11629 * startup.el (fancy-about-text): Fix wording of Guided Tour.
11632 * descr-text.el (describe-char-unidata-list): Use lowercase name
11633 for "Unicode name" like in other tags.
11635 2009-11-29 Juri Linkov <juri@jurta.org>
11637 * ediff-util.el (ediff-minibuffer-with-setup-hook):
11638 New compatibility macro.
11639 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11641 2009-11-29 Juri Linkov <juri@jurta.org>
11643 Add defcustom to define the cycling order of `recenter-top-bottom'.
11646 * window.el (recenter-last-op): Doc fix.
11647 (recenter-positions): New defcustom.
11648 (recenter-top-bottom): Rewrite to use `recenter-positions'.
11649 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11651 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
11653 Improve integration of Tramp and ange-ftp in eshell.
11655 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11656 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
11657 (eshell/sudo): Flatten args. Let-bind `default-directory'.
11659 * eshell/esh-util.el (top): Require also Tramp when compiling.
11660 (eshell-directory-files-and-attributes): Check for FTP remote
11662 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11663 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11664 (eshell-file-attributes): Handle ".". Return `entry'.
11666 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11667 (ange-ftp-directory-files-and-attributes)
11668 (ange-ftp-real-directory-files-and-attributes): New defuns.
11670 * net/tramp.el (tramp-maybe-open-connection): Open the remote
11671 shell with "exec" when possible. This prevents trailing prompts
11672 in `start-file-process'.
11674 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11676 Try and remove assumptions about point-min==1.
11677 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11678 (rng-compute-mode-line-string): Show the validation percentage in
11679 terms of the narrowed text, not the widened text.
11680 (rng-do-some-validation): Don't catch internal errors when debugging.
11681 (rng-first-error): Simplify.
11682 (rng-after-change-function): Remove work around. AFAIK the bug has
11683 been fixed a while ago.
11685 * image-mode.el (image-minor-mode): Exit more gracefully when the image
11686 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11688 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11690 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11691 `cd' doesn't always do it for us (bug#5067).
11693 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11694 on 2009-10-25 as part of some other change (bug#5067).
11696 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11698 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11700 (byte-compile-warnings): Use byte-compile-warning-types.
11701 (byte-compile-save-excursion): Warn about use of set-buffer right
11702 after save-excursion.
11704 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11705 the excursion as well.
11707 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
11709 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11710 providing a Tramp related implementation of "su" and "sudo".
11711 (eshell-unix-initialize): Add "su" and "sudo".
11713 2009-11-27 Daiki Ueno <ueno@unixuser.org>
11715 * net/socks.el (socks-send-command): Convert binary request to
11716 unibyte before sending. This fixes mishandling of some port
11717 numbers such as 129.
11719 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11721 * help.el (describe-bindings-internal): Remove `interactive'.
11723 * man.el (Man-completion-table): Trim a terminating "(".
11724 Remove the space between name page a section.
11725 Add the command's description on the `help-echo' property.
11726 Remove `process-connection-type' binding since it's unused by
11728 Provide completion for the "<section> <name>" format as well.
11729 (Man-default-man-entry): Remove spurious var shadowing the argument.
11731 2009-11-26 Kevin Ryde <user42@zip.com.au>
11733 * log-view.el: Add "Keywords: tools", since its other keywords
11734 aren't in finder-known-keywords, and following vc.el.
11736 * sha1.el (sha1-string-external): default-directory "/" in case
11737 otherwise non-existent. process-connection-type pipe for touch of
11738 efficiency recommended by elisp manual. (An aside in Bug#3911.)
11740 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11742 Misc coding convention cleanups.
11743 * htmlfontify.el (hfy-init-kludge-hook): Rename from
11744 hfy-init-kludge-hooks.
11745 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11746 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11747 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11749 (hfy-slant, hfy-weight): Use tables rather than code.
11750 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11751 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11752 (hfy-face-attr-for-class): Initialize `face-spec' directly.
11753 (hfy-face-to-css): Remove `nconc' with single arg.
11754 (hfy-p-to-face-lennart): Use `or'.
11755 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
11756 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11757 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11758 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11759 (hfy-force-fontification): Use run-hooks.
11761 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
11763 Various minor fixes.
11764 * htmlfontify.el (hfy-default-header): Add toggle_invis since
11765 Javascript belongs in the header, not the body.
11766 (hfy-javascript): Remove.
11767 (hfy-fontify-buffer): Don't insert it any more.
11768 (hfy-face-at): Handle (face0 face1 face2) style face properties.
11769 Fix bug in invis handling when there were no invis props in a chunk.
11771 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11773 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11775 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
11777 * finder.el (finder-mode-map): Add a menu.
11779 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
11781 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11782 "unsigned" structs.
11784 (verilog-leap-to-head, verilog-backward-token): Handle "disable
11785 fork" statement better.
11787 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
11789 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11790 (verilog-delete-auto, verilog-delete-empty-auto-pair)
11791 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11792 Reported by Clay Douglass.
11794 (verilog-auto-inst, verilog-auto-star-safe)
11795 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11796 Fix removing "// Interfaces" when saving .* expansions.
11797 Reported by Pierre-David Pfister.
11799 2009-11-26 Glenn Morris <rgm@gnu.org>
11801 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11804 2009-11-25 Johan Bockgård <bojohan@gnu.org>
11806 * vc-annotate.el (vc-annotate-revision-previous-to-line):
11807 Really use previous revision.
11809 2009-11-25 Kevin Ryde <user42@zip.com.au>
11811 * man.el (Man-completion-table): default-directory "/" in case
11812 doesn't otherwise exist. process-environment COLUMNS=999 so as
11813 not to truncate long names. process-connection-type pipe to avoid
11814 any chance of hitting the pseudo-tty TIOCGWINSZ.
11815 (man): completion-ignore-case t for friendliness and since man
11816 itself is case-insensitive on the command line.
11817 Further to Bug#3717.
11819 * arc-mode.el: Add "Keywords: files", so the details in its
11820 commentary can be reached from finder-by-keyword.
11821 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
11822 editing mode, but it's comms related and sgml-mode.el has "comm"
11824 * textmodes/bibtex-style.el: Add "Keywords: tex".
11825 * international/isearch-x.el, international/ja-dic-cnv.el:
11826 * international/ja-dic-utl.el, international/kkc.el:
11827 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11829 2009-11-25 Juri Linkov <juri@jurta.org>
11831 * man.el (Man-completion-table): Modify regexp to include
11832 section names to completion strings. (Bug#3717)
11834 2009-11-25 Juri Linkov <juri@jurta.org>
11836 Search recursively in gzipped files. (Bug#4982)
11838 * progmodes/grep.el (grep-highlight-matches): Add new options
11839 `always' and `auto'. Doc fix.
11840 (grep-process-setup): Check `grep-highlight-matches' for
11841 `auto-detect' to determine the need to compute grep defaults.
11842 Move Windows/DOS specific --colors settings handling
11843 to `grep-compute-defaults'. Check `grep-highlight-matches'
11844 to get the value of "--color=".
11845 (grep-compute-defaults): Compute `grep-highlight-matches' when it
11846 has the value `auto-detect'. Move Windows/DOS specific settings
11847 from `grep-process-setup'.
11848 (zrgrep): New command with alias `rzgrep'.
11850 2009-11-25 Juri Linkov <juri@jurta.org>
11852 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11853 to nil instead of switching off view-mode. (Bug#4896)
11855 2009-11-25 Juri Linkov <juri@jurta.org>
11857 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
11859 * mwheel.el (mwheel-scroll-up-function)
11860 (mwheel-scroll-down-function): New defvars.
11861 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11862 `scroll-up', and `mwheel-scroll-down-function' instead of
11865 * doc-view.el (doc-view-scroll-up-or-next-page)
11866 (doc-view-scroll-down-or-previous-page): Add optional ARG.
11867 Use this ARG in the call to image-scroll-up/image-scroll-down.
11868 Change `interactive' spec to "P". Goto next/previous page only
11869 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11870 SPC/DEL case). Doc fix.
11871 (doc-view-next-line-or-next-page)
11872 (doc-view-previous-line-or-previous-page): Rename arg to ARG
11874 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11875 `doc-view-scroll-up-or-next-page', and buffer-local
11876 `mwheel-scroll-down-function' to
11877 `doc-view-scroll-down-or-previous-page'.
11879 2009-11-25 Juri Linkov <juri@jurta.org>
11881 Provide additional default values (directories at other Dired
11882 windows) via M-n in the minibuffer of some Dired commands.
11884 * dired-aux.el (dired-diff, dired-compare-directories)
11885 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11886 `minibuffer-default' in `minibuffer-with-setup-hook'.
11887 (dired-dwim-target-directory): Find a window that displays Dired
11888 buffer instead of failing when the next window is not Dired.
11889 Use `get-window-with-predicate' to find for the next Dired window.
11890 (dired-dwim-target-defaults): New function.
11892 * ediff-util.el (ediff-read-file-name):
11893 Use `dired-dwim-target-defaults' to set `minibuffer-default'
11894 in `minibuffer-with-setup-hook'.
11896 2009-11-25 Juri Linkov <juri@jurta.org>
11898 Provide additional default values (file name at point or at the
11899 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
11901 * minibuffer.el (read-file-name-defaults): New function.
11902 (read-file-name): Reset `minibuffer-default' to nil when
11903 it duplicates initial input `insdef'.
11904 Bind `minibuffer-default-add-function' to lambda that
11905 calls `read-file-name-defaults' in `minibuffer-selected-window'.
11906 (minibuffer-insert-file-name-at-point): New command.
11908 * files.el (file-name-at-point-functions): New defcustom.
11909 (find-file-default): Remove defvar.
11910 (find-file-read-args): Don't use `find-file-default'.
11911 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11912 to `read-file-name'.
11913 (find-file-literally): Use `read-file-name' with
11914 `confirm-nonexistent-file-or-buffer'.
11916 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11918 * dired.el (dired-read-dir-and-switches):
11919 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11920 to `read-file-name'.
11921 (dired-file-name-at-point): New function.
11922 (dired-mode): Add hook `dired-file-name-at-point' to
11923 `file-name-at-point-functions'.
11925 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11927 Really make the *Completions* window soft-dedicated (bug#5030).
11928 * window.el (window--display-buffer-2): Add `dedicated' argument.
11929 (display-buffer): Pass it when needed so the dedicated flag is set
11930 after calling set-window-buffer, which would otherwise reset it.
11932 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11934 * progmodes/meta-mode.el (meta-complete-symbol):
11935 * progmodes/etags.el (complete-tag):
11936 * mail/mailabbrev.el (mail-abbrev-complete-alias):
11937 Use completion-in-region.
11939 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11940 (dabbrev-completion): Use completion-in-region.
11941 (dabbrev--abbrev-at-point): Simplify regexp.
11943 * abbrev.el (abbrev--before-point): Use word-motion functions
11944 if :regexp is not specified (bug#5031).
11946 * subr.el (string-prefix-p): New function.
11948 * man.el (Man-completion-cache): New var.
11949 (Man-completion-table): Use it.
11951 * vc.el (vc-print-log-internal): Make `limit' optional for better
11952 compatibility (e.g. with vc-annotate.el).
11954 2009-11-24 Kevin Ryde <user42@zip.com.au>
11956 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11957 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
11959 * emacs-lisp/elint.el (elint-add-required-env): Better error message
11960 when .el source file not found or other error.
11962 2009-11-24 Markus Triska <markus.triska@gmx.at>
11964 * linum.el (linum-update-window): Ignore intangible (bug#4996).
11966 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11968 Handle the [back] button properly (bug#4979).
11969 * descr-text.el (describe-text-properties): Add a `buffer' argument.
11970 Use help-setup-xref, help-buffer, and with-help-window.
11971 (describe-char): Add `buffer' argument.
11972 Pass proper command to help-setup-xref. Don't meddle with
11973 help-xref-stack-item directly.
11974 (describe-text-category): Use with-help-window and help-buffer.
11976 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11977 for the displayed buffer (bug#4887).
11979 * man.el (Man-completion-table): New function.
11982 2009-11-24 David Reitter <david.reitter@gmail.com>
11984 * vc-git.el (vc-git-registered): Use checkout directory (where
11985 .git is) rather than the file's directory and a relative path spec
11986 to work around a bug in git.
11988 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
11990 Improve handling of processes on remote hosts.
11992 * eshell/esh-util.el (eshell-path-env): New defvar.
11993 (eshell-parse-colon-path): New defun.
11994 (eshell-file-attributes): Use `eshell-parse-colon-path'.
11996 * eshell/esh-ext.el (eshell-search-path):
11997 Use `eshell-parse-colon-path'.
11998 (eshell-remote-command): Remove argument HANDLER.
11999 (eshell-external-command): Check for FTP remote connection.
12001 * eshell/esh-proc.el (eshell-gather-process-output):
12002 Use `file-truename', in order to start also symlinked files.
12003 Apply `start-file-process' instead of `start-process'.
12004 Shorten `command' to the local file name part.
12006 * eshell/em-cmpl.el (eshell-complete-commands-list):
12007 Use `eshell-parse-colon-path'.
12009 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12011 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12012 to `eshell-directory-change-hook'.
12014 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12016 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12017 because it could be enabled automatically if view-read-only is non-nil.
12019 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12021 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12022 made on 2009-11-22.
12024 2009-11-24 Glenn Morris <rgm@gnu.org>
12026 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12027 deleted variable bookmark-bmenu-bookmark-column.
12029 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12031 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12033 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12035 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12036 two slashes to the "file:" prefix.
12037 (browse-url-file-url): De-munge Cygwin filenames before passing
12038 them to Windows browser.
12039 (browse-url-default-windows-browser): Use call-process.
12041 2009-11-23 Juri Linkov <juri@jurta.org>
12043 Implement DocView Continuous mode. (Bug#4896)
12044 * doc-view.el (doc-view-continuous-mode): New defcustom.
12045 (doc-view-mode-map): Bind C-n/<down> to
12046 `doc-view-next-line-or-next-page', C-p/<up> to
12047 `doc-view-previous-line-or-previous-page'.
12048 (doc-view-next-line-or-next-page)
12049 (doc-view-previous-line-or-previous-page): New commands.
12051 2009-11-23 Juri Linkov <juri@jurta.org>
12053 Implement Isearch in comint input history. (Bug#3746)
12054 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12055 `isearch-mode-hook'.
12056 (comint-history-isearch): New defcustom.
12057 (comint-history-isearch-backward)
12058 (comint-history-isearch-backward-regexp): New commands.
12059 (comint-history-isearch-message-overlay): New buffer-local variable.
12060 (comint-history-isearch-setup, comint-history-isearch-end)
12061 (comint-goto-input, comint-history-isearch-search)
12062 (comint-history-isearch-message, comint-history-isearch-wrap)
12063 (comint-history-isearch-push-state)
12064 (comint-history-isearch-pop-state): New functions.
12066 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12068 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12070 (tramp-handle-make-symbolic-link)
12071 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12073 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12074 (tramp-handle-process-file): Use it.
12076 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12078 * window.el (move-to-window-line-last-op): Remove.
12079 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12081 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12083 Make M-r mirror the new cycling behavior of C-l.
12084 * window.el (move-to-window-line-last-op): New var.
12085 (move-to-window-line-top-bottom): New command.
12086 (global-map): Bind M-r move-to-window-line-top-bottom.
12088 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12090 * dired-x.el (dired-guess-shell-alist-default):
12091 Support xz format. (Bug#4953)
12093 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12095 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12096 last-command-char/last-command-event.
12097 (viper-prefix-arg-value): Do correct conversion of event-char for
12100 * emulation/viper-util.el, emulation/viper.el:
12101 Use viper-last-command-char instead of
12102 last-command-char/last-command-event.
12104 * ediff-init.el, ediff-mult.el, ediff-util.el:
12105 Replace last-command-char and last-command-event
12106 with (ediff-last-command-char) everywhere.
12108 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12109 created in fundamental mode.
12111 * ediff.el (ediff-version): Revert the change of interactive-p to
12112 called-interactively-p.
12114 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12116 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12117 generation from word-movement command names.
12119 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12121 * cus-start.el (all): Add native condition for font-use-system-font.
12123 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12125 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12126 Correct the patch from 2009-11-18. (Bug#3910)
12128 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12130 * progmodes/subword.el: Rename from lisp/subword.el.
12132 * subword.el: Rename to progmodes/subword.el.
12134 * Makefile.in (ELCFILES): Adapt to subword.el move.
12136 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12137 Stefan Monnier <monnier@iro.umontreal.ca>
12139 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12140 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12141 (bookmark-bmenu-show-filenames): Use push.
12142 (bookmark-bmenu-hide-filenames): Use local var instead of
12143 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12144 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12145 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12146 filenames now that the bookmark names are always available.
12148 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12150 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12151 (bookmark-search-pattern): Move and leave unbound.
12152 (bookmark-bmenu-mode-map): Change binding.
12153 (bookmark-read-search-input): Simplify.
12154 Don't use text-char-description. Don't error on non-char events.
12155 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12156 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12157 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12158 Use a local var for the timer.
12159 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12160 (i.e. bookmark-bmenu-search).
12162 2009-11-21 Glenn Morris <rgm@gnu.org>
12164 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12166 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12168 * net/browse-url.el (browse-url-default-windows-browser):
12169 Use cygstart for cygwin.
12171 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12173 * bookmark.el: Formatting and doc fixes only:
12174 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12175 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12176 Minor grammar and punctuation fixes in doc string.
12177 (bookmark-read-search-input): Adjust to fit within 80 columns.
12179 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12181 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12182 (c-backward-into-nomenclature): Adapt to subword renaming.
12184 * subword.el (subword-forward, subword-backward, subword-mark)
12185 (subword-kill, subword-backward-kill, subword-transpose)
12186 (subword-downcase, subword-upcase, subword-capitalize)
12187 (subword-forward-internal, subword-backward-internal):
12188 Rename from forward-subword, backward-subword, mark-subword,
12189 kill-subword, backward-kill-subword, transpose-subwords,
12190 downcase-subword, upcase-subword, capitalize-subword,
12191 forward-subword-internal, backward-subword-internal.
12193 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12195 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12197 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12199 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12200 (bookmark-bmenu-filter-alist-by-regexp)
12201 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12202 (bookmark-bmenu-search): New command.
12203 (bookmark-bmenu-mode-map): Bind it.
12205 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12207 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12208 backward-subword to quit the byte-compiler.
12210 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12212 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12214 * progmodes/cc-cmds.el (c-update-modeline)
12215 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12216 Refer to subword.el functions instead of cc-subword.el.
12218 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12219 subword.el functions instead of cc-subword.el.
12221 * progmodes/cc-subword.el: Rename to subword.el.
12222 * subword.el: Rename from progmodes/cc-subword.el.
12223 (subword-mode-map): Rename from c-subword-mode-map.
12224 (subword-mode): Rename from c-subword-mode.
12225 (global-subword-mode): New global minor mode.
12226 (forward-subword): Rename from c-forward-subword.
12227 (backward-subword): Rename from c-backward-subword.
12228 (mark-subword): Rename from c-mark-subword.
12229 (kill-subword): Rename from c-kill-subword.
12230 (backward-kill-subword): Rename from c-backward-kill-subword.
12231 (transpose-subwords): Rename from c-tranpose-subword.
12232 (downcase-subword): Rename from c-downcase-subword.
12233 (capitalize-subword): Rename from c-capitalize-subword.
12234 (forward-subword-internal): Rename from c-forward-subword-internal.
12235 (backward-subword-internal): Rename from c-backward-subword-internal.
12237 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12239 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12240 from a dired buffer.
12241 (vc-dired-deduce-fileset): New function.
12242 (vc-root-diff, vc-print-root-log): Use it.
12244 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12245 nil LIMIT argument to vc-print-log-internal.
12247 2009-11-20 Glenn Morris <rgm@gnu.org>
12249 * Makefile.in (ELCFILES): Regenerate.
12251 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12253 * calc/calc.el (calc-set-mode-line):
12254 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12255 (math-format-number): Rename `math-format-complement-signed' to
12256 `math-format-twos-complement'.
12258 * calc/calc-bin.el (math-format-twos-complement): Rename from
12259 math-format-complement-signed.
12260 (calc-radix): Rename `calc-complement-signed-mode' to
12261 `calc-twos-complement-mode'.
12262 (calc-octal-radix, calc-hex-radix): Add an argument for
12265 * calc/calc-embed.el (calc-embedded-mode-vars):
12266 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12268 * calc/calc-ext.el (calc-init-extensions):
12269 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12270 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12272 * calc/calc-units.el (math-build-units-table-buffer):
12273 Let `calc-twos-complement-mode' be nil.
12275 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12278 * calc/calc-vec.el (calcFunc-vunpack):
12279 * calc/calc-aent.el (calc-do-calc-eval):
12280 * calc/calc-forms.el (math-format-date):
12281 * calc/calc-graph.el (calc-graph-plot):
12282 * calc/calc-math.el (math-use-emacs-fn):
12283 * calc/calccomp.el (math-compose-expr):
12284 Let `calc-twos-complement-mode' be nil.
12286 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12288 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12289 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12290 * minibuffer.el (completion-in-region-functions): New hook.
12291 (completion-in-region): New function.
12292 * emacs-lisp/lisp.el (lisp-complete-symbol):
12293 * pcomplete.el (pcomplete-std-complete): Use it.
12295 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12297 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12298 (latex-complete-alist): New vars.
12299 (latex-string-prefix-p, latex-complete-bibtex-keys)
12300 (latex-complete-envnames, latex-complete-refkeys)
12301 (latex-complete-data): New functions.
12302 (latex-complete, latex-indent-or-complete): New commands.
12304 * window.el (display-buffer-mark-dedicated): New var.
12305 (display-buffer): Obey it.
12306 * minibuffer.el (minibuffer-completion-help): Use it.
12308 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12310 * filecache.el (file-cache-add-file): Use push and cons.
12311 (file-cache-delete-file-regexp): Use push.
12312 (file-cache-complete): Use completion-in-region.
12314 * simple.el (with-wrapper-hook): Fix thinko.
12316 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12317 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12318 Use with-current-buffer and string-to-number.
12319 (hfy-fallback-colour-values): Use assoc-string.
12320 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12321 (hfy-face-at): Remove unused var `found-face'.
12322 (hfy-compile-stylesheet): Remove unused var `css'.
12323 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12325 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12326 Use with-current-buffer.
12327 (hfy-text-p): Use expand-file-name and fewer setq.
12329 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12331 * htmlfontify.el, hfy-cmap.el: New files.
12333 2009-11-19 Juri Linkov <juri@jurta.org>
12335 * minibuffer.el (completions-format): New defcustom.
12336 (completion--insert-strings): Implement vertical format.
12338 * simple.el (switch-to-completions): Move point to the first
12339 completion when point was at the beginning of the buffer.
12341 2009-11-19 Juri Linkov <juri@jurta.org>
12343 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12345 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12347 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12349 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12350 (mail-signature): Change default to t.
12351 (mail-from-style): Deprecate `system-default' value.
12352 (mail-insert-from-field): For default value of mail-from-style,
12353 default to `angles' unless `angles' needs quoting and `parens'
12355 (mail-citation-prefix-regexp): Use citation regexp from
12358 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12360 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12361 Set variables for computing the prompt for reading password.
12363 2009-11-19 Glenn Morris <rgm@gnu.org>
12365 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12367 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12369 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12370 (newsticker-treeview-listwindow-height): Fix custom type.
12372 2009-11-19 Kenichi Handa <handa@m17n.org>
12374 * descr-text.el (describe-char-padded-string): Compose with TAB
12375 only if there's a font for CH.
12376 (describe-char): Fix the condition for detecting a trivial composition.
12378 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12380 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12381 more accurate version of the regexp. (Bug#3910)
12383 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12385 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12387 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12389 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12390 (font-setting-change-default-font): Fix typo in docstring.
12392 2009-11-18 Alan Mackenzie <acm@muc.de>
12394 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12396 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12398 * font-setting.el (font-use-system-font): Move ...
12400 * cus-start.el (all): ... to here.
12402 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12404 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12405 Don't set `ad-return-value' if `ad-do-it' doesn't.
12407 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12410 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12412 * menu-bar.el: Put "Use system font" in Option-menu.
12413 (menu-bar-options-save): Add font-use-system-font.
12415 * loadup.el: If feature system-font-setting or font-render-setting is
12416 there, load font-setting.
12418 * Makefile.in (ELCFILES): Add font-settings.el.
12419 * font-setting.el: New file.
12421 2009-11-17 Glenn Morris <rgm@gnu.org>
12423 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12425 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12426 Preserve point in the list buffer. (Bug#4939)
12428 (newsticker--treeview-list-update-highlight)
12429 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12431 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12433 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12436 * calc/calc-ext.el (calc-init-extensions): Remove references to
12439 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12441 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12442 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12445 2009-11-16 Kevin Ryde <user42@zip.com.au>
12447 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12448 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12450 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12451 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12452 Ignore trailing spaces by omit-nulls to split-string (fixing
12453 regression from Emacs 21 due to the incompatible split-string
12454 change). (Bug #4928.)
12456 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12458 * vc.el (vc-log-show-limit): Default to 2000.
12459 (vc-print-log-internal): Insert buttons to request more entries
12460 when limiting the output.
12462 * vc-sccs.el (vc-sccs-print-log):
12463 * vc-rcs.el (vc-rcs-print-log):
12464 * vc-cvs.el (vc-cvs-print-log):
12465 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12468 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12470 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12471 error when `tramp-gvfs-dbus-event-vector' is set.
12472 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12474 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12476 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12478 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12480 * net/dbus.el (dbus-unregister-service): New defun.
12481 (dbus-register-property): Register the handlers of
12482 "org.freedesktop.DBus.Properties" for SERVICE.
12483 (dbus-property-handler): Fix docstring.
12485 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12487 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12488 Quote doc string reference in defvaralias as it is not in special form.
12489 (byte-compile-output-docform): Doc fix.
12491 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12493 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12494 (calc-complement-signed-mode): New variables.
12495 (calc-set-mode-line): Add indicator for twos-complements.
12496 (math-format-number): Format twos-complement notation.
12498 * calc/calc-bin.el (calc-word-size): Reset the variables
12499 `math-2-word-size' and `math-half-2-word-size'.
12500 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12501 (calc-symclip): New functions.
12503 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12505 * calc/calc-embed.el (calc-embedded-mode-vars):
12506 Add `calc-complement-signed-mode' to the list of modes.
12508 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12509 (calc-b-oper-keys): Add `calc-symclip' to list.
12511 * calc/calc-ext.el (math-read-number-fancy): Read complement
12513 (calc-init-extensions): Add binding for `calc-symclip'.
12514 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12516 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12518 (calc-modes-menu): Add item for twos complement mode.
12520 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12522 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12524 * register.el (jump-to-register, insert-register): Handle Semantic
12525 tags. From commented-out advice in semantic/senator.el.
12527 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12529 * vc.el (vc-log-show-limit): New variable.
12530 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12531 when using a prefix argument.
12532 (vc-print-log-internal): Add new argument LIMIT.
12534 * vc-svn.el (vc-svn-print-log):
12535 * vc-mtn.el (vc-mtn-print-log):
12536 * vc-hg.el (vc-hg-print-log):
12537 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12538 pass it to the log command when set. Make the BUFFER argument
12541 * vc-sccs.el (vc-sccs-print-log):
12542 * vc-rcs.el (vc-rcs-print-log):
12543 * vc-git.el (vc-git-print-log):
12544 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12545 ignore it. Make the BUFFER argument non-optional
12547 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12549 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12551 * dired.el (dired-mode-map): Move encryption items to "Operate"
12554 * strokes.el (strokes-update-window-configuration): Make strokes
12555 buffer current before erasing (Bug#4906).
12557 2009-11-15 Juri Linkov <juri@jurta.org>
12559 * simple.el (set-mark-default-inactive): Add :type, :group
12560 and :version. (Bug#4876)
12562 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12564 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12565 (archive-unique-fname): ... here. (Bug#4929)
12567 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12569 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12572 * novice.el (disabled-command-function): Add useful args.
12573 Setup the help buffer so that [back] works.
12574 Remove redundant call to help-mode.
12575 (disabled-command-function): Use `case'.
12576 (en/disable-command): New function extracted from enable-command.
12577 (enable-command, disable-command): Use it.
12579 2009-11-14 Glenn Morris <rgm@gnu.org>
12581 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12582 constants. (Bug#4913)
12584 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12586 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12588 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12589 defined in C that have no doc-strings. (Bug#1063)
12591 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12593 * cus-edit.el (data, files):
12594 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12596 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12598 * simple.el (shell-command): Doc fix (Bug#4891).
12600 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12602 2009-11-14 Glenn Morris <rgm@gnu.org>
12604 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12605 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12606 If they are already loaded, eval-after-load will do the right thing.
12608 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12611 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12613 * simple.el (x-selection-owner-p): Declare.
12614 (read-mail-command): Use custom radio type rather than choice.
12615 (completion-no-auto-exit): Doc fix.
12617 * custom.el (defgroup):
12618 * epg-config.el (epg): Doc fixes.
12620 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12622 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12623 * international/ccl.el (define-ccl-program): Do not purecopy the
12624 docstring, defconst does it anyway.
12626 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12628 * add-log.el (add-change-log-entry): Avoid displaying the changelog
12631 * x-dnd.el (x-dnd-maybe-call-test-function):
12632 * window.el (split-window-vertically):
12633 * whitespace.el (whitespace-help-on):
12634 * vc-rcs.el (vc-rcs-consult-headers):
12635 * userlock.el (ask-user-about-lock-help)
12636 (ask-user-about-supersession-help):
12637 * type-break.el (type-break-force-mode-line-update):
12638 * time-stamp.el (time-stamp-conv-warn):
12639 * terminal.el (te-set-output-log, te-more-break, te-filter)
12640 (te-sentinel, terminal-emulator):
12641 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12642 (term-write-input-ring, term-check-source, term-start-output-log):
12643 (term-display-buffer-line, term-dynamic-list-completions):
12644 (term-ansi-make-term, serial-term):
12645 * subr.el (selective-display):
12646 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12647 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12648 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12649 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12650 (speedbar-remove-localized-speedbar-support)
12651 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12652 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12653 (speedbar-buffers-line-directory):
12654 * simple.el (shell-command-on-region, append-to-buffer)
12655 (prepend-to-buffer):
12656 * shadowfile.el (shadow-save-todo-file):
12657 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12658 (scroll-bar-maybe-set-window-start):
12659 * sb-image.el (speedbar-image-dump):
12660 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12661 (load-save-place-alist-from-file):
12662 * ps-samp.el (ps-print-message-from-summary):
12663 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12664 (ps-background-image, ps-begin-job, ps-do-despool):
12665 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12666 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12667 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12668 (pr-call-process, pr-file-list, pr-interface-save):
12669 * novice.el (disabled-command-function)
12670 (enable-command, disable-command):
12671 * mouse.el (mouse-buffer-menu-alist):
12672 * mouse-copy.el (mouse-kill-preserving-secondary):
12673 * macros.el (kbd-macro-query):
12674 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12675 * informat.el (batch-info-validate):
12676 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12677 * hippie-exp.el (try-expand-dabbrev-visible):
12678 * help-mode.el (help-make-xrefs):
12679 * help-fns.el (describe-variable):
12680 * generic-x.el (bat-generic-mode-run-as-comint):
12681 * finder.el (finder-mouse-select):
12682 * find-dired.el (find-dired-sentinel):
12683 * filesets.el (filesets-file-close):
12684 * files.el (list-directory):
12685 * faces.el (list-faces-display, describe-face):
12686 * facemenu.el (list-colors-display):
12687 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12688 * epg.el (epg--process-filter, epg-cancel):
12689 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12690 (epa--read-signature-type):
12691 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12692 (emerge-file-names):
12693 * ehelp.el (electric-helpify):
12694 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12695 * ediff-vers.el (rcs-ediff-view-revision):
12696 * ediff-util.el (ediff-setup):
12697 * ediff-mult.el (ediff-append-custom-diff):
12698 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12700 * echistory.el (Electric-command-history-redo-expression):
12701 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12702 * disp-table.el (describe-display-table):
12703 * dired.el (dired-find-buffer-nocreate):
12704 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12705 * dabbrev.el (dabbrev--same-major-mode-p):
12706 * chistory.el (list-command-history):
12707 * apropos.el (apropos-documentation):
12708 * allout.el (allout-obtain-passphrase):
12709 (allout-copy-exposed-to-buffer):
12710 (allout-verify-passphrase): Use with-current-buffer.
12712 2009-11-13 Glenn Morris <rgm@gnu.org>
12714 * Makefile.in (ELCFILES): Regenerate.
12716 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
12718 * net/dbus.el (dbus-registered-objects-table): Rename from
12719 `dbus-registered-functions-table', because it contains also properties.
12720 (dbus-unregister-object): Unregister also properties.
12721 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12722 Use a timeout of 500 msec, in order to not block.
12723 (dbus-register-property, dbus-property-handler): New defuns.
12725 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12727 * simple.el (minibuffer-default-add-completions): Drop deprecated
12730 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
12732 * textmodes/artist.el (artist-mouse-choose-operation):
12733 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12734 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12735 (artist-compute-up-event-key): New function.
12736 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12738 2009-11-13 Kenichi Handa <handa@m17n.org>
12740 * language/japan-util.el: Make sure that the value of jisx0208
12741 property is jisx0208 character.
12743 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
12745 * international/mule.el (auto-coding-regexp-alist): Only purecopy
12746 car or each item, not the whole list.
12748 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
12750 * minibuffer.el (minibuffer-completion-help):
12751 Use minibuffer-hide-completions.
12753 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
12755 * dired.el (dired-save-positions, dired-restore-positions): New funs.
12756 (dired-revert): Use them (bug#4880).
12758 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12760 * tooltip.el (tooltip-frame-parameters): Undo previous change.
12762 2009-11-12 Juri Linkov <juri@jurta.org>
12764 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12766 (find-file-literally-at-point): Alias of `ffap-literally'.
12768 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12770 * textmodes/ispell.el (ispell-skip-region-alist):
12771 * textmodes/css-mode.el (auto-mode-alist):
12772 * progmodes/compile.el (auto-mode-alist):
12773 * international/mule.el (ctext-non-standard-encodings-alist)
12774 (ctext-non-standard-encodings-regexp):
12775 * simple.el (shell-command-switch, text-read-only):
12776 * replace.el (occur-mode-map):
12777 * paths.el (rmail-file-name):
12778 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12779 * find-file.el (ff-special-constructs):
12780 * files.el (file-name-handler-alist):
12781 * composite.el: Purecopy strings.
12783 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12785 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12787 * widget.el (define-widget): Purecopy the docstring.
12788 * international/mule-cmds.el (charset): Do not purecopy the
12789 docstring here, define-widget does it.
12791 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12792 * textmodes/bibtex-style.el (auto-mode-alist):
12793 * progmodes/inf-lisp.el (inferior-lisp-prompt):
12794 * progmodes/compile.el (compile-command):
12795 * language/korea-util.el (default-korean-keyboard):
12796 * international/mule-conf.el (file-coding-system-alist):
12797 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12798 * tooltip.el (tooltip-frame-parameters):
12799 * newcomment.el (comment-end, comment-padding):
12800 * dired.el (dired-trivial-filenames):
12801 * comint.el (comint-file-name-prefix): Purecopy initial values.
12803 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
12805 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12806 (tramp-advice-minibuffer-electric-tilde): Unload advices via
12808 (tramp-advice-make-auto-save-file-name)
12809 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12810 after removing the advice.
12812 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12814 * progmodes/grep.el (grep-regexp-alist):
12815 * international/mule-cmds.el (iso-2022-control-alist):
12816 * emacs-lisp/timer.el (timer-duration-words):
12817 * subr.el (version-separator, version-regexp-alist):
12818 * minibuffer.el (completion-styles-alist):
12819 * faces.el (face-attribute-name-alist, list-faces-sample-text):
12820 Change defvars to defconsts.
12822 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12823 * loadup.el ("international/mule-conf"): Load the byte compiled version.
12824 * international/mule-conf.el: Allow to be byte compiled.
12826 * international/mule.el (define-charset): Purecopy props.
12827 (load-with-code-conversion): Purecopy doc string and file name.
12828 (put-charset-property): Purecopy strings.
12829 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12831 * international/mule-cmds.el (register-input-method): Purecopy arguments.
12832 (define-char-code-property): Correctly purecopy the table.
12834 * international/ccl.el (define-ccl-program): Purecopy the docstring.
12836 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12838 * subr.el (add-hook): Purecopy strings.
12839 (eval-after-load): Purecopy load-history-regexp and the form.
12841 * custom.el (custom-declare-group): Purecopy load-file-name.
12843 * subr.el (menu-bar-separator): New defconst.
12844 * net/eudc.el (eudc-tools-menu):
12845 * international/mule-cmds.el (set-coding-system-map)
12846 (mule-menu-keymap):
12847 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12848 * vc-hooks.el (vc-menu-map):
12849 * replace.el (occur-mode-map):
12850 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12851 (menu-bar-edit-menu, menu-bar-goto-menu)
12852 (menu-bar-custom-menu, menu-bar-showhide-menu)
12853 (menu-bar-options-menu, menu-bar-tools-menu)
12854 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12855 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12856 (menu-bar-help-menu):
12857 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12858 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12860 * term/x-win.el (x-gtk-stock-map):
12861 * progmodes/vera-mode.el (auto-mode-alist):
12862 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12863 (inferior-lisp-program, inferior-lisp-load-command):
12864 * progmodes/hideshow.el (hs-special-modes-alist):
12865 * progmodes/gud.el (same-window-regexps):
12866 * progmodes/grep.el (grep-program, find-program, xargs-program):
12867 * net/telnet.el (same-window-regexps):
12868 * net/rlogin.el (same-window-regexps):
12869 * language/ethiopic.el (font-ccl-encoder-alist):
12870 * vc-sccs.el (vc-sccs-master-templates):
12871 * vc-rcs.el (vc-rcs-master-templates):
12872 * subr.el (cl-assertion-failed):
12873 * simple.el (next-error-overlay-arrow-position):
12874 * lpr.el (lpr-command):
12875 * locate.el (locate-ls-subdir-switches):
12876 * info.el (same-window-regexps, info)
12877 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12878 * image-mode.el (image-mode, auto-mode-alist):
12879 * hippie-exp.el (hippie-expand-ignore-buffers):
12880 * format.el (format-alist):
12881 * find-dired.el (find-ls-subdir-switches, find-grep-options)
12883 * facemenu.el (facemenu-keybindings):
12884 * dired.el (dired-listing-switches, dired-chown-program):
12885 * diff.el (diff-switches, diff-command):
12886 * cus-edit.el (same-window-regexps):
12887 * bindings.el (mode-line-mule-info)
12888 (mode-line-buffer-identification): Purecopy strings.
12890 2009-11-11 Juri Linkov <juri@jurta.org>
12892 * simple.el (dired-get-filename) <declare-function>:
12893 Tell the byte-compiler about dired-get-filename.
12894 (shell-command): In Dired mode, get filename from the current line
12895 as the default value.
12897 2009-11-10 Glenn Morris <rgm@gnu.org>
12899 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12900 * calendar/holidays.el, progmodes/cperl-mode.el:
12901 Update x-popup-menu declarations.
12903 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12904 (list-load-path-shadows): Use dolist.
12905 (list-load-path-shadows): Use with-current-buffer.
12907 2009-11-10 Juri Linkov <juri@jurta.org>
12909 * minibuffer.el (read-file-name): Support a list of default values
12910 in `default-filename'. Use the first file name where only one
12911 element is required. Doc fix.
12913 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
12915 * net/dbus.el (dbus-unregister-object): Release service, if no
12916 other method is registered for it.
12918 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
12920 * bookmark.el (bookmark-completing-read): Sort bookmark names if
12921 bookmark-sort-flag is non-nil (Bug#4653).
12923 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12925 * emulation/cua-base.el: Add CUA property to some CC mode commands
12928 2009-11-08 Kevin Ryde <user42@zip.com.au>
12930 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12931 at end of sentence (Bug#4818).
12933 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
12935 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12936 Handle "see declaration of" MSFT statements (Bug#4100).
12938 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
12940 * net/tramp.el (tramp-advice-make-auto-save-file-name)
12941 (tramp-advice-file-expand-wildcards): Unload via
12942 `ad-remove-advice'.
12944 * net/trampver.el: Update release number.
12946 2009-11-08 Kevin Ryde <user42@zip.com.au>
12948 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12951 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
12953 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12954 in order to keep context in SELinux.
12956 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12958 * dired-aux.el (dired-query): Place cursor in echo area and allow
12961 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12962 menu item if not on a directory (Bug#4701).
12964 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
12966 Sync with Tramp 2.1.17.
12968 * net/tramp.el (tramp-handle-copy-directory): Don't use
12969 `file-remote-p' (due to compatibility).
12971 * net/tramp-compat.el (tramp-compat-copy-directory)
12972 (tramp-compat-delete-directory): New defuns.
12974 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12975 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12976 Use `tramp-compat-delete-directory'.
12978 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12979 (tramp-smb-handle-delete-directory):
12980 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12982 * net/trampver.el: Update release number.
12984 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
12986 * tar-mode.el (tar-copy): Call write-region on the right buffer
12989 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12990 by hand, if necessary (Bug#4878).
12992 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
12994 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12995 align size column (Bug#4839).
12997 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13000 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13002 * progmodes/ld-script.el (auto-mode-alist):
13003 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13005 * cus-face.el (custom-declare-face): Purecopy face spec.
13007 2009-11-06 Kenichi Handa <handa@m17n.org>
13009 * international/uni-bidi.el: Re-generated.
13010 * international/uni-category.el: Re-generated.
13011 * international/uni-combining.el: Re-generated.
13012 * international/uni-mirrored.el: Re-generated.
13014 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13016 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13017 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13018 (tex-start-options, slitex-run-command, latex-run-command)
13019 (tex-run-command, tex-directory):
13020 * textmodes/ispell.el (ispell-html-skip-alists)
13021 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13022 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13023 (adaptive-fill-regexp):
13024 * textmodes/dns-mode.el (auto-mode-alist):
13025 * progmodes/python.el (interpreter-mode-alist):
13026 * progmodes/etags.el (tags-compression-info-list):
13027 * progmodes/etags.el (tags-file-name):
13028 * net/browse-url.el (browse-url-galeon-program)
13029 (browse-url-firefox-program):
13030 * mail/sendmail.el (mail-signature-file)
13031 (mail-citation-prefix-regexp):
13032 * international/mule-conf.el (eight-bit):
13033 * international/latexenc.el (latex-inputenc-coding-alist):
13034 * international/fontset.el (x-pixel-size-width-font-regexp):
13035 * emacs-lisp/warnings.el (warning-type-format):
13036 * emacs-lisp/trace.el (trace-buffer):
13037 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13038 (emacs-lisp-mode-map):
13039 * calendar/holidays.el (holiday-solar-holidays)
13040 (holiday-bahai-holidays, holiday-islamic-holidays)
13041 (holiday-christian-holidays, holiday-hebrew-holidays)
13042 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13043 (hebrew-holidays-1, holiday-oriental-holidays)
13044 (holiday-general-holidays):
13045 * x-dnd.el (x-dnd-known-types):
13046 * tool-bar.el (tool-bar):
13047 * startup.el (site-run-file):
13048 * shell.el (shell-dumb-shell-regexp):
13049 * rfn-eshadow.el (file-name-shadow-tty-properties)
13050 (file-name-shadow-properties):
13051 * paths.el (remote-shell-program, news-directory):
13052 * mouse.el ([C-down-mouse-3]):
13053 * menu-bar.el (menu-bar-tools-menu):
13054 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13055 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13056 (jka-compr-compression-info-list):
13057 * isearch.el (search-whitespace-regexp):
13058 * image-file.el (image-file-name-extensions):
13059 * find-dired.el (find-ls-option):
13060 * files.el (directory-listing-before-filename-regexp)
13061 (directory-free-space-args, insert-directory-program)
13062 (list-directory-brief-switches, magic-fallback-mode-alist)
13063 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13064 (automount-dir-prefix):
13065 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13066 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13067 (face-font-registry-alternatives, face-font-registry-alternatives)
13068 (face-font-family-alternatives):
13069 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13070 (facemenu-foreground-menu, facemenu-face-menu):
13071 * epa-hook.el (epa-file-name-regexp):
13072 * dnd.el (dnd-protocol-alist):
13073 * textmodes/rst.el (auto-mode-alist):
13074 * button.el (default-button): Purecopy strings.
13076 2009-11-06 Glenn Morris <rgm@gnu.org>
13078 * Makefile.in (ELCFILES): Update.
13080 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13082 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13083 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13085 * nxml/xsd-regexp.el (xsdre-gen-categories):
13086 * nxml/xmltok.el (xmltok-parse-entity):
13087 * nxml/rng-parse.el (rng-parse-validate-file):
13088 * nxml/rng-maint.el (rng-format-manual)
13089 (rng-manual-output-force-new-line):
13090 * nxml/rng-loc.el (rng-save-schema-location-1):
13091 * nxml/rng-cmpct.el (rng-c-parse-file):
13092 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13093 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13095 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13097 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13098 Remove extra save-excursions and make-variable-buffer-local's.
13099 Suggested by Stefan Monnier.
13101 (verilog-getopt-file, verilog-module-inside-filename-p)
13102 (verilog-set-define): Merge GNU 1.35 and repair changes from
13103 switching to using with-current-buffer.
13105 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13106 being treated as a number and confusing AUTORESET.
13107 Reported by Dan Dever.
13109 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13110 Add verilog-auto-ignore-concat to fix backward compatibility with
13111 older verilog-modes. Reported by Dan Katz.
13113 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13114 containing closing anchors "...$".
13116 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13117 Reported by Wade Smith.
13119 (verilog-batch-execute-func): Comment on function usage.
13121 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13123 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13126 (verilog-label-re, verilog-calc-1): Support proper indent of named
13129 (verilog-backward-token, verilog-basic-complete-re)
13130 (verilog-beg-of-statement, verilog-indent-re): Support proper
13131 indent of the assert statement at the beginning of a block of text.
13133 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13134 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13137 2009-11-05 Glenn Morris <rgm@gnu.org>
13139 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13140 Emacs 19. (Bug#1531)
13141 (byte-compile-fix-header): Update for the above change.
13142 Drop test for epoch::version.
13144 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13145 * cus-dep.el (custom-make-dependencies):
13146 * finder.el (finder-compile-keywords):
13147 Use autoload-rubric's feature argument.
13149 * calendar/diary-lib.el (top-level): Make load behave more like require.
13151 * vc-git.el (vc-git-stash-map): Move definition before use.
13153 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13155 * custom.el (custom-declare-group): Purecopy standard-value.
13156 (custom-declare-group): Purecopy custom-prefix.
13158 * international/mule.el (load-with-code-conversion):
13159 Call do-after-load-evaluation unconditionally.
13161 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13163 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13165 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13167 2009-11-04 Glenn Morris <rgm@gnu.org>
13169 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13170 (byte-compile-compatibility): Remove option.
13171 (byte-compile-close-variables, byte-compile-fix-header)
13172 (byte-compile-insert-header, byte-compile-output-docform)
13173 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13174 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13175 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13176 (byte-compile-insert, byte-compile-defun):
13177 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13178 (byte-defop-compiler19): Remove.
13179 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13180 used by anything. Replace all calls with byte-defop-compiler.
13182 2009-11-04 Juri Linkov <juri@jurta.org>
13184 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13185 (menu-bar-options-menu): Don't quote the `prop' arg of
13186 `menu-bar-make-mm-toggle'.
13188 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13190 * calendar/calendar.el (cal-loaddefs):
13191 * calendar/diary-lib.el (diary-loaddefs):
13192 * calendar/holidays.el (hol-loaddefs):
13193 * eshell/esh-module.el (esh-groups): Load rather than require.
13195 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13197 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13199 (todo-top-priorities): Only display-buffer when called interactively.
13200 (todo-item-start): Don't save excursion point.
13201 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13202 (todo-insert-item-here, todo-file-item, todo-remove-item):
13203 Adjust uses of todo-item-start and todo-item-end.
13205 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13206 (autoload-rubric): Don't use any more.
13208 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13209 and only put a prop if it is non-nil.
13211 2009-11-03 Juri Linkov <juri@jurta.org>
13213 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13214 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13216 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13217 and "Menu" to make top-level menu item visually one unit (like
13218 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13219 multi-word menu items). Fix :help string for quit-window.
13221 2009-11-03 Glenn Morris <rgm@gnu.org>
13223 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13224 (byte-compile-file-form-define-abbrev-table)
13225 (byte-compile-file-form-custom-declare-variable)
13226 (byte-compile-variable-ref, byte-compile-defvar):
13227 Whether or not a warning is enabled should only affect whether we issue
13228 the warning, not whether or not we collect the relevant data.
13229 Eg warnings can be turned on and off throughout the course of a file.
13231 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13232 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13234 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13236 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13237 * play/mpuz.el (mpuz-create-buffer):
13238 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13239 (lm-print-y,s,noise, lm-print-w0, lm-init):
13240 * play/gomoku.el (gomoku-prompt-for-move):
13241 * play/fortune.el (fortune-in-buffer):
13242 * play/dissociate.el (dissociated-press):
13243 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13244 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13245 * mail/supercite.el (sc-eref-show):
13246 * mail/smtpmail.el (smtpmail-send-it):
13247 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13248 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13249 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13250 (rmail-summary-goto-msg, rmail-summary-expunge)
13251 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13252 (rmail-summary-add-label, rmail-summary-output-menu)
13253 (rmail-summary-output-body):
13254 * mail/rfc822.el (rfc822-addresses):
13255 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13256 * mail/mailpost.el (post-mail-send-it):
13257 * mail/hashcash.el (hashcash-generate-payment):
13258 * mail/feedmail.el (feedmail-run-the-queue)
13259 (feedmail-queue-send-edit-prompt-help-first)
13260 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13261 (feedmail-deduce-address-list):
13262 * eshell/esh-ext.el (eshell-remote-command):
13263 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13264 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13265 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13266 (viper-save-string-in-file, viper-valid-marker):
13267 * emulation/viper-keym.el (viper-toggle-key):
13268 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13269 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13270 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13271 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13272 (viper-exec-form-in-emacs, viper-brac-function):
13273 * emulation/viper.el (viper-delocalize-var):
13274 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13275 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13276 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13277 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13278 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13279 * emulation/edt.el (edt-electric-helpify):
13280 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13281 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13282 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13283 (cua-indent-to-global-mark-column):
13284 * calendar/diary-lib.el (calendar-mark-1):
13285 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13286 Use with-current-buffer.
13287 * emulation/viper.el (viper-delocalize-var): Use dolist.
13289 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13291 * comint.el (comint-replace-by-expanded-history-before-point):
13292 Replace !! with the previous input string literally (Bug#1795).
13294 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13296 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13297 to be made up of whitespace.
13299 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13301 * minibuffer.el (read-file-name): Don't use file dialogs for
13302 remote directories (Bug#99).
13304 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13306 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13308 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13310 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13311 instead of deleting the window or frame.
13313 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13315 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13316 Support face colors.
13318 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13319 New function. Support face colors (Bug#1168).
13320 (tex-common-initialization): Use it.
13322 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13323 mode allows it (Bug#1168).
13325 2009-10-31 Juri Linkov <juri@jurta.org>
13327 * facemenu.el (list-colors-display): Don't mark buffer as
13328 modified (Bug#3948).
13330 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13332 * international/mule-diag.el (list-character-sets-1):
13333 Minor message fix (Bug#3526).
13335 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13336 Fix face property (Bug#4834).
13337 (etags-list-tags, etags-tags-apropos-additional)
13338 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13341 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13344 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13346 * textmodes/two-column.el (2C-split):
13347 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13348 * textmodes/tex-mode.el (tex-set-buffer-directory):
13349 * textmodes/spell.el (spell-region, spell-string):
13350 * textmodes/reftex.el (reftex-erase-buffer):
13351 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13352 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13353 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13354 (reftex-select-item):
13355 * textmodes/reftex-ref.el (reftex-label-info-update)
13356 (reftex-offer-label-menu):
13357 * textmodes/reftex-index.el (reftex-index-change-entry)
13358 (reftex-index-phrases-info):
13359 * textmodes/reftex-global.el (reftex-create-tags-file)
13360 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13361 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13362 (reftex-view-crossref-from-bibtex):
13363 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13364 (reftex-extract-bib-entries-from-thebibliography)
13365 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13366 * textmodes/refbib.el (r2b-capitalize-title):
13367 (r2b-convert-buffer, r2b-help):
13368 * textmodes/page-ext.el (pages-directory)
13369 (pages-directory-goto-with-mouse):
13370 * textmodes/bibtex.el (bibtex-validate-globally):
13371 * textmodes/bib-mode.el (bib-capitalize-title):
13372 * textmodes/artist.el (artist-clear-buffer, artist-system):
13373 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13374 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13375 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13376 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13377 (xscheme-send-control-g-interrupt, xscheme-start-process)
13378 (xscheme-process-sentinel, xscheme-cd):
13379 * progmodes/verilog-mode.el (verilog-read-always-signals)
13380 (verilog-set-define, verilog-getopt-file)
13381 (verilog-module-inside-filename-p):
13382 * progmodes/sh-script.el:
13383 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13384 (python-pdbtrack-grub-for-buffer, python-execute-file):
13385 * progmodes/octave-inf.el (inferior-octave):
13386 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13387 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13388 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13389 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13390 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13391 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13392 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13393 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13394 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13395 (idlwave-shell-examine-display, idlwave-shell-run-region)
13396 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13397 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13398 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13399 (idlwave-help-get-help-buffer):
13400 * progmodes/gud.el (gud-basic-call, gud-find-class)
13401 (gud-tooltip-activate-mouse-motions-if-enabled):
13402 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13403 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13404 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13405 (ebrowse-tags-next-file):
13406 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13407 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13408 (ebnf-eps-finish-and-write):
13409 * progmodes/cpp.el (cpp-edit-save):
13410 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13411 * progmodes/cc-defs.el (c-emacs-features):
13412 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13413 (antlr-directory-dependencies):
13414 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13415 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13416 (ada-find-any-references, ada-make-filename-from-adaname)
13417 (ada-make-body-gnatstub):
13418 * obsolete/rnews.el (news-list-news-groups):
13419 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13420 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13421 * net/rcirc.el (rcirc-debug):
13422 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13423 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13424 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13425 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13426 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13427 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13428 (newsticker--treeview-list-clear-highlight)
13429 (newsticker--treeview-list-update-highlight)
13430 (newsticker--treeview-list-highlight-start)
13431 (newsticker--treeview-tree-update-highlight)
13432 (newsticker--treeview-get-selected-item)
13433 (newsticker-treeview-mark-list-items-old)
13434 (newsticker--treeview-set-current-node):
13435 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13436 * net/newst-backend.el (newsticker--get-news-by-funcall)
13437 (newsticker--get-news-by-wget, newsticker--image-get)
13438 (newsticker--image-sentinel):
13439 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13440 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13441 (eudc-ph-close-session):
13442 * net/eudc.el (eudc-save-options):
13443 * language/thai-word.el (thai-update-word-table):
13444 * language/japan-util.el (japanese-string-conversion):
13445 * international/titdic-cnv.el (tsang-quick-converter)
13446 (ziranma-converter, ctlau-converter):
13447 * international/mule-cmds.el (describe-language-environment):
13448 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13449 (skkdic-convert-postfix, skkdic-convert-prefix):
13450 (skkdic-convert-okuri-nasi, skkdic-convert):
13451 * emacs-lisp/re-builder.el (reb-update-overlays):
13452 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13453 * emacs-lisp/gulp.el (gulp-send-requests):
13454 * emacs-lisp/find-gc.el (trace-call-tree):
13455 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13456 (eieio-describe-generic):
13457 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13458 * emacs-lisp/edebug.el (edebug-outside-excursion):
13459 * emacs-lisp/debug.el (debugger-make-xrefs):
13460 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13461 * emacs-lisp/chart.el (chart-new-buffer):
13462 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13463 Use with-current-buffer.
13464 * textmodes/artist.el (artist-system): Don't call
13465 copy-sequence on a fresh string.
13466 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13468 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13470 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13471 is no item to edit. (Bug#4820)
13472 (todo-top-priorities): Restore point and restore narrowing in Todo
13475 2009-10-31 Glenn Morris <rgm@gnu.org>
13477 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13478 (comint-last-output-start, comint-last-input-start)
13479 (comint-last-input-end): Don't defvar when compiling.
13480 (ange-ftp-process-file): Use bound-and-true-p.
13482 * pcmpl-rpm.el (top-level): Move provide statement to end.
13483 (pcmpl-rpm): Remove unused custom group.
13485 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13487 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13489 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13490 (byte-compile-warnings): Add `constants' as an option.
13491 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13492 (display-call-tree): Update for byte-compile-fdefinition possibly
13493 returning `(macro lambda ...)'. (Bug#4778)
13494 (byte-compile-variable-ref, byte-compile-setq-default):
13495 Respect `constants' member of byte-compile-warnings.
13497 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13499 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13500 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13503 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13505 * textmodes/ispell.el (ispell-skip-region-alist):
13506 * international/mule-conf.el (eight-bit):
13507 * international/fontset.el (font-encoding-alist):
13508 * startup.el (pure-space-overflow-message):
13509 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13510 * paths.el (gnus-nntp-service, rmail-spool-directory)
13511 (term-file-prefix):
13512 * files.el (save-some-buffers-action-alist):
13513 * cmuscheme.el (same-window-buffer-names):
13514 * ielm.el (same-window-buffer-names):
13515 * shell.el (same-window-buffer-names):
13516 * mail/sendmail.el (same-window-buffer-names):
13517 * progmodes/inf-lisp.el (same-window-buffer-names):
13518 * bindings.el (mode-line-client)
13519 (mode-line-column-line-number-mode-map):
13520 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13521 (tibetan-precomposed-regexp): Purecopy string arguments.
13523 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13525 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13526 (calcDigit-nondigit):
13527 * calc/calc-yank.el (calc-copy-to-buffer):
13528 * calc/calc-units.el (calc-invalidate-units-table):
13529 * calc/calc-trail.el (calc-trail-yank):
13530 * calc/calc-store.el (calc-insert-variables):
13531 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13532 * calc/calc-prog.el (calc-read-parse-table):
13533 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13534 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13535 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13536 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13537 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13538 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13539 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13540 * calc/calc-ext.el (calc-realign):
13541 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13542 (calc-embedded-finish-edit, calc-embedded-make-info)
13543 (calc-embedded-finish-command, calc-embedded-stack-change):
13544 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13546 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13547 shell-dynamic-complete-filename in preference to
13548 comint-dynamic-complete-filename.
13550 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13551 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13552 Don't consider whether the display supports colors.
13553 (bookmark-import-new-list): Use dolist.
13554 (bookmark-bmenu-mode-map): Move initialization into declaration.
13555 (bookmark-bmenu-list): Use dolist, simplify.
13556 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13557 (menu-bar-final-items): Use push.
13559 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13561 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13562 it works on remote files.
13563 (vc-hg-diff): Don't pass any `--cwd' argument.
13565 2009-10-27 Kevin Ryde <user42@zip.com.au>
13567 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13568 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13569 (Further to Bug#3921).
13571 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13573 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13574 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13575 calling `tramp-imap-put-file'. Add file size to the call.
13576 (tramp-imap-get-file-entries): Compute also user name, file size,
13578 (tramp-imap-handle-insert-directory): Insert uid and gid.
13579 (tramp-imap-handle-file-attributes): Transform uid and gid
13580 according to `id-format'.
13581 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13582 size in header X-Size.
13584 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13586 * simple.el (transpose-subr): Give clearer error when the mark
13587 is not set. (Bug#4807)
13589 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13591 * net/tramp.el (tramp-perl-file-truename): New defconst.
13592 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13593 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13594 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13595 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13597 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13598 Ignore `dired-call-process'.
13599 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13601 2009-10-26 Julian Scheid <julians37@gmail.com>
13603 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13604 (tramp-get-remote-readlink): New defun.
13605 (tramp-handle-file-truename): Use it.
13606 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13607 file exists if cache value present.
13608 (tramp-check-cached-permissions): New defun.
13609 (tramp-handle-file-readable-p): Use it.
13610 (tramp-handle-file-writable-p): Likewise.
13611 (tramp-handle-file-executable-p): Likewise.
13612 (tramp-handle-file-name-all-completions): Try using Perl to get
13613 partial completions. When perl not available, combine `cd' and
13614 `ls' into single remote operation and use shell expansion to get
13615 partial remote directory contents. Set `file-exists-p' cache for
13616 directory and any files returned by ls. Change cache handling to
13617 support partial directory contents. Use error message emitted by
13618 remote `cd' or Perl code for local tramp-error.
13619 (tramp-do-copy-or-rename-file-directly): Avoid separate
13620 tramp-send-command-and-check call.
13621 (tramp-handle-process-file): Merge three remote ops into one.
13622 Do not flush all caches when `process-file-side-effects' is set.
13623 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13624 file-attributes shows uid/gid to be set already.
13626 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13628 * textmodes/tex-mode.el (tex-dvi-view-command)
13629 (tex-show-queue-command, tex-open-quote):
13630 * progmodes/ruby-mode.el (auto-mode-alist)
13631 (interpreter-mode-alist): Purecopy strings.
13633 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13635 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13636 string for the hook, keymap and abbrev table.
13638 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13640 * x-dnd.el (x-dnd-xdnd-to-action):
13641 * startup.el (fancy-startup-text, fancy-about-text): Change to
13642 defconst from defvar.
13644 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13646 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13647 Purecopy initialization strings.
13649 * mail/sendmail.el (mail-header-separator)
13650 (mail-personal-alias-file):
13651 * mail/rmail.el (rmail-default-dont-reply-to-names)
13652 (rmail-ignored-headers, rmail-retry-ignored-headers)
13653 (rmail-highlighted-headers, rmail-secondary-file-directory)
13654 (rmail-secondary-file-regexp):
13655 * files.el (null-device, file-name-invalid-regexp)
13656 (locate-dominating-stop-dir-regexp)
13657 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13658 (interpreter-mode-alist): Use mapcar instead of mapc.
13660 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13662 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13663 (completion-ignored-extensions):
13664 (debug-ignored-errors): Purecopy strings.
13666 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13668 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13669 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13670 (pcomplete--here): Use push.
13672 * subr.el (all-completions): Declare the 4th arg obsolete.
13674 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13676 * pcomplete.el (pcomplete-unquote-argument-function): New var.
13677 (pcomplete-unquote-argument): New function.
13678 (pcomplete--common-suffix): Always pay attention to case.
13679 (pcomplete--table-subvert): Quote and unquote the text.
13680 (pcomplete--common-quoted-suffix): New function.
13681 (pcomplete-std-complete): Use it and pcomplete-begin.
13683 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13684 we're inside a dedicated or minibuffer window.
13686 2009-10-24 Karl Fogel <kfogel@red-bean.com>
13688 * bookmark.el: Update documentation, especially documentation
13689 of `bookmark-alist' and of the bookmark file format.
13690 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13692 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
13694 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13695 keybindings apply to the mail buffer (Bug#4003). Shrink help
13698 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13699 (global-whitespace-mode, global-whitespace-newline-mode)
13700 (whitespace-toggle-options, global-whitespace-toggle-options):
13701 Doc fix (Bug#3660).
13703 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13704 of xmltok-start before the end tag was inserted (Bug#2840).
13706 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13707 patterns that are preceded by an open-paren (Bug#1320).
13709 2009-10-24 Sven Joachim <svenjoac@gmx.de>
13711 * files.el (delete-directory): Delete symlinks to directories with
13712 delete-file (Bug#4739).
13714 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
13716 * vc.el (vc-backend-for-registration): Rename from
13717 vc-get-backend-for-registration. Update callers.
13719 * international/mule-cmds.el (set-language-info-alist):
13721 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13722 (charset): Purecopy the name.
13723 (define-char-code-property): Purecopy string arguments.
13725 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13726 Purecopy string arguments.
13728 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13729 * ediff-hook.el (menu-bar-ediff-menu):
13730 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13731 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13733 2009-10-24 Glenn Morris <rgm@gnu.org>
13735 * comint.el (comint-dynamic-list-completions):
13736 * term.el (term-dynamic-list-completions): Use choose-completion rather
13737 than obsolete alias mouse-choose-completion.
13739 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13740 file-cache-choose-completion.
13741 (file-cache-choose-completion): Handle an optional event argument.
13742 (file-cache-mouse-choose-completion): Make it an obsolete alias.
13744 * progmodes/octave-mod.el (octave-complete-symbol):
13745 Use choose-completion if mouse-choose-completion is ever removed.
13747 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13750 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13753 * vc-hooks.el (vc-responsible-backend): Fix declaration.
13755 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13757 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13758 Ignore `pred' now that we receive one.
13759 Handle test-completion specially.
13761 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13763 * vc.el (vc-responsible-backend): Throw an error if not backend is
13764 found. Remove the REGISTER argument. Move the code dealing with
13766 (vc-get-backend-for-registration): ... here. New function.
13767 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13768 of vc-responsible-backend, pass the file name instead of the
13771 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13773 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13775 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
13776 (pcomplete-comint-setup): Don't modify a global var via
13777 accidental side-effects.
13778 (pcomplete-shell-setup): Adjust call accordingly.
13779 (pcomplete-parse-comint-arguments): Use push.
13781 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
13783 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13784 Allow uncapitalized info node names (Bug#3921).
13786 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13787 to the DEBUG file (Bug#3781).
13789 2009-10-23 Jari Aalto <jari.aalto@cante.net>
13791 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13792 dictionary entry (Bug#4579).
13794 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
13796 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13797 from `rfn-eshadow-update-overlay-hook' when unloading.
13798 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13799 "rsyncc". Adjust doc string.
13800 (tramp-temp-buffer-file-name): New buffer-local defvar.
13801 (tramp-handle-insert-file-contents, tramp-handle-write-region):
13802 Keep temporary file when indicated by method ("rsync" and
13804 (tramp-handle-write-region): Handle APPEND.
13805 (tramp-delete-temp-file-function): New defun. Added to
13806 `kill-buffer-hook'.
13808 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
13810 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13812 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13814 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13815 (color-name-rgb-alist, tty-standard-colors)
13816 (tty-color-mode-alist): Change to defconst.
13818 * simple.el (mark-inactive): Purecopy message.
13820 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13821 (global-map, yank-menu):
13822 * textmodes/ispell.el (ispell-menu-map):
13823 * net/eudc.el (eudc-tools-menu):
13824 * international/mule-cmds.el (describe-language-environment-map)
13825 (setup-language-environment-map, set-coding-system-map)
13826 (mule-menu-keymap):
13827 * vc-hooks.el (vc-menu-entry, vc-menu-map):
13828 * replace.el (occur-mode-map):
13829 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13831 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
13833 * calc/calc.el (math-read-number, math-read-number-simple):
13834 Use `save-match-data'.
13836 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13838 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13839 rather than fiddling with global-map bindings, since it should only
13840 affect per-terminal settings.
13841 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13843 * minibuffer.el (completion-table-with-terminator): Allow to specify
13844 the terminator-regexp.
13846 * simple.el (switch-to-completions): Look for *Completions* in other
13849 * pcomplete.el: Allow the use of completion-tables.
13850 (pcomplete-std-complete): New command.
13851 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13852 (pcomplete--here): Use a function for `form' rather than an expression,
13853 so it can be byte-compiled.
13854 (pcomplete-here, pcomplete-here*): Adjust accordingly.
13855 Add edebug declaration.
13856 (pcomplete-show-completions): Remove unused var `curbuf'.
13857 (pcomplete-do-complete, pcomplete-stub):
13858 Don't assume `completions' is a list of strings any more.
13860 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
13862 * find-dired.el (find-name-arg): Fix typo in docstring.
13864 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13866 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13867 (pcmpl-linux-fs-types): Same, and update to new modules layout.
13869 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13872 * comint.el (comint-read-input-ring, comint-write-input-ring)
13873 (comint-substitute-in-file-name)
13874 (comint-dynamic-complete-as-filename)
13875 (comint-dynamic-simple-complete)
13876 (comint-dynamic-list-filename-completions)
13877 (comint-dynamic-list-completions)
13878 (comint-redirect-results-list-from-process): Minor simplifications.
13880 2009-10-21 Kevin Ryde <user42@zip.com.au>
13882 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13883 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13884 the first form. And insert a blank line after ";;; Code" since
13885 that's usual style. (Bug#4612)
13887 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13889 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13891 * minibuffer.el (completion-table-with-terminator): Properly implement
13892 boundaries, in case `terminator' appears in the suffix.
13893 (completion--embedded-envvar-table): Don't return boundaries if
13894 there's no valid completion. Simplify.
13895 (completion-file-name-table): New completion table extracted from
13896 completion--file-name-table.
13897 (completion--file-name-table): Use it.
13898 (read-file-name-predicate): Declare obsolete.
13899 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13900 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13901 completion-file-name-table, and use the `pred' argument.
13902 * files.el (locate-file-completion-table): Use the `pred' arg rather
13903 than read-file-name-predicate.
13904 (abbreviate-file-name): Use \` rather than ^ for BOS.
13906 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
13908 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13909 vc-responsible-backend to register, it causes problems.
13911 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13913 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13915 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
13917 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13918 (tramp-smb-handle-file-attributes): Use it.
13919 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13920 (tramp-smb-handle-insert-directory): Use `mapc' rather than
13921 `mapcar'. Use `tramp-smb-get-stat-capability'.
13922 Add `dired-filename' text properties.
13923 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13924 (tramp-smb-maybe-open-connection): Simplify check for smbclient
13927 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13929 * subr.el (read-key-delay): Reduce to 0.01.
13930 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13933 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13935 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13937 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13938 (Info-menu): Remove unused vars `last' and `completions'.
13939 (Info-index-nodes): Remove unused var `node'.
13941 * info.el (Info-complete-menu-item): Use complete-with-action.
13943 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
13945 Make vc-annotate work through copies and renames.
13946 * vc-annotate.el (vc-annotate-extract-revision-at-line):
13947 Return the file name too.
13948 (vc-annotate-revision-at-line)
13949 (vc-annotate-find-revision-at-line)
13950 (vc-annotate-revision-previous-to-line)
13951 (vc-annotate-show-log-revision-at-line): Update to get the file
13952 name from vc-annotate-extract-revision-at-line.
13953 (vc-annotate-show-diff-revision-at-line-internal): Change the
13954 argument to mean whether to show a file diff or not. Get the file
13955 name from vc-annotate-extract-revision-at-line.
13956 (vc-annotate-show-diff-revision-at-line):
13957 Update vc-annotate-show-diff-revision-at-line call.
13958 (vc-annotate-warp-revision): Add an optional file argument.
13960 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13961 (vc-git-annotate-extract-revision-at-line): Also return the file
13964 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13965 command. Remove unused code.
13966 (vc-hg-annotate-re): Update to match --follow output.
13967 (vc-hg-annotate-extract-revision-at-line): Also return the file
13970 * vc.el: Update annotate-extract-revision-at-line documentation.
13972 2009-10-18 Kevin Ryde <user42@zip.com.au>
13974 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13975 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13977 * net/browse-url.el (browse-url): Identify alist with "consp and
13978 not functionp" and let all other things go down the `apply' leg,
13979 as suggested by Stefan. (Further to bug#4531.)
13981 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
13983 * minibuffer.el (read-file-name): Check for repeat before putting
13984 a default argument in file-name-history (Bug#4657).
13986 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13987 read syntax (Bug#4737).
13989 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13991 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13993 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13994 (html-tag-alist, html-tag-help): Add descriptions for undocumented
13995 entries and make note of obsolete tags.
13997 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13999 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14001 2009-10-18 Glenn Morris <rgm@gnu.org>
14003 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14004 grep, so that binary files (eg international/uni-bidi.el) can match.
14005 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14006 now, and in any case the file header format has changed.
14008 2009-10-17 Glenn Morris <rgm@gnu.org>
14010 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14011 (flyspell-get-word, flyspell-large-region)
14012 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14014 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14016 * Makefile.in (ELCFILES): Add ede/shell.
14018 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14020 * term/common-win.el (x-colors): Purecopy it.
14022 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14024 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14025 permissive for when the buffer is empty.
14026 (tar-header-block-tokenize): Decode the username and groupname.
14027 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14029 2009-10-17 Eric Ludlam <zappo@gnu.org>
14031 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14032 contains multibyte characters, choose first applicable coding
14033 system automatically.
14035 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14037 * international/mule-cmds.el (select-safe-coding-system): If the file
14038 has a coding cookie, use it regardless of any other setting (bug#4712).
14040 2009-10-17 Glenn Morris <rgm@gnu.org>
14042 * foldout.el (foldout-mouse-swallow-events):
14043 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14045 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14046 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14047 (dired-keep-marker-symlink, dired-dwim-target)
14048 (dired-copy-preserve-time): Do not autoload these defcustoms.
14050 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14051 messages from messing up the file coding. (Bug#4623)
14053 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14055 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14056 if no match is found for the current dictionary. (Bug#4578)
14058 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14059 optional, since that is how it is documented, and this is often called
14060 with a nil argument. (Bug#4577)
14061 (flyspell-external-point-words, flyspell-auto-correct-word)
14062 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14063 (flyspell-word-search-backward): Remove nil argument in calls to
14064 flyspell-get-word, since it is not needed now.
14066 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14068 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14070 2009-10-16 Glenn Morris <rgm@gnu.org>
14072 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14074 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14076 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14077 (ange-ftp-file-size): New function.
14078 (ange-ftp-file-attributes): Use it.
14080 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14082 * net/tramp-smb.el (tramp-smb-version): New defvar.
14083 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14086 2009-10-16 Glenn Morris <rgm@gnu.org>
14088 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14089 Maybe copy some custom properties from old to new name. (Bug#4706)
14091 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14093 * subr.el (error, sit-for, start-process-shell-command)
14094 (start-file-process-shell-command): Set the calling convention
14095 after the function definition.
14097 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14099 * subr.el (error, sit-for, start-process-shell-command)
14100 (start-file-process-shell-command): Use the new
14101 set-advertised-calling-convention feature.
14103 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14105 * international/ucs-normalize.el (ucs-normalize-version):
14107 (check-range): Adjust for Unicode 5.2.
14109 2009-10-15 Juri Linkov <juri@jurta.org>
14111 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14112 to the `menu-item' format.
14114 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14116 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14117 if the environment variable does not exist.
14119 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14120 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14122 (tramp-smb-handle-add-name-to-file)
14123 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14124 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14125 (tramp-smb-handle-file-attributes)
14126 (tramp-smb-do-file-attributes-with-stat)
14127 (tramp-smb-handle-file-local-copy)
14128 (tramp-smb-handle-insert-directory)
14129 (tramp-smb-handle-make-directory)
14130 (tramp-smb-handle-make-directory-internal)
14131 (tramp-smb-handle-make-symbolic-link)
14132 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14133 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14134 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14135 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14136 Handle long file names.
14137 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14138 process is running.
14139 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14140 Read share names with "-g" option.
14142 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14144 * net/rcirc.el (rcirc-view-log-file): New command.
14145 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14146 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14149 2009-10-15 Glenn Morris <rgm@gnu.org>
14151 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14152 from the second command-line argument.
14153 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14154 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14155 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14156 w32-batch-update-autoloads.
14157 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14158 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14160 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14161 the headers cannot be located. Simplify, subtracting superflous
14164 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14166 Replace completion-base-size by completion-base-position to fix bugs
14167 such as (bug#4699).
14168 * simple.el (completion-base-position): New var.
14169 (completion-base-size): Mark as obsolete.
14170 (choose-completion): Make it work for mouse events as well.
14171 Pass the new base-position to choose-completion-string.
14172 (choose-completion-guess-base-position): New function, extracted from
14173 choose-completion-delete-max-match.
14174 (choose-completion-delete-max-match): Use it. Make obsolete.
14175 (choose-completion-string): Use the new base-position info.
14176 (completion-root-regexp): Delete.
14177 (completion-setup-function): Preserve completion-base-position.
14178 Eliminate obsolete base-size manipulation.
14179 * minibuffer.el (display-completion-list): Don't mess with base-size.
14180 (minibuffer-completion-help): Set completion-base-position instead.
14181 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14183 * textmodes/bibtex.el (bibtex-complete):
14184 * emacs-lisp/crm.el (crm--choose-completion-string):
14185 Adjust to new calling convention.
14186 * complete.el (partial-completion-mode): Use minibufferp to avoid
14187 bumping into incompatible change to choose-completion-string-functions.
14188 * ido.el (ido-choose-completion-string): Make its calling convention
14190 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14191 base-size manipulation.
14192 (comint-dynamic-list-input-ring): Use dotimes and push.
14193 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14194 fundamental-mode. Use `or'.
14196 2009-10-14 Juri Linkov <juri@jurta.org>
14198 * misearch.el (multi-isearch-next-buffer-from-list)
14199 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14201 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14203 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14206 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14207 string we return is all made up of text from the completions rather
14208 than part from the completions and part from the input (bug#4219).
14210 * ido.el (ido-everywhere): Use define-minor-mode.
14212 * buff-menu.el (list-buffers, ctl-x-map):
14213 Mark the entry points with ;;;###autoload cookies.
14215 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14217 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14218 correctly in the detached head case.
14219 (vc-git-print-log): Remove unused binding.
14221 * vc.el (vc-responsible-backend): When a directory is passed for
14222 for registration create a VC repository if no backend is
14223 responsible for the directory argument.
14224 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14226 * vc.el: Move comments about RCS and SCCS ...
14228 * vc-sccs.el: ... here, respectively.
14230 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14232 * minibuffer.el (completion--file-name-table): Return nil if there's
14233 no file completion, even if substitute-in-file-name changed
14234 the string (bug#4708).
14236 2009-10-13 Juri Linkov <juri@jurta.org>
14238 * files-x.el (read-file-local-variable-value): Don't filter out
14239 minor modes from mode name completion (bug#4664).
14241 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14243 * international/mule-cmds.el (ucs-names): Remove exclusion of
14244 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14246 2009-10-13 Kenichi Handa <handa@m17n.org>
14248 * international/uni-name.el: Regenerated.
14250 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14252 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14253 should be automatically buffer-local, but isn't.)
14255 2009-10-12 Sam Steingold <sds@gnu.org>
14257 * progmodes/compile.el (compilation-next-error-function): Fix the
14258 timestamps if the buffer has been visited before.
14259 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14260 non-anchored patterns, like the perl one (bug#3928).
14262 2009-10-12 Glenn Morris <rgm@gnu.org>
14264 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14267 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14269 * proced.el (proced-unload-function): New function.
14271 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14272 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14275 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14277 2009-10-11 Juri Linkov <juri@jurta.org>
14279 * files-x.el (read-file-local-variable-value):
14280 Provide default value only for bound variables (bug#4664).
14282 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14284 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14285 connection methods like smb.
14287 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14290 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14291 (tramp-smb-file-name-handler-alist): Add handlers for
14292 `add-name-to-file', `make-symbolic-link'.
14293 (tramp-smb-handle-add-name-to-file)
14294 (tramp-smb-do-file-attributes-with-stat)
14295 (tramp-smb-handle-make-symbolic-link)
14296 (tramp-smb-get-cifs-capabilities): New defuns.
14297 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14298 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14299 (tramp-smb-handle-file-local-copy)
14300 (tramp-smb-handle-make-directory-internal)
14301 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14302 The file name syntax depends on cifs capabilities.
14303 (tramp-smb-handle-file-attributes):
14304 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14305 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14306 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14308 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14310 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14311 (eieio-defclass): Apply deftype handler and setf-method properties
14313 (eieio-add-new-slot): Avoid union function from cl library.
14314 (eieio--typep): New function.
14315 (eieio-perform-slot-validation): Use it.
14317 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14319 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14320 Update documentation to refer to the variables documented in r1.135.
14323 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14325 * bookmark.el (Info-suffix-list): Remove this unused variable.
14326 (bookmark-current-point): Remove this obsolete variable.
14327 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14328 Adjust for removal of bookmark-current-point.
14330 (bookmarks-already-loaded, bookmark-current-buffer)
14331 (bookmark-yank-point): Document. (Bug#4188)
14333 2009-10-10 Glenn Morris <rgm@gnu.org>
14335 * frame.el (frame-height): Doc fix.
14337 * calendar/calendar.el (calendar-split-width-threshold): New option.
14338 (calendar-basic-setup): Use calendar-split-width-threshold.
14340 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14342 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14343 Ideographic Supplement" range (U+1F200..U+1F2FF).
14345 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14347 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14348 since the list will have been rebuilt anyway. (Bug#4349)
14350 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14352 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14353 (bookmark-bmenu-execute-deletions): Don't save here, as
14354 bookmark-delete will now do so if necessary.
14355 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14358 2009-10-09 Glenn Morris <rgm@gnu.org>
14360 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14362 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14364 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14365 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14366 argument now, so the two function's behaviors will match. (Bug#3645)
14368 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14370 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14371 (tramp-file-name-real-host, tramp-file-name-port):
14372 Apply `save-match-data'.
14374 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14375 case both directories are remote.
14376 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14377 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14379 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14381 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14383 2009-10-07 Glenn Morris <rgm@gnu.org>
14385 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14388 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14390 * files-x.el (read-file-local-variable): Include some
14391 non-user-variables in the completion table (bug#4664).
14393 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14395 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14398 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14399 (tramp-smb-file-name-handler-alist): Add handler for
14400 `copy-directory', `expand-file-name', `set-file-modes'.
14401 (tramp-smb-handle-copy-directory)
14402 (tramp-smb-handle-expand-file-name)
14403 (tramp-smb-handle-set-file-modes): New defuns.
14404 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14405 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14407 (tramp-smb-handle-insert-directory): Don't flush the cache.
14408 (tramp-smb-maybe-open-connection): Check for samba client and
14411 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14413 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14414 to not error out of search for "^lisp=" fails.
14416 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14418 * makefile.w32-in (WINS_UPDATES): New macro.
14419 (custom-deps, finder-data, autoloads): Use it.
14421 2009-10-07 Glenn Morris <rgm@gnu.org>
14423 * Makefile.in (autoloads): Revert previous change.
14424 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14425 the list of preloaded files passed on the command-line, get
14426 it from src/Makefile.
14428 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14429 show the original buffer rather than a random one.
14431 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14433 * help.el (describe-no-warranty): Place point in a slightly better
14434 position in the GPLv3 text.
14436 2009-10-06 Sam Steingold <sds@gnu.org>
14438 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14439 the comm attribute is present before calling regexp-quote.
14441 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14443 * play/animate.el (animate-string): For good effect, make sure
14444 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14446 * play/animate.el (animate-sequence, animate-birthday-present):
14447 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14449 2009-10-06 Glenn Morris <rgm@gnu.org>
14451 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14453 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14454 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14455 (batch-update-autoloads): Process a string value of autoload-excludes,
14456 set during the build process.
14457 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14459 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14460 inside with-parsed... macro so that `v' is defined.
14462 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14463 * progmodes/fortran.el (fortran-end-of-block)
14464 (fortran-beginning-of-block):
14465 Also push mark in the macro case.
14467 * emerge.el (emerge-show-file-name):
14468 * calc/calc.el (calc-quit):
14469 * calc/calc-misc.el (calc-big-or-small):
14470 * calc/calc-graph.el (calc-graph-view):
14471 * calc/calc-ext.el (calc-reset):
14472 * calendar/calendar.el (calendar-basic-setup):
14473 Use window-full-height-p.
14475 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14476 header we don't understand, don't insert another. (Bug#4624)
14477 If changing mime charset, insert the new one in the right place.
14479 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14481 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14482 (cal-tex-cursor-month): Correctly increment the end date for diary and
14483 holiday listing. (Bug#4626)
14485 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14487 * help-fns.el (describe-function-1): Don't burp if the function is not
14490 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14492 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14493 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14494 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14495 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14497 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14498 (eieio-default-superclass): Reflow docstrings.
14499 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14500 (eieio-unbind-method-implementations, defmethod)
14501 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14502 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14503 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14504 (eieio-slot-originating-class-p, eieio-slot-name-index)
14505 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14506 (constructor, initialize-instance, no-next-method, object-print)
14507 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14508 Fix typos in docstrings.
14509 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14510 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14511 (next-method-p): Doc fixes.
14512 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14513 Fix typos in error messages.
14514 (eieio-defmethod): Fix typo in description of generic method.
14516 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14517 (eieio-persistent-save-interactive, slot-missing):
14518 Fix typos in docstrings.
14519 (eieio-instance-inheritor-slot-boundp): Doc fix.
14521 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14522 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14524 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14525 (eieio-custom-object-apply-reset):
14526 Fix typos in docstrings and error messages.
14528 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14529 Fix typo in docstring.
14531 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14532 (eieio-browse-tree): Doc fix.
14533 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14534 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14535 Fix typos in docstrings.
14537 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14538 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14539 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14540 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14543 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14545 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14546 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14547 Set log-view-vc-backend so that diff can work.
14549 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14551 (vc-diff-internal): Autoload this instead of vc-version-diff.
14553 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14555 * simple.el (eval-expression): Doc fix.
14557 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14559 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14561 * files.el (directory-files-no-dot-files-regexp): New defconst.
14562 (delete-directory): Use it.
14563 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14565 * net/tramp.el (tramp-verbose): Fix docstring.
14566 (tramp-methods): Add recursive option to `tramp-copy-args'.
14567 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14568 "scp1_old", "scp2_old", "rsync", "rsyncc".
14569 (tramp-default-method): Check also for `auth-source-user-or-password'.
14570 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14571 Add handler for `copy-directory'.
14572 (tramp-handle-copy-directory): New defun.
14573 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14574 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14575 Optimize sent command.
14577 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14579 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14580 window if necessary.
14582 * calendar/calendar.el (calendar-basic-setup): Don't call
14583 switch-to-buffer in a dedicated window.
14585 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14587 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14588 don't do anything related to relocating, just return nil.
14589 (bookmark-error-no-filename): New error.
14590 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14591 bookmark has no file. Don't even attempt to handle things that
14592 are not files; the whole point of custom handlers is to keep that
14593 knowledge elsewhere anyway. Tighten some comments.
14594 (bookmark-file-or-variation-thereof): Remove now-unused function.
14595 (bookmark-location): Doc string fix.
14598 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14600 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14601 don't use a file dialog, because they usually don't know how to read
14602 a directory target from the user. (Bug#4230)
14603 Also, make sure the prompt can display directories as well as files.
14605 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14607 * bookmark.el (bookmark-set, bookmark-buffer-name):
14608 Improve doc strings. (Bug#1193)
14610 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14612 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14613 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14614 (bookmark-get-annotation, bookmark-set-annotation)
14615 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14616 (bookmark-set-position, bookmark-get-front-context-string)
14617 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14618 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14619 (bookmark-jump-other-window, bookmark-handle-bookmark)
14620 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14621 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14622 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14623 Improve doc strings to say whether bookmark can be a string or
14624 a record or both, and make other consistency and clarity fixes.
14625 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14626 (bookmark-default-annotation-text, bookmark-yank-word)
14627 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14628 (bookmark-import-new-list, bookmark-maybe-rename)
14629 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14630 (bookmark-bmenu-bookmark): Give these doc strings.
14631 (bookmark-bmenu-check-position): Give this a doc string, but also
14632 add a FIXME comment about how the function may be pointless.
14633 (bookmark-default-handler): Rework doc string and change a
14634 parameter name, to clarify that this takes a bookmark record
14635 not a bookmark name.
14636 (bookmark-set): Change a parameter name to indicate its meaning,
14637 and improve the doc string a bit.
14640 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14642 * bookmark.el (bookmark-alist): Document the new `handler' element
14643 in the param alist.
14644 (bookmark-make-record-function): Adjust documentation for above.
14647 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14649 * info.el (Info-bookmark-make-record): Document this function.
14650 (Info-bookmark-jump): Document with a doc string, not just a comment.
14653 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
14655 * files.el (copy-directory): New defun.
14657 * dired-aux.el (dired-copy-file-recursive): Use it.
14659 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
14661 * files-x.el (modify-dir-local-variable)
14662 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14665 * recentf.el (recentf-unload-function): New function.
14667 2009-10-04 Glenn Morris <rgm@gnu.org>
14669 * window.el (window-full-height-p): Add doc string.
14671 2009-10-04 Martin Rudalics <rudalics@gmx.at>
14673 * window.el (window-full-height-p): New function. (Bug#4543)
14675 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
14677 * vc.el: Remove commented out code.
14678 (vc-derived-from-dir-mode): Remove, unused.
14679 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14681 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
14683 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14684 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
14685 there could be recursive loading when `default-directory' is a
14686 remote file name. (Bug#4614)
14688 2009-10-03 Glenn Morris <rgm@gnu.org>
14690 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14692 (calendar-generate-window): Test for shrinkability rather than width.
14694 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14695 reusing existing buffers, in case we happen to visit two files with the
14696 same basename. (Bug#4593)
14698 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14700 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14701 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14702 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14703 subdirs of cedet as well.
14704 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14706 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14708 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14709 Obey advertised-signature-table.
14711 * help-fns.el (help-function-arglist): Don't check
14712 advertised-signature-table.
14713 (describe-function-1): Do it here instead so it also applies to subrs.
14715 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
14717 * simple.el (start-file-process): Say in the doc-string, that file
14718 handlers might not support pty association, if PROGRAM is nil.
14720 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14721 HOST and USER are strings. They are nil, when there are
14722 incomplete entries in ~/.netrc, for example.
14723 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
14724 root directory ("device busy" error otherwise).
14726 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14727 Flush file properties of created directory.
14729 2009-10-02 Eli Zaretskii <eliz@gnu.org>
14731 * makefile.w32-in (WINS_BASIC): Remove cedet.
14732 (WINS_CEDET): Add cedet.
14733 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14735 2009-10-02 Kevin Ryde <user42@zip.com.au>
14737 * net/browse-url.el (browse-url): Pass any symbol in
14738 browse-url-browser-function to `apply', since if you've mistakenly put
14739 an unbound symbol then the error is clearer. (Bug#4531)
14741 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14743 * allout.el (allout-init, allout-back-to-current-heading)
14744 (allout-beginning-of-current-entry, allout-ascend-to-depth)
14745 (allout-ascend, allout-up-current-level, allout-end-of-level)
14746 (allout-previous-visible-heading, allout-forward-current-level)
14747 (allout-backward-current-level, allout-show-children):
14748 * apropos.el (apropos-describe-plist):
14749 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14750 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14751 * completion.el (add-completion, add-permanent-completion):
14752 * descr-text.el (describe-text-category, describe-char):
14753 * desktop.el (desktop-lazy-abort):
14754 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14755 * dired.el (dired-build-subdir-alist):
14756 * ediff.el (ediff-version):
14757 * elide-head.el (elide-head, elide-head-show):
14758 * emerge.el (emerge-version):
14760 * face-remap.el (variable-pitch-mode):
14761 * faces.el (describe-face):
14762 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14764 * files.el (find-file-existing, auto-save-mode):
14765 * font-lock.el (font-lock-fontify-buffer):
14766 * help-fns.el (describe-function, describe-variable)
14767 (describe-syntax, describe-categories):
14768 * help.el (view-lossage, describe-bindings, describe-key)
14770 * hexl.el (hexl-current-address):
14771 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14772 * info.el (Info-goto-emacs-key-command-node):
14773 * log-edit.el (log-edit-insert-cvs-template)
14774 (log-edit-insert-cvs-rcstemplate):
14775 * menu-bar.el (menu-bar-mode):
14776 * mouse.el (mouse-appearance-menu):
14777 * newcomment.el (comment-indent-new-line):
14778 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14779 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14780 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14781 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14782 * recentf.el (recentf-mode):
14783 * savehist.el (savehist-mode, savehist-save):
14784 * shadowfile.el (shadow-copy-files):
14785 * simple.el (kill-ring-save, next-line, previous-line)
14786 (normal-erase-is-backspace-mode):
14787 * strokes.el (strokes-update-window-configuration)
14788 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14789 (strokes-xpm-for-stroke):
14790 * time.el (emacs-uptime, emacs-init-time):
14791 * tutorial.el (tutorial--describe-nonstandard-key)
14792 (tutorial--detailed-help):
14793 * type-break.el (type-break-mode)
14794 (type-break-mode-line-message-mode, type-break-query-mode)
14795 (type-break-guesstimate-keystroke-threshold):
14796 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14797 * version.el (emacs-version):
14798 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14799 * winner.el (winner-mode):
14800 * calendar/timeclock.el (timeclock-in, timeclock-out)
14801 (timeclock-status-string, timeclock-change)
14802 (timeclock-workday-remaining-string)
14803 (timeclock-workday-elapsed-string)
14804 (timeclock-when-to-leave-string):
14805 * calendar/todo-mode.el (todo-add-category):
14806 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14807 * emacs-lisp/autoload.el (update-file-autoloads):
14808 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14809 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14810 (checkdoc-message-text, checkdoc-defun):
14811 * emacs-lisp/debug.el (debugger-list-functions):
14812 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14813 * emacs-lisp/eieio-opt.el (eieio-describe-class)
14814 (eieio-describe-generic):
14815 * emacs-lisp/lisp-mnt.el (lm-synopsis):
14816 * emacs-lisp/shadow.el (list-load-path-shadows):
14817 * emulation/cua-base.el (cua-mode):
14818 * emulation/edt.el (edt-set-scroll-margins):
14819 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14820 (tpu-toggle-regexp, tpu-toggle-search-direction)
14821 (tpu-toggle-rectangle, tpu-toggle-control-keys):
14822 * emulation/tpu-extras.el (tpu-set-scroll-margins):
14823 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14824 (viper-set-parsing-style-toggling-macro)
14825 (viper-set-emacs-state-searchstyle-macros):
14826 * emulation/viper.el (viper-set-hooks):
14827 * eshell/esh-mode.el (eshell-truncate-buffer):
14828 * international/mule-cmds.el (prefer-coding-system)
14829 (describe-input-method, describe-language-environment):
14830 * international/mule-diag.el (list-character-sets)
14831 (describe-character-set, describe-coding-system)
14832 (describe-fontset, list-fontsets, list-input-methods):
14833 * mail/sendmail.el (mail-signature):
14834 * net/ange-ftp.el (ange-ftp-copy-file):
14835 * net/browse-url.el (browse-url):
14836 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14837 * net/quickurl.el (quickurl-add-url):
14838 * net/rcirc.el (names, topic):
14839 * net/xesam.el (xesam-mode):
14840 * play/5x5.el (5x5-new-game):
14841 * play/yow.el (apropos-zippy):
14842 * progmodes/ada-mode.el (ada-mode-version):
14843 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14845 (f90-beginning-of-block):
14846 * progmodes/fortran.el (fortran-end-of-block)
14847 (fortran-beginning-of-block):
14848 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14849 * progmodes/python.el (python-describe-symbol, python-shell):
14850 * term/ns-win.el (ns-print-buffer):
14851 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14852 * textmodes/flyspell.el (flyspell-mode-on):
14853 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14854 (pages-directory-for-addresses):
14855 * textmodes/table.el (table-recognize-cell)
14856 (table-query-dimension, table-generate-source)
14857 (table-insert-sequence, table--warn-incompatibility):
14858 * textmodes/tex-mode.el (tex-validate-buffer):
14859 * textmodes/texinfmt.el (texinfmt-version)
14860 (texinfo-format-buffer):
14861 Use `called-interactively-p' instead of `interactive-p'.
14863 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
14865 * image-mode.el (image-toggle-display):
14866 * emacs-lisp/elp.el (elp-instrument-function):
14867 * emacs-lisp/advice.el (ad-make-advised-definition):
14868 * emacs-lisp/easy-mmode.el (define-minor-mode):
14869 * net/browse-url.el (browse-url-maybe-new-window):
14870 * progmodes/sh-script.el (sh-learn-buffer-indent):
14871 Pass new argument 'any to `called-interactively-p'.
14873 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
14875 * international/uni-bidi.el:
14876 * international/uni-category.el:
14877 * international/uni-combining.el:
14878 * international/uni-comment.el:
14879 * international/uni-decimal.el:
14880 * international/uni-decomposition.el:
14881 * international/uni-digit.el:
14882 * international/uni-lowercase.el:
14883 * international/uni-mirrored.el:
14884 * international/uni-name.el:
14885 * international/uni-numeric.el:
14886 * international/uni-old-name.el:
14887 * international/uni-titlecase.el:
14888 * international/uni-uppercase.el:
14889 Regenerate from Unicode 5.2.0 data.
14891 2009-10-01 Glenn Morris <rgm@gnu.org>
14893 * Makefile.in (ELCFILES): Regenerate.
14895 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14897 * subr.el (interactive-p): Mark obsolete.
14898 (called-interactively-p): Make the optional-ness of `kind' obsolete.
14899 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14900 advertised-signature-table for subroutines as well.
14902 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14903 (set-advertised-calling-convention): New function.
14904 (make-obsolete, define-obsolete-function-alias)
14905 (make-obsolete-variable, define-obsolete-variable-alias):
14906 Make the optional-ness of `when' obsolete.
14907 (define-obsolete-face-alias): Make `when' non-optional.
14908 * help-fns.el (help-function-arglist):
14909 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14910 Use advertised-signature-table.
14912 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
14914 * files.el (delete-directory): New defun. The original function
14915 in fileio.c has been renamed to `delete-directory-internal'.
14917 * dired.el (dired-delete-file): Call `delete-directory' with
14918 RECURSIVE parameter.
14920 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14921 parameter RECURSIVE. Implementation is missing.
14923 * net/tramp.el (tramp-handle-make-directory): Flush upper
14924 directory's file properties.
14925 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14926 (tramp-handle-dired-recursive-delete-directory): Flush directory
14927 properties after the remove command only.
14929 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14930 Handle optional parameter RECURSIVE.
14932 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14933 Handle optional parameter RECURSIVE.
14935 * net/tramp-smb.el (tramp-smb-errors): Add error message for
14936 connection timeout.
14937 (tramp-smb-handle-delete-directory): Handle optional parameter
14940 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14942 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14943 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14944 (byte-compile-defmacro): Use backquotes.
14946 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14948 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14949 has no associated file.
14950 (vc-resynch-buffer): Use vc-dir-buffers.
14952 2009-10-01 Glenn Morris <rgm@gnu.org>
14954 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14955 (chart-file-count):
14956 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14957 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14958 * emacs-lisp/eieio-opt.el (eieio-describe-class):
14959 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14960 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14961 (eieio-copy-parents-into-subclass, make-instance, class-children)
14962 (eieio-generic-form):
14964 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14965 match-data. (Bug#4555).
14967 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14968 rather than parsing it as a regexp. This relaxes the layout
14969 requirements and makes errors easier to detect.
14970 (check-declare-verify): Check file is regular.
14971 (check-declare-directory): Doc fix.
14972 * subr.el (declare-function): Doc fix.
14974 * ibuffer.el (ibuffer-format-qualifier):
14975 * isearch.el (hi-lock-regexp-okay):
14976 * calc/calc.el (math-zerop):
14977 * mail/uce.el (rmail-msgbeg, rmail-msgend):
14978 * term/w32-win.el (setup-default-fontset, set-fontset-font):
14979 Remove unused declarations.
14981 2009-09-30 Eric Ludlam <zappo@gnu.org>
14983 * emacs-lisp/eieio.el (boolean-p): Delete.
14985 2009-09-30 Glenn Morris <rgm@gnu.org>
14987 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14989 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14990 filename is not a string.
14992 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
14994 * files.el (safe-local-eval-forms): Fix typo.
14996 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14998 * vc-hooks.el (vc-dir-buffers): New var.
14999 (vc-state-refresh): New function.
15000 (vc-state): Use it.
15001 (vc-after-save): Always ask the backend to recompute the new state.
15002 Always call vc-dir if necessary, using vc-dir-buffers.
15003 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15004 Use vc-dir-buffers.
15005 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15006 (vc-dir-prepare-status-buffer, vc-dir-update)
15007 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15008 Don't call expand-file-name on default-directory.
15010 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15012 * speedbar.el (speedbar-item-delete):
15013 * calc/calc-prog.el (calc-kbd-if):
15014 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15016 * epa.el (epa-key-list-mode-map):
15017 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15019 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15020 (hs-show-hook): Fix typo in docstring.
15022 2009-09-29 Glenn Morris <rgm@gnu.org>
15024 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15025 file-name-nondirectory call preventing location of cedet files.
15026 (check-declare-verify): Use literal search rather than re-search.
15027 Add basic defmethod and defclass, and define-overloadable-function.
15029 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15030 Use tramp-compat-file-attributes rather than nonexistent
15031 tramp-compat-handle-file-attributes.
15033 * Makefile.in (lisptagsfiles4): New.
15034 (AUTOGENEL): Add cedet loaddefs files.
15035 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15036 (update-elclist, compile-always, backup-compiled-files)
15037 (bootstrap-clean): Add yet another directory level.
15038 (update-elclist): Use LC_COLLATE rather than COLLATE.
15039 (ELCFILES): Update, via `make update-elclist'.
15041 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15043 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15044 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15045 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15047 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15049 * Makefile.in (lisptagsfiles3): Define.
15050 (TAGS, TAGS-LISP): Use it.
15051 (update-elclist): Add third directory level to look for elc files.
15052 (compile-always): Likewise.
15053 (backup-compiled-files): Likewise.
15054 (bootstrap-clean): Likewise.
15055 (ELCFILES): Update.
15057 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15059 * Makefile.in (ELCFILES): Add CEDET files.
15061 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15063 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15065 * net/tramp.el (top): Require tramp-imap.
15067 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15068 Use `tramp-compat-handle-file-attributes'.
15070 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15072 * net/tramp-imap.el: New package.
15074 2009-09-28 Eric Ludlam <zappo@gnu.org>
15076 * emacs-lisp/chart.el:
15077 * emacs-lisp/eieio-base.el:
15078 * emacs-lisp/eieio-comp.el:
15079 * emacs-lisp/eieio-custom.el:
15080 * emacs-lisp/eieio-datadebug.el:
15081 * emacs-lisp/eieio-opt.el:
15082 * emacs-lisp/eieio-speedbar.el:
15083 * emacs-lisp/eieio.el: New files.
15085 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15087 * whitespace.el (whitespace-trailing-regexp)
15088 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15091 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15093 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15096 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15097 menu-bar-ediff-menu.
15099 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15100 define-overloadable-function.
15102 * progmodes/autoconf.el: Provide autoconf as well, so that this
15103 file can be `require'd.
15105 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15107 * emacs-lisp/autoload.el (generated-autoload-feature)
15108 (generated-autoload-load-name): New vars.
15109 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15110 (make-autoload): Recognize define-overloadable-function and
15111 defclass forms (for EIEIO).
15113 * Makefile.in (update-subdirs): Exclude cedet directory.
15115 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15117 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15119 * faces.el: Default light-background background for region face to
15120 ns_selection_color under NS.
15122 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15124 * net/imap-hash.el: New library, see NEWS.
15126 * Makefile.in (ELCFILES): Add imap-hash.el.
15128 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15130 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15131 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15132 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15133 definition where the docstring could be taken for the return value.
15135 2009-09-26 Glenn Morris <rgm@gnu.org>
15137 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15138 Add option to only show images below a certain size.
15139 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15140 save-excursion calls.
15142 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15144 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15145 subdirectories) and eieio.
15147 2009-09-26 Alan Mackenzie <acm@muc.de>
15149 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15150 Correct buggy bracketing. (Bug#4289)
15152 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15153 character constants (as case labels). (Bug#4289)
15155 2009-09-25 Juri Linkov <juri@jurta.org>
15157 * files.el (safe-local-eval-forms): Allow time-stamp in
15158 before-save-hook (Bug#4554).
15160 2009-09-25 Drew Adams <drew.adams@oracle.com>
15162 * menu-bar.el (list-buffers-directory): Doc fix.
15164 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15166 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15167 Try and avoid copying twice the same paragraph.
15168 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15169 Remove save-excursion.
15170 (log-edit-changelog-entry): Do it here instead.
15172 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15174 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15175 when available, instead of hardcoding mode names. Doc fix.
15177 * menu-bar.el (list-buffers-directory): Add docstring.
15178 Make automatically buffer-local.
15180 * dired.el (dired-mode):
15181 * files.el (cd-absolute):
15182 * pcvs.el (cvs-temp-buffer):
15183 * pcvs-util.el (cvs-get-buffer-create):
15184 * shell.el (shell-mode):
15185 * vc-dir.el (vc-dir-mode):
15186 Don't make `list-buffers-directory' buffer local.
15188 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15190 * comint.el (comint-exec, comint-run, make-comint):
15191 Doc fixes (Bug#4542).
15193 2009-09-25 Glenn Morris <rgm@gnu.org>
15195 * mail/rmailmm.el (rmail-mime): New custom group.
15196 Move all defcustoms in this file into this group.
15197 (rmail-mime-media-type-handlers-alist): Revert previous change.
15198 (rmail-mime-show-images): New option.
15199 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15200 references to it, since it wasn't actually used for anything.
15201 (rmail-mime-insert-image): New function.
15202 (rmail-mime-image): Use rmail-mime-insert-image.
15203 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15204 obey the value of `rmail-mime-show-images' option. Print the size of
15207 2009-09-25 David Engster <deng@randomsample.de>
15209 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15211 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15213 * whitespace.el: Does not highlight trailing spaces While point is
15214 at end of line. Does not highligt spaces at beginning of buffer
15215 while point is at beginning of buffer. Does not highlight spaces
15216 at end of buffer while point is at end of buffer. (Bug#4177)
15218 (whitespace-display-mappings): Adjust initialization.
15219 (whitespace-point, whitespace-font-lock-refontify): New vars.
15220 (whitespace-color-on, whitespace-color-off): Adjust code.
15221 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15222 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15223 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15225 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15227 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15229 * textmodes/sgml-mode.el: Remove xml-mode alias.
15231 * files.el (auto-mode-alist, conf-mode-maybe)
15232 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15234 2009-09-24 Alan Mackenzie <acm@muc.de>
15236 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15237 c-forward-conditionals, but it doesn't move point and doesn't set
15239 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15240 (c-down-conditional-with-else, c-backward-conditional)
15241 (c-forward-conditional): Refactor to use c-scan-conditionals.
15243 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15245 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15246 (help-default-arg-highlight): Remove.
15247 (help-highlight-arg): New function.
15248 (help-do-arg-highlight): Use it.
15249 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15251 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15253 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15254 Undo last change, which didn't fix the problem and introduced others.
15256 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15258 * progmodes/gdb-mi.el: Don't require speedbar.
15259 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15261 2009-09-24 Glenn Morris <rgm@gnu.org>
15263 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15265 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15267 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15268 there is no newline after the final mime boundary. (Bug#4539)
15269 Move markers on insertion so that any buttons inserted don't end up in
15270 the next part of a multipart message.
15271 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15272 (rmail-mime-bulk-handler): Optionally handle images.
15273 (rmail-mime-image): New button action.
15274 (rmail-mime-image-handler): New function.
15275 (rmail-mime-mode): New mode.
15276 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15278 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15280 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15281 than just dropping elements from it (bug#4504).
15283 * term.el (term-set-scroll-region): Don't move cursor any more.
15284 (term-handle-ansi-escape): Call term-goto here instead.
15285 Suggested by Ivan Kanis <apple@kanis.eu>.
15287 * term.el: Require CL.
15288 (term-ansi-reset): New function.
15289 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15290 (term-handle-colors-array): Simplify.
15292 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15294 * allout.el (allout-overlay-interior-modification-handler)
15295 (allout-obtain-passphrase):
15296 * epa-file.el (epa-file-write-region):
15297 * ps-print.el (ps-begin-job):
15298 * vc-hooks.el (vc-toggle-read-only):
15299 * vc-rcs.el (vc-rcs-rollback):
15300 * vc-sccs.el (vc-sccs-rollback):
15301 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15302 (vc-version-diff, vc-revert, vc-rollback):
15303 * wdired.el (wdired-check-kill-buffer):
15304 * emacs-lisp/authors.el (authors):
15305 * net/socks.el (socks-open-connection):
15306 * net/zeroconf.el (zeroconf-service-add-hook):
15307 * obsolete/vc-mcvs.el (vc-mcvs-register):
15308 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15309 (gdb-select-frame):
15310 * progmodes/grep.el (lgrep, rgrep):
15311 * progmodes/idlw-help.el (idlwave-help-check-locations)
15312 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15313 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15314 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15315 (reftex-toc-rename-label): Fix typos in error messages.
15317 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15318 (dired-copy-how-to-fn): Doc fix.
15319 (dired-files-attributes, dired-read-shell-command):
15320 Fix typos in docstrings.
15322 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15323 (dired-x-find-file-other-window): Reflow docstrings.
15324 (dired-omit-marker-char, dired-read-shell-command)
15325 (dired-x-submit-report): Fix typos in docstrings.
15327 * shell.el (shell-mode-hook):
15328 * view.el (View-scroll-line-forward):
15329 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15330 Fix typos in docstrings.
15332 * net/dig.el (dig-invoke): Fix typo in docstring.
15333 (query-dig): Reflow docstring.
15335 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15336 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15337 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15338 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15339 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15340 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15341 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15342 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15343 (idlwave-completion-map, idlwave-current-indent)
15344 (idlwave-custom-ampersand-surround, idlwave-customize)
15345 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15346 (idlwave-define-abbrev, idlwave-determine-class-special)
15347 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15348 (idlwave-end-block-reg, idlwave-end-of-statement)
15349 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15350 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15351 (idlwave-explicit-class-listed, idlwave-file-header)
15352 (idlwave-fill-paragraph, idlwave-find-class-definition)
15353 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15354 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15355 (idlwave-in-quote, idlwave-indent-action-table)
15356 (idlwave-indent-expand-table, idlwave-indent-line)
15357 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15358 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15359 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15360 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15361 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15362 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15363 (idlwave-outlawed-buffers, idlwave-popup-select)
15364 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15365 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15366 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15367 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15368 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15369 (idlwave-statement-type, idlwave-struct-skip)
15370 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15371 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15372 (idlwave-what-module-find-class): Fix typos in docstrings.
15373 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15374 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15375 (idlwave-find-module, idlwave-find-structure-definition)
15376 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15377 (idlwave-list-load-path-shadows, idlwave-next-statement)
15378 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15379 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15380 (idlwave-template): Reflow docstrings.
15382 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15383 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15384 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15385 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15386 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15387 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15388 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15389 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15390 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15391 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15392 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15393 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15394 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15395 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15396 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15397 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15398 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15399 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15400 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15401 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15402 Fix typos in docstrings.
15403 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15404 (idlwave-shell-hide-output, idlwave-shell-mode)
15405 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15408 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15410 2009-09-24 Ivan Kanis <apple@kanis.eu>
15412 * term.el (term-bold-attribute): New var.
15413 (term-handle-colors-array): Use it.
15415 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15417 * progmodes/gdb-mi.el (gdb-version): New variable.
15418 (gdb-non-stop-handler): Set gdb-version.
15419 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15420 Condition "--thread" option on gdb-version.
15421 (gdb-invalidate-threads): Remove unused argument.
15423 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15425 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15426 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15428 2009-09-23 Glenn Morris <rgm@gnu.org>
15430 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15431 replying to mail without References or Message-Id. (Bug#4525)
15433 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15435 * term/ns-win.el (ns-reg-to-script): New variable.
15437 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15439 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15441 2009-09-22 Sam Steingold <sds@gnu.org>
15443 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15444 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15445 to 1 because hg returns status 1 when nothing is found.
15446 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15448 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15450 * textmodes/fill.el: Convert to utf-8 encoding.
15451 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15454 * add-log.el (change-log-fill-forward-paragraph): New function.
15455 (change-log-mode): Use it so fill-region DTRT.
15456 Set fill-indent-according-to-mode here rather than in
15457 change-log-fill-paragraph.
15458 (change-log-fill-paragraph): Remove.
15460 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15462 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15463 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15465 2009-09-22 Glenn Morris <rgm@gnu.org>
15467 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15468 the scroll-bar scroll the calendar window rather than the buffer.
15470 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15471 commands that move point (as opposed to scrolling).
15473 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15475 * emacs-lisp/elint.el (elint): New custom group.
15476 (elint-log-buffer): Make it a defcustom.
15477 (elint-scan-preloaded, elint-ignored-warnings)
15478 (elint-directory-skip-re): New options.
15479 (elint-builtin-variables): Doc fix.
15480 (elint-preloaded-env): New variable.
15481 (elint-unknown-builtin-args): Add an entry for encode-time.
15482 (elint-extra-errors): Make it a variable rather than a constant.
15483 (elint-preloaded-skip-re): New constant.
15484 (elint-directory): Skip files matching elint-directory-skip-re.
15485 (elint-features): New variable, local to linted buffers.
15486 (elint-update-env): Initialize elint-features. Possibly add
15487 elint-preloaded-env to the buffer's environment.
15488 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15490 (elint-init-form): New function, extracted from elint-init-env.
15491 Make non-list forms a warning rather than an error.
15492 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15493 easy-menu-define, put that adds an error-condition, and provide.
15494 When requiring cl, also require cl-macs. Really require cl, to handle
15495 some cl macros. Store required libraries in the list elint-features,
15496 so as not to re-load them. Treat cc-require like require.
15497 (elint-init-env): Call elint-init-form to do the work.
15498 Handle eval-and-compile and such like.
15499 (elint-add-required-env): Do not clear messages.
15500 (elint-special-forms): Add handlers for function, defalias, if, when,
15502 (elint-form): Add optional argument to ignore elint-special-forms,
15503 useful to prevent recursive calls from handlers. Doc fix.
15504 Respect elint-ignored-warnings.
15505 (elint-form): Respect elint-ignored-warnings.
15506 (elint-bound-variable, elint-bound-function): New variables.
15507 (elint-unbound-variable): Respect elint-bound-variable.
15508 (elint-get-args): Respect elint-bound-function.
15509 (elint-check-cond-form): Add some simple handling for (f)boundp and
15511 (elint-check-defalias-form): New handler.
15512 (elint-check-let-form): Make an empty let a warning rather than an
15514 (elint-check-setq-form): Make an empty setq a warning rather than an
15515 error. Respect elint-ignored-warnings.
15516 (elint-check-defvar-form): Accept null doc-strings.
15517 (elint-check-conditional-form): New handler. Does some simple-minded
15518 checking of featurep and (f)boundp tests.
15519 (elint-put-function-args): New function.
15520 (elint-initialize): Use elint-scan-doc-file rather than
15521 elint-find-builtin-variables. Use elint-put-function-args.
15522 Possibly scan preloaded-file-list.
15523 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15524 extend to handle functions as well.
15526 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15528 * linum.el (linum-delete-overlays, linum-update-window):
15529 Do not modify the right margin. (Bug#3971)
15531 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15533 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
15534 Use nxml-mode instead of xml-mode.
15536 2009-09-21 Kevin Ryde <user42@zip.com.au>
15538 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15540 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15542 * net/dig.el (dig-mode): Use define-derived-mode.
15544 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15546 * vc-dispatcher.el (vc-do-command): Return the process object in
15547 the asynchronous case. Use when instead of if. Do not run
15548 vc-exec-after to display a message if not enabled. (Bug#4463)
15550 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15551 properties to the stash strings.
15552 (vc-git-stash-list): Return a list of strings.
15553 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15554 (vc-git-stash-show-at-point): New functions.
15555 (vc-git-stash-map): New keymap.
15557 * register.el (ctl-x-r-map): Define the keys here instead of
15560 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15562 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15563 list, to workaround performance problem (bug#4485).
15565 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15567 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15569 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15571 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15572 Document that this option is not recommended to use.
15574 2009-09-19 Glenn Morris <rgm@gnu.org>
15576 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15579 * calc/calc-alg.el (var):
15580 * calc/calcalg2.el (var): Define for compiler.
15582 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15584 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15585 Doc fix (Bug#3932).
15587 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15589 * time-stamp.el (time-stamp-month-dd-yyyy)
15590 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15591 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15592 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15593 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15594 Remove functions that have been obsolete since 1995 (Bug#4436).
15596 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15597 indent buffer only if called interactively (Bug#4452).
15599 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15600 Eli Zaretskii <eliz@gnu.org>
15602 This fixes bug#4197 (merged to bug#865, though not identical).
15603 * server.el (server-auth-dir): Add docstring note about FAT32.
15604 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15605 but warn against using them.
15607 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15609 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15610 older GDB where there is no has_more field.
15612 2009-09-19 Glenn Morris <rgm@gnu.org>
15614 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15616 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15618 * files.el (auto-mode-alist): Change default for XML files to nXML
15621 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
15623 * server.el (server-ensure-safe-dir): Pass 'integer
15624 to `file-attributes', as suggested.
15626 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15628 * dired-aux.el (dired-query-alist): Remove spurious backslash.
15629 (dired-query): Use read-key.
15631 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
15633 * cus-start.el (ns-use-qd-smoothing): Remove.
15635 2009-09-18 Glenn Morris <rgm@gnu.org>
15637 * allout.el (top-level): Remove unnecessary progn.
15639 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15641 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15642 definition of abbrev table.
15644 * speedbar.el (speedbar-track-mouse):
15645 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15646 * net/eudc.el (eudc-expand-inline):
15647 * net/newst-backend.el (newsticker--cache-read-feed):
15648 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15649 condition-case handlers.
15651 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
15653 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15654 (gdb-var-list): Add an element for has_more field.
15655 (gdb-non-stop-handler): Enable pretty printing for STL containers.
15656 (gdb-var-create-handler, gdb-var-list-children-handler-1)
15657 (gdb-var-update-handler-1): Parse output of dynamic variable
15658 objects (STL containers).
15659 (gdb-var-delete-1): Pass var1 as an explicit second argument.
15660 (gdb-get-field): Delete alias. Use bindat-get-field directly.
15662 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15664 (gud-speedbar-buttons): Make node expandable if expression "has more"
15667 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
15669 * startup.el (emacs-quick-startup): Remove variable and all uses.
15670 (command-line): Set `inhibit-x-resources' instead.
15671 (command-line-1): Use `inhibit-x-resources' instead.
15673 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
15675 * subr.el: Fix last change to avoid using the `unless' macro,
15676 which breaks bootstrapping.
15678 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15680 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15681 extended definitions, in case we reload subr.el after having
15683 (eval-next-after-load): Mark as obsolete.
15685 2009-09-17 Juri Linkov <juri@jurta.org>
15687 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15688 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15689 (menu-bar-showhide-menu, menu-bar-tools-menu)
15690 (menu-bar-describe-menu, menu-bar-help-menu)
15691 (minibuffer-local-completion-map, minibuffer-local-map):
15694 2009-09-17 Glenn Morris <rgm@gnu.org>
15696 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15697 arguments, whether or not it has a handler.
15699 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15701 * simple.el (hard-newline): Give it a doc-string.
15703 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15704 (lisp-mode-syntax-table): Give them doc-strings.
15706 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15708 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15709 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15710 (menu-bar-options-menu, menu-bar-showhide-menu)
15711 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15712 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15713 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15714 (menu-bar-options-menu, menu-bar-tools-menu)
15715 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15716 (menu-bar-help-menu):
15717 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15720 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15721 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15722 calls for the menu names and :help.
15724 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15726 * mouse.el (minor-mode-menu-from-indicator): Pay attention
15727 to :minor-mode-function (bug#4455).
15729 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15731 * startup.el (command-line): Initialize the window-system after
15732 processing the command-line.
15734 * textmodes/page.el (what-page): Make sure we don't inf-loop if
15735 page-delimiter matches the empty string.
15737 2009-09-16 Glenn Morris <rgm@gnu.org>
15739 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15740 byte-compile-not-obsolete-var. It's a list now.
15741 (byte-compile-not-obsolete-funcs): New variable.
15742 (byte-compile-warn-obsolete): Don't warn about functions if they are in
15743 byte-compile-not-obsolete-funcs.
15744 (byte-compile-variable-ref, byte-compile-defvar): Update for
15745 byte-compile-not-obsolete-vars name-change and list nature.
15746 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15747 and variables behind (f)boundp tests.
15748 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15750 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15752 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15754 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15756 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15757 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15760 2009-09-15 Stephen Eglen <stephen@gnu.org>
15762 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15763 the virtual-buffers, use the name of the buffer specified by
15764 find-file-noselect, as the match may be a symlink. (This was a
15765 problem if the target and the symlink had different names.)
15767 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15769 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15771 * desktop.el (desktop-path): Check user-emacs-directory.
15773 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15775 * loadup.el: Use after-load-functions to GC after loading each file.
15776 Remove the explicit GC calls that used to be sprinkled around.
15778 * subr.el (after-load-functions): New hook.
15779 (do-after-load-evaluation): Run it. Use string-match-p to detect
15780 `obsolete' packages, rather than painfully extracting the relevant
15783 2009-09-15 Glenn Morris <rgm@gnu.org>
15785 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15786 free variable `doc'.
15788 * dired.el (dired-mode-map): Add menu entry for async shell command.
15790 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15791 variables, also consider the .elc files, since the .el files are
15792 normally gzipped (subsequent code locates the .el.gz from the .elc).
15794 * calc/calc-prog.el (arglist): Define for compiler.
15796 * calendar/diary-lib.el (diary-display-function): Change the default to
15798 (body): Define for compiler.
15800 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15801 (byte-compile-file-form, byte-compile-lambda)
15802 (byte-compile-top-level-body, byte-compile-form)
15803 (byte-compile-variable-ref, byte-compile-setq)
15804 (byte-compile-setq-default, byte-compile-body)
15805 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15806 (batch-byte-compile): Give some more local variables with common names
15807 a "bytecomp-" prefix to avoid masking warnings about free variables.
15809 * startup.el (command-line-1): Give local variables with common names a
15810 distinguishing prefix, so as not to hide free variable warnings during
15813 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15814 clever and add a suffix to make a unique name, just let the user decide
15815 whether or not to overwrite it. If the input is a directory, write the
15816 default filename to that directory. (Bug#4388)
15817 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15818 is a filename-as-a-directory.
15820 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15822 * textmodes/page.el (what-page): Don't move to beginning of line.
15823 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15825 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15827 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15829 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
15831 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15832 * help.el (help-for-help-internal): Add purecopy calls for text.
15834 * vc.el (top): print-log method now takes an optional SHORTLOG
15835 argument. Add a new method: root.
15836 (vc-root-diff, vc-print-root-log): New functions.
15837 (vc-log-short-style): New variable.
15838 (vc-print-log-internal): Add support for showing short logs.
15840 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15841 vc-print-root-log and vc-print-root-diff.
15843 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15844 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15845 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15848 * vc-cvs.el (vc-cvs-print-log):
15849 * vc-mtn.el (vc-mtn-print-log):
15850 * vc-rcs.el (vc-rcs-print-log):
15851 * vc-sccs.el (vc-sccs-print-log):
15852 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15853 that is ignored for now.
15855 * vc-mtn.el (vc-mtn-annotate-command):
15856 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15858 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15860 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15861 to function-key-map, and give them ascii-character property.
15862 * term/x-win.el (x-alternatives-map):
15863 * term/ns-win.el (ns-alternatives-map):
15864 * term/internal.el (msdos-key-remapping-map):
15865 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15867 2009-09-14 Glenn Morris <rgm@gnu.org>
15869 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15870 temp-buffers (2009-09-12).
15872 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15874 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15875 the new read-key function.
15877 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15879 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15880 is defined (Bug#4405).
15882 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
15884 * recentf.el (recentf-cleanup): Use a hash table to find
15885 duplicates (Bug#4407).
15887 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
15889 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15890 kp-0 to ascii equivalents (Bug#4325).
15892 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
15894 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15896 * eshell/em-hist.el:
15897 * eshell/em-dirs.el (eshell-complete-user-reference):
15898 Declare pcomplete functions and variables to avoid compiler warnings.
15900 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
15902 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15903 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15904 * eshell/em-alias.el (eshell-aliases-file):
15905 * eshell/em-hist.el (eshell-history-file-name):
15906 Use expand-file-name instead of concat to make file names (Bug#4308).
15908 2009-09-13 Glenn Morris <rgm@gnu.org>
15910 * ediff-merg.el (ediff-do-merge):
15911 * filesets.el (filesets-run-cmd):
15912 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15913 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15914 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15915 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15916 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15917 Replace empty `let's with `progn'.
15919 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15921 * mail/sendmail.el (send-mail-function):
15922 * tooltip.el (tooltip-mode):
15923 * simple.el (transient-mark-mode):
15924 * rfn-eshadow.el (file-name-shadow-mode):
15925 * frame.el (blink-cursor-mode):
15926 * font-core.el (global-font-lock-mode):
15927 * files.el (temporary-file-directory)
15928 (small-temporary-file-directory, auto-save-file-name-transforms):
15929 * epa-hook.el (auto-encryption-mode):
15930 * composite.el (global-auto-composition-mode):
15931 Use custom-initialize-delay.
15932 * startup.el (command-line): Don't explicitly call
15933 custom-reevaluate-setting for all the above vars.
15934 * custom.el (custom-initialize-safe-set)
15935 (custom-initialize-safe-default): Delete.
15937 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15939 * term/x-win.el (x-initialize-window-system):
15940 * term/w32-win.el (w32-initialize-window-system):
15941 * term/ns-win.el (ns-initialize-window-system): Don't call
15942 mouse-wheel-mode since it's enabled globally by default already.
15944 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15945 actually define the variable, but only silences the byte-compiler.
15946 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15947 before looking it up.
15948 (mouse-wheel-scroll-amount): Also reset the bindings if this value
15951 2009-09-12 Glenn Morris <rgm@gnu.org>
15953 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15955 (elint-add-required-env): Don't beep on error.
15956 (elint-forms): In case of error, return ENV unchanged.
15957 (elint-init-env): Skip non-list forms.
15958 (elint-log): Handle unknown file positions.
15960 2009-09-12 Daiki Ueno <ueno@unixuser.org>
15962 * epg.el (epg-make-context): Add autoload cookie.
15963 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15964 (epg-decrypt-string, epg-start-verify, epg-verify-file)
15965 (epg-verify-string, epg-start-sign, epg-sign-file)
15966 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15967 (epg-encrypt-string, epg-start-export-keys)
15968 (epg-export-keys-to-file, epg-export-keys-to-string)
15969 (epg-start-import-keys, epg-import-keys-from-file)
15970 (epg-import-keys-from-string, epg-start-receive-keys)
15971 (epg-receive-keys, epg-import-keys-from-server)
15972 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15973 (epg-sign-keys, epg-start-generate-key)
15974 (epg-generate-key-from-file, epg-generate-key-from-string):
15975 Remove autoload cookie.
15977 2009-09-12 Eli Zaretskii <eliz@gnu.org>
15979 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15980 reevaluation of trash-directory.
15982 * mwheel.el: Fix last change.
15983 (mouse-wheel-mode): New defvar.
15984 (mouse-wheel-mode): Remove autoload cookie.
15986 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15988 * mwheel.el (mwheel-installed-bindings): New var.
15989 (mouse-wheel-mode): Use it, so as to make sure we really remove all
15990 the bindings we set last time. Use custom-initialize-delay.
15991 * loadup.el: Load mwheel after term/*-win.el.
15992 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15993 and mouse-wheel-up-event now that their first evaluation is done
15994 sufficiently late to be correct.
15996 * startup.el (tutorial-directory): Make it a defcustom.
15997 Use custom-initialize-delay rather than eval-at-startup to set it.
15998 * image.el (image-load-path): Make it a defcustom.
15999 Use custom-initialize-delay rather than eval-at-startup to set it.
16000 * subr.el (eval-at-startup): Remove.
16001 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16003 * subr.el (do-after-load-evaluation): Warn the user after loading an
16006 2009-09-12 Glenn Morris <rgm@gnu.org>
16008 * proced.el (proced-mark-alt): Remove alias.
16009 (proced-mode-map): Remove proced-mark-alt.
16011 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16012 Elint file and directory. Remove initialization entry.
16014 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16016 (elint-current-buffer): Set mode-line-process.
16017 (elint-init-env): Handle define-derived-mode.
16018 Fix declare-function with unspecified arglist. Guard against odd
16019 defalias statements (eg iso-insert's 8859-1-map).
16020 (elint-add-required-env): Use a temp buffer.
16021 (elint-form): Just print the function/macro name, not the whole form.
16022 Return env unchanged if we fail to parse a macro.
16023 (elint-forms): Guard against parse errors.
16024 (elint-output): New function, to handle batch mode.
16025 (elint-log-message): Add optional argument. Use elint-output.
16026 (elint-set-mode-line): New function.
16028 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16030 * emacs-lisp/elp.el (elp-not-profilable): Add more
16031 functions (Bug#4233).
16033 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16035 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16036 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16038 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16040 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16041 (gdb-var-list-children): Use json parsing.
16043 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16045 * progmodes/js.el (js--proper-indentation): Handle the case where
16046 char-before is null. Reported by Deniz Dogan.
16048 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16050 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16052 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16054 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16055 (epg-digest-algorithm-alist): Add SHA224.
16056 (epg-context-set-passphrase-callback)
16057 (epg-context-set-progress-callback): Add description about
16060 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16062 * custom.el (custom-delayed-init-variables): New var.
16063 (custom-initialize-delay): New function.
16064 * startup.el (command-line): "Re"evaluate all vars in
16065 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16066 explicitly any more.
16067 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16068 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16070 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16072 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16074 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16075 (gdb-var-update-handler): Use json parsing.
16077 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16079 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16080 decode annotated text, regardless of language environment. (Bug#2741)
16082 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16084 * Makefile.in (autoloads): Make rmail.el writable as well.
16086 2009-09-11 Glenn Morris <rgm@gnu.org>
16088 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16090 * dired.el: Regenerate with extracted autoloads.
16091 * Makefile.in (autoloads): Make dired.el writable.
16093 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16094 * ibuffer.el: Regenerate with extracted autoloads.
16095 * Makefile.in (autoloads): Make ibuffer.el writable.
16097 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16098 * version.el (emacs-copyright, emacs-major-version)
16099 (emacs-minor-version): Reformat doc-strings for make-docfile.
16101 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16102 functions and variables, since they must be stuff specific to some other
16104 (apropos-print): Make mouse-click message less specific about button.
16106 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16107 that records where a macro was defined.
16108 * help-fns.el (describe-function-1): Mention if a function has a
16110 * help-mode.el (help-function-cmacro): New button.
16112 * locate.el (top-level): Always require dired.
16113 (locate-mode-map): Initialize inside the defvar.
16115 * net/ange-ftp.el (dired-compress-file): Declare.
16116 (ange-ftp-dired-compress-file): Add doc string.
16118 * term/ns-win.el (x-display-name, x-setup-function-keys):
16119 Unify doc-strings with X versions.
16121 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16123 * emulation/crisp.el (crisp-mode-map): Move initialization
16125 (crisp-mode): Use define-minor-mode.
16127 * progmodes/xscheme.el (xscheme-evaluation-commands):
16128 Put a :advertised-binding property rather than using
16129 advertised-xscheme-send-previous-expression.
16130 (advertised-xscheme-send-previous-expression): Declare obsolete.
16131 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16133 (crisp-mode): Add corresponding bindings to
16134 undo's :advertised-binding instead.
16135 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16136 than using dired-advertised-find-file.
16137 (dired-advertised-find-file):
16138 * simple.el (advertised-undo):
16139 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16140 (widget-keymap): Put a :advertised-binding property rather
16141 than using advertised-widget-backward.
16142 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16143 than using advertised-undo.
16144 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16146 2009-09-10 Simon South <ssouth@slowcomputing.org>
16148 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16149 Mark mode is enabled and region is active; otherwise indent or
16150 insert TAB as usual.
16151 (delphi-mode): Update description of TAB-key binding.
16153 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16155 * subr.el (define-key-rebound-commands): Mark obsolete.
16156 * startup.el (precompute-menubar-bindings): Remove.
16157 (normal-top-level): Remove obsolete code that tried to precompute
16159 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16160 define-key-rebound-commands and precompute-menubar-bindings.
16162 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16164 * net/imap.el (imap-interactive-login): Better messages.
16165 (imap-open): Fix bug with renamed buffer on reconnect.
16166 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16167 for easier debugging and cleaner code. On successful (guessed based on
16168 server capabilities) secondary authentication, set imap-state
16170 (imap-last-authenticator): Define imap-last-authenticator as a variable
16173 2009-09-10 Glenn Morris <rgm@gnu.org>
16175 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16177 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16178 (byte-compile-file-form-autoload): Don't warn about unknown functions
16179 where the autoload statement comes after the use.
16180 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16181 that any handlers inside the body (eg require) are in turn respected.
16183 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16186 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16187 and syntax and abbrev tables basic docs, if they don't have any.
16189 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16191 * international/mule-cmds.el (top-level): Require cl when compiling.
16192 (view-hello-file): Use default-value rather than
16193 default-enable-multibyte-characters.
16195 * progmodes/fortran.el: Move all safe and risky properties into the
16198 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16199 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16200 * mail/undigest.el:
16201 Put autoloads in rmail.el rather than loaddefs.el.
16202 * mail/rmail.el: Regenerate with extracted autoloads.
16204 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16205 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16207 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16209 Reported in thread for Bug#4375.
16210 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16211 "-data-evaluate-expression" instead of print.
16212 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16213 (gdb-tooltip-print): Parse output from above MI command.
16214 (gdb): Revert 2009-08-11 change. User should detach inferior
16217 Remove the word "separate" from IO functions as inferior
16218 output is now never displayed in the GUD buffer.
16220 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16222 * startup.el (command-line-normalize-file-name): On Windows and
16223 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16225 2009-09-10 Juri Linkov <juri@jurta.org>
16227 * isearch.el (isearch-text-char-description): Propertize escape
16228 character sequences with the `escape-glyph' face. (Bug#4344)
16230 * simple.el (shell-command): Set asynchronous process filter to
16231 `comint-output-filter'. (Bug#4343)
16233 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16234 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16235 the list. Move "asm" to the bottom.
16236 (grep-find-ignored-directories): Add `choice' with nil value
16237 to empty the list easily.
16238 (grep-find-ignored-files): New option.
16239 (grep-files-history): Set to nil by default instead of '("ch" "el").
16240 (grep-compute-defaults): Add "<X>" to `grep-template'.
16241 (grep-read-files): Bind new local variables `default-alias' and
16242 `default-extension'. Use a list of default values for the file prompt.
16243 (lgrep): Add `--exclude=' command line options composed from
16244 `grep-find-ignored-files'.
16245 (rgrep): Add `-name' command line options composed from
16246 `grep-find-ignored-files'. (Bug#4301)
16248 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16250 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16253 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16255 * calendar/time-date.el (autoload):
16256 Expand define-obsolete-function-alias into defalias and make-obsolete
16257 for old Emacsen that Gnus supports.
16258 (with-no-warnings): Define it for old Emacsen.
16259 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16261 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16262 float-time is available; suppress compile warning for time-to-seconds.
16264 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16266 * net/imap.el (imap-message-map): Docstring fix.
16268 2009-09-09 Glenn Morris <rgm@gnu.org>
16270 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16271 line numbers too. (Bug#4374)
16273 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16275 * smerge-mode.el (smerge-remove-props, smerge-refine):
16276 Use with-silent-modifications (bug#4342).
16278 * subr.el (with-silent-modifications): New macro.
16280 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16282 * files.el (top-level): Require `cl' when compiling.
16284 2009-09-07 Glenn Morris <rgm@gnu.org>
16286 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16288 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16289 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16291 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16293 * vc-git.el (vc-git-annotate-command): Use separator to parse
16294 arguments correctly.
16296 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16298 * proced.el (proced-mode): Doc fix.
16300 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16302 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16304 (tramp-do-file-attributes-with-ls): Check for file existence at
16306 (tramp-do-file-attributes-with-stat): Likewise.
16307 (tramp-convert-file-attributes): Return nil when attr is nil.
16309 2009-09-05 Glenn Morris <rgm@gnu.org>
16311 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16312 properties to this button.
16313 (diary-fancy-display): Don't extend the button to the final newline.
16314 (diary-fancy-display-mode): Continue to define "q" as a local key.
16316 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16319 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16321 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16322 (byte-compile-dest-file-function): New option.
16323 (byte-compile-dest-file): Doc fix.
16324 Obey byte-compile-dest-file-function.
16325 (byte-compile-cl-file-p): New function.
16326 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16327 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16328 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16329 than for file being previously loaded.
16330 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16331 (byte-compile-file-form-require): Handle the case where requiring a file
16332 indirectly causes CL to be loaded.
16334 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16336 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16337 before killing the old buffer, since by the time `kill-buffer' is
16338 run so many buffer variables have been set to nil that it may not
16339 behave as expected. (Bug#4061)
16341 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16343 * files.el (find-alternate-file): If the old buffer is modified
16344 and visiting a file, behave similarly to `kill-buffer' when
16345 killing it, thus reverting to the pre-1.878 behavior; see
16346 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16347 for discussion. Also, consult `buffer-file-name' as a variable
16348 not as a function, for consistency with the rest of the code.
16350 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16352 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16353 also when adding a new directory.
16355 * net/tramp-compat.el (tramp-compat-line-beginning-position):
16358 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16360 * files.el (locate-file-completion-table): Make it provide boundary
16361 information, so partial-completion works better.
16363 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16365 * mail/footnote.el (Footnote-text-under-cursor):
16366 Check footnote-text-marker-alist before using it (bug#4324).
16368 2009-09-04 Glenn Morris <rgm@gnu.org>
16370 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16371 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16372 * play/solitaire.el, play/tetris.el:
16373 Remove leading * from defcustom and defface docs.
16375 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16377 (diary-fancy-overriding-map): New variable.
16378 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16381 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16384 2009-09-03 Glenn Morris <rgm@gnu.org>
16386 * arc-mode.el (archive-mode):
16387 * dos-fns.el (set-default-process-coding-system):
16388 * man.el (Man-getpage-in-background):
16389 * menu-bar.el (menu-bar-describe-menu):
16390 * server.el (server-process-filter):
16391 * startup.el (command-line):
16392 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16393 * w32-fns.el (set-default-process-coding-system):
16394 * x-dnd.el (x-dnd-handle-file-name):
16395 * international/mule-cmds.el (mule-menu-keymap)
16396 (set-default-coding-systems, language-info-alist, set-language-info)
16397 (set-language-environment, standard-display-european-internal)
16398 (set-locale-environment):
16399 * international/mule-diag.el (mule-diag):
16400 * mail/emacsbug.el (report-emacs-bug):
16401 * mail/rmail.el (rmail-mode):
16402 * mail/sendmail.el (mail-setup):
16403 Use default-value rather than default-enable-multibyte-characters.
16405 * progmodes/f90.el: Move all safe properties into the defcustoms.
16406 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16408 * calendar/appt.el (appt-check):
16409 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16410 (diary-check-diary-file, diary-list-entries)
16411 (diary-include-other-diary-files, diary-simple-display)
16412 (diary-fancy-display, diary-print-entries)
16413 (diary-mark-included-diary-files, diary-make-entry):
16414 Don't call substitute-in-file-name on diary-file.
16416 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16417 Stefan Monnier <monnier@iro.umontreal.ca>
16419 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16420 (footnote-mode-map): Move initialization into the declaration.
16421 (footnote-minor-mode-map): Define it rather than changing global-map.
16422 (footnote-mode): Use define-minor-mode.
16424 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16426 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16427 (tramp-do-file-attributes-with-perl)
16428 (tramp-do-file-attributes-with-stat): Rename from
16429 `tramp-handle-file-attributes-with-*'.
16430 (tramp-handle-file-attributes): Use them.
16431 (tramp-do-directory-files-and-attributes-with-perl)
16432 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16433 `tramp-handle-directory-files-and-attributes-with-*'.
16434 (tramp-handle-directory-files-and-attributes): Use them.
16435 (tramp-method-out-of-band-p): Additional parameter SIZE.
16436 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16437 (tramp-handle-write-region): Use it.
16438 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16439 (tramp-handle-vc-registered): Check, whether the first run did
16440 return files to be tested.
16441 (tramp-advice-make-auto-save-file-name): Do not call directly
16442 `tramp-handle-make-auto-save-file-name', because this would bypass
16443 the locking mechanism.
16445 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16446 (file-remote-p, process-file, start-file-process, set-file-times)
16447 (tramp-compat-file-attributes): Compatibility functions shall not
16448 call directly `tramp-handle-*', because this would bypass the
16450 (tramp-compat-number-sequence): New defun.
16452 2009-09-02 Glenn Morris <rgm@gnu.org>
16454 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16455 alias for float-time.
16456 (time-to-number-of-days): In Emacs, use float-time.
16457 * net/newst-backend.el (time-add): Suppress warnings from compat
16459 * time.el (emacs-uptime, emacs-init-time):
16460 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16461 Use float-time rather than time-to-seconds.
16463 * minibuffer.el (completion-initials-expand): Fix typo.
16465 * faces.el (modeline, modeline-inactive, modeline-highlight)
16466 (modeline-buffer-id):
16467 * info.el (info-menu-5): Mark these face aliases as obsolete.
16469 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16471 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16473 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16474 no "--thread" option.
16475 (gdb-stopped): Don't print "Switched to thread" message when it is
16478 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16480 * minibuffer.el (completion-try-completion)
16481 (completion-all-completions): Remove ill-defined (and
16482 mistakenly installed and luckily never used nor documented)
16483 `completion-styles' property.
16484 (completion-initials-expand, completion-initials-all-completions)
16485 (completion-initials-try-completion): New functions.
16486 (completion-styles-alist): Add doc to each entry.
16487 Add new `initials' entry.
16489 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16491 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16492 MI command -var-evaluate-expression.
16493 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16494 and tweak for case of string child.
16495 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16497 2009-09-01 Glenn Morris <rgm@gnu.org>
16499 * add-log.el (change-log-date-face, change-log-name-face)
16500 (change-log-email-face, change-log-file-face, change-log-list-face)
16501 (change-log-conditionals-face, change-log-function-face)
16502 (change-log-acknowledgement-face):
16503 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16504 (custom-modified-face, custom-set-face, custom-changed-face)
16505 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16506 (custom-documentation-face, custom-state-face, custom-comment-face)
16507 (custom-comment-tag-face, custom-variable-tag-face)
16508 (custom-variable-button-face, custom-face-tag-face)
16509 (custom-group-tag-face-1, custom-group-tag-face):
16510 * diff-mode.el (diff-header-face, diff-file-header-face)
16511 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16512 (diff-added-face, diff-changed-face, diff-function-face)
16513 (diff-context-face, diff-nonexistent-face):
16514 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16515 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16516 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16517 (Info-title-4-face):
16518 * isearch.el (isearch-lazy-highlight-face):
16519 * log-view.el (log-view-file-face, log-view-message-face):
16520 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16521 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16522 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16524 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16525 (smerge-base-face, smerge-markers-face):
16526 * wid-edit.el (widget-documentation-face, widget-button-face)
16527 (widget-field-face, widget-single-line-field-face)
16528 (widget-inactive-face, widget-button-pressed-face):
16529 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16530 (woman-addition-face):
16531 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16532 (eshell-ls-executable-face, eshell-ls-readonly-face)
16533 (eshell-ls-unreadable-face, eshell-ls-special-face)
16534 (eshell-ls-missing-face, eshell-ls-archive-face)
16535 (eshell-ls-backup-face, eshell-ls-product-face)
16536 (eshell-ls-clutter-face):
16537 * eshell/em-prompt.el (eshell-prompt-face):
16538 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16539 * obsolete/old-whitespace.el (whitespace-highlight-face):
16540 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16541 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16542 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16543 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16544 (antlr-font-lock-literal-face):
16545 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16546 (ebrowse-root-class-face, ebrowse-file-name-face)
16547 (ebrowse-default-face, ebrowse-member-attribute-face)
16548 (ebrowse-member-class-face, ebrowse-progress-face):
16549 * progmodes/make-mode.el (makefile-space-face):
16550 * progmodes/sh-script.el (sh-heredoc-face):
16551 * textmodes/flyspell.el (flyspell-incorrect-face)
16552 (flyspell-duplicate-face):
16553 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16554 * textmodes/texinfo.el (texinfo-heading-face):
16555 Mark face aliases with "-face" suffix as obsolete.
16557 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16560 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16561 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16562 easy-menu-define wants to modify these.
16564 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16566 * net/browse-url.el (browse-url-file-url):
16567 * term/internal.el (dos-codepage-setup):
16568 Use default-value rather than default-enable-multibyte-characters.
16570 * progmodes/etags.el (etags-goto-tag-location):
16571 * progmodes/flymake.el (flymake-highlight-line)
16572 (flymake-goto-file-and-line, flymake-goto-line):
16573 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16574 (gdb-goto-breakpoint):
16575 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16576 * progmodes/python.el (python-find-function)
16577 (python-pdbtrack-track-stack-file):
16578 * progmodes/verilog-mode.el (verilog-surelint-off):
16579 * term/ns-win.el (ns-open-file-select-line):
16580 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16581 Use forward-line rather than goto-line.
16583 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16584 * textmodes/reftex-index.el (reftex-display-index):
16585 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16586 * textmodes/reftex-toc.el (reftex-toc):
16587 Remove unnecessary bindings of default-major-mode (all are followed by
16588 major-mode check and possible mode switch).
16590 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16592 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16593 Handle watchpoints (bug#4282).
16594 (def-gdb-thread-buffer-command): Enable thread to be selected by
16595 clicking without selecting threads buffer first.
16596 (gdb-current-context-command): Use selected frame so that "up",
16597 "down" etc work in the GUD buffer.
16598 (gdb-update): Find selected frame before rendering stack buffer.
16599 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16601 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16603 * progmodes/sym-comp.el (displayed-completions): Remove.
16604 (symbol-complete): Use minibuffer-complete.
16606 2009-08-31 Glenn Morris <rgm@gnu.org>
16608 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16610 * apropos.el (apropos-symbols-internal):
16611 Handle (obsolete) face aliases.
16613 * faces.el (describe-face): Adjust the output format to be more like
16614 describe-variable, and to mention (obsolete) face aliases.
16615 Adjust the whitespace so that help-setup-xref works.
16617 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16618 * calendar/diary-lib.el (diary-button-face):
16619 Mark these face aliases as obsolete.
16621 * calendar/calendar.el (calendar-today): Doc fix.
16623 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16625 * progmodes/gdb-mi.el (gdb-control-all-threads)
16626 (gdb-control-current-thread): Force tool bar update.
16627 (gdb-non-stop-handler): New function.
16628 (gdb-init-1): Use it to test if non-stop mode is supported.
16629 Remove unused gdbmi buffer type.
16631 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16633 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16634 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
16636 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
16638 * comint.el (comint-exec-1): Check command is non-null first.
16639 Part of gdb-mi.el change (2009-08-28).
16641 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16643 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16645 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
16647 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16648 instead of `dolist' to avoid a recursive require when bootstrapping.
16650 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16652 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16654 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16656 * net/imap.el (imap-send-command): Simplify.
16657 (imap-wait-for-tag): point-max -> buffer-size.
16659 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16661 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16662 with constant argument.
16664 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16666 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16668 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16669 Change default, since most of our files don't have a history.
16670 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16673 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16676 * calc/calc.el: Improve commenting convention.
16677 (calc-digit-map, toplevel): Simplify.
16679 * comint.el (comint-insert-input): Be careful to only set point if we
16680 don't delegate to some other command.
16682 * proced.el (proced-signal-list): Make it an alist.
16683 (proced-grammar-alist): Capitalize names.
16684 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16685 Disable undo manually and make it read-only.
16686 Use completion-annotate-function.
16688 * minibuffer.el (minibuffer-message): If the current buffer is not
16689 a minibuffer, insert the message in the echo area rather than at the
16691 (completion-annotate-function): New variable.
16692 (minibuffer-completion-help): Use it.
16693 (completion--embedded-envvar-table): Environment vars are
16694 always case-sensitive.
16696 2009-08-30 Glenn Morris <rgm@gnu.org>
16698 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16699 from fortran-current-defun.
16700 (fortran-beginning-of-subprogram): Be more precise about finding the
16701 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16702 (fortran-end-of-subprogram): Simplify.
16703 (fortran-current-defun): Use fortran-start-prog-re.
16705 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
16707 * subr.el (do-after-load-evaluation): Simplify.
16709 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
16711 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16713 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
16714 (vc-rcs-print-log): Use it.
16716 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16718 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16720 * paths.el (abbrev-file-name): Move to abbrev.el.
16721 * abbrev.el (abbrev-file-name): Move from paths.el.
16722 Obey user-emacs-directory.
16723 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16724 user-emacs-directory.
16725 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16726 abbrev-file-name and calc-settings-file any more.
16727 * startup.el (command-line): Recompute abbrev-file-name and
16728 abbreviated-home-dir.
16729 (normal-no-mouse-startup-screen): Improve the generic code and get rid
16730 of the special code for when C-h bindings haven't been changed.
16731 (display-startup-echo-area-message): Use with-current-buffer.
16732 (command-line-1): Use a list of strings, rather than a list of lists
16733 of strings for longopts.
16735 * files.el (get-free-disk-space): Use / for default-directory.
16737 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16738 Use with-current-buffer.
16740 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16741 Recognize immutable variables like most-positive-fixnum.
16742 (byte-compile-setq-default): Check and warn if trying to assign
16743 to an immutable variable, or a non-variable.
16745 * progmodes/cc-vars.el (c-comment-continuation-stars):
16746 * progmodes/cc-engine.el (c-looking-at-bos):
16747 * progmodes/cc-cmds.el (c-toggle-auto-state)
16748 (c-forward-into-nomenclature, c-backward-into-nomenclature)
16749 (c-comment-line-break-function): Add version of obsolescence.
16751 2009-08-28 Juri Linkov <juri@jurta.org>
16753 * files.el (magic-fallback-mode-alist): Add ZIP magic number
16754 associated with `archive-mode'.
16756 * image.el (image-type-header-regexps): Use only JPEG magic number
16757 to determine JPEG images, and don't use `image-jpeg-p' because
16758 Emacs can display non-JFIF non-Exif JPEG images.
16760 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16762 * arc-mode.el (archive-mode):
16763 * emacs-lisp/re-builder.el (re-builder-unload-function):
16764 Protect against the default value of `major-mode' being nil.
16766 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
16768 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16769 Fix typos in docstrings.
16771 * progmodes/js.el (js--macro-decl-re): Doc fix.
16772 (js--plain-method-re, js--split-name): Refloc docstring.
16773 (js--class-styles, js--make-merged-item, js--splice-into-items):
16774 Fix typos in docstrings; reflow docstrings.
16775 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16776 (js--variable-decl-matcher, js--inside-pitem-p)
16777 (js--parse-state-at-point, js--get-all-known-symbols)
16778 (js--symbol-history, js-find-symbol, js--js-references)
16779 (js--moz-interactor, js--js-encode-value, js--read-tab):
16780 Fix typos in docstrings.
16782 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16784 * textmodes/reftex.el (reftex-get-file-buffer-force):
16785 * progmodes/verilog-mode.el (verilog-batch-execute-func):
16786 * emulation/viper.el (viper-go-away, viper-set-hooks):
16787 * emacs-lisp/re-builder.el (re-builder-unload-function):
16788 * emacs-lisp/bytecomp.el (byte-compile-file):
16789 * ses.el (ses-unload-function):
16790 * hexl.el (hexl-find-file):
16791 * files.el (normal-mode):
16792 * ehelp.el (with-electric-help):
16793 * autoinsert.el (auto-insert-alist):
16794 * arc-mode.el (archive-mode):
16795 Use (default-value 'major-mode) instead of default-major-mode.
16797 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16798 * international/mule.el (load-with-code-conversion):
16799 * emacs-lisp/debug.el (debug):
16800 * ediff-vers.el (ediff-rcs-get-output-buffer):
16801 * dired.el (dired-internal-noselect): Don't let-bind
16802 default-major-mode around code that doesn't use it.
16803 E.g. buffer creation via get-buffer-create doesn't use it.
16805 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
16807 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16808 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16809 when writing the temp file. Otherwise, epa-file gets confused.
16810 (tramp-register-file-name-handlers): Make it a defun. Move also
16811 `epa-file-handler' to the front of `file-name-handler-alist'.
16813 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16815 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16816 start right after a ^M.
16817 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16818 (tramp-completion-file-name-regexp-separate)
16819 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16820 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16821 Don't modify last-coding-system-used by accident.
16822 (tramp-completion-file-name-handler): Apply the checks here,
16823 instead during registration.
16824 (tramp-register-file-name-handlers): Renamed from
16825 `tramp-register-file-name-handler'. Register both
16826 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16827 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
16829 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
16831 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16832 Remove variable ...
16833 (gdb-init-1, gdb-display-separate-io-buffer)
16834 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16836 (gdb-inferior-io-mode): Use make-comint-in-buffer.
16837 (gdb-inferior-filter): Use comint-output-filter to stop
16838 echoing and remove ^M characters.
16840 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16842 * emulation/viper-init.el (viper-restore-cursor-type):
16843 * emulation/cua-base.el (cua--update-indications):
16844 Replace default-cursor-type with (default-value 'cursor-type).
16846 * mail/sendmail.el (mail-recover-1):
16847 * international/mule-diag.el (describe-current-coding-system-briefly)
16848 (describe-current-coding-system):
16849 * international/mule-cmds.el (select-safe-coding-system)
16850 (select-message-coding-system)
16851 (set-language-environment-coding-systems, set-locale-environment):
16852 * hexl.el (hexl-insert-multibyte-char):
16853 * dos-w32.el (find-buffer-file-type-coding-system):
16854 * simple.el (what-cursor-position):
16855 Replace uses of default-buffer-file-coding-system
16856 with (default-value 'buffer-file-coding-system).
16858 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16859 Replace uses of default-cursor-in-non-selected-windows
16860 with (default-value 'cursor-in-non-selected-windows).
16861 Use with-current-buffer.
16863 * mail/feedmail.el: Use CL macros.
16864 (feedmail-run-the-queue, feedmail-send-it-immediately):
16865 * dos-w32.el (find-buffer-file-type): Replace uses of
16866 default-buffer-file-type with (default-value 'buffer-file-type).
16868 2009-08-28 Glenn Morris <rgm@gnu.org>
16870 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16871 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16872 Use default-value of major-mode rather than default-major-mode.
16874 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16876 * Makefile.in (update-elcfiles): Report left over elc files.
16878 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16879 expand-file-name and with-current-buffer.
16880 (mail-get-names, mail-directory): Use with-current-buffer.
16882 * vc.el (vc-read-revision): New function.
16883 (vc-version-diff, vc-merge): Use it.
16885 2009-08-27 Sam Steingold <sds@gnu.org>
16887 * simple.el (kill-do-not-save-duplicates): New user option.
16888 (kill-new): When it is non-nil, and the new string is the same as
16889 the latest kill, set replace to t to avoid duplicates in kill-ring.
16891 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
16893 * net/tramp.el (tramp-handle-process-file): Do not flush all
16894 caches when `process-file-side-effects' is set.
16895 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16896 instead of `tramp-find-file-exists-command'.
16897 Unset `process-file-side-effects'.
16899 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
16901 * net/tramp.el (tramp-methods): New method "rsyncc".
16902 (top): Add completion function for "rsyncc".
16903 (tramp-message-show-message): New defvar.
16904 (tramp-message, tramp-error): Use it.
16905 (tramp-do-copy-or-rename-file-directly): Extend check for direct
16907 (tramp-do-copy-or-rename-file-out-of-band): Handle new
16908 `tramp-methods' entry `copy-env' of "rsyncc".
16909 (tramp-vc-registered-read-file-names): New defconst.
16910 (tramp-vc-registered-file-names): New defvar.
16911 (tramp-handle-vc-registered): Implement optimization strategy.
16912 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16913 (tramp-vc-file-name-handler): New defun.
16914 (tramp-get-ls-command, tramp-get-test-command)
16915 (tramp-get-file-exists-command, tramp-get-remote-ln)
16916 (tramp-get-remote-perl, tramp-get-remote-stat)
16917 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16919 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16920 (tramp-cache-inhibit-cache): Extend doc string. It allows also
16922 (tramp-get-file-property): Check for timestamps in
16923 `tramp-cache-inhibit-cache'.
16924 (tramp-set-file-property): Write timestamp.
16926 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16928 * language/japan-util.el (japanese-symbol-table): Add entries for
16931 * international/characters.el: Add category `j' to cp932-2-byte.
16933 2009-08-27 Kenichi Handa <handa@m17n.org>
16935 * international/fontset.el (build-default-fontset-data): New macro.
16936 (setup-default-fontset): Use build-default-fontset-data for CJK,
16937 tibetan, ethiopic, and ipa.
16939 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16941 * cus-start.el (default-major-mode): Customize `major-mode' instead.
16942 (enable-multibyte-characters): Not customizable any more.
16944 * subr.el (default-mode-line-format, default-header-line-format)
16945 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16946 (default-direction-reversed, default-truncate-lines)
16947 (default-left-margin, default-tab-width, default-case-fold-search)
16948 (default-left-margin-width, default-right-margin-width)
16949 (default-left-fringe-width, default-right-fringe-width)
16950 (default-fringes-outside-margins, default-scroll-bar-width)
16951 (default-vertical-scroll-bar, default-indicate-empty-lines)
16952 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16953 (default-fringe-cursor-alist, default-scroll-up-aggressively)
16954 (default-scroll-down-aggressively, default-fill-column)
16955 (default-cursor-type, default-buffer-file-type)
16956 (default-cursor-in-non-selected-windows)
16957 (default-buffer-file-coding-system, default-major-mode)
16958 (default-enable-multibyte-characters): Mark as obsolete.
16960 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
16962 * vc-dir.el (vc-dir-update): Remove debug helper.
16964 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16966 2009-08-26 Sam Steingold <sds@gnu.org>
16968 * simple.el (save-interprogram-paste-before-kill): New user option.
16969 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16970 save the interprogram-paste into kill-ring before overriding it
16971 with the Emacs kill.
16973 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16975 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16976 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16977 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16978 and move to vc-rcs.el.
16979 (vc-default-next-revision): Rename to vc-rcs-next-revision and
16981 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16982 (vc-rcs-update-changelog): Remove.
16983 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16984 and move to vc-rcs.el.
16986 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16987 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16989 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16990 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16991 vc.el, renamed to be RCS specific.
16993 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16995 (vc-cvs-update-changelog): Move here from vc.el.
16997 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17000 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17002 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17004 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17006 * vc-git.el (vc-git-register): Use "git add" for directories.
17007 (vc-git-stash, vc-git-stash-show): New functions.
17008 (vc-git-extra-menu-map): Bind them.
17010 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17011 directory correctly in case the item is a directory itself.
17013 * vc.el: Document the desired behavior for reverted files in the
17015 (vc-default-prettify-state-info): Remove function, unused.
17017 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17019 2009-08-26 Glenn Morris <rgm@gnu.org>
17021 * bindings.el (standard-mode-line-format): Reposition dashes in
17022 which-func entry. (Bug#4217)
17024 * files.el (enable-local-variables, enable-local-eval)
17025 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17027 (auto-mode-alist, ignored-local-variables)
17028 (save-some-buffers-action-alist): Move risky declarations to the
17030 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17031 (font-lock-defaults, format-alist, imenu--index-alist)
17032 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17033 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17034 (mode-line-modified, mode-line-mule-info, mode-line-position)
17035 (mode-line-process, mode-line-remote, outline-level)
17036 (parse-time-rules, rmail-output-file-alist)
17037 (special-display-buffer-names, vc-mode):
17038 Move risky declarations to the relevant files.
17039 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17040 (mode-line-modified, mode-line-process, mode-line-position)
17041 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17042 * font-core.el (font-lock-defaults):
17043 * format.el (format-alist):
17044 * vc-hooks.el (vc-mode):
17045 * window.el (special-display-buffer-names):
17046 * international/mule-cmds.el (input-method-alist):
17047 Define riskiness here (dumped file) rather than in files.el.
17048 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17049 * imenu.el (imenu-generic-expression, imenu--index-alist):
17050 * outline.el (outline-level):
17051 * time.el (display-time-string):
17052 * calendar/parse-time.el (parse-time-rules):
17053 * mail/rmailout.el (rmail-output-file-alist):
17054 Autoload riskiness here, rather than placing in files.el.
17056 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17058 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17060 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17062 * simple.el (process-file-side-effects): New defvar.
17064 * dired-aux.el (dired-show-file-type):
17065 * vc.el (vc-diff-internal):
17066 * vc-arch.el (vc-arch-diff):
17067 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17068 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17069 * vc-git.el (vc-git-registered, vc-git-working-revision)
17070 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17071 (vc-git--empty-db-p):
17072 * vc-hooks.el (vc-user-login-name):
17073 * vc-svn.el (vc-svn-registered, vc-svn-state)
17074 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17075 * progmodes/grep.el (grep-probe): Let-bind
17076 `process-file-side-effects' with nil.
17078 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17080 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17081 daemon. Replace ping by checking for running service for bluez
17082 and zeroconf. (Bug#4239)
17084 2009-08-25 Kevin Ryde <user42@zip.com.au>
17086 * net/dig.el (dig): Add autoload cookie.
17088 2009-08-25 Glenn Morris <rgm@gnu.org>
17090 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17091 load-history for absolute file-names.
17092 (byte-compile-file-form-require): Warn about use of the cl package.
17094 * format.el (format-alist): Doc fix.
17096 * play/bubbles.el (top-level): Don't require cl at run-time.
17098 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17101 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17103 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17105 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17107 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17109 * calc/calc-alg.el (math-trig-rewrite)
17110 (math-hyperbolic-trig-rewrite): New functions.
17111 (calc-simplify): Simplify trig functions when asked.
17113 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17115 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17117 2009-08-24 Kenichi Handa <handa@m17n.org>
17119 * language/ind-util.el (mapthread): Delete it.
17120 (combinatorial): New function.
17121 (indian--puthash-cv): Use combinatorial instead of mapthread.
17123 2009-08-22 Kevin Ryde <user42@zip.com.au>
17125 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17126 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17127 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17128 Clarify docstring that the value is strings not symbols.
17129 (checkdoc-list-of-strings-p): New function.
17131 2009-08-22 Glenn Morris <rgm@gnu.org>
17133 * files.el (auto-mode-alist):
17134 * hippie-exp.el (he-concat-directory-file-name):
17135 * lpr.el (lpr-windows-system, printer-name):
17136 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17137 * ps-print.el (ps-windows-system):
17138 * startup.el (command-line):
17139 * emulation/viper-ex.el (viper-glob-function):
17140 * international/mule-cmds.el (set-language-environment-coding-systems):
17141 * net/ange-ftp.el (ange-ftp-write-region):
17142 * obsolete/fast-lock.el (fast-lock-cache-name):
17143 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17144 unisoft-unix, vax-vms, win32, w32.
17146 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17147 given name if the pattern is not more specific.
17149 * calendar/lunar.el (lunar-phase-names): New option.
17150 (lunar-phase): Doc fix.
17151 (lunar-cycles-per-year): New constant.
17152 (lunar-index): New function.
17153 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17154 (lunar-phase-name): Use lunar-phase-names.
17155 (calendar-lunar-phases): Use format.
17156 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17158 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17159 Copy imenu-example--name-and-position function here for own use.
17160 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17162 * bs.el (bs--redisplay):
17163 * cus-edit.el (custom-redraw):
17164 * ibuffer.el (ibuffer-bury-buffer):
17165 * server.el (server-goto-line-column):
17166 * startup.el (command-line-1):
17167 * strokes.el (strokes-xpm-for-stroke):
17168 * term.el (term-display-buffer-line):
17169 * view.el (View-goto-line):
17170 * calc/calc.el (calc-do, calc-trail-buffer):
17171 * play/gamegrid.el (gamegrid-add-score-insecure):
17172 * progmodes/ada-mode.el (ada-compile-goto-error):
17173 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17174 (ebrowse-select-1st-to-9nth):
17175 * progmodes/cperl-mode.el (cperl-time-fontification):
17176 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17177 * progmodes/gud.el (gud-display-line):
17178 (idlwave-shell-display-line):
17179 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17180 * progmodes/make-mode.el (makefile-browser-toggle):
17181 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17182 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17183 * textmodes/picture.el (picture-draw-rectangle):
17184 * textmodes/reftex-index.el (reftex-index-goto-letter):
17185 (reftex-select-jump-to-previous):
17186 * textmodes/reftex-sel.el (reftex-find-start-point)
17187 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17188 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17189 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17190 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17191 * textmodes/two-column.el (2C-associated-buffer):
17192 Use forward-line rather than goto-line.
17194 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17197 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17198 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17199 (quick-check-list-to-regexp): Declare.
17201 * progmodes/make-mode.el (makefile-browser-insert-selection):
17202 Use goto-char rather than goto-line.
17204 * progmodes/prolog.el (compilation-error-regexp-alist)
17205 (compilation-forget-errors): Declare.
17207 2009-08-22 Juri Linkov <juri@jurta.org>
17209 * progmodes/grep.el (lgrep, rgrep): At the beginning
17210 set `dir' to `default-directory' unless `dir' is a non-nil
17211 readable directory. (Bug#4052)
17212 (lgrep, rgrep): Change a weird way to report an error
17213 from using `read-string' to using `error'.
17214 Instead of using interactive arguments in the function body,
17215 add new argument `confirm'.
17217 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17219 * textmodes/remember.el (remember-buffer):
17220 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17221 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17222 (icalendar-extract-ical-from-buffer):
17223 * net/newst-treeview.el (newsticker-groups-filename):
17224 * net/newst-backend.el (newsticker-cache-filename):
17225 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17226 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17227 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17228 (speedbar-buffers-line-path, speedbar-path-line)
17229 (speedbar-buffers-line-path):
17230 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17232 * epa.el (epa-display-verify-result):
17233 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17235 2009-08-21 Glenn Morris <rgm@gnu.org>
17237 * progmodes/js.el (inferior-moz-process): Fix declaration.
17239 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17241 * obsolete/rnewspost.el (news-mail-reply):
17242 Use goto-char rather than goto-line.
17244 * term/ns-win.el (ns-open-file-select-line):
17245 Use line-beginning-position rather than goto-line.
17247 * apropos.el (apropos-command):
17248 * ehelp.el (electric-helpify):
17249 * printing.el (pr-show-setup):
17250 * strokes.el (strokes-help):
17251 * tutorial.el (tutorial--describe-nonstandard-key)
17252 (tutorial--detailed-help):
17253 * woman.el (woman-mini-help, woman-display-extended-fonts):
17254 * calc/calc-help.el (calc-describe-key):
17255 * emulation/edt.el (edt-electric-helpify):
17256 * international/mule-diag.el (mule-diag):
17257 * play/yow.el (apropos-zippy):
17258 * progmodes/python.el (python-describe-symbol):
17259 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17260 * textmodes/table.el (*table--cell-describe-mode)
17261 (*table--cell-describe-bindings):
17262 Use help-print-return-message rather than the now obsolete alias.
17264 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17265 (calendar-cursor-to-visible-date):
17266 * play/5x5.el (5x5-position-cursor):
17267 * play/decipher.el (decipher):
17268 * play/gomoku.el (gomoku-goto-xy):
17269 * play/landmark.el (lm-goto-xy):
17270 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17271 (mpuz-paint-digit):
17272 Use forward-line, not goto-line.
17274 * mail/rmail.el (rmail-obsolete): Delete custom group.
17275 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17276 (rmail-remote-password, rmail-remote-password-required):
17277 Remove unneeded :set-after and :set properties.
17279 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17281 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17283 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17285 * loadup.el: Remove leftover macos code.
17287 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17288 Explicitly pass the date format to git blame so that user local
17289 so that the output format can be parsed.
17291 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17293 * net/dbus.el (top): Don't check for (getenv
17294 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17296 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17298 * log-edit.el (log-edit-strip-single-file-name): New var.
17299 (log-edit-insert-changelog): Use it. Bug#3571
17301 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17303 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17306 * help.el (help-print-return-message): Rename from
17307 print-help-return-message.
17309 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17310 cvs-mode-map parent hack.
17311 (log-view-mode): Derive from special-mode.
17313 * linum.el (linum-mode): window-size-change-functions is redundant.
17314 Adapt to new window-configuration-change-hook behavior.
17315 (linum-after-size, linum-after-config): Remove.
17317 * imenu.el (imenu-example--name-and-position)
17318 (imenu-example--lisp-extract-index-name)
17319 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17322 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17323 (inferior-prolog-mode): Use it.
17324 (inferior-prolog-load-file): Reset list of errors.
17326 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17328 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17330 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17332 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17334 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17335 is running already.
17337 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17339 * subr.el (listify-key-sequence-1): Use normal syntax since those
17340 integers are nowadays always represented by the same (positive) number
17342 (read-key-empty-map): New const.
17343 (read-key-delay): New var.
17344 (read-key): New function.
17345 (force-mode-line-update): Use with-current-buffer.
17346 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17347 (start-process-shell-command, start-file-process-shell-command):
17348 Discourage the use of command-args.
17350 2009-08-19 Glenn Morris <rgm@gnu.org>
17352 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17354 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17356 * simple.el (choose-completion-string): Don't rely on
17357 minibuffer-completing-file-name and ad-hoc checks to decide whether
17358 to continue completion or not.
17360 * minibuffer.el (minibuffer-hide-completions): New function.
17361 (completion--do-completion): Use it.
17362 (completions-annotations): New face.
17363 (completion--insert-strings): Use it.
17364 (completion-pcm--delim-wild-regex): Add docstring.
17365 (completion-pcm--string->pattern): Add support for 0-width delimiters
17366 in completion-pcm--delim-wild-regex.
17368 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17370 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17371 Remove unused var `buffer-modified-p'.
17373 * minibuffer.el (completion--do-completion): Move point for the #b001
17374 case as well (bug#4176).
17375 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17377 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17379 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17380 and :session buses.
17382 2009-08-18 Kenichi Handa <handa@m17n.org>
17384 * international/ucs-normalize.el (ucs-normalize-version):
17386 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17387 (utf-8-hfs): Make it perform normalization on encoding too.
17389 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17390 (sentence-end-without-space): Delete duplicated chars.
17391 (sentence-end-base): Likewise.
17393 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17394 (html-mode): Delete duplicated chars from sentence-end-base.
17396 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17397 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17399 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17401 * files.el (hack-one-local-variable): If the mode function is for
17402 a minor mode, pass it an argument (Bug#4148).
17404 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17406 * net/tramp.el (tramp-register-completion-file-name-handler):
17407 Check also for (member 'partial-completion completion-styles).
17409 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17411 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17414 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17416 * progmodes/cperl-mode.el: Merge upstream 6.2.
17417 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17418 (cperl-forward-re): Check cperl-brace-recursing.
17419 (cperl-highlight-charclass): New function.
17420 (cperl-find-pods-heres): Use it.
17421 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17422 (cperl-beautify-regexp-piece): Fix column calculation.
17423 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17424 (cperl-beautify-level): Don't process entire regexp.
17425 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17427 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17428 (cperl-init-faces): Build a list in the normal way.
17430 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17432 * calendar/parse-time.el (parse-time-string-chars): Save match
17435 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17437 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17438 (sql-product): Use it.
17439 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17440 (sql-set-product): Add completion.
17441 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17442 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17443 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17444 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17445 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17446 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17447 (sql-highlight-db2-keywords): Remove.
17448 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17449 (sql-highlight-product): Use derived-mode-p.
17450 (sql-set-sqli-buffer): Use with-current-buffer.
17451 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17454 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17456 * term.el: Fix commenting convention, turn comments into docstrings.
17458 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17460 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17462 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17464 * calendar/parse-time.el (parse-time-string-chars): Compute using
17465 character classes, to handle non-ascii characters (Bug#3190).
17467 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17469 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17470 another heredoc if the user adds another < (Bug#3226).
17472 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17473 Don't initialize based on window-system (Bug#4124).
17475 * facemenu.el (facemenu-read-color): Use a completion function
17476 that accepts any defined color, such as RGB triplets (Bug#3677).
17478 * files.el (get-free-disk-space): Change fallback default
17479 directory to /. Expand DIR argument before switching to fallback.
17480 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17482 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17484 * files.el (load-library): Doc fix.
17486 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17488 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17489 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17490 incremental search string.
17492 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17495 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17496 (ediff-merge-region-is-non-clash)
17497 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17498 Also check if the job is really a merge job.
17500 * ediff.el (ediff-current-file): New function.
17502 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17504 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17506 (js-insert-and-indent): Delete function.
17507 (js-mode-map): Don't bind keys to js-insert-and-indent.
17508 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17509 (js-end-of-defun): Rename from js--end-of-defun.
17510 (js-auto-indent-flag): Delete variable.
17512 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17514 * progmodes/js.el: Remove proclaim statement.
17515 Defvar which-func-imenu-joiner-function to silence compiler.
17517 * files.el (auto-mode-alist): Use js-mode for .js files.
17519 * progmodes/js2-mode.el: Remove file.
17521 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17523 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17525 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17527 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17528 Karl Landstrom <karl.landstrom@brgeight.se>
17530 * progmodes/js.el: New file.
17532 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17534 * timezone.el (timezone-parse-date): Add ability to understand ISO
17535 basic format (minimal separators) dates in addition to the
17536 already-supported extended format dates.
17538 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17540 * international/ucs-normalize.el: Add a `coding' file variable.
17542 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17544 2009-08-14 Sam Steingold <sds@gnu.org>
17546 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17548 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17550 * faces.el (help-argument-name): Define it here instead of
17551 help-fns.el, because in daemon mode help-fns.el may be loaded when
17552 faces are still uninitialized (Bug#1078).
17554 * help-fns.el (help-argument-name): Move defface to faces.el.
17556 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17558 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17559 create buffer with a pty but no process so that GDB can make the
17560 inferior the controlling process.
17562 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17564 * international/ucs-normalize.el: New file.
17566 2009-08-13 Richard Stallman <rms@gnu.org>
17568 * mail/rmail.el (rmail-get-attr-names):
17569 Accept an attribute header that is too short.
17571 * mail/rmail.el (rmail-forget-messages):
17572 Ignore nil elt in rmail-message-vector. Use dotimes.
17574 * progmodes/compile.el (compilation-goto-locus):
17575 Use next-error-move-function.
17577 * simple.el (next-error-move-function): New variable.
17579 2009-08-12 Juri Linkov <juri@jurta.org>
17581 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17582 always non-nil. (Bug#4052)
17584 * replace.el (read-regexp): Return empty string when
17585 `default-value' is nil.
17586 (keep-lines-read-args): Don't use empty string as the
17587 default value for `read-regexp'. (Bug#2495)
17589 2009-08-12 Juri Linkov <juri@jurta.org>
17591 * international/mule-cmds.el (ucs-insert): Change arguments
17592 from `arg' to `character', `count', `inherit' to be the same
17593 as in `insert-char'. Doc fix. (Bug#4039)
17595 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17597 2009-08-12 Juri Linkov <juri@jurta.org>
17599 * files-x.el: New file.
17601 * files.el: Move code that deals with adding/deleting
17602 file/directory-local variables to files-x.el.
17604 * Makefile.in (ELCFILES): Add files-x.elc.
17606 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17608 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17609 to use `goto-line'.
17610 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17612 (gdb-invalidate-disassembly): Do not refresh upon receiving
17613 'update signal. Instead, update all disassembly buffers only after
17615 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17616 (gdb-starting): Moved -data-list-register-names...
17617 (gdb-stopped): ...here so it's sent when first thread stops.
17618 (gdb-registers-handler-custom): Do nothing if register names are
17621 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17622 from `gdb-mi.el' to avoid extra tangling.
17624 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17625 change which breaks `gud-def' definitions used in `gdb'.
17626 (gdb-update-gud-running): No extra fuss for updating frame number.
17628 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
17630 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17631 (describe-language-environment-map, setup-language-environment-map)
17632 (set-coding-system-map): Move initialization into declaration.
17633 (set-language-info-alist): Last arg to define-key-after can be skipped.
17635 * international/quail.el (quail-completion-1): Simplify.
17636 (quail-define-rules): Use slightly more compact code.
17637 (quail-insert-decode-map): Propertize keys, compact columns.
17639 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17642 2009-08-10 Miles Bader <miles@gnu.org>
17644 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17645 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17646 (js2-instance-member, js2-private-member, js2-private-function-call)
17647 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17648 (js2-magic-paren, js2-external-variable):
17649 Remove "-face" suffix from face names.
17650 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17651 (js2-highlight-undeclared-vars, js2-peek-token)
17652 (js2-parse-function-params, js2-mode-show-errors)
17653 (js2-mode-show-warnings, js2-make-magic-delimiter)
17654 (js2-mode-highlight-magic-parens): Update to use new face names.
17656 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
17658 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17659 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
17661 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
17663 * subr.el: Provide hashtable-print-readable.
17665 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17666 hs-c-like-adjust-block-beginning.
17667 (hs-hide-block-at-point): Stop hiding at the beginning of
17668 hs-block-end-regexp (Bug#700).
17670 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
17672 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17674 (gdb-registers-handler-custom): Do not fail when register names
17677 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17679 * progmodes/gdb-mi.el (gdb-control-all-threads)
17680 (gdb-control-current-thread): Interactive setters for
17681 `gdb-gud-control-all-threads' to use in menu.
17682 (gdb-show-run-p): Show «Go» when process is not active.
17683 (gud-tool-bar-map): Add non-stop/A,T indicator.
17684 Uses gud/thread.xpm and gud/all.xpm.
17686 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
17688 * net/net-utils.el (net-utils-font-lock-keywords): New var.
17689 (nslookup-font-lock-keywords): Make it a variable.
17690 (net-utils-mode): New mode for viewing diagnostic network output.
17691 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17692 (net-utils-run-simple): New function.
17693 (ifconfig, iwconfig, netstat, arp, route): Use it.
17695 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17697 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17698 (gdb-memory-set-address, def-gdb-set-positive-number)
17699 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17700 after changing settings.
17701 (gdb-invalidate-disassembly): Update when first shown.
17702 (gdb-edit-locals-value): Fixed.
17703 (gdb-registers-handler-custom): Print registers in right order and
17704 allow changing register values (only for current thread yet).
17705 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17706 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17707 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17708 (gdb-locals-handler-custom, gdb-registers-handler-custom):
17709 Thread info in mode name.
17710 (gdb-registers-mode-map): TAB to switch to locals.
17712 2009-08-08 Eli Zaretskii <eliz@gnu.org>
17714 * mail/rmail.el (rmail-add-mbox-headers)
17715 (rmail-set-message-counters-counter): Search for
17716 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
17718 2009-08-08 Glenn Morris <rgm@gnu.org>
17720 * Makefile.in (ELCFILES): Update.
17722 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17724 * mail/sendmail.el (mail-yank-original):
17725 Set buffer-file-coding-system from the one used by the message whose
17728 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17729 to "windows" when "pgnuplot" is used.
17730 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
17731 Don't call accept-process-output if "pgnuplot" is used.
17732 (calc-graph-init): Don't send -display and -geometry to
17733 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17734 running "pgnuplot -V" with shell-command-to-string.
17736 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17739 2009-08-07 Eli Zaretskii <eliz@gnu.org>
17741 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17744 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
17746 * vc-dispatcher.el (vc-resynch-window): Update comment.
17748 * term.el (term-handle-ansi-escape): Add comments with the
17749 terminfo capabilities implemented.
17751 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
17753 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17754 (gdb-var-create-handler): Rewritten using JSON parser.
17755 (gdb-propertize-header): Moved earlier.
17756 (gdb-set-header): Removed to avoid duplication.
17757 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17758 Refresh disassembly buffers only after threads list have been
17760 (gdb-threads-header, gdb-registers-header): Per-buffer header line
17763 2009-08-04 Juri Linkov <juri@jurta.org>
17765 * files.el: Commands to add/delete file/directory-local variables.
17766 (read-file-local-variable, read-file-local-variable-value)
17767 (read-file-local-variable-mode, modify-file-local-variable)
17768 (modify-file-local-variable-prop-line)
17769 (modify-dir-local-variable): New functions.
17770 (add-file-local-variable, delete-file-local-variable)
17771 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17772 (add-dir-local-variable, delete-dir-local-variable)
17773 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17774 (copy-dir-locals-to-file-locals-prop-line): New commands.
17776 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
17778 * abbrev.el (insert-abbrev-table-description): Prettify output.
17779 Suggested by Karl Chen.
17781 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
17783 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17784 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17785 (gdb-overlay-arrow-position, gdb-thread-position)
17786 (gdb-disassembly-position): Declare variables.
17787 (gdb-wait-for-pending): Function now.
17788 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17789 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17790 compilation goes smoothly.
17791 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17792 (gdb-non-stop-setting): New customization setting which replaces
17793 `gdb-non-stop' so changing it doesn't break active GDB session.
17794 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17795 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17796 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17797 (gdb-show-threads-by-default): New customization options.
17798 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17800 (gdb-get-buffer-create): Send buffers update signal when they are
17802 (gdb-invalidate-locals, gdb-invalidate-registers)
17803 (gdb-invalidate-breakpoints)
17804 (gdb-invalidate-threads, gdb-invalidate-disassembly)
17805 (gdb-invalidate-memory): Accept update signal.
17806 (gdb-current-context-command): Use --frame option.
17807 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17808 Implement `gdb-frame-number' selection logic.
17809 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17810 whether to show GUD toolbar buttons.
17811 (gdb-thread-exited): Unselect current thread when it exits.
17812 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17813 (gdb-mark-line): Routine which sets overlay arrow or inverses
17814 video on fringeless displays.
17815 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17816 to build aligned columns of data in GDB buffers and set text
17817 properties line-by-line.
17818 (gdb-invalidate-breakpoints)
17819 (gdb-breakpoints-list-handler-custom)
17820 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17821 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17822 (gdb-registers-handler-custom): Align data columns.
17823 (gdb-locals-handler-custom): Now prints data like in variable
17825 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17826 Removed confusing buttons.
17827 (gdb-invalidate-threads): Append --frame.
17828 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17829 between breakpoints/threads buffers.
17830 (gdb-set-window-buffer): Now can ignore dedicated windows.
17831 (gdb-propertize-header): Use `gdb-set-window-buffer'.
17832 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17833 (def-gdb-thread-buffer-gud-command): Replaces
17834 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17835 for fine thread control.
17836 (gdb-preempt-existing-or-display-buffer): New function used to
17837 display bound buffers without breaking window layout.
17838 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17839 (gdb-select-frame): New version of `gdb-frames-select' which now
17840 sets `gdb-frame-number' so commands may use --frame option instead
17841 of inner debugger state.
17842 (gdb-frame-handler): Do not set `gdb-frame-number'.
17843 (gdb-threads-mode-map): Select threads with mouse.
17845 * progmodes/gud.el (gdb-gud-context-call): Declare function to
17846 avoid compilation warning.
17847 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17850 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17851 Argument `key' renamed to `buffer-type'.
17852 (gdb-current-context-buffer-name): Do not add thread info to
17853 buffer name when no thread is selected.
17854 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17855 command (bug 3794).
17856 (gdb-thread-selected): Handle `=thread-selected' notification.
17857 (gdb-wait-for-pending): New macro to deal with congestion problems.
17858 (gdb-breakpoints-list-handler-custom): Don't fail on pending
17860 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17861 This fixes problem similar to one described in bug 3947.
17862 (gud-menu-map): More menu items.
17863 (gdb-init-1): Reset `gdb-thread-number' to nil.
17865 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17868 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17869 (gdb-current-context-command): Do not append --thread if
17870 `gdb-thread-number' is nil.
17871 (gdb-running-threads-count, gdb-stopped-threads-count):
17873 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17874 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
17875 New customization options.
17876 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17878 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17879 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17880 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17881 set `gdb-thread-number' and update `gud-running' properly.
17882 (gdb-running): Update threads list when new threads appear.
17883 (gdb-stopped): Support non-stop operation and new thread switching
17885 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17886 (gdb-json-partial-output): New set of JSON routines.
17887 (def-gdb-auto-update-trigger): New `signal-list' optional
17889 (gdb-thread-list-handler-custom): Update `gud-running',
17890 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17891 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17892 (gdb-continue-thread, gdb-step-thread): New commands for fine
17893 thread execution control.
17894 (gud-menu-map): New menu items to switch non-stop options.
17895 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17896 (gdb-send): Mimic RET properly (bug 3794).
17898 * progmodes/gdb-mi.el (gdb-rules-name-maker)
17899 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17901 (def-gdb-auto-update-handler): New nopreserve optional argument.
17902 (gdb-stack-list-frames-custom): Print stack from top to bottom.
17904 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17905 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17906 (gdb-parent-mode): New mode to derive other GDB modes from.
17907 (gdb-display-disassembly-for-thread)
17908 (gdb-frame-disassembly-for-thread): New commands for threads
17911 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17912 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17913 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17914 (gdb-update): We now store all GDB buffers in a list so that they
17915 can be updated by traversing a list instead of calling invalidate
17916 triggers explicitly.
17917 (def-gdb-trigger-and-handler): New macro to define trigger-handler
17918 pair for GDB buffer.
17919 (gdb-stack-buffer-name): Add thread information.
17920 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17921 handle pending triggers.
17922 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17923 (def-gdb-thread-buffer-simple-command)
17924 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17925 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17926 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17927 New commands which show buffers bound to thread.
17928 (gdb-stack-list-locals-regexp): Removed unused regexp.
17930 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17931 (gdb-locals-buffer-name, gdb-registers-buffer-name)
17932 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17933 to (gud-comint-buffer) in *-buffer-name functions
17934 because (gdb-get-target-string) already does that.
17935 (gdb-locals-handler-custom, gdb-registers-handler-custom)
17936 (gdb-changed-registers-handler): Rewritten without regexps.
17938 * progmodes/gdb-mi.el: Basic thread selection support.
17939 (gdb-thread-number): New variable.
17940 (gdb-current-context-command): New macro which adds --thread
17942 (gdb-threads-mode-map): Select thread with SPC.
17943 (gdb-thread-list-handler-custom): Mark current thread with overlay
17944 arrow. Synchronize GDB thread and Emacs thread.
17945 (gdb-select-thread): New command which selects current thread.
17946 (gdb-invalidate-frames, gdb-invalidate-locals)
17947 (gdb-invalidate-registers): Use --thread option.
17949 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
17951 * net/tramp.el (top): Make check for tramp-gvfs loading more
17953 (tramp-handle-insert-file-contents): `unwind-protect' must be
17954 inside `with-parsed-tramp-file-name'.
17956 * net/tramp-gvfs.el (top): Remove superfluous message when loading
17959 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
17961 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17962 directory if CLASSPATH is not set.
17964 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
17966 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17968 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
17970 2009-08-02 Kevin Ryde <user42@zip.com.au>
17972 * net/newst-backend.el (newsticker--raw-url-list-defaults):
17973 Update freshmeat link. Delete newsforge.com as it seems gone.
17975 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17977 * select.el (x-set-selection): Doc fix (Bug#4021).
17979 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17981 * help-fns.el (describe-variable): Treat list return values from
17982 dir-locals-find-file properly (Bug#4005).
17984 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
17986 * net/tramp.el (tramp-debug-message): Print also microseconds.
17988 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
17990 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17992 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17993 (tramp-get-debug-buffer): Change `outline-regexp' according to new
17996 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17997 (tramp-get-file-property): Use it.
17999 * autorevert.el (auto-revert-handler):
18000 Allow `auto-revert-tail-mode' for remote files.
18002 2009-08-02 Jason Rumney <jasonr@gnu.org>
18004 * minibuffer.el (read-file-name): Treat confirm options to
18005 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18007 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18009 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18010 (font-lock-variable-name-face, font-lock-constant-face):
18011 Darken the colors for light backgrounds.
18013 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18015 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18016 month names. (Bug#3987)
18018 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18020 * simple.el (line-move-finish): Pass whole number to
18021 line-move-to-column.
18022 (line-move-visual): Perform hscroll to the recorded position.
18024 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18026 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18028 2009-07-29 Alan Mackenzie <acm@muc.de>
18030 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18032 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18034 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18035 (gdb-place-breakpoints): Use full path when setting breakpoints.
18037 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18039 * calc/calc.el (calc-mode-map): Add keybinding for
18040 `calc-transpose-lines'.
18042 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18044 * calc/calc-misc.el (calc-transpose-lines): New function.
18046 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18048 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18049 Simplify check for out-of-band methods.
18050 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18051 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18053 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18055 * vc-git.el (vc-git-checkin): Fix typo.
18057 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18059 * progmodes/js2-mode.el: New file.
18061 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18063 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18064 (gud-menu-map): Adjust tooltip accordingly.
18066 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18068 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18069 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18071 * add-log.el (change-log-mode-map): Add a menu.
18073 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18075 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18076 function returns nil.
18077 (dbus-handle-event): Handle special return value :ignore.
18078 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18080 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18082 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18085 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18089 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18091 * term/pc-win.el (x-display-name, x-colors)
18092 (x-select-enable-clipboard, x-select-text): Doc fix.
18094 * term/common-win.el (x-display-name, x-colors): Doc fix.
18096 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18097 (xw-defined-colors): Doc fix.
18099 * w32-fns.el (x-select-text, x-setup-function-keys)
18100 (x-get-selection, x-set-selection): Doc fix.
18102 * term/x-win.el (x-select-text, x-setup-function-keys)
18103 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18105 * select.el (x-set-selection): Doc fix.
18107 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18109 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18110 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18111 "IsNSSSupportAvailable" method is not available.
18112 Reported by Steve Youngs <steve@sxemacs.org>.
18114 2009-07-24 Kenichi Handa <handa@m17n.org>
18116 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18117 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18118 (build-unicode-category-table): Fix range checks.
18120 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18122 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18123 the buffer we try to sync is current when calling
18126 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18127 not show up to date files.
18129 2009-07-24 Glenn Morris <rgm@gnu.org>
18131 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18132 Add autoload cookies. If necessary, initialize.
18133 (elint-log): Handle non-file buffers.
18134 (elint-initialize): Add optional argument to reinitialize.
18135 (elint-find-builtin-variables): Save excursion.
18137 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18139 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18142 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18144 * vc.el (vc-print-log-internal): New function, split out from ...
18145 (vc-print-log): ... here.
18146 (vc-dir-move-to-goal-column): Declare.
18148 * vc-git.el (vc-git-add-signoff): New variable.
18149 (vc-git-checkin): Use it.
18150 (vc-git-toggle-signoff): New function.
18151 (vc-git-extra-menu-map): Bind it to menu.
18152 (vc-git--run-command-string): Accept a nil FILE argument.
18153 (vc-git-stash-list): New function.
18154 (vc-git-dir-extra-headers): Use it.
18156 2009-07-23 Glenn Morris <rgm@gnu.org>
18158 * help-fns.el (describe-variable): Describe ignored and risky local
18159 variables in a similar way to that in which we describe safe ones.
18161 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18162 (byte-compile-output-file-form, byte-compile-output-docform)
18163 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18164 Give some more local variables with common names a "bytecomp-" prefix,
18165 so as not to shadow things during compilation.
18166 * emacs-lisp/cl-macs.el (load-time-value)
18167 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18168 `outbuffer' to `bytecomp-outbuffer'.
18170 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18171 since the next two variables cover them automatically now.
18172 (elint-builtin-variables, elint-autoloaded-variables): New.
18173 (elint-unknown-builtin-args): Remove all members, since they can be
18174 parsed automatically now.
18175 (elint-extra-errors): New.
18176 (elint-env-add-env, elint-env-add-macro): Use cadr.
18177 (elint-current-buffer): Use or. Change final message.
18178 (elint-get-top-forms): Use line-end-position.
18179 (elint-init-env): Use cadr. Handle autoload, declare-function,
18181 (elint-add-required-env): Doc fix. Use or. Standardize error.
18182 (regexp-assoc): Remove unused function.
18183 (elint-top-form): Set elint-current-pos, to record the start of the
18184 top-level form, for compilation-mode.
18185 (elint-form): Trap errors in macro expansion. Use dolist.
18186 (elint-unbound-variable): Use elint-builtin-variables and
18187 elint-autoloaded-variables.
18188 (elint-get-args): Use cadr, or.
18189 (elint-check-cond-form): Use dolist, cadr.
18190 (elint-check-condition-case-form): Doc fix. Use cadr.
18191 Use elint-extra-errors.
18192 (elint-log): New function.
18193 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18194 Distinguish errors and warnings.
18195 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18196 Use a bytecomp-style format.
18197 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18198 (elint-get-log-buffer): Use compilation mode. Disable undo.
18199 Don't truncate lines.
18200 (elint-initialize): Set builtin and autoloaded variable lists.
18201 Only process elint-unknown-builtin-args if non-nil.
18202 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18204 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18206 2009-07-22 Kevin Ryde <user42@zip.com.au>
18208 * net/newst-backend.el (newsticker--parse-atom-1.0)
18209 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18210 (newsticker--parse-rss-1.0):
18211 * progmodes/idlwave.el (idlwave-mode):
18212 * progmodes/idlw-shell.el (idlwave-shell-mode):
18213 * progmodes/vera-mode.el (vera-mode):
18214 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18215 * progmodes/vhdl-mode.el (vhdl-mode):
18216 * textmodes/table.el (table-generate-source)
18217 (table--warn-incompatibility):
18218 Hyperlink urls in docstrings with URL `...'.
18220 2009-07-22 Glenn Morris <rgm@gnu.org>
18222 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18223 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18224 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18225 Remove leading * from defcustom docs.
18227 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18229 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18231 (list-load-path-shadows): Optionally, just return shadows as a string.
18233 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18235 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18237 * mail/rmailedit.el (rmail-edit-mode):
18238 Use auto-save-include-big-deletions.
18240 * mail/rmail.el (rmail-variables):
18241 Use auto-save-include-big-deletions.
18243 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18246 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18248 * calc/calc.el (calc-undo-length): New variable.
18249 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18251 2009-07-21 Richard Stallman <rms@gnu.org>
18253 * files.el (auto-save-mode): Handle buffer-save-size = -2
18256 2009-07-21 Glenn Morris <rgm@gnu.org>
18258 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18260 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18262 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18263 silence compiler. Instead...
18264 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18265 (ps-print-ensure-fontified): Update for above function name changes.
18267 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18268 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18269 silence compiler. Instead...
18270 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18271 (mh-show-buffer): Only define for compiler.
18272 (pr-mh-current-message): Update for above function name changes.
18274 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18276 (find-file-noselect, insert-file-1): Update for above change.
18278 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18280 * mail/mailclient.el (mailclient-send-it): Fix message.
18282 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18283 (edebug-eval): Check cl-debug-env is bound.
18284 (print-level, print-circle): Don't redefine built-in variables.
18286 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18287 (custom-print-vectors): Remove old comments from doc.
18289 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18290 (emerge-version): Make the variable an obsolete alias for the
18291 emacs-version variable. Make the function obsolete.
18292 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18293 Emerge options, rather than merging in into the main Options menu.
18294 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18295 and auto advance modes. Disable edit/fast items when not relevant.
18297 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18299 * term/vt420.el (terminal-init-vt420): Fix typo.
18301 2009-07-20 Sam Steingold <sds@gnu.org>
18303 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18304 variable (removed from compile.el on 2004-03-11).
18306 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18308 * files.el (hack-local-variables-filter): Fix last change.
18310 2009-07-19 Juri Linkov <juri@jurta.org>
18312 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18313 (dir-local-variables-alist): New buffer-local variable.
18314 (hack-local-variables-filter): If variable is not dir-local,
18315 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18316 because file-local overrides dir-local.
18317 (c-postprocess-file-styles) <declare-function>:
18318 Remove obsolete declaration.
18319 (hack-dir-local-variables): Add dir-local variable/value pair to
18320 `dir-local-variables-alist' and remove duplicates. Doc fix.
18322 * help-fns.el (describe-variable): Add information about
18323 file-local and dir-local variables.
18325 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18327 * files.el (hack-local-variables-filter): Rewrite.
18329 2009-07-19 Glenn Morris <rgm@gnu.org>
18331 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18332 Silence compiler by only defining on XEmacs.
18334 * international/mule.el (auto-coding-regexp-alist): Only match
18335 BABYL... at the start of buffer, not of lines. (Bug#3790)
18337 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18338 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18339 (cal-menu-context-mouse-menu): Doc fix.
18341 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18343 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18345 2009-07-18 Juri Linkov <juri@jurta.org>
18347 * info.el: Virtual Info keyword finder.
18348 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18349 (Info-finder-file): New variable.
18350 (Info-finder-find-file): New function.
18351 (finder-known-keywords, finder-package-info)
18352 (find-library-name, lm-commentary): Use defvar and
18353 declare-function to silence compiler warnings.
18354 (Info-finder-find-node): New function.
18355 (info-finder): New command.
18357 * subr.el (process-kill-buffer-query-function): New function.
18358 (add-hook)<kill-buffer-query-functions>: Add hook
18359 `process-kill-buffer-query-function'.
18361 2009-07-18 Alan Mackenzie <acm@muc.de>
18363 * progmodes/cc-mode.el (c-before-hack-hook)
18364 (c-postprocess-file-styles): Give invocation of `c-set-style'
18365 DONT-OVERRIDE parameter of t. Already set style variables will
18366 thus not be overridden by style settings given by `c-file-syle'.
18368 * files.el (hack-local-variables-filter): Remove entries with
18369 duplicate keys from `file-local-variables-alist'.
18371 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18373 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18374 x-set-selection if display-selections-p returns nil for the
18377 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18379 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18381 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18383 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18384 Accept nil in addition to a regexp.
18385 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18386 Accept nil in addition to a regexp.
18387 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18388 buffers that have an associated file. Handle nil values of
18389 desktop-buffers-not-to-save and desktop-files-not-to-save.
18392 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18393 (x-disown-selection-internal): New functions.
18395 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18397 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18399 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18400 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18402 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18404 * simple.el (set-mark): Revert last change.
18406 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18408 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18409 rendering of pngs is not possible instead of messaging a long
18412 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18414 * w32-fns.el (x-selection-owner-p): New function.
18416 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18417 (mouse-yank-at-click, mouse-yank-primary):
18418 If select-active-regions is non-nil, deactivate the mark before
18421 * simple.el (deactivate-mark, set-mark): Only save selection if we
18424 2009-07-17 Kenichi Handa <handa@m17n.org>
18426 * case-table.el (describe-buffer-case-table): Fix for the case
18427 that KEY is a cons.
18429 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18431 * vc-rcs.el (vc-rcs-find-file-hook):
18432 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18434 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18436 * net/tramp.el (tramp-wait-for-output): Handle the case when
18437 commands do not return a newline but a null byte before the shell
18440 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18442 * term/ns-win.el (ns-set-alpha): Don't declare.
18443 (ns-set-background-alpha): Remove function.
18445 2009-07-16 Kevin Ryde <user42@zip.com.au>
18447 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18448 y-or-n-p, for safety.
18450 2009-07-16 Richard Stallman <rms@gnu.org>
18452 * files.el (auto-save-mode): If buffer-saved-size is -2,
18455 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18456 (rmail-retry-ignored-headers): Add more uninteresting fields.
18458 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18460 * net/rcirc.el (rcirc): Use history variables.
18461 (rcirc-server-name-history, rcirc-nick-name-history)
18462 (rcirc-server-port-history): New variables.
18464 2009-07-15 Kenichi Handa <handa@m17n.org>
18466 * international/mule-cmds.el (set-language-environment-charset):
18467 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18470 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18471 Delete unibyte-display.
18473 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18475 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18477 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18479 * simple.el (deactivate-mark): Optional argument FORCE.
18480 (set-mark): Use deactivate-mark.
18482 * info.el (Info-search): No need to check transient-mark-mode
18483 before calling deactivate-mark.
18485 * select.el (x-set-selection): Doc fix.
18486 (x-valid-simple-selection-p): Allow buffer values.
18487 (xselect--selection-bounds): Handle buffer values.
18488 Suggested by David De La Harpe Golden.
18490 * mouse.el (mouse-set-region, mouse-drag-track):
18491 Call copy-region-as-kill before setting the mark, to let
18492 select-active-regions work.
18494 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18496 * simple.el (deactivate-mark): If select-active-regions is
18497 non-nil, copy the selection data into a string.
18498 (activate-mark): If select-active-regions is non-nil, set the
18499 selection to the current buffer.
18500 (set-mark): Update selection if select-active-regions is non-nil.
18502 * select.el (x-valid-simple-selection-p): Allow buffer values.
18504 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18506 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18507 and more featureful message-mode.
18509 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18511 * select.el (x-set-selection): Doc fix.
18512 (x-valid-simple-selection-p): Disallow selection data consisting
18513 of a list or cons of integers, since that is not used.
18514 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18515 (xselect-convert-to-string, xselect-convert-to-length)
18516 (xselect-convert-to-filename, xselect-convert-to-charpos)
18517 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18519 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18521 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18522 output in -break-info command (Emacs bug #3794).
18524 2009-07-14 Glenn Morris <rgm@gnu.org>
18526 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18527 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18528 (edebug-print-length, edebug-print-level, edebug-print-circle)
18529 (edebug-sit-for-seconds, edebug-view-outside)
18530 (edebug-bounce-point, edebug-set-global-break-condition)
18531 (edebug-Go-nonstop-mode, edebug-trace-mode)
18532 (edebug-Trace-fast-mode, edebug-continue-mode)
18533 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18534 (edebug-visit-eval-list): Doc fixes.
18536 * subr.el (def-edebug-spec): Doc fix.
18538 2009-07-14 Kenichi Handa <handa@m17n.org>
18540 * international/characters.el: Fix setting of category ?C.
18542 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18544 * term/ns-win.el (x-select-font): defalias x-select-font to
18545 ns-popup-font-panel instead of generate-fontset-menu.
18547 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18549 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18551 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18553 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18554 the PK\003\004 header (Bug#3770).
18556 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18558 * pcomplete.el (pcomplete-comint-setup): Check for
18559 shell-dynamic-complete-filename too.
18561 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18563 * simple.el (temporary-goal-column): Change the value for
18564 line-move-visual to a cons cell.
18565 (line-move-visual): Record or set the window hscroll, if
18566 necessary (Bug#3494).
18567 (line-move-1): Handle cons value of temporary-goal-column.
18569 2009-07-11 Kenichi Handa <handa@m17n.org>
18571 * international/mule-diag.el (describe-character-set): Don't show
18574 2009-07-10 Sam Steingold <sds@gnu.org>
18576 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18577 Omake sometimes indents the errors it prints, so allow all
18578 regexps to start with spaces.
18580 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18582 * cus-edit.el (customize-changed-options-previous-release):
18583 Bump value to 22.1. (Bug#3804)
18585 2009-07-08 Sam Steingold <sds@gnu.org>
18587 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18588 to be a cons cell (test . ignored-directory) to selectively ignore
18589 some directories depending on the location of the search.
18591 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18593 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18594 remote user is root, on the local host.
18595 (tramp-local-host-p): Either the local user or the remote user
18596 must be root. (Bug#3771)
18598 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18600 * progmodes/gdb-mi.el (gdb): Remove description of
18601 gdb-use-separate-io-buffer.
18602 (menu): Don't allow toggling of or enable
18603 gdb-use-separate-io-buffer from menubar.
18605 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18607 * mail/unrmail.el (unrmail): Make sure the message ends with two
18608 newlines (Bug#3769).
18610 2009-07-08 Glenn Morris <rgm@gnu.org>
18612 * calendar/calendar.el (calendar-current-date): Rework previous change.
18614 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18616 * calendar/calendar.el (calendar-current-date):
18617 Add an optional argument giving an offset from today.
18619 2009-07-08 Glenn Morris <rgm@gnu.org>
18621 * tutorial.el (tutorial--describe-nonstandard-key):
18622 Adjust the message for when a key has been unbound.
18623 (help-with-tutorial): Hide the arch-tag.
18625 2009-07-08 Kenichi Handa <handa@m17n.org>
18627 * international/fontset.el (setup-default-fontset): For each
18628 script, append (not set) font-specs.
18630 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18633 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18635 * progmodes/gdb-mi.el (gdb-init-1): Move sending
18636 -data-list-register-names to ...
18637 (gdb-starting): ... here because GDB 7.0 requires execution to
18638 have started when using this MI command.
18639 (gdb-set-header): New function to distinguish select and
18640 unselected tabs in gdb buffers.
18641 (gdb-propertize-header): New macro that uses gdb-set-header.
18642 (gdb-breakpoints-header, gdb-locals-header): Use it.
18643 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18645 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
18647 * Makefile.in (ELCFILES): Remove fadr.elc.
18649 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
18651 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18652 may contain frame information, so `string-match' should be used.
18653 (gdb-update): Disassembly is invalidated through
18654 `gdb-get-selected-frame'.
18655 (gdb-pad-string): New function to pad string with spaces.
18656 (gdb-invalidate-disassembly): Invalidate only if the buffer
18658 (gdb-disassembly-handler-custom): Column alignment.
18659 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18661 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18663 (gdb-frame-handler): Match convention to for disassembly buffer
18665 (gdb-stack-list-frames-handler): Rewritten without regexps.
18666 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18667 not highlight breakpoints without line information.
18668 (gdb-input): Add trailing newline to command.
18670 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18672 (gdb-breakpoints-list-handler-custom): Replacement for
18673 `gdb-break-list-handler'. Using real parser instead of regexps
18675 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18676 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18677 to place breakpoints.
18678 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18680 (gdb-disassembly-handler-custom): Show overlay arrow.
18681 (gdb-disassembly-place-breakpoints): Show breakpoints in
18682 disassembly buffer.
18683 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18684 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18685 instead of parsing breakpoints buffer. Fixed old menu references
18690 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18691 (gdb-memory-address): New variable which holds top address of
18692 memory page shown in memory buffer.
18693 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
18694 New customization variables.
18696 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18697 display the memory buffer.
18698 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18699 buffer display parameters.
18700 (def-gdb-memory-format, gdb-memory-format-binary)
18701 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18702 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18703 Functions for setting memory buffer format.
18704 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18705 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18706 unit size used in memory buffer.
18707 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
18708 Switch to next/previous page of memory buffer.
18709 Now using (bindat-get-field) instead of fadr functions.
18711 2009-07-07 Sam Steingold <sds@gnu.org>
18713 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18714 non-top-level files.
18716 2009-07-07 Kenichi Handa <handa@m17n.org>
18718 * international/mule-cmds.el (reset-language-environment):
18719 Put the highset priority to the charset iso-8859-1.
18721 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18723 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18724 to the end of the line when locating the block (Bug#700).
18726 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
18728 * net/tramp.el (tramp-handle-write-region): Flush file properties
18729 in case of short track.
18731 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
18733 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18734 Coded custom representation of verilog error regular expressions
18735 to work with Emacs-22's new format.
18736 (verilog-error-regexp-xemacs-alist): Coded custom representation
18737 of verilog error regular expressions to work with XEmacs format.
18738 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18739 error recognition into XEmacs.
18740 (verilog-error-regexp-add-emacs): Hook routine to install verilog
18741 error recognition into Emacs-22.
18743 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
18745 * woman.el: Remove stand-alone closing parentheses.
18746 (woman-file-name, woman2-format-paragraphs)
18747 (woman-leave-blank-lines): Code cleanup.
18748 (woman-use-own-frame): Change default to nil.
18749 (woman-italic, woman-bold, woman-unknown, woman-addition):
18750 Change defaults to inherit from default faces.
18751 (woman2-process-escapes): Consume the newline after a stand-alone
18752 filler character (Bug#3651).
18754 2009-07-06 Glenn Morris <rgm@gnu.org>
18756 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18757 (top-level): Move provide to the end.
18758 (ffap): Remove defunct URL from custom group.
18760 * subr.el (eval-after-load): Doc fix.
18762 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
18764 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18765 `calc-embedded-word' is called twice.
18767 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18769 * files.el (find-alternate-file-other-window, find-alternate-file):
18770 Obey confirm-nonexistent-file-or-buffer.
18772 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
18774 * dired-aux.el (dired-show-file-type): Handle remote files.
18776 2009-07-05 Jari Aalto <jari.aalto@cante.net>
18778 * desktop.el (desktop-globals-to-save):
18779 Add file-name-history (Bug#2750).
18781 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
18783 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18785 2009-07-04 Johan Bockgård <bojohan@gnu.org>
18787 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18788 property on entire argument since this is what eshell-lisp-command
18791 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
18793 * net/tramp-gvfs.el (tramp-gvfs-methods)
18794 (tramp-gvfs-zeroconf-domain)
18795 (tramp-bluez-discover-devices-timeout): Add version flag.
18796 (tramp-gvfs-handler-mounted-unmounted)
18797 (tramp-gvfs-connection-mounted-p): Polish handling of
18798 incompatibilities between GVFS 0.2 and 1.0.
18800 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
18802 * cus-start.el (all): Add make-pointer-invisible.
18804 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
18806 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18807 formatted correctly.
18809 2009-07-02 Juri Linkov <juri@jurta.org>
18811 * info.el: Virtual Info files and nodes.
18812 (Info-virtual-files, Info-virtual-nodes): New variables.
18813 (Info-current-node-virtual): New variable.
18814 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18816 (Info-file-supports-index-cookies): Use Info-virtual-file-p
18817 to check for a virtual file instead of checking a fixed list
18819 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18820 instead of ad-hoc processing of "dir" and (apropos history toc).
18821 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18822 instead of ad-hoc processing of "dir" and (apropos history toc).
18823 Reread a file when moving from a virtual node.
18824 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18825 (Info-directory-toc-nodes, Info-directory-find-file)
18826 (Info-directory-find-node): New functions.
18827 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18828 (Info-history): Move part of code to
18829 `Info-history-find-node'.
18830 (Info-history-toc-nodes, Info-history-find-file)
18831 (Info-history-find-node): New functions.
18832 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18833 (Info-toc): Move part of code to `Info-toc-find-node'.
18834 (Info-toc-find-node): New function.
18835 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
18836 the current Info file name to references because now the node
18837 "*TOC*" belongs to the same Info manual.
18838 (Info-toc-build): Rename from `Info-build-toc'.
18839 (Info-toc-nodes): Rename input argument `file' to `filename'.
18840 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18841 instead of ad-hoc processing of ("dir" apropos history toc).
18842 (Info-index-nodes): Use Info-virtual-file-p
18843 to check for a virtual file instead of checking a fixed list
18845 (Info-index-node): Add check for `Info-current-node-virtual'.
18846 Raise `save-match-data' higher up the tree to contain
18847 `search-forward' too (bug fix).
18848 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18849 (Info-virtual-index-nodes): New variable.
18850 (Info-virtual-index-find-node, Info-virtual-index): New functions.
18851 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18852 (Info-apropos-file, Info-apropos-nodes): New variables.
18853 (Info-apropos-toc-nodes, Info-apropos-find-file)
18854 (Info-apropos-find-node, Info-apropos-matches): New functions.
18855 (info-apropos): Move part of code to `Info-apropos-find-node' and
18856 `Info-apropos-matches'.
18857 (Info-mode-map): Bind "I" to `Info-virtual-index'.
18858 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18859 for a virtual file instead of checking a fixed list of node names.
18861 * simple.el (async-shell-command): New command.
18863 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18865 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18866 instead of `mount-info'.
18868 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
18870 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18871 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18873 2009-07-02 Kenichi Handa <handa@m17n.org>
18875 * international/mule.el (set-keyboard-coding-system): Force *-unix
18876 coding-system to avoid eol conversion.
18878 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
18880 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18881 Add handler for `process-file', `shell-command' and
18882 `start-file-process'.
18883 (tramp-gvfs-handle-shell-command)
18884 (tramp-gvfs-handle-start-file-process)
18885 (tramp-gvfs-handle-process-file): New defuns.
18886 (tramp-synce-list-devices): Simplify check for existence of property.
18888 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
18890 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18892 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
18894 * language/korean.el (set-language-info-alist): Add korean-cp949,
18897 2009-07-01 Kenichi Handa <handa@m17n.org>
18899 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18901 * international/encoded-kb.el: Deleted.
18903 * international/mule.el (set-keyboard-coding-system): Perform the
18904 necessary setup here instead of calling encoded-kbd-setup-display.
18906 2009-07-01 Glenn Morris <rgm@gnu.org>
18908 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18910 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
18912 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
18914 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
18916 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18917 Handle also the 'rename case, when setting file modes. (Bug#3712)
18918 (tramp-default-file-modes): Remove execute permissions.
18920 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18921 (top): Add a default for "synce" in `tramp-default-user-alist'.
18922 Add completion function for "synce" method.
18923 (tramp-hal-service, tramp-hal-path-manager)
18924 (tramp-hal-interface-manager, tramp-hal-interface-device):
18926 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18927 (tramp-synce-list-devices, tramp-synce-parse-device-names):
18930 * net/trampver.el: Update release number.
18932 2009-06-30 Kenichi Handa <handa@m17n.org>
18934 * international/fontset.el (setup-default-fontset): Add CJK fonts
18935 for symbols and the other miscellaneous characters.
18937 * language/korea-util.el (setup-korean-environment-internal):
18938 Make char-width-table suitable for Korean environments.
18939 (exit-korean-environment): Cancel above.
18941 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18942 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18943 setup-function to make char-width-table suitable for respective
18944 environments, and an exit-function to cancel that.
18946 * language/japan-util.el (setup-japanese-environment-internal):
18947 Call use-cjk-char-width-table with arg `ja_JP'.
18949 * international/characters.el (cjk-char-width-table): Delete it.
18950 (cjk-char-width-table-list): New variable.
18951 (use-cjk-char-width-table): New arg local-name.
18952 (use-default-char-width-table): Fix for the case that Emacs is
18953 already using the default char-width-table.
18955 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
18957 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18958 modes mandatory. (Bug#3712)
18960 2009-06-29 Alan Mackenzie <acm@muc.de>
18962 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18963 correction between the visible width of TABs and their number of bytes.
18965 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
18967 * server.el (server-buffer-done): Prevent kill-buffer from
18968 prompting by clearing the buffer modification flag (Bug#3696).
18970 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
18972 * progmodes/verilog-mode.el (verilog-beg-of-statement)
18973 (verilog-endcomment-reason-re): Support unique case and priority case.
18974 (verilog-basic-complete-re): Support localparam lineup.
18975 (verilog-beg-of-statement-1): Fix for robustness, unique case.
18976 (verilog-set-auto-endcomments): Fix for unique case, always_comb
18978 (verilog-leap-to-case-head): Now support *nested* unique &
18979 priority case statements.
18980 (verilog-auto-lineup): Make just declarations the default (as it
18982 (verilog-leap-to-case-head): Support priority/unique case statements.
18983 (verilog-auto-lineup): Rework to give users radio buttons to
18984 select the various styles of automatic lineup.
18985 (verilog-error-regexp-alist): Rework to support the XEmacs style
18986 of error regular expressions from compilers, lint tools &
18987 simulators. Note that GNU Emacs has made it impossible for a mode
18988 to load such things.
18989 (electric-verilog-terminate-line, verilog-indent-declaration)
18990 (verilog-auto-wiure): Rework for radio button selection of
18991 auto-lineup selection of specification of auto lineup.
18992 (verilog-beg-of-statement-1): Redesign to support proper operation
18993 in additional code, based on testing with auto-lineup.
18994 (verilog-calculate-indent, assignments & declarations)
18995 (verilog-backward-token): Enhance to support auto-lineup of
18996 assignments & declarations.
18997 (verilog-in-directive-p, verilog-at-struct-p): New function for
18998 easy test of whether we are.
18999 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19000 to support safe execution at almost anyline.
19001 (verilog-calc-1): Properly support indenting deep inside generate
19003 (verilog-init-font): Remove definition & use of verilog-init-font,
19004 as it is redundant with font-lock-defaults.
19005 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19006 to avoid circular calls if syntax-ppss is a function (as is the
19007 case now in 22.x GNU Emacs) as that function would sometimes call
19008 itself, leading to (nearly) infinite recursion.
19009 (verilog-ovm-begin-re, verilog-ovm-end-re)
19010 (verilog-ovm-statement-re, verilog-leap-to-head)
19011 (verilog-backward-token): Add support for OVM macros. Some are
19012 complete statements, and others open and close scopes like begin
19014 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19015 (verilog-defun-level-generate-only-re): Really fix the defun-list
19017 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19018 coverpoint, constraint and cross statements.
19019 (verilog-defun-level-list, verilog-generate-defun-level-list)
19020 (verilog-all-defun-level-list): Redo these specifications - it is
19021 too hard to support eval-when compile aggregation of lists also
19022 built at when-compile time.
19023 (verilog-defun-level-list): Place defconsts of variables used in
19024 building regular expressions which are built in eval-when-compile
19025 bodies in the same eval-when-compile body to facilitate compile
19027 (verilog-beg-block-re-ordered): Support indenting
19028 virtual/protected tasks and functions.
19029 (verilog-defun-level-list, verilog-in-generate-region-p)
19030 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19031 indentation of some module items (generate items).
19032 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19033 across virtual/protected tasks and functions.
19035 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19037 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19038 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19039 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19040 in concatenations. Reported by Yishay Belkind.
19041 (verilog-auto-ascii-enum): Support one-hot state machines in
19042 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19043 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19044 modport in AUTOINST and add vl-modport for users.
19045 Reported by David Rogoff.
19046 (verilog-auto-inout-module, verilog-auto-inst)
19047 (verilog-decls-get-interfaces, verilog-insert-definition)
19048 (verilog-insert-one-definition, verilog-read-decls)
19049 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19050 (verilog-sig-modport, verilog-signals-combine-bus)
19051 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19052 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19053 Suggested by David Rogoff.
19054 (verilog-repair-open-comma): Fix non-insertion of comma when
19055 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19056 (verilog-make-width-expression): Simplify [A-1:0] expression
19057 widths to just {A{1'b0}}.
19058 (verilog-mode): Cleanup checkdoc warnings.
19059 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19060 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19061 inputs/outputs or data type. Suggested by Vasu Kandadi.
19062 (next-error-last-buffer): Fix byte-compiler warning.
19063 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19064 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19065 or shell command text during AUTO expansion. Suggested by Tad Truex.
19066 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19067 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19068 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19069 in AUTOINOUT. Reported by Matthew Lovell.
19070 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19071 causing use of <= assignments. Reported by Alex Reed.
19072 (verilog-read-decls): Fix triand, trior, wand, wor to be
19073 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19074 (verilog-extended-complete-re): Support import "DPI-C" functions.
19075 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19076 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19077 (verilog-insert-date, verilog-insert-year)
19078 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19079 Windows systems. Reported by Michael Potts.
19080 (verilog-read-module-name): Fix AUTOINST when the child module
19081 declaration's name is a tick define. Reported by Elliot Mednick.
19082 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19083 passed to next parameter's definition. Reported by Bruce T.
19084 (verilog-read-decls): Fix detecting "parameter int" when using
19085 AUTOINSTPARAM. Reported by Bruce T.
19086 (verilog-goto-defun): Fix goto not finding modules unless first
19087 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19088 (verilog-mode): Expand -f flag arguments on entry to mode so
19089 verilog-goto-defun will work. Reported by Lawrence Butcher.
19090 (verilog-getopt): Expand environment variables in -f file
19091 arguments. Suggested by Lawrence Butcher.
19092 (verilog-set-define): Fix "Symbol's value as variable is void"
19093 when reading enumerations.
19094 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19095 Suggested by Stephen Peltan.
19096 (verilog-read-defines): Fix reading of enumerations in include
19097 files. Reported by Steve Peltan.
19099 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19101 * files.el (trash-directory): Fix defcustom type.
19103 2009-06-28 Juri Linkov <juri@jurta.org>
19105 * help-fns.el (describe-function-1): Correctly locate adviced
19106 functions in hyperlink (Bug#2438).
19108 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19110 * files.el (trash-directory): Change default to nil.
19111 (move-file-to-trash): If trash-directory is nil and
19112 system-move-file-to-trash is unbound, perform freedesktop-style
19115 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19117 * files.el (move-file-to-trash): Add freedesktop trash
19120 2009-06-28 Glenn Morris <rgm@gnu.org>
19122 * autorevert.el (global-auto-revert-non-file-buffers)
19123 (global-auto-revert-mode): Doc fixes.
19125 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19127 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19129 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19131 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19132 opened an X connection before calling x-get-resource (Bug#3194).
19134 * play/doctor.el: Remove reference to obsolete website.
19135 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19137 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19139 Remove find-file-not-found-hook VC method. (Bug#2757)
19140 * vc-hooks.el (vc-file-not-found-hook)
19141 (vc-default-find-file-not-found-hook): Remove functions.
19142 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19143 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19146 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19148 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19150 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19151 compatibility function for `looking-back'.
19153 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19154 Use `ispell-looking-back'.
19156 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19158 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19159 rather than `filename'.
19161 2009-06-23 Miles Bader <miles@gnu.org>
19163 * face-remap.el (text-scale-set): New function.
19165 2009-06-23 Glenn Morris <rgm@gnu.org>
19167 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19169 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19171 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19173 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19175 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19176 Simplify Persian conditionals.
19178 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19179 variable `filename'.
19181 * comint.el (comint-insert-input): Doc fix.
19183 * Makefile.in (ELCFILES): Fix typo in previous change.
19185 2009-06-23 Miles Bader <miles@gnu.org>
19187 * cus-start.el: Add entry for `recenter-redisplay'.
19189 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19191 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19192 Add an optional argument for the backend, use it instead of
19193 calling vc-backend.
19194 (vc-mode-line): Add an optional argument for the backend.
19195 Pass the backend to vc-state and vc-working-revision. Move code for
19196 special handling for vc-state being a buffer to ...
19198 * vc-rcs.el (vc-rcs-find-file-hook):
19199 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19201 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19202 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19203 vc-stay-local-p and vc-mode-line calls.
19205 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19206 (vc-cvs-diff, vc-cvs-annotate-command)
19207 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19208 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19209 vc-mode-line calls.
19211 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19213 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19214 backend when calling vc-mode-line.
19215 (vc-register): Do not create a closure for calling the vc register
19216 function, call it directly.
19218 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19220 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19221 to make it obvious item can be clicked.
19223 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19225 2009-06-23 Kenichi Handa <handa@m17n.org>
19227 * language/korea-util.el (korean-key-bindings): Change the binding
19228 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19231 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19233 Sync with Tramp 2.1.16.
19235 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19237 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19238 when a loading of a package fails. Completion function for rsync
19239 is `tramp-completion-function-alist-ssh'.
19240 (all): Replace all calls of `split-string' and
19241 `tramp-split-string' by `tramp-compat-split-string'.
19242 (tramp-default-method): Use `tramp-compat-process-running-p'.
19243 (tramp-default-proxies-alist): Allow also Lisp forms.
19244 (tramp-remote-path): Add choice "Private Directories".
19245 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19246 (tramp-domain-regexp): Allow also "-", "_" and ".".
19247 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19248 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19249 (tramp-debug-message): Insert header line in debug buffer.
19250 (tramp-handle-directory-files-and-attributes-with-stat):
19251 Care about filenames with spaces, or starting with "-".
19252 (tramp-handle-dired-uncache): New defun.
19253 (tramp-handle-insert-directory): Don't flush the directory from
19254 cache, this is handled by `dired-uncache' now.
19255 (tramp-handle-insert-file-contents): Improve error handling.
19256 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19257 Quote `tramp-end-of-output'.
19258 (tramp-action-password): Improve trace message.
19259 (tramp-check-for-regexp): Both echoes must be present, before removing.
19260 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19261 (tramp-compute-multi-hops): Eval cons cells of
19262 `tramp-default-proxies-alist'.
19263 (tramp-maybe-open-connection): Use the same command pattern for
19264 first hop and further hops.
19265 (tramp-wait-for-output): Remove handling of newlines.
19266 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19267 (tramp-split-string): Remove function. It is handled in
19270 * net/tramp-cmds.el (tramp-bug):
19271 Recommend `tramp-cleanup-all-connections' in the bug mail.
19273 * net/tramp-compat.el (tramp-compat-split-string)
19274 (tramp-compat-process-running-p): New defuns.
19276 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19277 for `dired-uncache'.
19279 * net/tramp-gvfs.el: New package.
19281 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19282 Add handler for `dired-uncache'.
19283 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19285 * net/trampver.el: Update release number. Make version check fit
19288 2009-06-22 Jim Meyering <meyering@redhat.com>
19290 Automatically handle .xz suffix (XZ-compressed files), too.
19291 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19292 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19294 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19295 Nick Roberts <nickrob@snap.net.nz>
19297 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19298 repository (http://sphinx.net.ru/hg/gdb-mi/).
19300 2009-06-22 Glenn Morris <rgm@gnu.org>
19302 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19303 `mode' and `eval' entries. (Bug#3430)
19305 * Makefile.in (ELCFILES): Add fadr.elc.
19307 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19308 differing behavior of \n and ^ in strings. (Bug#3385)
19310 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19312 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19314 (lisp-indent-function): Make it a defcustom.
19316 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19318 * progmodes/gdb-ui.el: Replace with ...
19319 * progmodes/gdb-mi.el: ... this file.
19320 * progmodes/gud.el: Modify for gdb-mi.el.
19322 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19324 * fadr.el: New file.
19326 See ChangeLog.14 for earlier changes.
19328 ;; Local Variables:
19332 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19334 This file is part of GNU Emacs.
19336 GNU Emacs is free software: you can redistribute it and/or modify
19337 it under the terms of the GNU General Public License as published by
19338 the Free Software Foundation, either version 3 of the License, or
19339 (at your option) any later version.
19341 GNU Emacs is distributed in the hope that it will be useful,
19342 but WITHOUT ANY WARRANTY; without even the implied warranty of
19343 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19344 GNU General Public License for more details.
19346 You should have received a copy of the GNU General Public License
19347 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.