]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Port features from the previous prolog.el to the new one.
[gnu-emacs] / lisp / ChangeLog
1 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Port features from the previous prolog.el to the new one.
4 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
5 (prolog-program-name, prolog-program-switches, prolog-consult-string)
6 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
7 variable and use a function to compute the value dynamically.
8 (prolog-prompt-regexp): Add regexp for GNU Prolog.
9 (prolog-continued-prompt-regexp): Remove, unused.
10 (prolog-find-value-by-system): Try and use the value of prolog-system
11 in the *prolog* buffer if it helps.
12 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
13 (prolog-zip-on): ..and check prolog-system and version here instead.
14 (prolog-inferior-self-insert-command): New command.
15 (prolog-inferior-mode-map): Use it.
16 (prolog-inferior-error-regexp-alist): New var.
17 (prolog-inferior-mode): Use it, along with compilation-shell-minor-mode.
18 (prolog-input-filter): Use derived-mode-p.
19 (prolog-inferior-guess-flavor): New function.
20 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
21 make-comint to avoid running comint-mode twice.
22 (prolog-inferior-buffer): New fun.
23 (prolog-old-process-region, prolog-old-process-file):
24 Don't call prolog-bsts here...
25 (prolog-build-prolog-command): ...do it here instead.
26 (prolog-old-process-region, prolog-old-process-file):
27 Use compilation-fake-loc and compilation-forget-errors.
28 (prolog-consult-compile-region): Use bolp.
29
30 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
31
32 * image-mode.el (image-display-size): Doc fix (Bug#7820).
33
34 2011-01-27 Sam Steingold <sds@gnu.org>
35
36 * midnight.el (clean-buffer-list-kill-never-buffer-names): Remove
37 "*server*" which is never created by emacs server.
38
39 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
40
41 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
42 there are some diff switches.
43
44 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
47 Copy change made to ruby-font-lock-syntactic-keywords.
48
49 * htmlfontify.el: Make it obey the font-lock-face text property.
50 Miscellaneous cleanup such as:
51 - Don't hide expressions after a closing paren.
52 - Move initial setq into let.
53 - Hoist common parts out of ifs.
54 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
55 (hfy-face-at): Use get-text-property instead.
56 (hfy-prop-invisible-p): Use invisible-p if available.
57 (htmlfontify-manual): Use \\[...].
58 (hfy-html-quote-regex): Use [...].
59 (hfy-combined-face-spec): Simplify.
60 (hfy-compile-face-map): Don't presume point-min==1.
61 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
62 match end of string.
63 (hfy-text-p): η-reduce.
64 (hfy-tags-for-file): Receive cache-hash directly.
65 (hfy-mark-tag-names): Adjust call.
66
67 2011-01-27 Glenn Morris <rgm@gnu.org>
68
69 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
70 (msb-after-load-hook): Remove eval-after-load wackiness.
71
72 2011-01-25 Sam Steingold <sds@gnu.org>
73
74 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
75 literal "diff" (important for windows-nt).
76
77 2011-01-25 Glenn Morris <rgm@gnu.org>
78
79 * emacs-lisp/copyright.el (copyright-at-end-flag)
80 (copyright-names-regexp): Add safety properties.
81 (copyright-year-ranges): New option.
82 (copyright-find-end): New function, split from copyright-update-year.
83 (copyright-update-year): Use copyright-find-end.
84 (copyright-fix-years): Optionally, convert years to ranges.
85 Handle years continued over comment lines.
86 Do not mess with the fill-prefix.
87 Do not call copyright-update.
88 (copyright-update-directory): Optionally, fix years rather than update.
89 Skip directories. Find files with only safe local vars.
90
91 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * files.el (file-name-non-special): Only change buffer-file-name after
94 insert-file-contents if it's `visit'ing the file (bug#7854).
95
96 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
97
98 * dired.el (dired-revert): Doc fix (Bug#7758).
99
100 * simple.el (line-move-visual): Doc fix (Bug#7594).
101
102 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
103
104 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
105 here-doc which ends with an underscore.
106 (ruby-mode-set-encoding): Skip shebang line always.
107 (ruby-mode-map): Bind C-c C-c to comment-region.
108 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
109 (ruby-forward-sexp): Stop after literal hash key labels.
110 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
111 bracket.
112
113 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
114
115 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
116 the correct buffer (Bug#7650).
117
118 2011-01-25 Glenn Morris <rgm@gnu.org>
119
120 * comint.el (comint-mode): Doc fix. (Bug#7897)
121
122 * simple.el (do-auto-fill): Give it a doc string.
123
124 * button.el (make-text-button): Doc fix. (See bug#7881)
125
126 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
129 Don't move backward, so as not to fall in an inf-loop (bug#7736).
130
131 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
132 Handle ?" and friends differently (e.g. don't use backrefs).
133
134 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
135
136 * calc/calc.el (calc-default-power-reference-level)
137 (calc-default-field-reference-level): New variables.
138 * calc/calc-units.el (math-standard-units): Add dB and Np.
139 (math-logunits): New variable.
140 (math-extract-logunits, math-logcombine, calcFunc-luplus)
141 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
142 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
143 New functions.
144 (math-find-base-units-rec): Add entry for ln(10).
145 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
146 (calc-ul-prefix-help): New function.
147 * calc/calc-ext.el (calc-init-extensions): Autoload new units
148 functions. Add keybindings for new units functions.
149
150 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
151
152 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
153 rcirc buffers. (Bug#4940)
154
155 2011-01-22 Glenn Morris <rgm@gnu.org>
156
157 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
158 split out from copyright-update-year.
159 (copyright-update): Don't mess with the GPL version if we don't own the
160 copyright. Update license regexp, and remove no longer needed
161 Esperanto stuff.
162 (copyright-fix-years): Use copyright-find-copyright.
163
164 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
165
166 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
167
168 2011-01-22 Jari Aalto <jari.aalto@cante.net>
169
170 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
171 (lm): Rename to landmark.
172 (lm-test-run): Rename to landmark-test-run.
173
174 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
175
176 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
177 "Case sensitive" menu item.
178
179 2011-01-22 Roland McGrath <roland@frob.com>
180
181 * comint.el (comint-replace-by-expanded-history-before-point): Fix
182 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
183
184 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
187
188 2011-01-22 Jari Aalto <jari.aalto@cante.net>
189
190 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
191 Assume foo(bar) is a manpage reference rather than some unquoted
192 symbol (bug#7705).
193
194 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
197 Suggested by Flo <sensorflo@gmail.com>.
198
199 2011-01-22 Glenn Morris <rgm@gnu.org>
200
201 * progmodes/compile.el (compilation-error-regexp-alist):
202 Fix custom type. (Bug#7812)
203
204 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
205
206 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
207 allout-number-siblings, in keeping with what obtained due to
208 (now-defunct) allout-keybindings-list. Ditch repeat binding to
209 (prefixed) ?i.
210 (allout-before-change-handler): Better expose spots affected by
211 undo.
212
213 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
214
215 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
216
217 2011-01-22 Phil Hagelberg <phil@evri.com>
218
219 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
220 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
221 (pcmpl-ssh-config-hosts): New function.
222 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
223 pcmpl-ssh-known-hosts.
224
225 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
226
227 * calc/calc-undo.el (calc-undo): Autoload it.
228 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
229 and autoload for `calc-undo'.
230 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
231 * calc/calc-prog.el:
232 * calc/calc-graph.el:
233 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
234
235 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
236
237 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
238 keybindings to `calc-undo'.
239
240 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
241
242 Don't mess with *temp*.
243 * obsolete/spell.el: Move from textmodes/spell.el.
244 (spell-string):
245 * term.el (term-read-input-ring):
246 * startup.el (display-startup-echo-area-message):
247 * progmodes/antlr-mode.el (antlr-directory-dependencies):
248 * comint.el (comint-read-input-ring): Use with-temp-buffer.
249 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
250 point-min==1.
251
252 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
253
254 * allout.el: (allout-institute-keymap): Use fset instead of
255 reapplying defalias.
256
257 (allout-hotspot-key-handler): Check for non-control-modified
258 bindings for hotspot characters if there are no control-modified
259 versions.
260
261 * allout.el: Summary - migrate to defining allout mode using
262 define-minor-mode instead of defun. Significantly clean-up
263 internal keymap provisions, refactoring and, in the process,
264 removing a lot of accumulated cruft.
265
266 allout-mode-map is now a keymap by virtue of being a defalias to
267 allout-mode-map-value, which contains the actual keymap structure.
268
269 (allout-mode): Use define-minor-mode rather than defun.
270 Remove now-unnecessary minor-mode setup activities from the body.
271 Specify :keymap as allout-mode-map so the minor-mode-map-alist
272 entry will be '(allout-mode . allout-mode-map) - see
273 allout-mode-map-value, below. Adjust docstring to track changes.
274 (allout-minor-mode): Remove this defalias, now that we're using
275 define-minor-mode.
276 (allout-mode-map): Set value to be 'allout-mode-map. The actual
277 keymap is allout-mode-map-value, via defalias.
278 (allout-mode-map-value): The variable holding the actual mode
279 keymap structure, by virtue of defalias from allout-mode-map.
280 (allout-compose-and-institute-keymap): Rename from
281 allout-bind-keys, and including the binding-composition
282 functionality of the former produce-allout-mode-map and
283 allout-setup-mode-map.
284 (allout-institute-keymap): Take over the "setup" part of the former
285 allout-setup-mode-map. Reassign allout-mode-map-value value and
286 update the defalias.
287 (allout-command-prefix) (allout-prefixed-keybindings)
288 (allout-unprefixed-keybindings):
289 Use allout-compose-and-institute-keymap to process the bindings.
290 (allout-unprefixed-keybindings): Remove extraneous '?' question
291 marks.
292 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
293 user can customize if they want to use that binding.
294 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
295 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
296 elided that, previously, instead of the one for \C-h.)
297 (allout-hotspot-key-handler): Remove attempt to resolve the key
298 through the literal key-string lookup on allout-keybindings-list.
299 That probably hasn't worked for a Long Time, and removal of
300 allout-keybindings-list further simplifies the keybindings
301 situation.
302 (allout-pre-command-business): Use allout-mode-map-value instead
303 of allout-mode-map.
304 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
305 the bindings if they want to use a keybinding having a trailing
306 \C-h. No deprecation needed since this feature was never in a
307 release.
308 (allout-keybindings-list): Remove. It's not been useful for a
309 while. (See allout-hotspot-key-handler changes, above.)
310 (produce-allout-mode-map): Remove. Consolidate into
311 allout-compose-and-institute-keymap.
312 (allout-mode-map-adjustments): Remove. No longer necessary with
313 removal of allout-preempt-trailing-ctrl-h.
314 (allout-setup-mode-map): Remove. Consolidate into
315 allout-compose-and-institute-keymap and allout-institute-keymap.
316
317 2011-01-20 Glenn Morris <rgm@gnu.org>
318
319 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
320
321 * simple.el (read-expression-history): Remove, it's in minibuf.c.
322
323 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
324
325 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
326
327 * files.el (find-alternate-file, basic-save-buffer)
328 (basic-save-buffer-2, revert-buffer, recover-file)
329 (kill-buffer-ask, abort-if-file-too-large)
330 (set-visited-file-name, write-file, backup-buffer)
331 (basic-save-buffer, save-some-buffers):
332 * dired-aux.el (dired-compress-file): Callers changed.
333
334 2011-01-19 Glenn Morris <rgm@gnu.org>
335
336 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
337 Also check the property status. (Bug#7861)
338
339 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
340
341 * net/tramp.el (tramp-debug-message): Extend function exclude
342 list. Use `regexp-opt'.
343
344 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
347 highlighting doesn't spill over subsequent lines.
348
349 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
350 keymap expression. Improve docstring.
351
352 * electric.el (electric-indent-post-self-insert-function):
353 Don't auto-indent for indent-to-left-margin, it's too often
354 counter-productive.
355
356 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
357
358 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
359 spaces if the frame was resized, so that the full visible buffer
360 serves as canvas for strokes.
361
362 2011-01-16 Glenn Morris <rgm@gnu.org>
363
364 * info-xref.el (info-xref-docstrings): Replace cl function.
365 Also skip directories.
366
367 2011-01-16 Kevin Ryde <user42@zip.com.au>
368
369 * info-xref.el: Version 3.
370 (info-xref-check, info-xref-check-all): Move commentary details
371 into docstrings for better visibility.
372 Use compilation-mode for the results buffer.
373 (info-xref-output, info-xref-output-error, info-xref-with-output)
374 (info-xref-filename, info-xref-in-progress):
375 New internals for this.
376 (info-xref-check-list, info-xref-check-buffer)
377 (info-xref-check-all-custom): Use those.
378 (info-xref-output-buffer): Rename from info-xref-results-buffer.
379 (info-xref-output-heading): Rename from info-xref-filename-heading.
380 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
381 (info-xref-filename-heading): Move to output managing section.
382 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
383 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
384 (info-xref-subfile-p): Move to generic section with those two.
385 (info-xref-check-node): New function split from
386 info-xref-check-buffer, shared by info-xref-docstrings.
387 (info-xref-goto-node-p): Move to a checking section with that func.
388 (info-xref-unavail): New counter.
389 (info-xref-check-node): Use it.
390 (info-xref-with-output): Show count of unavailables at end of output.
391 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
392 symlinks. Exclude .texi files. Exclude Emacs backup files.
393 (info-xref-check-all-custom): Fix quietening viper-mode and
394 gnus-registry-install -- use setq not let so as not to unbind
395 after load.
396
397 2011-01-16 Juri Linkov <juri@jurta.org>
398
399 * isearch.el (isearch-abort): Don't quit if search has
400 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
401
402 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
403
404 * files.el (backup-buffer): Make last-resort backup file in
405 .emacs.d (Bug#6953).
406
407 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
408 make it with permission 700.
409
410 2011-01-15 Kenichi Handa <handa@m17n.org>
411
412 * mail/rmailmm.el (rmail-mime-insert-header):
413 Set rmail-mime-coding-system to a cons whose car is the last coding
414 system used to decode the header.
415 (rmail-mime-find-header-encoding): New function.
416 (rmail-mime-insert-decoded-text):
417 Override rmail-mime-coding-system if it is a cons.
418 (rmail-show-mime): If only a header part was decoded, find the
419 coding system while ignoring mm-charset-override-alist.
420
421 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
422
423 * subr.el (event-start, event-end): Doc fix (Bug#7826).
424
425 2011-01-15 Kenichi Handa <handa@m17n.org>
426
427 * mail/rmailmm.el (rmail-mime-next-item)
428 (rmail-mime-previous-item): Delete them.
429 (rmail-mime-shown-mode): Recursively call for children.
430 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
431 Callers changed.
432 (rmail-mime-raw-mode): Recursively call for children.
433 (rmail-mode-map): Change mapping of tab and backtab to
434 forward-button and backward-button respectively.
435 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
436 button.
437 (rmail-mime-update-tagline): New function.
438 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
439 body display is changed.
440 (rmail-mime-toggle-button): Rename from rmail-mime-image.
441 (rmail-mime-image): Delete this button type.
442 (rmail-mime-toggle): New button type.
443 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
444 body display is changed. Change the save button label to "Save".
445 Don't process show/hide button here.
446 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
447 the body display is changed. Unconditionally call
448 rmail-mime-insert for children.
449 (rmail-mime-handle): Update `display' vector of the just inserted
450 entity.
451 (rmail-mime-process): If mail-header-parse-content-type returns
452 nil, use "text/plain" as the fallback type.
453 (rmail-mime-insert): For raw-mode, recursively call
454 rmail-mim-insert for children.
455 (rmail-mime): Handle the case that the current buffer is not rmail
456 buffer (e.g. in summary buffer).
457
458 2011-01-15 Kenichi Handa <handa@m17n.org>
459
460 * mail/rmailmm.el (rmail-mime-next-item)
461 (rmail-mime-previous-item): Skip the body of a non-multipart
462 entity if a tagline is shown.
463
464 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
465
466 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
467 (tmm-prompt): Simplify.
468 (tmm-add-prompt): Remove unused var `win'.
469
470 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
471 to minor mode which used nil accidentally to mean "turn off".
472
473 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
474
475 * net/tramp-sh.el (tramp-find-inline-compress)
476 (tramp-get-inline-coding): Quote command after pipe symbol for
477 local calls under W32. (Bug#6784)
478
479 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
480
481 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
482 only when running under W32.
483
484 2011-01-15 Eli Zaretskii <eliz@gnu.org>
485
486 * progmodes/grep.el (grep-compute-defaults): Quote the program
487 file name after the pipe symbol in Grep templates. (Bug#6784)
488 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
489
490 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
491
492 * buff-menu.el (Buffer-menu-buffer-list): New var.
493 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
494 restricted buffer list is not lost on revert (Bug#7749).
495
496 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
497
498 * net/ldap.el (ldap-search-internal): Discard stderr output.
499
500 2011-01-15 Eli Zaretskii <eliz@gnu.org>
501
502 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
503
504 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
507
508 2011-01-15 Kenichi Handa <handa@m17n.org>
509
510 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
511 part as a plain text.
512 (rmail-mime-process-multipart): Set the default content-type to
513 nil for unknown multipart subtypes (bug#7651).
514
515 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * hexl.el (hexl-mode-old-*): Remove.
518 (hexl-mode--old-var-vals): New var to replace them.
519 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
520 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
521 Use them to set local vars (bug#7846).
522 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
523 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
524 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
525
526 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
527 (smerge-resolve--normalize-re): New var.
528 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
529 (smerge-resolve): Use them.
530 * newcomment.el (comment-only-p): New function.
531 (comment-or-uncomment-region): Use it.
532
533 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
534
535 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
536 table, get the value before switching to the output buffer. (Bug#7733)
537
538 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
541
542 2011-01-14 Kim F. Storm <storm@cua.dk>
543
544 * emulation/cua-base.el (cua--init-keymaps):
545 Remap exchange-point-and-mark in cua-global-keymap.
546
547 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
548
549 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
550 loop keyword.
551
552 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
555 Require CL.
556 (easy-menu-create-menu, easy-menu-convert-item-1):
557 Use :label rather than nil for labels. Use `case'.
558 Add :enable as alias for :active.
559 (easy-menu-binding): Obey :label.
560
561 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
562
563 Use run-mode-hooks for major mode hooks (bug#513).
564 * textmodes/reftex-toc.el (reftex-toc-mode-map):
565 Rename from reftex-toc-map.
566 (reftex-toc-mode): Use define-derived-mode.
567 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
568 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
569 Rename from reftex-select-(label|bib)-map. Move init into declaration.
570 (reftex-select-label-mode, reftex-select-bib-mode):
571 Use define-derived-mode.
572 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
573 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
574 Move init into delcaration.
575 (reftex-index-mode, reftex-index-phrases-mode):
576 Use define-derived-mode.
577 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
578 speedbar-syntax-table. Move init into declaration.
579 (speedbar-mode-map): Rename from speedbar-key-map.
580 Move init into declaration.
581 (speedbar-file-key-map): Move init into declaration.
582 (speedbar-mode): Use define-derived-mode.
583 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
584 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
585 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
586 (chart-face-list): Move initialization into declaration.
587 (chart-mode): Use define-derived-mode.
588 * calculator.el (calculator-mode-map): Move init into declaration.
589 (calculator-mode): Use define-derived-mode.
590
591 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
592 work for nested comments.
593
594 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
595 (prolog-use-prolog-tokenizer-flag): Change default when
596 syntax-propertize can be used.
597 (prolog-syntax-propertize-function): New var.
598 (prolog-mode-variables): Move make-local-variable into `set'.
599 Don't make comment-column local since we don't set it.
600 Set comment-add (as it was in previous prolog.el). Use dolist.
601 Set syntax-propertize-function.
602 (prolog-mode, prolog-inferior-mode):
603 Call prolog(-inferior)-menu directly, not through the mode-hook.
604 (prolog-buffer-module, prolog-indent-level)
605 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
606 (prolog-comment-limits, prolog-goto-comment-column):
607 Use line-(end|beginning)-position.
608 (prolog-build-prolog-command): Tighten up regexp.
609 (prolog-consult-compile): Move make-local-variable into `set'.
610 (prolog-consult-compile-filter, prolog-goto-next-paren)
611 (prolog-help-on-predicate, prolog-clause-info)
612 (prolog-mark-predicate): Don't let+setq.
613 (prolog-indent-line): Use indent-line-to.
614 Only call prolog-goto-comment-column if necessary.
615 (prolog-indent-level): Use bobp.
616 (prolog-first-pos-on-line): Remove, not used any more.
617 (prolog-in-string-or-comment): Use syntax-ppss if available.
618 (prolog-help-on-predicate): Use read-string.
619 (prolog-goto-predicate-info): Simplify.
620 (prolog-read-predicate): Use `default' rather than `initial'.
621 (prolog-temporary-file): Use make-temp-file to close a security hole.
622 (prolog-toggle-sicstus-sd): New command.
623 (prolog-electric-underscore, prolog-variables-to-anonymous):
624 Use dynamic-scoping as it was meant.
625 (prolog-menu): Move menu definitions to top-level.
626 Use a toggle-button for Sicstus's source debugger.
627 Change "Code" to the more usual "Prolog", and hence change "Prolog"
628 to "System".
629 (prolog-inferior-menu): Reuse prolog-menu's help menu.
630 Move other menu definition to top-level.
631
632 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
633
634 * doc-view.el (doc-view-open-text): Use meaningful text buffer
635 name. Keep original document's directory as default-directory
636 (bug#6446).
637 (doc-view-initiate-display): Fall back to normal mode when
638 doc-view-mode cannot be enabled, also when extracting the document
639 text into a separate buffer (bug#6446).
640
641 * simple.el (shell-command): Don't error out if shell command
642 buffer contains text with non-nil read-only property when erasing
643 the buffer.
644
645 2011-01-13 Kim F. Storm <storm@cua.dk>
646
647 * ido.el (ido-may-cache-directory): Move "too-big" check later.
648 (ido-next-match, ido-prev-match): Fix stray reordering of matching
649 items when cycling through the matches.
650
651 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
652
653 * dired-x.el (dired-omit-verbose): New defcustom that allows
654 disabling the omit messages.
655 (dired-omit-expunge): Use it.
656
657 2011-01-13 Christian Ohler <ohler@gnu.org>
658
659 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
660
661 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
662
663 * font-lock.el (font-lock-verbose): Default to nil.
664
665 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
666
667 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
668 (compose-mail): New arg RETURN-ACTION.
669 (compose-mail-other-window, compose-mail-other-frame): Likewise.
670
671 * mail/sendmail.el (mail-return-action): New var.
672 (mail-mode): Make it buffer-local.
673 (mail-bury): Obey it. Move special Rmail window handling to
674 rmail-mail-return.
675 (mail, mail-setup): New arg RETURN-ACTION.
676 (sendmail-user-agent-compose): Move from simple.el.
677
678 * mail/rmail.el (rmail-mail-return): New function.
679 (rmail-start-mail): Pass it to compose-mail.
680
681 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
682
683 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
684 menus. Add menu item for customize-themes.
685
686 * cus-theme.el (customize-themes):
687 * emacs-lisp/package.el (package--list-packages):
688 Use switch-to-buffer.
689
690 2011-01-11 Johan Bockgård <bojohan@gnu.org>
691
692 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
693
694 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * progmodes/prolog.el: Fix up coding convention and such.
697 (prolog-indent-width): Use the same default as in
698 previous prolog.el rather than tab-width which depends on which buffer
699 is current when the file is loaded.
700 (prolog-electric-newline-flag): Only enable if electric-indent-mode
701 is not available.
702 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
703 (prolog-known-systems): Remove.
704 (prolog-mode-syntax-table, prolog-inferior-mode-map):
705 Move initialization into declaration.
706 (prolog-mode-map): Move initialization into declaration.
707 Remove system-specific mode-map vars, since they referred to the same
708 keymap anyway.
709 (prolog-mode-variables): Obey the user's preference w.r.t
710 adaptive-fill-mode. Prefer symbol-value to `eval'.
711 (prolog-mode-keybindings-edit): Add compatibility bindings.
712 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
713 (mercury-mode-map): New var.
714 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
715 (prolog-ensure-process, prolog-process-insert-string)
716 (prolog-consult-compile): Use with-current-buffer.
717 (prolog-guess-fill-prefix): Simplify data flow.
718 (prolog-replace-in-string): New function to use instead of
719 replace-in-string.
720 (prolog-enable-sicstus-sd): Don't abuse `eval'.
721 (prolog-uncomment-region): Use `uncomment-region' when available.
722 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
723 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
724 of int-to-char and char-to-int.
725 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
726
727 2011-01-11 Stefan Bruda <stefan@bruda.ca>
728
729 * progmodes/prolog.el: Replace by a whole new file.
730
731 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
732
733 * subr.el (eval-after-load): Fix timing for features (bug#7769).
734 (declare-function, undefined, insert-for-yank)
735 (replace-regexp-in-string): Follow checkdoc's recommendations.
736
737 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
740 refreshing the diary buffer.
741
742 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
743
744 * allout.el: Add 2011 to the file copyright.
745 (allout-encrypt-string): Prevent encryption from adding an extra
746 newline at the end of the topic body.
747 (allout-version): Increment to 2.3.
748
749 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
750
751 * net/dbus.el (dbus-unregister-service): Complete doc.
752 Fix call of dbus-error signal.
753 (dbus-register-property): Use `dont-register' keyword.
754
755 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
756
757 * net/dbus.el (dbus-unregister-service): Translate returned
758 integer into a symbol.
759 (dbus-register-property): Use `dbus-register-service' to do the
760 name registration.
761
762 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
763
764 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
765 Suggested by Joakim Verona.
766
767 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
768
769 * wid-edit.el (visibility): Replace :on-image and :off-image
770 widget properties with :on-glyph and :off-glyph, for consistency
771 with the `visibility' widget.
772 (widget-toggle-value-create, widget-visibility-value-create):
773 Merge into a single function `widget-toggle-value-create'.
774
775 * cus-edit.el (custom-variable-value-create, custom-visibility)
776 (custom-face-edit-value-create, custom-face-value-create):
777 Replace :on-image and :off-image widget properties with :on-glyph and
778 :off-glyph, for consistency with the `visibility' widget.
779
780 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
781
782 * net/ldap.el (ldap-search-internal): Don't use eval.
783
784 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
785
786 * subr.el (read-char-choice): Use read-key.
787
788 * custom.el (custom-safe-themes): Rename from
789 custom-safe-theme-files. Add :risky tag.
790 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
791 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
792
793 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
794
795 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
796 from Search and add a label to Undo.
797
798 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
799 inappropriate buttons and adding :vert-only tags.
800
801 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
802 removal of Help tool-bar button. Remove Undo button for space.
803
804 * info.el (info-tool-bar-map): Add :vert-only tags.
805
806 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
807
808 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
809 image backend support. Either of them is fine.
810
811 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
812
813 * subr.el (y-or-n-p): Doc fix.
814
815 * custom.el (custom-safe-theme-files): New defcustom.
816 (custom-theme-load-confirm): New function.
817 (load-theme): Load theme using `load', confirming with
818 custom-theme-load-confirm if necessary.
819
820 * subr.el (read-char-choice): New function, factored out from
821 dired-query and hack-local-variables-confirm.
822
823 * dired-aux.el (dired-query):
824 * files.el (hack-local-variables-confirm): Use it.
825
826 * dired-aux.el (dired-compress-file):
827 * files.el (abort-if-file-too-large, find-alternate-file)
828 (set-visited-file-name, write-file, backup-buffer)
829 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
830 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
831 Use new format string args for y-or-n-p and yes-or-no-p.
832
833 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
834
835 * progmodes/compile.el (compilation-error-regexp-alist-alist)
836 [gcc-include]: Tighten file name match, add match for column
837 number. (Bug#7806)
838 [gnu]: Remove unused group.
839
840 2011-01-08 Glenn Morris <rgm@gnu.org>
841
842 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
843
844 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
845
846 2011-01-07 Sam Steingold <sds@gnu.org>
847
848 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
849 the `explicit-shell-file-name' because that is the
850 non-interactive shell.
851
852 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
853
854 * subr.el (y-or-n-p): Accept format string args.
855
856 2011-01-07 Glenn Morris <rgm@gnu.org>
857
858 * Makefile.in (EMACSOPT): Add --no-site-lisp.
859
860 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
861
862 * allout.el (allout-back-to-current-heading): Ensure return to
863 the visible containing topic, rather than a collapsed one.
864 (allout-view-change-hook): Remove hook that was deprecated long ago.
865 (allout-exposure-change-hook): Remove documentation remarks
866 concerning removed allout-view-change-hook.
867 (allout-flag-region): Remove invocation of and documentation
868 remarks concerning allout-view-change-hook.
869
870 2011-01-06 Glenn Morris <rgm@gnu.org>
871
872 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
873 (vc-bzr-annotate-extract-revision-at-line):
874 Handle authors with embedded spaces. (Bug#7792)
875
876 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
877
878 * doc-view.el (doc-view-image-width): New variable.
879 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
880 backend for PNG images, and do dynamic rescaling instead of
881 reconverting the whole doc.
882
883 2011-01-05 Glenn Morris <rgm@gnu.org>
884
885 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
886
887 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
888
889 * allout.el: Reconcile with changes in line movement behavior for
890 long text lines that cross more than a single physical window
891 line, ie when truncate-lines is nil.
892 (allout-next-visible-heading): Provide for change in line-move
893 behavior on long lines when truncate-lines is nil. In that case,
894 line-move can wind up on the same textual line when it moves to
895 the next window line, and moving to the bullet position after the
896 move yields zero advancement. Add logic to detect and compensate
897 for the lack of progress.
898 (allout-current-topic-collapsed-p): move-end-of-line respect for
899 field boundaries is different when operating with body lines
900 shorter than window width versus ones greater than window width,
901 which can yield false negatives in this function. Avoid
902 difference by applying move-end-of-line while field-text-motion is
903 inhibited.
904
905 2011-01-04 Glenn Morris <rgm@gnu.org>
906
907 * textmodes/rst.el (rst-compile-toolsets):
908 Add pdf and s5 to option alist.
909
910 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
911
912 * net/dbus.el (dbus-register-property): Add optional parameter
913 dont-register-service. Updated docstring accordingly.
914
915 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
916
917 * textmodes/rst.el (rst-compile-pdf-preview)
918 (rst-compile-slides-preview): Remove extra line.
919
920 2011-01-04 Glenn Morris <rgm@gnu.org>
921
922 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
923 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
924 default to `prog' without a .py extension.
925 (rst-compile-pdf-preview, rst-compile-slides-preview):
926 Use program names from rst-compile-toolsets, rather than hard-coding.
927 (rst-portable-mark-active-p): Fix presumed typo.
928
929 2011-01-02 Eli Zaretskii <eliz@gnu.org>
930
931 * term/w32-win.el (dynamic-library-alist): Set up correctly for
932 libpng versions both before and after 1.4.0. (Bug#7716)
933
934 2011-01-02 Eli Zaretskii <eliz@gnu.org>
935
936 * time.el (display-time-mode): Mention display-time-interval in
937 the doc string. (Bug#7713)
938
939 2011-01-02 Kenichi Handa <handa@m17n.org>
940
941 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
942 condition-case and return an error message string if something
943 goes wrong.
944 (rmail-show-mime): Adjust for the above change. Insert the
945 header by rmail-mime-insert-header.
946
947 2011-01-02 Kenichi Handa <handa@m17n.org>
948
949 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
950 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
951 (rmail-mime-mbox-buffer)
952 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
953 (rmail-mime-entity): Argument changed. All codes handling an
954 entity object are changed.
955 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
956 the above change.
957 (rmail-mime-entity-children, rmail-mime-entity-handler)
958 (rmail-mime-entity-tagline): New functions.
959 (rmail-mime-message-p): New function.
960 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
961 (rmail-mime-entity-segment, rmail-mime-next-item)
962 (rmail-mime-previous-item, rmail-mime-shown-mode)
963 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
964 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
965 (rmail-mime-insert-tagline, rmail-mime-insert-header):
966 New functions.
967 (rmail-mime-text-handler): Call rmail-mime-insert-text.
968 (rmail-mime-insert-decoded-text): New function.
969 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
970 (rmail-mime-insert-image): Argument changed. Caller changed.
971 (rmail-mime-image): Call rmail-mime-toggle-hidden.
972 (rmail-mime-set-bulk-data): New funciton.
973 (rmail-mime-insert-bulk): Argument changed.
974 (rmail-mime-multipart-handler): Return t.
975 (rmail-mime-process-multipart): Argument changed.
976 Handle "multipart/alternative" here.
977 (rmail-mime-process): Argument changed.
978 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
979 (rmail-mime-insert): Argument changed. Handle raw display mode.
980 (rmail-mime): Argument changed. Handle toggling of raw display
981 mode.
982 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
983 rmail-mime-view-buffer.
984 (rmail-insert-mime-forwarded-message): Likewise.
985 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
986
987 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
988 non-nil, handle the header in rmail-show-mime-function.
989
990 2011-01-02 Leo <sdl.web@gmail.com>
991
992 * help-fns.el (describe-variable): Fix previous change.
993
994 2011-01-02 Juri Linkov <juri@jurta.org>
995
996 * isearch.el (isearch-lazy-highlight-error): New variable.
997 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
998 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
999 to the current value of `isearch-error' (Bug#7468).
1000
1001 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1002
1003 * help-fns.el (describe-variable): Don't emit trailing whitespace
1004 (Bug#7511).
1005
1006 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1007
1008 * textmodes/rst.el (rst-compile-pdf-preview)
1009 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1010
1011 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1012
1013 * emulation/edt-mapper.el: Override mapping of function keys so
1014 that the later call to read-key-sequence works.
1015
1016 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1017
1018 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1019 Unix EOLs. (Bug#7589)
1020
1021 2011-01-02 Leo <sdl.web@gmail.com>
1022
1023 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1024 if point is not behind eshell-last-output-end (Bug#7585).
1025
1026 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * files.el (file-local-variables-alist):
1029 Make permanent-local (bug#7767).
1030
1031 2011-01-02 Glenn Morris <rgm@gnu.org>
1032
1033 * version.el (emacs-copyright): Set short copyright year to 2011.
1034
1035 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1036
1037 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1038 an existing temp buffer. (Bug#7746)
1039
1040 2011-01-02 Glenn Morris <rgm@gnu.org>
1041
1042 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1043 multiple addresses. (Bug#7760)
1044
1045 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1046
1047 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1048 do-auto-fill if everything points back to allout-auto-fill.
1049 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1050 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1051
1052 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1053
1054 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1055 and "scpx".
1056
1057 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1058
1059 * doc-view.el (doc-view-set-doc-type): New function refactored
1060 from doc-view-mode.
1061 (doc-view-fallback-mode): New function.
1062 (doc-view-mode): Use it.
1063 (doc-view-mode-maybe): New function that checks if doc-view-mode
1064 can be used and falls back to the next best mode otherwise.
1065
1066 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1067 DVI, OpenDocument, and MS Office files.
1068
1069 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1070
1071 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1072
1073 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1074
1075 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1076 on a copy of auto-mode-alist, because that deletes with side
1077 effects.
1078
1079 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1080
1081 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1082 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1083 fallback instead of hard coding fundamental mode.
1084
1085 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1086
1087 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1088 Office) files also for searching.
1089
1090 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1091
1092 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1093 Office) files. Not yet enabled via auto-mode-list.
1094 (doc-view-unoconv-program): New custom variable.
1095 (doc-view-mode-p): Handle new odf document type.
1096 (doc-view-odf->pdf): New conversion function.
1097 (doc-view-convert-current-doc): Call it for odf files.
1098 (doc-view-mode): Recognize newly supported file extensions.
1099
1100 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1101
1102 * net/tramp.el (tramp-default-method-alist)
1103 (tramp-default-user-alist)
1104 (tramp-local-host-regexp, tramp-prefix-domain-format)
1105 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1106
1107 * net/tramp-ftp.el:
1108 * net/tramp-gvfs.el:
1109 * net/tramp-gw.el:
1110 * net/tramp-imap.el:
1111 * net/tramp-sh.el:
1112 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1113 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1114
1115 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1116
1117 * saveplace.el (save-place-alist-to-file): Save list sorted and
1118 pretty-printed, so that it is mergeable by line-based text merging,
1119 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1120
1121 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1122
1123 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1124 (allout-mode): Argument "toggle" => "force".
1125 Refine the docstring.
1126 Remove special provisions for reactivation, besides the 'force'
1127 argument.
1128 Consolidate layout provisions coce directly into the activation
1129 condition branch, now that we've removed those provisions.
1130 (allout-unload-function): Explicitly activate the mode before
1131 deactivating, if it's initially deactivated.
1132 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1133 warnings for version of function used only where
1134 set-buffer-multibyte is unavailable.
1135
1136 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1137
1138 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1139 are handled by the menu-bar entries. As before, don't use
1140 :visibile to avoid changing the tool-bar.
1141
1142 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1143
1144 * net/secrets.el (secrets-delete-alias): New defun.
1145
1146 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1147
1148 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1149 methods, otherwise ~/.ssh/config would be ignored.
1150
1151 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * emacs-lisp/rx.el: Make it a superset of sregex.
1154 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1155 of args, add `regex' alias.
1156 (rx-info): Add arg to distinguish head and standalone forms.
1157 (rx-check, rx-form): Pass the corresponding arg.
1158 (rx-**): Simplify.
1159 (rx-repeat): Make it work for any number of args.
1160 (rx-syntax): Make it accept syntax chars as is.
1161 * obsolete/sregex.el: Move from emacs-lisp/.
1162 * emacs-lisp/re-builder.el: Remove sregex support.
1163 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1164
1165 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1166
1167 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1168 PRIMARY first, then the clipboard. (Bug#7699)
1169
1170 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1173 print-number-table.
1174
1175 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1176
1177 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1178 .emacs.elc (Bug#7530).
1179
1180 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1181 image spec (Bug#7480).
1182
1183 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1184
1185 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1186 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1187 Move from lisp/.
1188
1189 2010-12-20 Leo <sdl.web@gmail.com>
1190
1191 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1192 always be performed (Bug#7680).
1193
1194 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1195
1196 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1197 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1198 mouse-region-match.
1199
1200 * color.el: Move from gnus/.
1201
1202 * vc/diff.el (diff-better-file-name): Function deleted.
1203 abbreviating file names causes problems with shell-quote-argument.
1204 (diff-no-select): Just use expand-file-name.
1205
1206 * tool-bar.el (tool-bar--image-expression): New function.
1207 (tool-bar-local-item, tool-bar--image-exp): Use it.
1208 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1209 Use :enable instead of :visible to avoid changing the tool-bar
1210 configuration unnecessarily.
1211
1212 * info.el (info-tool-bar-map): Add separators.
1213
1214 2010-12-17 Ken Brown <kbrown@cornell.edu>
1215
1216 * loadup.el: Use version numbers in Cygwin build.
1217
1218 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1219
1220 * ido.el (ido-file-internal): Ask for confirmation before
1221 overwriting an existing file (Bug#1238).
1222
1223 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1224
1225 * tool-bar.el (tool-bar-setup): Add separators.
1226
1227 * menu-bar.el (featurep): Use menu-bar-separator.
1228
1229 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1230
1231 Migrate allout encryption provisions from pgg to epg.
1232
1233 * allout.el (allout-toggle-current-subtree-encryption)
1234 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1235 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1236 for simpler universal argument interpretation.
1237 (allout-toggle-subtree-encryption): Adjust docstring to describe
1238 changed encryption provisions. Change fetch-pass to keymode-cue, for
1239 simpler universal argument interpretation. Remove provisions for
1240 handling key type and identity - they'll all be within
1241 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1242 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1243 for keypair recipients (universal argument > 1) and, in addition,
1244 associating the specified recipients with the outline (universal
1245 argument > 4) using a file local variable setting for
1246 'epa-file-encrypt-to'.
1247 Require epa, for recipients handling.
1248 Change how regexp filtering elements are named.
1249 Describe the problem with caching of incorrect symmetric-decryption
1250 keys.
1251 Use the epa-passphrase-callback-function, in case the user is using
1252 GnuPG v1.
1253 Support saving of the selected keypair recipients when invoked with a
1254 keymode-cue > 4.
1255 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1256 Require 'epa.
1257 Establish epg-context with armoring and default epg-protocol.
1258 Remove all passphrase cache, verification, and hinting code.
1259 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1260 No longer used, delete.
1261 (allout-mode): Adjust docstring to describe changed encryption
1262 provisions. Describe the problem with caching of incorrect
1263 symmetric-decryption keys.
1264 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1265 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1266 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1267 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1268 Obsolete, remove.
1269
1270 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1271
1272 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1273 key selection prompt; make 'silent as default (Bug#7487).
1274
1275 2010-12-16 Leo <sdl.web@gmail.com>
1276
1277 * eshell/eshell.el (eshell-directory-name):
1278 Use locate-user-emacs-file (Bug#7578).
1279
1280 2010-12-15 Glenn Morris <rgm@gnu.org>
1281
1282 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1283
1284 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1285 Scott Evans <gse@antisleep.com>
1286
1287 * rect.el (rectange--default-line-number-format)
1288 (rectangle-number-line-callback): New functions.
1289 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1290
1291 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1292
1293 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1294 Delete unused variables.
1295 (move-to-column-force): Remove function obsolete since 21.2.
1296
1297 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1298
1299 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1300 (tramp-handle-insert-file-contents): Do not set permanent-local
1301 property.
1302
1303 * net/tramp-cache.el (tramp-persistency-file-name):
1304 Use `locate-user-emacs-file' if fboundp.
1305
1306 * net/tramp-sh.el (tramp-methods): Add "ksu".
1307 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1308 method list.
1309
1310 2010-12-14 Glenn Morris <rgm@gnu.org>
1311
1312 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1313 (find-tag-marker-ring): Declare.
1314 (js-find-symbol): Require etags.
1315
1316 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1317 Require mail-utils.
1318 (mail-alias-file): Don't autoload. Doc fix.
1319 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1320 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1321 Mark as obsolete, and risky.
1322 (mail-setup): Simplify.
1323
1324 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1325 * mail/sendmail.el (build-mail-aliases): Update autoload.
1326
1327 * dired.el (dired-trivial-filenames, dired-chown-program)
1328 (dired-auto-revert-buffer): Remove autoload cookies.
1329 * mail/sendmail.el (mail-recover-1): Require 'dired.
1330
1331 * dired.el (dired-subdir-switches, dired-chown-program)
1332 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1333 Make into defcustoms.
1334 (dired-chown-program): Simplify initialization.
1335
1336 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1337
1338 2010-12-13 Romain Francoise <romain@orebokech.com>
1339
1340 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1341
1342 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1343
1344 * net/netrc.el (netrc-point-at-eol): Remove the unused
1345 netrc-point-at-old and netrc-bound-and-true-p bindings.
1346 (netrc-parse): Cache the netrc contents.
1347
1348 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1349
1350 * subr.el (posn-col-row): Evaluate header-line-format in the
1351 context of the POSITION window's buffer.
1352
1353 2010-12-13 Glenn Morris <rgm@gnu.org>
1354
1355 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1356 (with-silent-modifications): Doc fixes.
1357
1358 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1359
1360 * net/tramp.el (tramp-action-password, tramp-process-actions):
1361 Revert previous from. Use `save-restriction'.
1362
1363 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1364
1365 * calendar/diary-lib.el (diary-list-sexp-entries):
1366 Handle case of no newline at end of file. (Bug#7536)
1367
1368 2010-12-13 Glenn Morris <rgm@gnu.org>
1369
1370 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1371
1372 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1373
1374 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1375 (tramp-process-actions): Do not widen.
1376
1377 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1378 Protect buffer-modified value. (Bug#7557)
1379
1380 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1381
1382 * log-edit.el (log-edit-changelog-entries):
1383 Regexp quote filename. (Bug#7505)
1384
1385 2010-12-13 Tom Breton <tehom@panix.com>
1386
1387 * cus-edit.el (custom-save-all):
1388 Bind print-length and print-level to nil. (Bug#7581)
1389
1390 2010-12-13 Glenn Morris <rgm@gnu.org>
1391
1392 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1393 Run hooks to update menu contents. (Bug#7586)
1394
1395 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1396 file names, for the sake of MS Windows. (Bug#7588)
1397
1398 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1401 empty lines without a leading space.
1402
1403 2010-12-13 Leo <sdl.web@gmail.com>
1404
1405 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1406 while mapping over marks (Bug#6810).
1407
1408 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1409
1410 * image-dired.el (image-dired-db-file)
1411 (image-dired-temp-image-file, image-dired-gallery-dir)
1412 (image-dired-temp-rotate-image-file): Set default values relative
1413 to image-dired-dir (Bug#7518).
1414
1415 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1416
1417 * format.el (format-decode-run-method): Pass args FROM and TO, not
1418 point-min and point-max, to shell-command-on-region (Bug#7488).
1419
1420 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1421
1422 * frame.el (blink-cursor-mode): Make default t for ns.
1423
1424 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1425
1426 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1427
1428 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1429
1430 * comint.el (comint-dynamic-list-input-ring)
1431 (comint-dynamic-complete-filename)
1432 (comint-replace-by-expanded-filename)
1433 (comint-dynamic-simple-complete)
1434 (comint-dynamic-list-filename-completions)
1435 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1436
1437 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1438 Doc fix (Bug#7471).
1439
1440 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1441
1442 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1443 (Bug#7533).
1444
1445 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1446
1447 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1448 (Bug#7491).
1449
1450 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1451
1452 * files.el (file-relative-name): Handle UNC file names on
1453 DOS/Windows. (Bug#4674)
1454
1455 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1456
1457 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1458 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1459 (epg-context-set-passphrase-callback): Mention that the callback
1460 is not called when used with GnuPG 2.x.
1461
1462 2010-12-13 Glenn Morris <rgm@gnu.org>
1463
1464 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1465 Ensure ps-footer-font-size-internal is initialized.
1466 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1467
1468 2010-12-13 Kenichi Handa <handa@m17n.org>
1469
1470 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1471 within condition-case.
1472 (rmail-show-mime): Don't use condition-case.
1473 (rmail-search-mime-message): New function.
1474 (rmail-search-mime-message-function): Set to
1475 rmail-search-mime-message.
1476
1477 2010-12-13 Leo <sdl.web@gmail.com>
1478
1479 * ido.el (ido-common-initialization): New function. (bug#3274)
1480 (ido-mode): Use it.
1481 (ido-completing-read): Call it.
1482
1483 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1484
1485 * bookmark.el (bookmark-name-from-full-record): Rename back to
1486 this original name from `bookmark-name-from-record' reverting part
1487 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1488 As Drew Adams pointed out, there was no reason to cause churn for
1489 third-party callers.
1490
1491 2010-12-12 Alan Mackenzie <acm@muc.de>
1492
1493 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1494 template arglist, check that the current language supports this.
1495
1496 2010-12-11 Glenn Morris <rgm@gnu.org>
1497
1498 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1499 state of the file matches. (Bug#7544)
1500 (vc-bzr-register, vc-bzr-checkin)
1501 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1502 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1503
1504 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1505
1506 2010-12-11 Karel Klíč <kklic@redhat.com>
1507
1508 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1509
1510 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 Derive from prog-mode, use derived-mode-p, and fix up various
1513 minor style issues in lisp/progmodes.
1514
1515 * progmodes/vhdl-mode.el (vhdl-mode):
1516 * progmodes/verilog-mode.el (verilog-mode):
1517 * progmodes/vera-mode.el (vera-mode):
1518 * progmodes/sql.el (sql-mode):
1519 * progmodes/scheme.el (scheme-mode):
1520 * progmodes/perl-mode.el (perl-mode):
1521 * progmodes/octave-inf.el (inferior-octave-mode):
1522 * progmodes/autoconf.el (autoconf-mode):
1523 * progmodes/m4-mode.el (m4-mode):
1524 * progmodes/inf-lisp.el (inferior-lisp-mode):
1525 * progmodes/idlwave.el (idlwave-mode):
1526 * progmodes/icon.el (icon-mode):
1527 * progmodes/idlw-help.el (idlwave-help-mode):
1528 * progmodes/dcl-mode.el (dcl-mode):
1529 * progmodes/idlw-shell.el (idlwave-shell-mode):
1530 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1531 (ebrowse-member-mode, ebrowse-electric-position-mode):
1532 Use define-derived-mode.
1533
1534 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1535 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1536 (xscheme-debugger-mode-p, xscheme-send-string-1):
1537 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1538 (tcl-load-file, tcl-restart-with-file):
1539 * progmodes/ps-mode.el (ps-run-running):
1540 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1541 * progmodes/js.el (js--get-all-known-symbols):
1542 * progmodes/inf-lisp.el (inferior-lisp-proc):
1543 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1544 (idlwave-template, idlwave-update-buffer-routine-info)
1545 (idlwave-update-current-buffer-info)
1546 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1547 (idlwave-scan-class-info, idlwave-fix-keywords)
1548 (idlwave-list-buffer-load-path-shadows):
1549 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1550 (idlwave-toolbar-remove):
1551 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1552 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1553 (idlwave-shell-menu-def):
1554 * progmodes/idlw-complete-structtag.el
1555 (idlwave-prepare-structure-tag-completion):
1556 * progmodes/gud.el (gud-set-buffer):
1557 * progmodes/f90.el (f90-backslash-not-special):
1558 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1559
1560 * progmodes/xscheme.el (xscheme-start)
1561 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1562 * progmodes/which-func.el (which-function):
1563 * progmodes/vhdl-mode.el (vhdl-set-style):
1564 * progmodes/verilog-mode.el (verilog-set-compile-command)
1565 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1566 (verilog-set-define, verilog-auto-reeval-locals):
1567 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1568 * progmodes/simula.el (simula-mode):
1569 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1570 * progmodes/python.el (python-check, python-mode):
1571 * progmodes/prolog.el (prolog-mode-variables):
1572 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1573 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1574 * progmodes/delphi.el (delphi-mode):
1575 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1576 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1577 (c-font-lock-init): Move make-local-variable to their setq.
1578
1579 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1580 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1581 make-local-hook.
1582 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1583 (sh-set-shell): Don't set require-final-newline since it's already done
1584 by prog-mode.
1585 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1586 since we never set it.
1587 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1588 Use read-string and standard prompt.
1589 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1590 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1591 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1592 (meta-common-mode-map): Rename from meta-mode-map.
1593 Remove C-m binding, which is a user preference, not mode specific.
1594 (meta-common-mode): New major mode; replace meta-common-initialization.
1595 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1596 around with font-lock.
1597 * progmodes/etags.el (select-tags-table-mode):
1598 Derive from special-mode.
1599 * progmodes/octave-mod.el (octave-mode):
1600 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1601 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1602 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1603 Let define-derived-mode do its job.
1604 * progmodes/cpp.el (cpp-edit-mode-map):
1605 Move initialization into declaration.
1606 (cpp-edit-mode): Use define-derived-mode.
1607 (cpp-edit-load): Use derived-mode-p.
1608 * progmodes/mixal-mode.el (mixal-mode):
1609 * progmodes/f90.el (f90-mode):
1610 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1611 require-final-newline since prog-mode does it already.
1612 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1613 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1614 * progmodes/antlr-mode.el: Require cc-mode upfront.
1615 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1616 the declaration.
1617 (antlr-directory-dependencies, antlr-show-makefile-rules):
1618 Use derived-mode-p.
1619 (antlr-language-option): Don't assume point-min==1.
1620 (antlr-mode): Use define-derived-mode.
1621 * progmodes/ada-mode.el: Use derived-mode-p.
1622 (ada-mode): Use define-derived-mode.
1623 Use hack-local-variables-hook.
1624
1625 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1628 (texinfo-mode): Don't disable adaptive-fill-mode.
1629 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1630 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1631 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1632 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1633 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1634 (texinfo-insert-@quotation, texinfo-insert-@samp)
1635 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1636 (texinfo-insert-@uref): Use define-skeleton.
1637 (texinfo-insert-@-with-arg): Delete.
1638
1639 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1640
1641 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1642 nil, do quote archive member names. (Bug#6144)
1643
1644 2010-12-10 Glenn Morris <rgm@gnu.org>
1645
1646 * files.el (diff-no-select): Declare.
1647
1648 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1649 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1650
1651 * comint.el (comint-input-ring-file-name): Doc fix.
1652
1653 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1654
1655 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1656 New functions.
1657 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1658 Use them instead of `nil' and `>', respectively.
1659 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1660 instead of `nil'.
1661 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1662 and menu-bar-positive-p instead of `nil' and `>', respectively.
1663 (Bug#1077)
1664
1665 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1666
1667 * whitespace.el (whitespace-newline-mode): Code fix.
1668
1669 2010-12-09 Glenn Morris <rgm@gnu.org>
1670
1671 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1672 Rename functions without commas, update callers.
1673
1674 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1675
1676 * whitespace.el (whitespace-cleanup-region):
1677 Clean up spaces before tabs. (Bug#7582)
1678
1679 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1680
1681 * bookmark.el: Adjust parameter names and doc strings to resolve
1682 confusion over whether "bookmark" meant a bookmark name or a
1683 bookmark record. Along the way, shorten one function's name for
1684 similar reasons. (Issue #7548)
1685 (bookmark-name-from-record): New name for
1686 `bookmark-name-from-full-record'. All callers changed.
1687 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1688 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1689 (bookmark-get-annotation, bookmark-set-annotation)
1690 (bookmark-get-filename, bookmark-set-filename)
1691 (bookmark-get-position, bookmark-set-position)
1692 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1693 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1694 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1695 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1696 Rename `bookmark' parameter to `bookmark-name-or-record', to
1697 clearly show its role, and shorten or adjust doc strings accordingly.
1698 (bookmark-set-name): Same, and pass the parameter directly to
1699 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1700 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1701 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1702 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1703 and in some cases shorten doc string accordingly.
1704 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1705 and `new-name', and adjust an internal variable to avoid confusion.
1706 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1707 parameter in doc string.
1708
1709 2010-12-08 Glenn Morris <rgm@gnu.org>
1710
1711 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1712 from gdb's history file. (Bug#7575)
1713
1714 * mail/emacsbug.el (report-emacs-bug):
1715 Try to handle some other mail clients.
1716
1717 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1718
1719 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1720 Use string-prefix-p.
1721 (file-name-version-regexp): New var.
1722 (file-name-sans-versions):
1723 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1724 (jka-compr-get-compression-info): Use dolist.
1725 (jka-compr-compression-info-list): Don't bother specifying
1726 version/backup regexps.
1727
1728 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1729
1730 * simple.el (just-one-space): Make argument n default to 1 if
1731 omitted.
1732
1733 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * electric.el (electric-indent-post-self-insert-function):
1736 Delete trailing newlines even if we don't reindent.
1737
1738 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * minibuffer.el (completion-at-point): Remove the `arg'.
1741 * bindings.el (complete-symbol): Move back from minibuffer.el.
1742
1743 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1744
1745 * simple.el (just-one-space): Delete newlines for negative arg.
1746
1747 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1750 (ansi-color-filter-apply): Simplify.
1751 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1752
1753 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1754
1755 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1756
1757 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1758
1759 * dired.el (dired-use-ls-dired): Set default to a special
1760 "unspecified" value.
1761 (dired-insert-directory): When called the first time, check
1762 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1763
1764 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1765
1766 * replace.el: Add "collect" feature to occur.
1767 (occur-collect-regexp-history): New var.
1768 (occur-read-primary-args): Return a replace string for nlines,
1769 if needed.
1770 (occur): Extend the meaning of nlines.
1771
1772 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1775 (which-func-update-1): Distinguish symbols from strings.
1776 (which-function): Stay within 80 columns.
1777
1778 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1779
1780 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1781
1782 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1783 Improve docstring.
1784 (comment-style): Use comment-styles's docs to describe values.
1785
1786 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1787
1788 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1789 and ns-show-prefs (Bug#7535).
1790
1791 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1792 bindings (Bug#7535).
1793
1794 2010-12-03 Glenn Morris <rgm@gnu.org>
1795
1796 * nxml/nxml-mode.el: Require rng-nxml.
1797 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1798 Remove declarations.
1799
1800 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1801 * nxml/rng-nxml.el, nxml/rng-valid.el:
1802 Remove leading `*' from defcustom docs.
1803
1804 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1805 (normal-top-level-add-to-load-path, tty-handle-args):
1806 Convert comments to basic doc-strings.
1807
1808 * net/browse-url.el (browse-url-url-at-point)
1809 (browse-url-default-browser): Remove autoload cookies.
1810
1811 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1812 Remove more undefined cl functions.
1813
1814 * vc/diff.el (diff-sentinel): Make new arguments optional.
1815 * ibuf-ext.el (diff-sentinel): Update declaration.
1816
1817 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1818
1819 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1820 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1821 (epg-context-set-passphrase-callback): Mention that the callback
1822 is not called when used with GnuPG 2.x.
1823
1824 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1825
1826 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1827 (tramp-file-name-port): Check also for `tramp-default-port'.
1828 (tramp-get-connection-name): New defun.
1829 (tramp-get-connection-process): Use it.
1830 (tramp-debug-message): Extend function exclude list.
1831 (tramp-drop-volume-letter): Fix doc string.
1832
1833 * net/tramp-cmds.el: Remove solved todo item.
1834
1835 * net/tramp-efs.el:
1836 * net/tramp-ftp.el:
1837 * net/tramp-gvfs.el:
1838 * net/tramp-gw.el:
1839 * net/tramp-imap.el:
1840 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1841 and `tramp-default-user-alist', respectively.
1842
1843 * net/tramp-gw.el (tramp-gw-open-connection):
1844 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1845
1846 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1847 `tramp-file-name-port'.
1848
1849 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1850 and "psftp". Exchange "%k" marker with options.
1851 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1852 Compute size of link target.
1853 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1854 `tramp-current-*' up due to gateway methods. Optimze computing of
1855 copy arguments. Use `tramp-get-connection-name' and
1856 `tramp-get-connection-buffer'. Improve debug messages.
1857 (tramp-compute-multi-hops): Remove port determination.
1858 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1859
1860 * net/trampver.el: Update release number.
1861
1862 2010-12-02 Glenn Morris <rgm@gnu.org>
1863
1864 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1865 Avoid infinite loop over windows. (Bug#7492)
1866
1867 * progmodes/flymake.el (flymake-check-file-limit):
1868 Allow nil to mean "no limit".
1869 (flymake-check-patch-master-file-buffer): Update for above change.
1870 Allow a .tex file-name extension to be optional.
1871 (flymake-master-tex-init): Also match \include statements.
1872
1873 2010-11-30 Sam Steingold <sds@gnu.org>
1874
1875 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1876 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1877 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1878 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1879 define-derived-mode').
1880 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1881 users who want to call `nxml-parent-document-set'.
1882
1883 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1884
1885 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1886 stand-alone lines, since that is handled by log-edit-match-to-eoh
1887 (Bug#6465).
1888
1889 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1890
1891 * dired.el (dired-get-filename): Replace backslashes with slashes
1892 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1893 * locate.el (locate-default-make-command-line): Don't consider
1894 drive letter and root directory part of
1895 `directory-listing-before-filename-regexp'. (Bug#7308)
1896 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1897
1898 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1901 of :smie-open/close-alist.
1902 (smie-next-sexp): Make it accept a "start token" as argument.
1903 (smie-indent-keyword): Be careful not to misidentify tokens that span
1904 more than one line, as empty lines. Add argument `token'.
1905
1906 2010-11-27 Kenichi Handa <handa@m17n.org>
1907
1908 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1909 multipart subtypes, insert all as usual.
1910
1911 * mail/rmail.el: Require rfc2047.
1912
1913 2010-11-27 Kenichi Handa <handa@m17n.org>
1914
1915 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1916 (rmail-mime-entity-disposition)
1917 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1918 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1919 (rmail-mime-save): Handle the case that the button's `data' is a
1920 MIME entity.
1921 (rmail-mime-insert-text): New function.
1922 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1923 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1924 (rmail-mime-insert-bulk): New function mostly copied from the old
1925 rmail-mime-bulk-handler.
1926 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1927 (rmail-mime-process-multipart): New function mostly copied from
1928 the old rmail-mime-multipart-handler.
1929 (rmail-mime-show): Just call rmail-mime-process.
1930 (rmail-mime-process): New function mostly copied from the old
1931 rmail-mime-show.
1932 (rmail-mime-insert-multipart, rmail-mime-parse)
1933 (rmail-mime-insert, rmail-show-mime)
1934 (rmail-insert-mime-forwarded-message)
1935 (rmail-insert-mime-resent-message): New functions.
1936 (rmail-insert-mime-forwarded-message-function): Set to
1937 rmail-insert-mime-forwarded-message.
1938 (rmail-insert-mime-resent-message-function): Set to
1939 rmail-insert-mime-resent-message.
1940
1941 * mail/rmailsum.el: Require rfc2047.
1942 (rmail-header-summary): Handle multiline Subject: field.
1943 (rmail-summary-line-decoder): Change the default to
1944 rfc2047-decode-string.
1945
1946 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1947 (rmail-mime-feature): Change the default to `rmailmm'.
1948 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1949 (rmail-display-labels): Likewise.
1950 (rmail-show-message-1): Check rmail-enable-mime, and use
1951 rmail-show-mime-function for a MIME message. Decode the headers
1952 according to RFC2047.
1953
1954 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * progmodes/which-func.el (which-func-imenu-joiner-function):
1957 Return a string, as expected.
1958 (which-function-mode): Make sure we stop any previous timer before
1959 starting a new one.
1960
1961 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1962
1963 * net/tramp.el (tramp-default-method-alist)
1964 (tramp-default-user-alist, tramp-default-proxies-alist):
1965 Adapt custom options type. (Bug#7445)
1966
1967 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1968
1969 * progmodes/python.el: Add Ipython support (Bug#5390).
1970 (python-shell-prompt-alist)
1971 (python-shell-continuation-prompt-alist): New options.
1972 (python--set-prompt-regexp): New function.
1973 (inferior-python-mode, run-python, python-shell):
1974 Require ansi-color. Use python--set-prompt-regexp to set the comint
1975 prompt based on the Python interpreter.
1976 (python--prompt-regexp): New var.
1977 (python-check-comint-prompt)
1978 (python-comint-output-filter-function): Use it.
1979 (run-python): Use a pipe (Bug#5694).
1980
1981 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1982
1983 * progmodes/python.el (run-python): Doc fix.
1984 (python-keep-current-directory-in-path): New var (Bug#7454).
1985
1986 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1987
1988 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1989 Prompt user before actually printing.
1990
1991 2010-11-27 Glenn Morris <rgm@gnu.org>
1992
1993 * startup.el (package-enable-at-startup, package-initialize):
1994 Remove unnecessary declarations.
1995
1996 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1997
1998 * international/characters.el (glyphless-char-display-control):
1999 Exclude newline and TAB from the c0-control group.
2000
2001 2010-11-27 Glenn Morris <rgm@gnu.org>
2002
2003 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2004 (expand-mail-aliases): Remove unnecessary autoload.
2005
2006 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2007
2008 * shell.el (shell-dir-cookie-re): Move definition before use.
2009
2010 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2011 Replace undefined CL functions.
2012
2013 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2014
2015 * simple.el (prog-mode): Set bidi-paragraph-direction to
2016 left-to-right.
2017
2018 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2019
2020 2010-11-26 Glenn Morris <rgm@gnu.org>
2021
2022 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2023 diary-outlook-formats can be sensitive to calendar-date-style.
2024 (diary-outlook-formats): Simplify the default setting.
2025 (diary-from-outlook-internal): Pass subject and body as arguments.
2026 Use dolist rather than dotimes. Don't save the diary buffer.
2027 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2028 Pass subject and body as explicit arguments to the -internal function.
2029
2030 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2031
2032 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2033 parsing them. This makes mailto:...?subject=foo\nbar work.
2034
2035 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 * vc/diff.el (diff): Fix last change.
2038
2039 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2040
2041 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2042 (pcase--dontcare-upats): New var.
2043 (pcase-let, pcase-let*): Generate better code.
2044 Accept the same bodies as `let'.
2045 (pcase-dolist): New macro.
2046 (pcase--trivial-upat-p): New helper function.
2047 (pcase--expand): Strip leading "(let nil" if any.
2048
2049 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2050
2051 * mail/mailclient.el (browse-url): Require.
2052 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2053 use the external browser function to send the mail (bug#7469).
2054
2055 * net/browse-url.el (browse-url-browser-function): Revert the
2056 default back to the previous value, since the new value broke
2057 mailclient.el.
2058 (browse-url-mailto-function): New variable for mailto: URLs.
2059 (browse-url): Use the new variable for mailto: URLs.
2060
2061 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * eshell/esh-cmd.el (eshell-parse-command):
2064 * eshell/esh-arg.el (eshell-parse-arguments):
2065 * eshell/em-script.el (eshell-source-file):
2066 Use with-silent-modifications.
2067
2068 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2069
2070 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2071 for a merge location.
2072
2073 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2074 (vc-bzr-merge-branch): Always prompt.
2075 (vc-bzr-async-command): Use the full branch filename.
2076
2077 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * shell.el (shell): Use current-buffer by default if it's already
2080 a shell mode buffer and its process is dead.
2081 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2082
2083 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2084
2085 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2086 Mention that the keywords should be comma separated.
2087
2088 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2089
2090 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2091 Accept optional prefix arg meaning to prompt for a command.
2092 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2093 prefix arg meaning to prompt for a command.
2094 (vc-pull): Alias for vc-update.
2095
2096 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2097 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2098 (vc-bzr-merge-branch): New functions, implementing merge-branch
2099 and pull operations.
2100
2101 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * Makefile.in: Fix up last merge.
2104
2105 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2106 (diff-sentinel): Get them as arguments instead.
2107 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2108 (diff-file-local-copy, diff-better-file-name): New funs.
2109 (diff-no-select): Rename from diff-into-buffer.
2110 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2111 Prefer closures to buffer-local variables.
2112 (diff): Adjust accordingly.
2113 (diff-buffer-with-file): Move from files.el.
2114 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2115 (diff-buffer-internal): Remove.
2116 (diff-buffer-buffer): Remove.
2117 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2118 the buffer name used, and so as not to mess up windows and frames.
2119
2120 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2121
2122 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2123 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2124 (diff-buffer-with-file): Use it.
2125 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2126 (diff): Use it.
2127
2128 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2129
2130 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2131 \ref's or \pageref's value as default instead of initial input.
2132
2133 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2134
2135 * files.el (backup-by-copying-when-mismatch): The default value is
2136 now t.
2137
2138 * startup.el (normal-top-level):
2139 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2140 `backup-by-copying-when-mismatch'.
2141
2142 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2143
2144 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2145
2146 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2147
2148 * progmodes/python.el (python-font-lock-keywords):
2149 Highlight top-level augmented assignments (Bug#6445).
2150
2151 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2152
2153 * term/ns-win.el (ns-right-control-modifier)
2154 (ns-right-command-modifier): Defvar them.
2155
2156 * cus-start.el (all): Add ns-right-control-modifier and
2157 ns-right-command-modifier (Bug#7458).
2158
2159 2010-11-20 Glenn Morris <rgm@gnu.org>
2160
2161 * emacs-lisp/authors.el (authors-ignored-files)
2162 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2163
2164 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2165
2166 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2167 (report-emacs-bug-parse-query-results)
2168 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2169 keywords used for querying the bug database to show them in the
2170 existing bugs buffer.
2171
2172 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2173
2174 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2175
2176 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2177
2178 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2179
2180 * international/characters.el (glyphless-char-display-control):
2181 Make it a defcustom, with update-glyphless-char-display as its
2182 :set attribute.
2183 (top level): Don't call update-glyphless-char-display.
2184
2185 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2186
2187 Sync with Tramp 2.2.0.
2188
2189 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2190 `file-remote-p' (due to compatibility).
2191
2192 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2193 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2194
2195 * net/trampver.el: Update release number.
2196
2197 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2198
2199 * faces.el (glyphless-char): Define value for `pc'.
2200
2201 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2202
2203 Implemented a bug querying mechanism.
2204 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2205 (report-emacs-bug-create-existing-bugs-buffer)
2206 (report-emacs-bug-parse-query-results)
2207 (report-emacs-bug-query-existing-bugs): New functions.
2208
2209 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2210
2211 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2212 a \ref{} or \pageref{} macro, then use its value as initial input.
2213
2214 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2215
2216 * calc/calc-units.el (math-build-units-table-buffer):
2217 calc/README: Mention that the TeX specific units won't use the
2218 `tex' prefix in TeX mode.
2219 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2220 prefix for units in TeX mode.
2221
2222 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * simple.el (kill-new, kill-append, kill-region):
2225 * comint.el (comint-kill-region): Make the yank-handler argument
2226 obsolete.
2227
2228 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2230 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2231 that are both openers (resp. closers) and something else.
2232 (smie-grammar): Loosen definition of valid values.
2233 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2234 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2235 (smie-indent-after-keyword): Adjust users.
2236 (smie-indent-keyword): Don't indent empty lines.
2237
2238 * vc-hg.el (vc-hg-program): New var.
2239 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2240 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2241
2242 2010-11-18 Glenn Morris <rgm@gnu.org>
2243
2244 * emacs-lisp/autoload.el (autoload-find-destination): The function
2245 coding-system-eol-type may return non-numeric values. (Bug#7414)
2246
2247 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2248
2249 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2250
2251 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2252
2253 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2254
2255 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2256
2257 * textmodes/picture.el (picture-mouse-set-point): Don't use
2258 posn-col-row; explicitly compute the motion based on the posn at
2259 the window-start (Bug#7390).
2260
2261 2010-11-18 Glenn Morris <rgm@gnu.org>
2262
2263 * novice.el (disabled-command-function):
2264 Fix 2009-11-15 change. (Bug#7384)
2265
2266 2010-11-18 Glenn Morris <rgm@gnu.org>
2267
2268 * calendar/calendar.el (diary-iso-date-forms): Make elements
2269 mutually exclusive. (Bug#7377)
2270
2271 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2272
2273 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2274 when filling the remaining "unconstrained" values.
2275
2276 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2279 safety predicate.
2280
2281 * files.el (safe-local-variable-p): Gracefully handle errors.
2282
2283 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2284 Use smie-indent-virtual when indenting relative to an opener.
2285 (smie-rule-separator): Use smie-rule-parent.
2286 (smie-indent-keyword): Consult rules, even for openers at bol.
2287 (smie-indent-comment-close): Try to align closer's content.
2288
2289 2010-11-18 Glenn Morris <rgm@gnu.org>
2290
2291 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2292
2293 2010-11-18 Glenn Morris <rgm@gnu.org>
2294
2295 * printing.el (pr-menu-bind): Doc fix.
2296
2297 * speedbar.el (speedbar-toggle-images): Doc fix.
2298
2299 * progmodes/python.el (python-shell): Doc fix.
2300
2301 * wid-edit.el (widget-field-use-before-change)
2302 (widget-use-overlay-change): Doc fixes.
2303
2304 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 Minor cleanup to improve style.
2307 * textmodes/rst.el (rst-update-section): Use point-marker.
2308 (rst-get-decoration): Eliminate unneeded assignment.
2309 (rst-promote-region, rst-straighten-decorations)
2310 (rst-section-tree, rst-adjust): Use point-marker.
2311 (rst-toc-mode-mouse-goto): Avoid setq.
2312 (rst-shift-region-guts, rst-shift-region-left)
2313 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2314 (rst-convert-bullets-to-enumeration): Use copy-marker.
2315
2316 * minibuffer.el (completion-fail-discreetly): New var.
2317 (completion--do-completion): Use it.
2318
2319 * electric.el (electric-pair-pairs): New var.
2320 (electric-pair-post-self-insert-function): Use it.
2321 (electric-layout-post-self-insert-function): Don't insert a before
2322 newline unless it's actually needed.
2323
2324 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2325
2326 * progmodes/python.el (run-python): Explain why we remove the current
2327 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2328
2329 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2330
2331 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2332
2333 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2334 (octave-mode-map): Don't bind ;, SPC, and LF.
2335 (octave-auto-indent, octave-auto-newline): Remove.
2336 (electric-layout-rules): Declare.
2337 (octave-mode): Set electric-layout-rules.
2338 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2339 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2340 (octave-electric-space): Remove.
2341
2342 * electric.el (electric-layout-mode): New minor mode.
2343 (electric--after-char-pos): New function.
2344 (electric-indent-post-self-insert-function): Use it.
2345 (electric-layout-rules): New var.
2346 (electric-layout-post-self-insert-function): New function.
2347 (electric-indent-mode): Make them interact better.
2348
2349 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2352 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2353 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2354
2355 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2356
2357 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2358 Make sure to check inside the word (Bug#6761).
2359
2360 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2361
2362 * startup.el (command-line): If the cursorColor resource is set,
2363 change the cursor face-spec (Bug#7392).
2364
2365 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2366
2367 The main features of the following allout.el changes are:
2368 - implement user customization for the allout key bindings
2369 - add a customization control by which the user can inhibit use of
2370 a trailing Ctrl-H, so by default it's reserved for use with
2371 describe-prefix-bindings
2372 - adapt to new version of called-interactively-p, while
2373 maintaining backwards compatibility with old version
2374 - fix hotspot navigation so i works properly with meta-modified keys
2375
2376 * allout.el (allout-keybindings, allout-bind-keys)
2377 (allout-keybindings-binding, allout-prefixed-keybindings)
2378 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2379 (allout-keybindings-list, allout-mode-map-adjustments)
2380 (allout-setup-mode-map): Establish allout-mode keymaps as user
2381 customizable settings, and also establish a customizable setting which
2382 regulates whether or not a trailing control-h is reserved for use with
2383 describe-prefix-bindings - and inhibit it by default, so that control-h
2384 *is* reserved for describe-prefix-bindings unless the user changes it.
2385
2386 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2387 and accurately between modified and unmodified events, and handle
2388 modified events more comprehensively.
2389
2390 * allout.el (allout-substring-no-properties):
2391 Alias to use or provide version of `substring-no-properties'.
2392 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2393
2394 * allout.el (allout-next-single-char-property-change):
2395 Alias to use or provide version of `next-single-char-property-change'.
2396 (allout-annotate-hidden, allout-hide-by-annotation):
2397 Use `allout-next-single-char-property-change'.
2398
2399 * allout.el (allout-select-safe-coding-system):
2400 Alias to use or provide version of `select-safe-coding-system'.
2401 (allout-toggle-subtree-encryption):
2402 Use `allout-select-safe-coding-system'.
2403
2404 * allout.el (allout-set-buffer-multibyte):
2405 Alias to use or provide version of `set-buffer-multibyte'.
2406 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2407
2408 * allout.el (allout-called-interactively-p): Macro for using the
2409 different versions of called-interactively-p identically, depending on
2410 the subroutine's argument signature.
2411 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2412 Use `(interactive "p")' instead of `(called-interactively-p)'.
2413
2414 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2415 (allout-previous-visible-heading, allout-forward-current-level)
2416 (allout-backward-current-level, allout-show-children):
2417 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2418
2419 * allout.el (allout-before-change-handler):
2420 Exempt edits to the (overlaid) character after the allout outline
2421 bullet from edit confirmation prompt.
2422
2423 * allout.el (allout-add-resumptions):
2424 Ensure that it respects correct buffer for keybindings.
2425
2426 * allout.el (allout-beginning-of-line):
2427 Use `allout-previous-single-char-property-change' alias for the sake of
2428 diverse compatibility.
2429
2430 * allout.el (allout-end-of-line):
2431 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2432
2433 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2434
2435 * frame.el (frame-notice-user-settings): Don't clobber other
2436 user-set parameters when calling face-set-after-frame-default in
2437 response to background-color parameter (Bug#7373).
2438
2439 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2440
2441 * international/characters.el (glyphless-char-display-control):
2442 Rename from glyphless-char-control; all users changed. Doc fix.
2443 Signal an error if display method is not one of the recognized
2444 symbols.
2445
2446 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2447
2448 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2449 (tramp-compat-line-end-position): Remove them.
2450
2451 * net/tramp.el (tramp-parse-rhosts-group)
2452 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2453 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2454 (tramp-parse-netrc-group, tramp-parse-putty-group)
2455 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2456 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2457 (tramp-sh-handle-file-selinux-context)
2458 (tramp-sh-handle-file-name-all-completions)
2459 (tramp-sh-handle-insert-directory)
2460 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2461 (tramp-wait-for-output, tramp-send-command-and-read)
2462 * net/tramp-smb.el (tramp-smb-read-file-entry)
2463 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2464
2465 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2466 `point-at-bol'.
2467 (tramp-remote-coding-commands): Add an alternative using "base64
2468 -d -i". This is needed for older base64 versions from GNU
2469 coreutils. Reported by Klaus Reichl
2470 <Klaus.Reichl@thalesgroup.com>.
2471
2472 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2473
2474 * simple.el (count-words-region): New function.
2475
2476 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * shell.el (shell-dir-cookie-re): New custom variable.
2479 (shell-dir-cookie-watcher): New function.
2480
2481 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2482 and compilation-mode (bug#7350).
2483
2484 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2485 highlight when one of them is empty.
2486
2487 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2488 trailing space.
2489 (skeleton-newline): New function.
2490 (skeleton-internal-1): Use it.
2491
2492 * simple.el (open-line): `newline' may strip trailing space.
2493
2494 2010-11-12 Kevin Ryde <user42@zip.com.au>
2495
2496 * international/mule-cmds.el (princ-list): Use mapc.
2497
2498 2010-11-12 Glenn Morris <rgm@gnu.org>
2499
2500 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2501 Use it to replace all instances of "*Compile-Log*"
2502
2503 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2506 indentation specs.
2507
2508 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * progmodes/modula2.el: Use SMIE and skeleton.
2511 (m2-mode-syntax-table): (*..*) can be nested.
2512 Add //...\n. Fix paren syntax.
2513 (m2-mode-map): Remove LF and TAB bindings.
2514 (m2-indent): Add safety property.
2515 (m2-smie-grammar): New var.
2516 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2517 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2518 (m2-mode): Use define-derived-mode.
2519 (m2-newline, m2-tab): Remove.
2520 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2521 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2522 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2523 (m2-import): Use define-skeleton.
2524
2525 2010-11-11 Glenn Morris <rgm@gnu.org>
2526
2527 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2528
2529 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2530 (ls-lisp-verbosity): Add custom :set-after property.
2531 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2532 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2533 (ls-lisp-insert-directory): Update caller.
2534 (ls-lisp-set-options): New function.
2535 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2536 Doc fix.
2537
2538 * play/landmark.el (lm-prompt-for-move):
2539 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2540
2541 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2542
2543 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2544 (idlwave-study-twins): Prefix dynamic local variable `name'.
2545 (idlwave-routine-twin-compare): Update for above change.
2546
2547 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2548 Prefix dynamic local variables `name', `kwd', and `link'.
2549 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2550 * progmodes/idlw-complete-structtag.el
2551 (idlwave-complete-structure-tag-help):
2552 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2553 (idlwave-complete-sysvar-tag-help)
2554 (idlwave-complete-class-structure-tag-help):
2555 Update for above name changes.
2556
2557 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2558
2559 * net/browse-url.el (browse-url-browser-function): Change the
2560 default to use `browse-url-mail' on mailto: URLs.
2561
2562 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2563
2564 * emacs-lisp/package.el (package-read-all-archive-contents):
2565 Reset package-archive-contents to nil before re-reading.
2566
2567 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2568
2569 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2570 already found as misspellings by (flyspell-large-region), just
2571 do highlighting (bug#7322).
2572
2573 2010-11-10 Glenn Morris <rgm@gnu.org>
2574
2575 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2576
2577 * emulation/edt.el (edt-with-position): New macro.
2578 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2579 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2580 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2581
2582 * emulation/tpu-extras.el (tpu-with-position): New macro.
2583 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2584
2585 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2586
2587 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2588 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2589 (texinfo-master-menu, texinfo-insert-node-lines)
2590 (texinfo-multiple-files-update):
2591 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2592 Use line-beginning-position.
2593
2594 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2595 No recent Emacs supports system-type `emx'.
2596
2597 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2598 (ada-command-separator, ada-default-prj-properties)
2599 (ada-find-any-references): Update for above name change.
2600
2601 * dirtrack.el (dirtrack-directory-function)
2602 (dirtrack-canonicalize-function):
2603 * filecache.el (file-cache-completion-ignore-case)
2604 (file-cache-case-fold-search, file-cache-ignore-case):
2605 * term.el (serial-port-is-file-p): Cosmetic change.
2606
2607 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2608 Remove non-existent `windows-95' system-type.
2609 * dired.el (dired-chown-program): Remove non-existent `linux'
2610 system-type.
2611
2612 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2613 (ping-program-options): Remove non-existent `linux' system-type.
2614
2615 * startup.el (package-initialize): Update declaration.
2616
2617 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2618 (ls-lisp-handle-switches): Use time-less-p.
2619 (ls-lisp-format-time): Use float-time.
2620
2621 * textmodes/remember.el (remember-time-to-seconds): Remove.
2622 (remember-store-in-mailbox): Use float-time.
2623
2624 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2625
2626 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2627 never a real function.
2628 (with-no-warnings): Remove compat stub, now unused.
2629 (time-less-p): Doc fix.
2630 (time-to-number-of-days): Simplify.
2631
2632 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2633 Remove.
2634 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2635 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2636 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2637 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2638 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2639
2640 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2641 (eshell-shuffle-files, eshell-shorthand-tar-command)
2642 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2643 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2644 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2645 Prefix dynamic local variable `matches'.
2646
2647 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2648 Prefix dynamic local variable `skeleton'.
2649
2650 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2651
2652 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2653 in mail buffer; make yank-action always a command that yanks original
2654 buffer.
2655
2656 2010-11-09 Glenn Morris <rgm@gnu.org>
2657
2658 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2659
2660 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2663 completion field (bug#7211).
2664
2665 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2666 Fix handling of backslash escapes.
2667 (python-quote-syntax): Adjust accordingly.
2668
2669 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2670
2671 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2672 (vc-mtn-workfile-branch): Adjust to new output format.
2673
2674 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * international/mule-cmds.el (princ-list): Mark as obsolete.
2677
2678 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * emacs-lisp/smie.el: New package.
2681
2682 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2683
2684 * files.el (backup-by-copying-when-mismatch):
2685 Set `permanent-local' property.
2686
2687 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2688 `permanent-local' property for `backup-by-copying-when-mismatch'.
2689
2690 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2691
2692 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2693
2694 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2695
2696 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2697 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2698 AUTOINOUT for SV style multidimensional arrays, bug294.
2699 Reported by Eric Mastromarchi.
2700 (verilog-preprocess): Use with-current-buffer and
2701 font-lock-fontify-buffer to cleanup style issues.
2702
2703 2010-11-09 Glenn Morris <rgm@gnu.org>
2704
2705 * locate.el (locate, locate-mode): Doc fixes.
2706
2707 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2708
2709 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2710 user for confirmation.
2711 (server-force-stop): Use it.
2712 (server-start): Use server-force-stop for kill-emacs-hook, to
2713 avoid user interaction while killing Emacs.
2714
2715 2010-11-09 Glenn Morris <rgm@gnu.org>
2716
2717 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2718 (meta-indent-line): Simplify.
2719
2720 * vc/emerge.el (emerge-line-number-in-buf):
2721 * textmodes/ispell.el (ispell-region):
2722 * textmodes/fill.el (current-fill-column):
2723 * progmodes/xscheme.el (xscheme-send-current-line):
2724 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2725 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2726 * progmodes/sh-script.el (sh-handle-prev-do):
2727 * progmodes/meta-mode.el (meta-indent-line):
2728 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2729 (idlwave-in-quote):
2730 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2731 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2732 * progmodes/fortran.el (fortran-looking-at-if-then):
2733 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2734 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2735 (cperl-find-pods-heres):
2736 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2737 * net/quickurl.el (quickurl-list-insert):
2738 * net/ldap.el (ldap-search-internal):
2739 * net/eudc.el (eudc-expand-inline):
2740 * mail/sendmail.el (sendmail-send-it):
2741 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2742 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2743 (viper-brac-function):
2744 * calc/calc-yank.el (calc-do-grab-region):
2745 * calc/calc-keypd.el (calc-keypad-press):
2746 * term.el (term-move-columns, term-insert-spaces):
2747 * speedbar.el (speedbar-highlight-one-tag-line):
2748 * simple.el (current-word):
2749 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2750 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2751 (Info-scroll-down):
2752 * hippie-exp.el (he-line-beg):
2753 * epa.el (epa--marked-keys):
2754 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2755 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2756 (dired-relist-entry):
2757 * buff-menu.el (Buffer-menu-buffer):
2758 * array.el (current-line):
2759 * allout.el (allout-resolve-xref)
2760 (allout-latex-verbatim-quote-curr-line):
2761 Replace yet more uses of end-of-line etc with line-end-position, etc.
2762
2763 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2766 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2767 (checkdoc-syntax-table): Initialize in the declaration.
2768 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2769 the mode on unconditionally.
2770
2771 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2772 (extent-end-position, extent-start-position): Remove setf method for
2773 non-existing functions (bug#7319).
2774
2775 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2778 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2779 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2780 (smie-prec2->grammar): Rename from smie-prec2-levels.
2781 (smie-grammar): Rename from smie-op-levels.
2782 (smie-indent--hanging-p): Rename from smie-hanging-p.
2783 (smie-rule-hanging-p): New alias.
2784 (smie-indent--bolp): Rename from smie-bolp.
2785 (smie-indent--hanging-p): New alias.
2786 (smie--token): New dynamically bound variable.
2787 (smie-indent--parent): New function.
2788 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2789 (smie-rule-next-p): Rename from smie-next-p.
2790 (smie-rule-prev-p): Rename from smie-prev-p.
2791 (smie-rule-sibling-p, smie-rule-parent)
2792 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2793 (smie-rule-separator-outdent): New var.
2794 (smie-indent--rule): Merge with smie-indent--column.
2795 (smie-indent-forward-token, smie-indent-backward-token):
2796 Also recognize close parens.
2797 (smie-indent-keyword): Don't use smie-indent--column any more.
2798 (smie-indent-after-keyword): Ignore closers by default.
2799 (smie-indent-line): Use with-demoted-errors.
2800 * progmodes/octave-mod.el (octave-smie-grammar):
2801 Rename from octave-smie-op-levels.
2802 (octave-smie-rules): Adjust to new behavior.
2803 * progmodes/prolog.el (prolog-smie-grammar):
2804 Rename from prolog-smie-op-levels.
2805
2806 2010-11-07 Glenn Morris <rgm@gnu.org>
2807
2808 * eshell/esh-util.el (subst-char-in-string)
2809 (directory-files-and-attributes): These compatibility definitions are
2810 not needed on any version of Emacs since at least 21.4.
2811
2812 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2813 (verilog-get-end-of-line): Remove.
2814 (verilog-within-string, verilog-re-search-forward-substr)
2815 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2816 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2817 Use point-at-bol, point-at-eol.
2818 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2819 Remove.
2820 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2821 (electric-pascal-terminate-line, pascal-set-auto-comments)
2822 (pascal-indent-paramlist, pascal-indent-declaration)
2823 (pascal-get-lineup-indent, pascal-func-completion)
2824 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2825 Use point-at-bol, point-at-eol.
2826 * progmodes/flymake.el (flymake-line-beginning-position)
2827 (flymake-line-end-position): Remove.
2828 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2829 * eshell/esh-util.el (line-end-position, line-beginning-position):
2830 Remove compat definitions.
2831
2832 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2833 Use end-of-line N.
2834 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2835 Use line-end-position.
2836
2837 * emacs-lisp/chart.el (chart-zap-chars):
2838 * play/decipher.el (decipher-set-map):
2839 * progmodes/ada-mode.el (ada-get-current-indent)
2840 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2841 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2842 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2843 (ada-get-all-references):
2844 * progmodes/cperl-mode.el (cperl-electric-paren)
2845 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2846 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2847 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2848 (cperl-word-at-point-hard):
2849 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2850 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2851 (idlwave-shell-display-line):
2852 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2853 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2854 * progmodes/js.el (js--re-search-forward-inner)
2855 (js--re-search-backward-inner):
2856 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2857 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2858 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2859 * textmodes/flyspell.el (flyspell-process-localwords):
2860 * textmodes/ispell.el (ispell-buffer-local-parsing)
2861 (ispell-buffer-local-dict, ispell-buffer-local-words):
2862 Use point-at-bol and point-at-eol.
2863
2864 * speedbar.el (speedbar-generic-item-info)
2865 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2866 (speedbar-add-indicator, speedbar-check-vc-this-line)
2867 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2868 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2869 Replace more uses of end-of-line etc with line-end-position.
2870
2871 2010-11-06 Glenn Morris <rgm@gnu.org>
2872
2873 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2874 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2875 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2876 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2877 (texinfo-multiple-files-update):
2878 * textmodes/table.el (table--probe-cell-left-up)
2879 (table--probe-cell-right-bottom):
2880 * textmodes/picture.el (picture-tab-search):
2881 * textmodes/page-ext.el (pages-copy-header-and-position)
2882 (pages-directory-for-addresses):
2883 * progmodes/vera-mode.el (vera-get-offset):
2884 * progmodes/simula.el (simula-calculate-indent):
2885 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2886 * progmodes/prolog.el (end-of-prolog-clause):
2887 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2888 * progmodes/icon.el (indent-icon-exp):
2889 * progmodes/etags.el (tag-re-match-p):
2890 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2891 * progmodes/ebnf2ps.el (ebnf-begin-file):
2892 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2893 (dcl-save-local-variable):
2894 * play/life.el (life-setup):
2895 * play/gametree.el (gametree-looking-at-ply):
2896 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2897 * mail/sendmail.el (mail-mode-auto-fill):
2898 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2899 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2900 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2901 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2902 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2903 * type-break.el (type-break-file-keystroke-count):
2904 * term.el (term-replace-by-expanded-history-before-point)
2905 (term-skip-prompt, term-extract-string):
2906 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2907 (speedbar-contract-line, speedbar-toggle-line-expansion)
2908 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2909 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2910 * sort.el (sort-skip-fields):
2911 * skeleton.el (skeleton-internal-list):
2912 * simple.el (line-move-finish, line-move-to-column):
2913 * shell.el (shell-forward-command):
2914 * misc.el (copy-from-above-command):
2915 * makesum.el (double-column):
2916 * ebuff-menu.el (electric-buffer-update-highlight):
2917 * dired.el (dired-move-to-end-of-filename):
2918 * dframe.el (dframe-popup-kludge):
2919 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2920 * arc-mode.el (archive-get-lineno):
2921 Use line-end-position and line-beginning-position.
2922
2923 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2924 (idlwave-study-twins): Prefix dynamic local `class'.
2925 (idlwave-routine-twin-compare): Update for above name change.
2926
2927 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2928 Use boundp tests to silence compiler. Update for changed name of
2929 bytecomp-filename variable.
2930
2931 * emulation/viper-cmd.el (viper-read-string-with-history):
2932 Prefix dynamic local `initial'.
2933 (viper-minibuffer-standard-hook): Update for above name change.
2934
2935 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2936 (elint-init-form): Update for above name change.
2937
2938 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2939 local variables `cbeg' and `cend' a prefix.
2940 (mail-extr-voodoo): Update for above name change.
2941
2942 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2943 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2944 (reftex-toc-promote-action): Doc fix.
2945
2946 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2947 `prompt', `data' a prefix.
2948 (reftex-select-post-command-hook, reftex-select-callback)
2949 (reftex-select-mouse-accept, reftex-select-read-cite):
2950 Update for above name changes.
2951
2952 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2953 `refstyle' to reftex-refstyle.
2954 (reftex-offer-label-menu): Update for above name change.
2955 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2956 `refstyle' name change.
2957
2958 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2959 with with-current-buffer.
2960 (diff, template): Give dynamic local variables a prefix.
2961 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2962 (emerge-line-number-in-buf): Update for above name change.
2963 (emerge-combine-versions-internal): Rename local `template' to
2964 emerge-combine-template.
2965 (emerge-combine-versions-edit): Update for above name change.
2966
2967 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2968
2969 * textmodes/reftex-cite.el
2970 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2971 entries with whitespace after \bibitem.
2972 (reftex-create-bibtex-file): Match entries containing numbers and
2973 symbol constituents. Make sure that entries with whitespace at
2974 various places are found.
2975
2976 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2977
2978 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2979
2980 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2981
2982 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2983
2984 2010-11-05 Glenn Morris <rgm@gnu.org>
2985
2986 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2987 (woman2-roff-buffer): Give local variable `request' a prefix.
2988 (woman0-macro): Rename argument `request' in the same way.
2989 (woman-request): New name for `request' dynamic variable.
2990 (woman-unquote, woman-forward-arg): Update for above name change.
2991 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2992 (woman1-unquote): New name for `unquote' dynamic variable.
2993 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2994 (woman-translations): Rename from `translations'. No longer global.
2995 (woman2-tr, woman-translate): Update for above name change.
2996 (woman-translate): Check for bound variable.
2997 (woman2-roff-buffer): Give local variable `translations' a prefix.
2998
2999 * play/doctor.el: Give all local variables a prefix. Update callers.
3000 (doc$, doctor-put-meaning): Use backquote.
3001
3002 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3003 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3004
3005 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3006 variables bytes, ptr, op a prefix.
3007 (disassemble-offset): Update for above change.
3008
3009 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3010
3011 * emacs-lisp/package.el (package-unpack): Remove no-op.
3012 (package--builtins, package--dir): Doc fix.
3013 (package-activate-1, package-activate, package-install)
3014 (package-compute-transaction): Fix error message.
3015 (package-delete): Use delete-directory. Omit system packages.
3016 (package-initialize): Set package-alist to nil first.
3017 (package-menu-mark-delete, package-menu-mark-install): Don't add
3018 symbols that are inconsistent with the package state.
3019 (package-menu-execute): Perform deletions and installations as
3020 single batch operations.
3021
3022 2010-11-03 Glenn Morris <rgm@gnu.org>
3023
3024 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3025 (props): Remove unnecessary declaration.
3026
3027 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3028 set-process-query-on-exit-flag.
3029
3030 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3031 (reftex-toc-do-promote): Remove unused local `mpos'.
3032 (reftex-toc-restore-region): Make `mpos' local to this function.
3033
3034 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3035
3036 * play/landmark.el (lm-losing-threshold): Correct spelling.
3037 (lm-human-plays): Use new name.
3038
3039 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3040 (gomoku-human-plays): Use new name.
3041
3042 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3043 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3044 (gomoku-score-trans-table, gomoku-winning-threshold)
3045 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3046
3047 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3048
3049 * emacs-lisp/package.el: Don't put built-in packages in
3050 package-alist, to avoid loading inefficiencies.
3051 (package-built-in-p): Make VERSION optional, and treat it as a
3052 minimum acceptable version.
3053 (package-activate): Search separately for built-in packages.
3054 Emit a warning if a dependency fails.
3055 (define-package): Handle most common case, where there is no
3056 obsolete package, first.
3057 (package-compute-transaction): Print required version in error.
3058 (package--initialized): New variable.
3059 (list-packages): Use it.
3060 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3061 built-in packages in packages-alist; keep it separate.
3062 Set package--initialized.
3063 (describe-package): Avoid activating packages as a side-effect.
3064 Search separately for built-in packages.
3065 (describe-package-1): Handle the case where an elpa package is
3066 simultaneously built-in and available/installed.
3067 (package-installed-p, package--generate-package-list):
3068 Search separately for built-in packages.
3069 (package-load-descriptor): Doc fix.
3070
3071 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3074 Handle __DATA__ and __END__.
3075
3076 2010-11-02 Noah Friedman <friedman@splode.com>
3077
3078 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3079 nil, do not ask to recompile files that are not already compiled,
3080 and do not recompile them.
3081
3082 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3083
3084 * emacs-lisp/package.el (package-initialize): Ensure that
3085 obsoleted built-in packages are not in package-activated-list
3086 during activation.
3087 (describe-package-1): Make the "installed" status override
3088 "built-in".
3089
3090 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3091
3092 * subr.el (version-separator, version-regexp-alist): Remove '*'
3093 from docstring.
3094 (version-list-<=, version<=, version=): Doc fix.
3095
3096 2010-11-01 Kenichi Handa <handa@m17n.org>
3097
3098 * faces.el (glyphless-char): Inherit underline for tty.
3099
3100 2010-11-01 Kenichi Handa <handa@m17n.org>
3101
3102 Implement various display methods for glyphless characters.
3103
3104 * international/characters.el (char-acronym-table): New variable.
3105 (glyphless-char-control): New variable.
3106 (update-glyphless-char-display): New funciton.
3107
3108 * faces.el (glyphless-char): New face.
3109
3110 2010-11-01 Glenn Morris <rgm@gnu.org>
3111
3112 * calendar/holidays.el (general-holidays, oriental-holidays)
3113 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3114 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3115 the definitions of their targets.
3116
3117 * emacs-lisp/smie.el (smie): New custom group.
3118 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3119
3120 * faces.el (xw-defined-colors, x-setup-function-keys):
3121 * mouse-sel.el (x-select-text):
3122 * term/w32console.el (x-setup-function-keys): Update declarations.
3123
3124 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3125
3126 * textmodes/ispell.el (comment-add): Declare.
3127
3128 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3129 Declare.
3130
3131 * info.el (finder-keywords-hash, package-alist): Declare.
3132
3133 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3134
3135 * finder.el (finder-compile-keywords): Don't use intern-soft,
3136 since package names may not yet exist in the obarray.
3137
3138 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3139
3140 * vc/vc-arch.el (vc-arch-checkin):
3141 * vc/vc-cvs.el (vc-cvs-checkin):
3142 * vc/vc-mtn.el (vc-mtn-checkin):
3143 * vc/vc-rcs.el (vc-rcs-checkin):
3144 * vc/vc-sccs.el (vc-sccs-checkin):
3145 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3146 since 2010-04-21 commit by Stefan Monnier.
3147
3148 2010-11-01 Glenn Morris <rgm@gnu.org>
3149
3150 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3151
3152 * startup.el (package-enable-at-startup, package-initialize):
3153 Silence compiler.
3154
3155 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3156 Silence compiler.
3157
3158 2010-10-31 Julien Danjou <julien@danjou.info>
3159
3160 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3161 (byte-recompile-directory):
3162 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3163 Use `byte-recompile-file'.
3164
3165 2010-10-31 Glenn Morris <rgm@gnu.org>
3166
3167 * cus-start.el: Handle standard values via a keyword.
3168 Only set version property if specified.
3169 (cursor-in-non-selected-windows, menu-bar-mode)
3170 (tool-bar-mode, show-trailing-whitespace):
3171 Do not specify standard values.
3172 (transient-mark-mode, temporary-file-directory): Use :standard.
3173
3174 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3175
3176 * term/x-win.el (x-get-selection-value): New function that gets
3177 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3178
3179 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3180
3181 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3182 preserve owner and group when editing files. (Bug#7289)
3183
3184 2010-10-31 Glenn Morris <rgm@gnu.org>
3185
3186 * speedbar.el (speedbar-mode):
3187 * play/fortune.el (fortune-in-buffer, fortune):
3188 * play/gomoku.el (gomoku-mode):
3189 * play/landmark.el (lm-mode):
3190 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3191 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3192
3193 * select.el (x-selection): Mark it as an obsolete alias.
3194
3195 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3196
3197 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3198 major-mode (bug#7284).
3199
3200 2010-10-31 Glenn Morris <rgm@gnu.org>
3201
3202 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3203 rather than just an unused variable that inherits from the real one.
3204
3205 2010-10-31 Alan Mackenzie <acm@muc.de>
3206
3207 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3208 This fixes bug #7185.
3209
3210 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3211
3212 * startup.el (command-line): Search for package directories, and
3213 don't load package.el if none are found.
3214
3215 * emacs-lisp/package.el (describe-package, list-packages):
3216 Call package-initialize if it has not been called yet.
3217
3218 2010-10-30 Alan Mackenzie <acm@muc.de>
3219
3220 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3221 which fontifies the tail of an enum.
3222 (c-basic-matchers-after): Insert a call to the above new function.
3223 This fixes bug #7264.
3224
3225 2010-10-30 Glenn Morris <rgm@gnu.org>
3226
3227 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3228 tool-bar-mode, transient-mark-mode. (Bug#7306)
3229 Include the :set property in the dumped Emacs.
3230
3231 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 SMIE: change indent rules format, improve smie-setup.
3234 * emacs-lisp/smie.el (smie-precs-precedence-table)
3235 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3236 Mark them pure so the tables gets built at compile time.
3237 (smie-bnf-precedence-table): Store the closer-alist in the table.
3238 (smie-prec2-levels): Preserve the closer-alist.
3239 (smie-blink-matching-open): Be more forgiving in case of indentation.
3240 (smie-hanging-p): Rename from smie-indent--hanging-p.
3241 (smie-bolp): Rename from smie-indent--bolp.
3242 (smie--parent, smie--after): New dynamic vars.
3243 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3244 (smie-indent-rules): Remove.
3245 (smie-indent--offset-rule): Remove fun.
3246 (smie-rules-function): New var.
3247 (smie-indent--rule): New fun.
3248 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3249 (smie-indent-exps): Use it.
3250 (smie-setup): Setup paren blinking; add keyword args for token
3251 functions; extract closer-alist from op-levels.
3252 (smie-indent-debug-log): Remove var.
3253 (smie-indent-debug): Remove fun.
3254 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3255 (prolog-smie-rules): New fun to replace it.
3256 (prolog-mode-variables): Simplify.
3257 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3258 it's setup automatically.
3259 (octave-smie-indent-rules): Remove.
3260 (octave-smie-rules): New fun to replace it.
3261 (octave-mode): Simplify.
3262
3263 2010-10-29 Glenn Morris <rgm@gnu.org>
3264
3265 * files.el (temporary-file-directory): Remove (already defined in C).
3266 * cus-start.el: Add temporary-file-directory.
3267
3268 * abbrev.el (abbrev-mode):
3269 * composite.el (auto-composition-mode):
3270 * menu-bar.el (menu-bar-mode):
3271 * simple.el (transient-mark-mode):
3272 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3273 that they do not define the associated variables twice.
3274 * simple.el (transient-mark-mode): Remove defvar.
3275 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3276 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3277 Handle multiple groups, and also custom-delayed-init-variables.
3278 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3279
3280 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3283 (pcase-if): Add one minor optimization.
3284 (pcase-split-equal): Rename from pcase-split-eq.
3285 (pcase-split-member): Rename from pcase-split-memq.
3286 (pcase-u1): Add strings to the member optimization.
3287 Add `guard' variant of predicates.
3288 (pcase-q1): Add string patterns.
3289
3290 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3293
3294 2010-10-28 Glenn Morris <rgm@gnu.org>
3295
3296 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3297 Move menu-bar related settings to ../menu-bar.el.
3298 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3299 Move ns-specific settings here from term/ns-win.el.
3300
3301 * simple.el (x-selection-owner-p): Remove unused declaration.
3302
3303 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * minibuffer.el (completion-cycling): New var (bug#7266).
3306 (minibuffer-complete, completion--do-completion):
3307 Use completion--flush-all-sorted-completions.
3308 (minibuffer-complete): Only cycle if completion-cycling is set.
3309 (completion--flush-all-sorted-completions): Unset completion-cycling.
3310 (minibuffer-force-complete): Set completion-cycling.
3311 (completion-all-sorted-completions): Move declaration before first use.
3312
3313 2010-10-28 Leo <sdl.web@gmail.com>
3314
3315 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3316 which changes the order of matches seen by users (bug#7231).
3317
3318 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3319
3320 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3321 Don't confuse -omega as "-o mega".
3322
3323 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3324
3325 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3326 (log-edit-author): New dynamic var.
3327 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3328 to return the author if different from committer.
3329 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3330
3331 * play/landmark.el: Adjust commenting convention.
3332 (lm-nil-score): Rename from nil-score.
3333 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3334 (OOOOscore): Move into a let in lm-score-trans-table.
3335 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3336
3337 * electric.el (electric-indent-chars): Autoload.
3338 * progmodes/octave-mod.el (octave-mode):
3339 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3340 (ruby-mode-abbrev-table): Merge initialization and declaration.
3341
3342 2010-10-27 Glenn Morris <rgm@gnu.org>
3343
3344 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3345 variable.
3346
3347 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3348
3349 * term/ns-win.el: Restore require of cl when compiling.
3350 (menu-bar-final-items): Remove non-existent `windows' menu.
3351 (ns-handle-nxopen): Optionally handle the temp-case.
3352 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3353 (ns-insert-file, ns-find-file): Use `pop'.
3354
3355 2010-10-26 Glenn Morris <rgm@gnu.org>
3356
3357 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3358
3359 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3360
3361 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3362 global map.
3363 * term/common-win.el (x-setup-function-keys): Remove most of the
3364 keymappings. Comment on the remaining ones.
3365
3366 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3367
3368 * server.el (server-port): New option. (Bug#854)
3369 (server-start): Use server-port.
3370
3371 2010-10-26 Glenn Morris <rgm@gnu.org>
3372
3373 * term/ns-win.el (ns-version-string): Remove unused declaration.
3374 (ns-invocation-args): Change to x-invocation-args.
3375 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3376 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3377 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3378 Use x-invocation-args instead of ns-invocation-args.
3379 (ns-initialize-window-system, handle-args-function-alist):
3380 Use x-handle-args instead of ns-handle-args.
3381 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3382 * startup.el (command-line-ns-option-alist): Replace
3383 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3384 ns-handle-iconic with the x- equivalents.
3385
3386 * term/common-win.el (x-select-enable-clipboard):
3387 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3388
3389 * term/ns-win.el: No need to require cl when compiling.
3390 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3391 (xw-defined-colors): Use the common-win definitions.
3392 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3393 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3394 * term/common-win.el (x-select-text, x-alternatives-map)
3395 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3396 * loadup.el [ns]: Load common-win.
3397
3398 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3399
3400 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3401 recipients; expand mail aliases (Bug#7280).
3402
3403 2010-10-25 Glenn Morris <rgm@gnu.org>
3404
3405 * term/common-win.el (x-handle-switch): Simplify with pop.
3406 Optionally handle numeric switches.
3407 (x-handle-numeric-switch): Just call x-handle-switch.
3408 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3409 (x-handle-name-switch, x-handle-display, x-handle-args):
3410 Simplify with pop.
3411
3412 * term/ns-win.el: Do not require easymenu.
3413 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3414 <spell>: Move adjustments to menu-bar.el.
3415 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3416 <separator-undo, spell>: Move ns-win's adjustments here.
3417 * loadup.el [ns]: Do not load easymenu.
3418
3419 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3420
3421 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3422 Delete (Bug#7222).
3423
3424 * startup.el (fancy-startup-tail): Instead of using inline images,
3425 refer to image files from etc/.
3426
3427 * wid-edit.el (checkbox): Likewise.
3428 (widget-image-find): Center image specs.
3429
3430 2010-10-24 Glenn Morris <rgm@gnu.org>
3431
3432 * term/ns-win.el (x-select-text): Doc fix.
3433 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3434 (x-select-text): Move to term/common-win.
3435 * term/w32-win.el (xw-defined-colors): Move to common-win.
3436 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3437 (x-setup-function-keys, x-select-text): Move to common-win.
3438 * term/common-win.el (x-select-text, x-alternatives-map)
3439 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3440 definitions here.
3441
3442 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3443
3444 * net/mairix.el (mairix-searches-mode-map):
3445 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3446
3447 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3448
3449 * verilog-mode.el (verilog-directive-re): Make this variable
3450 auto-built for efficiency of execution and updating.
3451 (verilog-extended-complete-re): Support 'pure' fucntion & task
3452 declarations (these have no bodies).
3453 (verilog-beg-of-statement): General cleanup to enable support of
3454 'pure' fucntion & task declarations (these have no bodies).
3455 These efforts together fix Verilog bug210 from veripool; which was also
3456 noticed by Steve Pearlmutter.
3457 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3458 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3459 Support `elsif. Reported by Shankar Giri.
3460 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3461 attribute handling for lining up declarations and assignments.
3462 (verilog-beg-of-statement-1): Fix issue where continued declaration
3463 is indented differently if it is after a begin..end clock.
3464 (verilog-in-attribute-p, verilog-skip-backward-comments)
3465 (verilog-skip-forward-comment-p): Support proper treatment of
3466 attributes by indent code. Reported by Jeff Steele.
3467 (verilog-in-directive-p): Fix comment to correctly describe function.
3468 (verilog-backward-up-list, verilog-in-struct-region-p)
3469 (verilog-backward-token, verilog-in-struct-p)
3470 (verilog-in-coverage-p, verilog-do-indent)
3471 (verilog-pretty-declarations): Use verilog-backward-up-list as
3472 wrapper around backward-up-list inorder to properly skip comments.
3473 Reported by David Rogoff.
3474 (verilog-property-re, verilog-endcomment-reason-re)
3475 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3476 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3477 of if). Reported by Max Bjurling and
3478 (verilog-calc-1): Fix for clocking block in modport
3479 declaration. Reported by Brian Hunter.
3480
3481 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3482
3483 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3484 (verilog-gate-keywords, verilog-read-sub-decls)
3485 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3486 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3487 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3488 (verilog-read-decls): Fix spaces in V2K module parameters causing
3489 mis-identification as interfaces, bug287.
3490 (verilog-read-decls): Fix not treating "parameter string" as a
3491 parameter in AUTOINSTPARAM.
3492 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3493 treating `elsif similar to `endif inside AUTOSENSE.
3494 (verilog-do-indent): Implement correct automatic or static task or
3495 function end comment highlight. Reported by Steve Pearlmutter.
3496 (verilog-font-lock-keywords-2): Fix highlighting of single
3497 character pins, bug264. Reported by Michael Laajanen.
3498 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3499 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3500 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3501 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3502 (verilog-pretty-expr): Fix interactive arguments, bug272.
3503 Reported by Mark Johnson.
3504 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3505 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3506 bug269. Suggested by Gary Delp.
3507 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3508 (verilog-preprocessor, verilog-set-compile-command):
3509 Create verilog-preprocess and verilog-preprocessor to show
3510 preprocessed output.
3511 (verilog-get-beg-of-line, verilog-get-end-of-line)
3512 (verilog-modi-file-or-buffer, verilog-modi-name)
3513 (verilog-modi-point, verilog-within-string): Move defmacro's
3514 before first use to avoid warning. Reported by Steve Pearlmutter.
3515 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3516 (verilog-colorize-region, verilog-highlight-buffer)
3517 (verilog-highlight-includes, verilog-highlight-modules)
3518 (verilog-highlight-region, verilog-mode): Rename colorize to
3519 highlight to match other packages. Disable module highlighting,
3520 as received speed complaints, reenable for experimentation only
3521 using new verilog-highlight-modules.
3522 (verilog-read-decls): Fix regexp stack overflow in very large
3523 AUTO_TEMPLATEs, bug250.
3524 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3525 (verilog-scan): Create verilog-save-buffer-state to standardize
3526 making insignificant changes that shouldn't call hooks.
3527 (verilog-save-no-change-functions, verilog-save-scan-cache)
3528 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3529 Create verilog-save-no-change-functions to wrap verilog-scan
3530 preservation, and fix to work with nested preserved calls.
3531 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3532 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3533 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3534 (verilog-submit-bug-report): Update variable list to be complete.
3535 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3536 breaking on-the-fly font-locking.
3537 (verilog-colorize-buffer, verilog-colorize-include-files)
3538 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3539 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3540 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3541 AUTOINST cell instance name, middle mouse button now finds-file on
3542 it. Suggested by Brad Dobbie.
3543 (verilog-alw-get-temps, verilog-auto-reset)
3544 (verilog-auto-sense-sigs, verilog-read-always-signals)
3545 (verilog-read-always-signals-recurse): Fix loop indexes being
3546 AUTORESET. AUTORESET now assumes any variables in the
3547 initialization section of a for() should be ignored.
3548 Reported by Dan Dever.
3549 (verilog-error-font-lock-keywords)
3550 (verilog-error-regexp-emacs-alist)
3551 (verilog-error-regexp-xemacs-alist): Fix error detection of
3552 Cadence HAL, reported by David Asher. Repair drift between the
3553 three similar error variables.
3554 (verilog-modi-lookup, verilog-modi-lookup-cache)
3555 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3556 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3557 Fix slow verilog-auto expansion on very large files.
3558 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3559 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3560 "{1*2{...". Broke in last revision.
3561 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3562 submodule connections with replications "{#{a},#{b}}".
3563
3564 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3565
3566 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3567 Fix typo in docstring.
3568
3569 2010-10-24 Kenichi Handa <handa@m17n.org>
3570
3571 * face-remap.el (text-scale-adjust): Call read-event with a proper
3572 prompt.
3573
3574 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3575
3576 * emacs-lisp/unsafep.el: Don't mark functions that display
3577 messages as safe. Suggested by Johan Bockgård.
3578
3579 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3582 Turn comments into docstrings.
3583
3584 * minibuffer.el (completion--replace): Move point where it belongs
3585 when there's a common suffix (bug#7215).
3586
3587 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3588
3589 Merge read-color and facemenu-read-color (Bug#7242).
3590
3591 * faces.el (read-color): Use the completion code from
3592 facemenu-read-color. Require match in completion. Doc fix.
3593
3594 * facemenu.el (facemenu-read-color): Alias for read-color.
3595 (facemenu-set-foreground, facemenu-set-background):
3596 Use read-color.
3597
3598 * frame.el (set-background-color, set-foreground-color)
3599 (set-cursor-color, set-mouse-color, set-border-color):
3600 Use read-color.
3601
3602 2010-10-24 Leo <sdl.web@gmail.com>
3603
3604 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3605 argument of delete-file and delete-directory (Bug#7011).
3606
3607 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3608
3609 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3610 button-buffer-map.
3611
3612 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3613
3614 * emacs-lisp/package.el (package--generate-package-list): Make the
3615 *Packages* buffer read-only.
3616
3617 2010-10-24 Alan Mackenzie <acm@muc.de>
3618
3619 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3620 result of `c-beginning-of-decl-1' between invocations of a lambda
3621 function (Bug #7265).
3622
3623 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3624
3625 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3626 executable is not available on the system (Bug#7268).
3627
3628 2010-10-24 Glenn Morris <rgm@gnu.org>
3629
3630 * select.el (selection-coding-system, next-selection-coding-system):
3631 Sync doc with C versions.
3632
3633 * w32-vars.el (x-select-enable-clipboard):
3634 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3635 * term/common-win.el (x-select-enable-clipboard): Move here.
3636
3637 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3638 definition of C variable.
3639
3640 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3641 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3642 Don't redefine things that are defined in C.
3643 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3644 (show-trailing-whitespace, auto-hscroll-mode)
3645 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3646 Set up the appropriate custom properties.
3647
3648 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3649
3650 Bind "C-c ]" to ...
3651 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3652 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3653 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3654 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3655
3656 2010-10-23 Glenn Morris <rgm@gnu.org>
3657
3658 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3659 say what it was.
3660
3661 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3662 Sync docs with C version.
3663
3664 * term/ns-win.el (xw-defined-colors):
3665 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3666
3667 * term/pc-win.el (x-select-enable-clipboard):
3668 * term/x-win.el (x-select-enable-clipboard):
3669 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3670
3671 * comint.el (comint-password-prompt-regexp): Make it less vague.
3672 Bump version.
3673
3674 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3675
3676 * help.el (finder-by-keyword): Remove unnecessary autoload.
3677
3678 2010-10-22 Glenn Morris <rgm@gnu.org>
3679
3680 * loadup.el: Unconditionally load float-sup.
3681 * paren.el (show-paren-delay):
3682 * emacs-lisp/float-sup.el:
3683 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3684 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3685 (lazy-lock-stealth-verbose): Assume float support.
3686 * ps-print.el: Assume float support on Emacs.
3687 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3688 Remove non-float branch.
3689
3690 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3691 src/Makefile no longer being pre-processed.
3692
3693 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * emacs-lisp/find-func.el (find-library): Use test-completion.
3696
3697 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3698
3699 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3700
3701 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3702
3703 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3704 space in stat format string.
3705 (tramp-send-command): Unset $PS1 when using here documents, in
3706 order not to get several prompts.
3707 (tramp-get-inline-coding): Return `nil' in case of errors.
3708
3709 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3710
3711 * hexl.el (hexl-mode, hexl-mode-exit):
3712 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3713 (hexl-revert-buffer-function): New function.
3714 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3715
3716 2010-10-19 Alan Mackenzie <acm@muc.de>
3717
3718 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3719 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3720 that these keywords aren't wrongly matched as identifiers.
3721
3722 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3723 setting of c-new-BEG and c-new-END from c-before-change to
3724 c-after-change. (Bug#7181)
3725
3726 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3727
3728 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3729 Don't mark as safe.
3730
3731 * custom.el (custom-theme-set-variables): Likewise.
3732 (load-theme): Add custom-theme-set-faces and
3733 custom-theme-set-variables to safe-functions while loading.
3734 (custom-enabled-themes): Mark as risky.
3735
3736 2010-10-18 Julien Danjou <julien@danjou.info>
3737
3738 * bindings.el: Remove end dashes in default mode-line-format.
3739
3740 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3741
3742 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3743 to delete-forward-char.
3744
3745 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3746 deletechar, and hence delete-forward-char.
3747
3748 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * repeat.el (repeat): Use read-key (bug#6256).
3751
3752 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3753
3754 * emacs-lisp/unsafep.el: Don't mark functions that display
3755 messages as safe. Suggested by Johan Bockgård.
3756
3757 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * minibuffer.el (completion--replace): Move point where it belongs
3760 when there's a common suffix (bug#7215).
3761
3762 2010-10-19 Kenichi Handa <handa@m17n.org>
3763
3764 * international/characters.el: Add category '|' (word breakable)
3765 to fullwidth characters.
3766
3767 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3768
3769 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3770 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3771 order to make stat results a float. Patch by Andreas Schwab
3772 <schwab@linux-m68k.org>.
3773
3774 2010-10-18 Julien Danjou <julien@danjou.info>
3775
3776 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3777 hidden by `make-pointer-invisible'.
3778
3779 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 * files.el (locate-file-completion-table): Strip non-matching elements
3782 before checking length of list (bug#7238).
3783
3784 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3785
3786 * custom.el (custom-theme-set-variables): Mark as a safe function.
3787 (load-theme): Check forms using unsafep.
3788
3789 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3790
3791 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3792
3793 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3794 Fix aspell data file searching (bug#7230).
3795
3796 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3797
3798 * cus-theme.el (custom-theme--migrate-settings): New var.
3799 (customize-create-theme): Allow editing the `user' theme.
3800 (custom-theme-add-variable, custom-theme-add-var-1)
3801 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3802 to the front of each variable or face widget.
3803 (custom-theme-write): Save theme settings in the correct order.
3804 Optionally, remove saved settings from user customizations.
3805 (custom-theme-write-variables, custom-theme-write-faces):
3806 Save only the checked widgets.
3807 (customize-themes): Add a link for migrating custom settings.
3808
3809 * custom.el (custom-declare-theme, provide-theme):
3810 Use custom-theme-name-valid-p.
3811 (custom-theme-name-valid-p): Remove checks that are now
3812 unnecessary since themes no longer obey load-path.
3813
3814 * cus-edit.el (custom-variable-value-create): For the simple
3815 style, hide documentation string when hidden.
3816
3817 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3818
3819 * cus-edit.el (custom-variable, custom-face): Combine the
3820 :inhibit-magic and :display-style properties into a single
3821 :custom-style property.
3822 (custom-toggle-hide-variable, custom-toggle-hide-face):
3823 New functions. If hiding an edited value, save it to :shown-value.
3824 (custom-variable-value-create, custom-face-value-create): Use them.
3825 (custom-magic-reset): Allow magic property to be unset.
3826
3827 * custom.el: Custom themes no longer use load-path.
3828 (custom-theme-load-path): New option. Change built-in theme
3829 directory to etc/.
3830 (custom-enabled-themes): Add custom-theme-load-path dependency.
3831 (custom-theme--load-path): New function.
3832 (load-theme, custom-available-themes): Use it.
3833
3834 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3835 (customize-themes): Link to custom-theme-load-path variable.
3836 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3837 :custom-style property.
3838
3839 * themes/*.el: Moved to etc/.
3840
3841 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3842
3843 * textmodes/reftex-cite.el
3844 (reftex-extract-bib-entries-from-thebibliography): Do not move
3845 point when searching for \bibitem entries. Match entries with
3846 spaces or tabs in front of arguments.
3847
3848 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3849
3850 * cus-theme.el (customize-create-theme): Delete overlays after
3851 erasing. If given a THEME arg, display only the faces of that arg
3852 instead of custom-theme--listed-faces.
3853 (custom-theme-variable-menu, custom-theme-variable-action)
3854 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3855 (custom-theme-add-variable, custom-theme-add-face): Apply value
3856 from the theme settings, instead of the current value.
3857 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3858 (custom-theme-visit-theme): Allow calling outside theme buffers.
3859 (custom-theme-merge-theme): Don't enable the theme when merging.
3860 (custom-theme-write-variables, custom-theme-write-faces): Use the
3861 :shown-value properties to save buffer values, not global ones.
3862 (customize-themes): Display a warning about user customizations.
3863
3864 * cus-edit.el (custom-variable-value-create)
3865 (custom-face-value-create): Obey new special properties
3866 :shown-value and :inhibit-magic.
3867
3868 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3869
3870 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3871 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3872 <dale@codefu.org>.
3873
3874 2010-10-14 Kenichi Handa <handa@m17n.org>
3875
3876 * mail/rmail.el (rmail-show-message-1): Catch an error of
3877 base64-decode-region and just show an error message (bug#7165).
3878
3879 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3880 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3881 a font-spec (bug#7197).
3882
3883 2010-10-14 Glenn Morris <rgm@gnu.org>
3884
3885 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3886
3887 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3888
3889 * international/mule.el (define-coding-system):
3890 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3891 * composite.el (compose-region): Fix typo in docstring.
3892
3893 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3894
3895 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3896 only after checking the theme-face property.
3897
3898 * faces.el (face-spec-reset-face): Reset all attributes in one
3899 single call to set-face-attribute.
3900 (face-spec-match-p): Make it a defsubst.
3901 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3902 (x-create-frame-with-faces, tty-create-frame-with-faces)
3903 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3904 frame-set-background-mode, since they are recomputed immediately
3905 afterwards in face-set-after-frame-default.
3906 (face-set-after-frame-default): Minor optimization.
3907 (cursor): Provide non-trivial defface spec.
3908
3909 * custom.el (custom-theme-recalc-face): Simplify.
3910
3911 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3912
3913 * calc/calc-alg.el (math-var): Rename from `var'.
3914 (math-is-polynomial, math-is-poly-rec): Replace `var'
3915 with `math-var'.
3916
3917 * calc/calcalg2.el (math-var): Rename from `var'.
3918 (calcFunc-table, math-scan-for-limits): Replace `var'
3919 with `math-var'.
3920
3921 2010-10-13 Glenn Morris <rgm@gnu.org>
3922
3923 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3924
3925 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3926
3927 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3928
3929 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3930
3931 * net/tls.el (tls-program): Remove spurious %s from openssl.
3932 (tls-starttls-switches): Remove starttls hack.
3933 (open-tls-stream): Ditto.
3934 (tls-find-starttls-argument): Ditto.
3935
3936 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3937
3938 * image.el (image-library-alist): Declare as obsolete alias.
3939 (image-type-available-p): Use `dynamic-library-alist'.
3940
3941 * term/w32-win.el (dynamic-library-alist):
3942 Use instead of `image-library-alist'.
3943
3944 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3945
3946 * subr.el (last): Make it faster. (Bug#7174)
3947
3948 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3949
3950 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3951
3952 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3953
3954 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3955 (describe-theme-1): Extract doc from unloaded themes.
3956
3957 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3958
3959 * themes/tango-theme.el:
3960 * themes/tango-dark-theme.el:
3961 * themes/wheatgrass-theme.el: New files.
3962
3963 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3964
3965 * cus-theme.el (describe-theme, customize-themes)
3966 (custom-theme-save): New commands.
3967 (custom-new-theme-mode-map): Bind C-x C-s.
3968 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3969 (customize-create-theme): New optional arg THEME.
3970 (custom-theme-revert): Use it.
3971 (custom-theme-visit-theme): Remove dead code.
3972 (custom-theme-merge-theme): Use custom-available-themes.
3973 (custom-theme-write): Make interactive.
3974 (custom-theme-write): Use custom-theme-name-valid-p.
3975 (describe-theme-1, custom-theme-choose-revert)
3976 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3977 New funs.
3978 (custom-theme-allow-multiple-selections): New option.
3979 (custom-theme-choose-mode): New major mode.
3980
3981 * custom.el (custom-theme-set-variables): Remove dead code.
3982 Obey custom--inhibit-theme-enable.
3983 (custom--inhibit-theme-enable): New var.
3984 (provide-theme): Obey it.
3985 (load-theme): Replace load with manual read/eval, in order to
3986 check for correctness. Use custom-theme-name-valid-p.
3987 (custom-theme-name-valid-p): New function.
3988 (custom-available-themes): Use it.
3989
3990 * cus-edit.el (custom--initialize-widget-variables): New function.
3991 (Custom-mode): Use it.
3992
3993 * cus-face.el (custom-theme-set-faces): Remove dead code.
3994 Obey custom--inhibit-theme-enable.
3995
3996 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3997
3998 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3999
4000 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4001
4002 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4003
4004 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4005 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4006 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4007
4008 * cus-start.el (all): ns-right-alternate-modifier is new.
4009
4010 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * emacs-lisp/lisp.el (lisp-completion-at-point):
4013 Use emacs-lisp-mode-syntax-table for the whole function.
4014
4015 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4016
4017 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4018 instead of font-lock-mode before adding keywords.
4019 Remove hi-lock-mode off code. Remove inhibit hack.
4020 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4021 non-nil; removed hook inhibit hack.
4022
4023 2010-10-12 Glenn Morris <rgm@gnu.org>
4024
4025 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4026 (load-path-shadows-find): ... to this.
4027 (list-load-path-shadows): Update for above change.
4028
4029 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4030
4031 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4032
4033 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4034 Fix comment for declare-function.
4035
4036 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4037
4038 * custom.el (custom-fix-face-spec): New function; code moved from
4039 custom-face-edit-fix-value.
4040 (custom-push-theme): Use it when checking if a face has been
4041 changed outside customize.
4042 (custom-available-themes): New function.
4043 (load-theme): Use it.
4044
4045 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4046
4047 * custom.el (custom-push-theme): Cleanup (use cond).
4048 (disable-theme): Recompute the saved-face property.
4049 (custom-theme-recalc-face): Follow face alias before setting prop.
4050
4051 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4052 New variables, containing checkbox images.
4053
4054 * startup.el (fancy-startup-tail):
4055 * wid-edit.el (checkbox): Use them.
4056
4057 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4058
4059 * shell.el (shell-mode-map):
4060 * progmodes/modula2.el (m2-mode-map):
4061 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4062 * play/mpuz.el (mpuz-mode-map):
4063 * play/landmark.el (lm-mode-map):
4064 * play/decipher.el (decipher-mode-map):
4065 * play/5x5.el (5x5-mode-map):
4066 * net/telnet.el (telnet-mode-map):
4067 * net/quickurl.el (quickurl-list-mode-map):
4068 * net/mairix.el (mairix-searches-mode-map):
4069 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4070 * net/dig.el (dig-mode-map):
4071 * mail/mspools.el (mspools-mode-map):
4072 * hexl.el (hexl-mode-map):
4073 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4074 (wordstar-C-o-map, wordstar-C-q-map):
4075 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4076 * emacs-lisp/chart.el (chart-map):
4077 * edmacro.el (edmacro-mode-map):
4078 * erc/erc-list.el (erc-list-menu-mode-map):
4079 * array.el (array-mode-map): Declare and define in one step.
4080
4081 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4082
4083 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4084
4085 * epa.el (epa-passphrase-callback-function): Display filename
4086 passed as the 3rd arg.
4087 * epa-file.el (epa-file-passphrase-callback-function):
4088 Pass filename to epa-passphrase-callback-function.
4089
4090 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4091
4092 * cus-edit.el (custom-face-widget-to-spec)
4093 (custom-face-get-current-spec, custom-face-state): New functions.
4094 (custom-face-set, custom-face-mark-to-save)
4095 (custom-face-value-create, custom-face-state-set): Use them.
4096
4097 * cus-theme.el (custom-theme--listed-faces): New var.
4098 (customize-create-theme): Use *Custom Theme* as the buffer name.
4099 Set revert-buffer-function. Optional arg BUFFER. Insert all
4100 faces listed in custom-theme--listed-faces.
4101 (custom-theme-revert): New function.
4102 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4103 bottom of the list.
4104 (custom-theme-write): Prompt for theme name if empty.
4105 (custom-theme-write-variables): Use dolist.
4106 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4107
4108 2010-10-09 Alan Mackenzie <acm@muc.de>
4109
4110 Enhance fontification of declarators to take account of the
4111 presence/absence of "typedef".
4112
4113 * cc-engine.el (c-forward-type): New &optional param
4114 "brace-block-too".
4115 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4116 presence of either or both of a "struct"-like keyword and "typedef".
4117
4118 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4119 fontification of declarators which follow a "}".
4120 (c-font-lock-declarations): Fontify declarators according to the
4121 presence/absence of "typedef".
4122
4123 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4124 for "typedef".
4125 (c-typedef-decl-key): New lang variable built from
4126 c-typedef-decl-kwds.
4127
4128 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4129
4130 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4131 since that's too annoying. Move the filter groups commands to
4132 TAB/backtab.
4133
4134 * epa.el (epa-passphrase-callback-function): Say what we're
4135 querying the password for.
4136
4137 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4138 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4139
4140 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4141
4142 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4143 (custom-magic-value-create): Pad button tags with spaces.
4144 (custom-face-edit): New variable.
4145 (custom-face-value-create): Determine whether to use the usual
4146 face editor here, instead of using custom-face-selected.
4147 Pass face defaults to custom-face-edit widget.
4148 (custom-face-selected, custom-display-unselected): Delete widgets.
4149 (custom-display-unselected-match): Function removed.
4150 (custom-face-set, custom-face-mark-to-save):
4151 Accept custom-face-edit widgets as the direct widget child.
4152
4153 * wid-edit.el (widget--completing-widget): New var.
4154 (widget-default-complete): Bind it when doing completion.
4155 (widget-string-complete, widget-file-complete): Use it.
4156
4157 2010-10-09 Glenn Morris <rgm@gnu.org>
4158
4159 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4160 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4161 (holiday-hebrew-misc): Small simplifications.
4162
4163 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4164
4165 * net/browse-url.el: Don't require thingatpt, term, dired,
4166 executable, or w3-auto when compiling.
4167 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4168 Declare.
4169 (browse-url-text-emacs): Require term.
4170
4171 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4172
4173 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4174
4175 2010-10-08 Glenn Morris <rgm@gnu.org>
4176
4177 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4178
4179 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4180 (shadows-compare-text-p): Make it an obsolete alias for...
4181 (load-path-shadows-compare-text): ... new name.
4182 (find-emacs-lisp-shadows): Update for above name change.
4183 (load-path-shadows-same-file-or-nonexistent): New name for the old
4184 shadow-same-file-or-nonexistent.
4185
4186 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4187
4188 * minibuffer.el (completion--some, completion--do-completion)
4189 (minibuffer-complete-and-exit, minibuffer-completion-help)
4190 (completion-basic-try-completion)
4191 (completion-basic-all-completions)
4192 (completion-pcm--find-all-completions): Use lexical-let to
4193 avoid some false matches in variable completion (Bug#7056)
4194
4195 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4196
4197 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4198
4199 2010-10-08 Leo <sdl.web@gmail.com>
4200
4201 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4202 return non-nil if the file exists (Bug#7090).
4203
4204 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * minibuffer.el (completion--replace):
4207 Better preserve markers (bug#7138).
4208
4209 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4210
4211 * server.el (server-process-filter): Doc fix.
4212
4213 2010-10-08 Drew Adams <drew.adams@oracle.com>
4214
4215 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4216
4217 2010-10-08 Glenn Morris <rgm@gnu.org>
4218
4219 * vc/ediff-wind.el (ediff-setup-control-frame):
4220 * vc/ediff-ptch.el (ediff-default-backup-extension):
4221 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4222 (ediff-exec-process): Remove system-types emx, windows-95.
4223
4224 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4225
4226 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4227
4228 * cus-edit.el (custom-variable, custom-face): Doc fix.
4229 (custom-face-edit): Add value-create attribute.
4230 (custom-face-edit-value-create)
4231 (custom-face-edit-value-visibility-action): New functions.
4232 Hide unused face attributes by default, and add a visibility toggle.
4233 (custom-face-edit-deactivate): Show empty values with shadow face.
4234 (custom-face-selected): Only use this for face specs with default
4235 attributes.
4236 (custom-face-value-create): Cleanup.
4237
4238 * wid-edit.el (widget-checklist-value-create): Use dolist.
4239 (widget-checklist-match-find): Make second arg optional.
4240
4241 2010-10-07 Glenn Morris <rgm@gnu.org>
4242
4243 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4244 Prefix things.
4245
4246 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4247 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4248 load-path-shadows-mode, update references.
4249 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4250 Rename variable and button.
4251 (list-load-path-shadows): Update button caller.
4252
4253 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4256 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4257 (smie-merge-prec2s): Handle those new entries.
4258 (smie-prec2-levels): Only set precedence to nil for actual
4259 openers/closers.
4260 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4261 that is now unnecessary.
4262
4263 2010-10-07 Miles Bader <miles@gnu.org>
4264
4265 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4266
4267 2010-10-07 Glenn Morris <rgm@gnu.org>
4268
4269 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4270 (mail-position-on-field): Remove declarations.
4271 (mail-position-on-field): Autoload it.
4272 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4273 and mail-header-end. Don't require sendmail.
4274
4275 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4276 (shadow-mode): New mode.
4277 (shadow-find-file): New button.
4278 (list-load-path-shadows): Use shadow-mode and buttons.
4279
4280 * iimage.el (iimage-version): Remove.
4281 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4282 Turn into defcustoms.
4283 (iimage-mode-map): Give it a doc string.
4284
4285 * calendar/appt.el (appt-activate): Give a warning rather than an error
4286 if there is no diary-file.
4287
4288 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4289
4290 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4291 Use `tramp-handle-find-backup-file-name'.
4292
4293 2010-10-06 Glenn Morris <rgm@gnu.org>
4294
4295 * font-core.el (font-lock-defaults-alist): Remove variable.
4296 (font-lock-mode): Doc fix.
4297 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4298 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4299 (font-lock-set-defaults): Doc fix.
4300 Do not consult font-lock-defaults-alist.
4301
4302 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4303
4304 * emacs-lisp/cl.el: No longer provide cl-19.
4305
4306 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4307
4308 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4309 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4310 New defuns, taken from tramp-smb.el.
4311 (tramp-coding-system-change-eol-conversion)
4312 (tramp-set-process-query-on-exit-flag): Remove.
4313
4314 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4315 (tramp-compat-coding-system-change-eol-conversion)
4316 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4317 from tramp.el.
4318
4319 * net/tramp-gvfs.el:
4320 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4321 by `tramp-compat-set-process-query-on-exit-flag'.
4322
4323 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4324 Use `tramp-handle-directory-files-and-attributes',
4325 `tramp-handle-file-exists-p' and
4326 `tramp-handle-file-newer-than-file-p'.
4327 (tramp-imap-handle-file-exists-p)
4328 (tramp-imap-handle-file-executable-p)
4329 (tramp-imap-handle-file-readable-p)
4330 (tramp-imap-handle-directory-files-and-attributes)
4331 (tramp-imap-handle-file-newer-than-file-p): Remove.
4332
4333 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4334 by `tramp-compat-set-process-query-on-exit-flag' and
4335 `tramp-coding-system-change-eol-conversion' by
4336 `tramp-compat-coding-system-change-eol-conversion'.
4337
4338 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4339 Use `tramp-handle-directory-files-and-attributes',
4340 `tramp-handle-file-exists-p' and
4341 `tramp-handle-file-newer-than-file-p'.
4342 (tramp-smb-handle-directory-files-and-attributes)
4343 (tramp-smb-handle-file-exists-p)
4344 (tramp-smb-handle-file-newer-than-file-p): Remove.
4345 (tramp-smb-maybe-open-connection):
4346 Replace `tramp-set-process-query-on-exit-flag' by
4347 `tramp-compat-set-process-query-on-exit-flag'.
4348
4349 2010-10-05 Glenn Morris <rgm@gnu.org>
4350
4351 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4352
4353 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4354
4355 Continue reorganization of load dependencies. (Bug#7156)
4356
4357 * net/tramp.el (tramp-handle-file-local-copy-hook)
4358 (tramp-delete-temp-file-function): Move down.
4359 (tramp-exists-file-name-handler): Move up.
4360 (tramp-register-file-name-handlers): Simplify autoload.
4361 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4362 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4363 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4364 (tramp-handle-file-name-completion)
4365 (tramp-handle-file-name-directory)
4366 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4367 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4368 (tramp-handle-find-backup-file-name)
4369 (tramp-handle-insert-file-contents, tramp-handle-load)
4370 (tramp-handle-substitute-in-file-name)
4371 (tramp-handle-unhandled-file-name-directory)
4372 (tramp-mode-string-to-int, tramp-local-host-p)
4373 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4374
4375 * net/tramp-gvfs.el (top):
4376 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4377
4378 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4379 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4380
4381 2010-10-04 Glenn Morris <rgm@gnu.org>
4382
4383 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4384 (appt-activate): Give status messages.
4385
4386 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4387
4388 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4389 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4390 `gnutls-negotiate' (formerly `starttls-negotiate').
4391 Remove trivial wrapper `starttls-open-stream'.
4392
4393 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4394
4395 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4396 log-outgoing commands.
4397 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4398 to create a buffer local revert-buffer-function variable.
4399 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4400 revert-buffer-function lambda.
4401
4402 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4403
4404 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4405 `gnutls-boot'. Make TYPE the only required parameter.
4406 Allow TRUSTFILES and KEYFILES to be lists.
4407 (open-ssl-stream): Use it.
4408
4409 2010-10-03 Glenn Morris <rgm@gnu.org>
4410
4411 * subr.el (directory-sep-char): Remove obsolete variable.
4412 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4413 it is "necessary".
4414
4415 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4416 * vc/vc.el (vc-static-header-alist): Doc fix.
4417 * vc/vc-cvs.el (vc-cvs-header):
4418 * vc/vc-rcs.el (vc-rcs-header):
4419 * vc/vc-sccs.el (vc-sccs-header):
4420 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4421 * obsolete/vc-mcvs.el (vc-mcvs-header):
4422 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4423 on XEmacs.
4424
4425 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4426
4427 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4428 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4429
4430 2010-10-03 Glenn Morris <rgm@gnu.org>
4431
4432 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4433
4434 * textmodes/rst.el (rst-font-lock-keywords-function):
4435 Drop Emacs 20 code.
4436
4437 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4438
4439 * printing.el: Drop Emacs 20 code.
4440
4441 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4442 without having used appt.el already).
4443
4444 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4445 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4446 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4447 XEmacs.
4448 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4449 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4450
4451 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4452 (charset-width, find-charset-region, chars-in-region, forward-point)
4453 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4454 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4455 Remove compatibility cruft (none of these are used by ps*.el).
4456
4457 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4458
4459 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4460
4461 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4462
4463 * server.el (server-process-filter, server-return-error):
4464 Give emacsclient time to shut down after receiving an error string.
4465
4466 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4467
4468 * files.el (remote-file-name-inhibit-cache): New defcustom.
4469
4470 * time.el (display-time-file-nonempty-p):
4471 Use `remote-file-name-inhibit-cache'.
4472
4473 * net/tramp.el (tramp-completion-reread-directory-timeout):
4474 Fix docstring.
4475
4476 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4477 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4478 `remote-file-name-inhibit-cache'. Check also for an integer
4479 value. Add/increase counter when `tramp-verbose' >= 10.
4480 (tramp-set-file-property): Add/increase counter when
4481 `tramp-verbose' >= 10.
4482
4483 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4484 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4485 (tramp-bug): Set tramp-autoload cookie. Report all interned
4486 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4487 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4488 characters only in strings.
4489
4490 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4491 to backward compatibility.
4492
4493 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4494 (tramp-handle-file-name-all-completions)
4495 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4496 (tramp-open-connection-setup-interactive-shell):
4497 Call `tramp-cleanup-connection' directly.
4498
4499 2010-10-02 Glenn Morris <rgm@gnu.org>
4500
4501 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4502
4503 * subr.el (char-bytes): Remove obsolete function.
4504
4505 * isearch.el (isearch-return-char): Remove obsolete function.
4506
4507 * mouse.el: No longer provide mldrag.
4508 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4509 Remove obsolete aliases.
4510
4511 * comint.el (comint-kill-output): Remove obsolete alias.
4512
4513 * composite.el (decompose-composite-char): Remove obsolete function.
4514 * ps-def.el (decompose-composite-char): Remove unused function.
4515
4516 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4517
4518 * outline.el (outline-visible): Remove obsolete function.
4519
4520 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4521 * faces.el (internal-find-face, internal-get-face)
4522 (frame-update-faces, frame-update-face-colors)
4523 (x-frob-font-weight, x-frob-font-slant)
4524 (internal-frob-font-weight, internal-frob-font-slant)
4525 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4526 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4527 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4528 since Emacs 21.1.
4529 * emulation/viper-util.el (viper-get-face):
4530 * obsolete/lucid.el (find-face, get-face): Use facep.
4531 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4532 Remove unused functions.
4533 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4534
4535 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4536 delete tempfile if interrupted during compilation.
4537
4538 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4539
4540 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4541 gnutls-cli.
4542 (tls-program): Add --insecure to be consistent with the defaults from
4543 openssl s_client. Now all three commands are insecure.
4544
4545 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4546
4547 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4548 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4549 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4550
4551 2010-10-01 Glenn Morris <rgm@gnu.org>
4552
4553 * obsolete/sc.el: Remove file.
4554
4555 * files.el (temporary-file-directory): On darwin, also try
4556 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4557
4558 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4559
4560 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4561 Let's not break compatibility gratuitously, shall we?
4562
4563 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4564
4565 * net/tls.el (tls-starttls-switches): New variable.
4566 (tls-find-starttls-argument): Use it.
4567 (open-tls-stream): Ditto.
4568
4569 * net/netrc.el (netrc-credentials): Return the value of the "default"
4570 entry.
4571 (netrc-machine): Ditto.
4572
4573 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4574
4575 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4576
4577 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4578
4579 * server.el (server-start): Don't write pid to the authentication file.
4580 (server-create-tty-frame): Don't send pid.
4581 (server-process-filter): Send pid at the start of every connection.
4582
4583 2010-09-30 Glenn Morris <rgm@gnu.org>
4584
4585 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4586 (show-all-diary-entries): Remove obsolete function aliases.
4587
4588 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4589 Remove options, obsolete since 22.1.
4590 (appt-display-format, appt-display-message):
4591 Remove backwards-compatibility code.
4592 (appt-check): No longer check appt-issue-message.
4593 (appt-make-list): No longer autoload it. Doc fix. No longer
4594 activate the package.
4595
4596 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4597
4598 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4599 (starttls-negotiate): Just call boot, and let the handshake be
4600 triggered from the read loop.
4601
4602 2010-09-29 Glenn Morris <rgm@gnu.org>
4603
4604 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4605 not displaying the diary.
4606 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4607 * calendar/appt.el (appt-check): No longer need to kill diary.
4608
4609 * calendar/diary-lib.el (diary-list-entries): Move the
4610 "Preparing..." message entirely here.
4611 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4612 messages to diary-list-entries.
4613 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4614 diary-display-function.
4615
4616 * calendar/diary-lib.el (diary-include-other-diary-files):
4617 Trap some recursive includes.
4618
4619 * calendar/appt.el (appt-activate): Check diary file.
4620
4621 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4622
4623 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4624 construction.
4625
4626 * calendar/time-date.el: No need to require cl for Emacs 21.
4627
4628 2010-09-28 Glenn Morris <rgm@gnu.org>
4629
4630 * calendar/appt.el (appt-check): Minor simplification.
4631
4632 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4633
4634 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4635 citation prefix.
4636
4637 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4638
4639 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4640 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4641
4642 2010-09-27 Kenichi Handa <handa@m17n.org>
4643
4644 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4645 "ustar" format.
4646
4647 2010-09-27 Kenichi Handa <handa@m17n.org>
4648
4649 * international/mule.el (define-coding-system): Docstring fixed.
4650
4651 * international/mule-diag.el (describe-character-set): Use princ
4652 with proper print-length and print-level instead of insert.
4653
4654 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4655
4656 * window.el (walk-windows): Doc fix (bug#7105).
4657
4658 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * emacs-lisp/float-sup.el (e): Remove.
4661
4662 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4663
4664 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4665 variable.
4666 (starttls-negotiate): Use it.
4667
4668 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4669
4670 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4671 back.
4672
4673 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4674
4675 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4676
4677 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4678
4679 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4680
4681 * net/netrc.el (netrc-store-data): New function.
4682
4683 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4684
4685 * net/gnutls.el: GnuTLS glue code to set up a connection.
4686
4687 2010-09-25 Julien Danjou <julien@danjou.info>
4688
4689 * notifications.el: Call dbus-register-signal only if it is bound.
4690
4691 2010-09-25 Glenn Morris <rgm@gnu.org>
4692
4693 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4694 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4695 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4696 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4697 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4698 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4699 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4700 * eshell/esh-util.el, eshell/esh-var.el:
4701 Remove leading `*' from docs of faces and defcustoms.
4702
4703 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4704
4705 * eshell/em-ls.el (eshell-ls-archive-regexp):
4706 * eshell/esh-util.el (eshell-tar-regexp):
4707 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4708 * info.el (Info-suffix-list):
4709 * international/mule.el (auto-coding-alist):
4710 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4711 * progmodes/etags.el (tags-compression-info-list):
4712 Support xz compression.
4713
4714 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4715
4716 * files.el (get-free-disk-space): Don't assume the "df" output
4717 columns line up (Bug#6995).
4718
4719 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4720
4721 * finder.el (finder-unknown-keywords):
4722 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4723 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4724
4725 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4726
4727 * server.el (server-start): Revert part of 2010-08-08 change. Using
4728 address 127.0.0.1 for local host is now done in Fmake_network_process.
4729
4730 2010-09-24 Glenn Morris <rgm@gnu.org>
4731
4732 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4733 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4734 * textmodes/css-mode.el, textmodes/dns-mode.el:
4735 Move autoloaded auto-mode-alist entries to files.el.
4736 * files.el (auto-mode-alist): Move entries here.
4737
4738 2010-09-23 Glenn Morris <rgm@gnu.org>
4739
4740 * isearch.el (isearch-lazy-highlight-cleanup)
4741 (isearch-lazy-highlight-initial-delay)
4742 (isearch-lazy-highlight-interval)
4743 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4744 * net/net-utils.el (ipconfig-program-options):
4745 Move aliases to options before the associated definitions.
4746
4747 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4748
4749 * newcomment.el (comment-normalize-vars): Better test validity of
4750 comment-end-skip.
4751
4752 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4755 (float-e): New name for `e'.
4756 (degrees-to-radians, radians-to-degrees):
4757 * calendar/solar.el (solar-longitude):
4758 * calculator.el (calculator-registers, calculator-funcall):
4759 * textmodes/artist.el (artist-spray-random-points):
4760 * play/bubbles.el (bubbles--initialize-images): Use new names.
4761
4762 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4763
4764 Update to CEDET 1.0's version of EIEIO.
4765
4766 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4767 New function.
4768 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4769 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4770 (class-precedence-list): If class is nil, return nil.
4771 (eieio-generic-call): If class of first input arg is nil, don't
4772 look up static methods, and do check for primary methods.
4773 (initialize-instance): See if the default needs to be evaluated
4774 during the constructor.
4775 (eieio-perform-slot-validation-for-default): Don't do the check
4776 for values that will eventually be evaluated.
4777 (eieio-eval-default-p): New function.
4778 (eieio-default-eval-maybe): Use it.
4779
4780 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4781
4782 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4783 method-invocation-order.
4784 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4785 (eieio-class-precedence-dfs): Compute class precedence list using
4786 dfs algorithm.
4787 (eieio-class-precedence-bfs): Compute class precedence list using
4788 bfs algorithm.
4789 (eieio-class-precedence-c3): Compute class precedence list using
4790 c3 algorithm.
4791 (class-precedence-list): New function.
4792 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4793 (inconsistent-class-hierarchy): New error symbol.
4794 (call-next-method): Stow the replacement argument list for future
4795 call-next-method invocations.
4796
4797 2010-09-23 Glenn Morris <rgm@gnu.org>
4798
4799 * calendar/appt.el (appt-check): If not displaying the diary,
4800 use (diary 1) to only get the entries we need.
4801 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4802 that it is in day order. (Bug#7019)
4803
4804 * calendar/appt.el (appt-check): Rather than showing the diary,
4805 just turn off invisible display, and only if needed.
4806
4807 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4808
4809 2010-09-23 Glenn Morris <rgm@gnu.org>
4810
4811 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4812 (byte-compile-defvar, byte-compile-cl-warn):
4813 Start warnings with lower-case, like the majority.
4814
4815 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4816
4817 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4818
4819 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4820 * files.el (auto-mode-alist): Move ld-script entries here, further down
4821 the list.
4822
4823 * vc/add-log.el: Don't require timezone when compiling.
4824 (timezone-make-date-sortable): Autoload it.
4825 (change-log-sortable-date-at): Don't require timezone.
4826 Use `ignore-errors'.
4827
4828 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4829 Move alias before definition, so it does not need autoloading.
4830
4831 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4832 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4833 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4834 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4835 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4836 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4837 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4838 * textmodes/tex-mode.el, textmodes/two-column.el:
4839 Remove leading `*' from docs of defcustoms etc.
4840
4841 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4842
4843 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4844
4845 2010-09-22 Dan Christensen <jdc@uwo.ca>
4846
4847 * calendar/time-date.el (date-to-time): Try using parse-time-string
4848 first before using the slower timezone-make-date-arpa-standard.
4849
4850 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4851
4852 * calendar/time-date.el (format-seconds): Comment fix.
4853
4854 2010-09-22 Glenn Morris <rgm@gnu.org>
4855
4856 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4857 is not automatically buffer-local.
4858
4859 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4862 (smie-indent-comment): Be more careful with comment-start-skip.
4863 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4864 (smie-indent-functions): Use them.
4865
4866 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4867
4868 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4869
4870 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4871
4872 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4873 tool-bar-position. Don't modify frame parameters here.
4874 (menu-bar-options-save): Add tool-bar-position.
4875
4876 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4877
4878 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4879
4880 * textmodes/reftex-parse.el (reftex-what-macro)
4881 (reftex-context-substring): Let-bind forward-sexp-function to nil
4882 since we don't need/want to treat \begin...\end as a block (bug#7053).
4883
4884 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4885
4886 * simple.el (blink-matching-open): Use syntax-class.
4887
4888 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4889 Set invisibility spec for pascal's outline mode.
4890 (pascal-outline-change): Clean up calling convention.
4891 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4892
4893 * progmodes/prolog.el (prolog-smie-forward-token)
4894 (prolog-smie-backward-token): New functions.
4895 (prolog-mode-variables): Use them to parse "!," correctly.
4896 Set up smie-blink-matching for ".".
4897
4898 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4899 and `end'.
4900 (ispell-region, ispell-process-line): Update users.
4901
4902 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4903 point-min==1.
4904
4905 * textmodes/ispell.el: Fix commenting convention.
4906 (ispell-parse-output): Simplify, use push.
4907 (ispell-region): Use match-string-no-properties.
4908 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4909 (ispell-minor-mode): Use define-minor-mode.
4910 (ispell-message): Remove unused var `skip-regexp'.
4911 (ispell-add-per-file-word-list): Use dynamic let-binding.
4912 Try and use the proper comment marker.
4913
4914 * mail/sendmail.el: Fix commenting convention.
4915 (sendmail-send-it): Use line-beginning-position.
4916
4917 * help-fns.el (describe-variable): Add original value, if applicable.
4918
4919 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4920
4921 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4922
4923 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4924
4925 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4928 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4929 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4930 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4931 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4932 something like "." can also be a closer.
4933 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4934 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4935 Rename internal functions to use "--". Update callers.
4936
4937 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4938
4939 * fringe.el (fringe-styles): New var.
4940 (fringe-mode, fringe-query-style): Use it.
4941
4942 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4943
4944 * progmodes/sql.el: Version 2.8
4945 (sql-login-params): Update widget structure; changes still needed.
4946 (sql-product-alist): Add :list-all and :list-table features for
4947 SQLite, Postgres and MySQL products.
4948 (sql-redirect): Handle default value.
4949 (sql-execute, sql-execute-feature): New functions.
4950 (sql-read-table-name): New function.
4951 (sql-list-all, sql-list-table): New functions. User API.
4952 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4953 for above functions.
4954 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4955 for above functions.
4956 (sql-postgres-login-params): Add user and database defaults.
4957 (sql-buffer-live-p): Bug fix.
4958 (sql-product-history): New variable.
4959 (sql-read-product): New function. Use it.
4960 (sql-set-product, sql-product-interactive): Use it.
4961 (sql-connection-history): New variable.
4962 (sql-read-connection): New function. Use it.
4963 (sql-connect): New function.
4964 (sql-for-each-login): Redesign function interface.
4965 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4966 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4967 (sql-comint): Check for program. Existing live buffer.
4968 (sql-comint-postgres): Add port parameter.
4969
4970 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * emacs-lisp/warnings.el: Fix commenting convention.
4973 (display-warning): Use special mode and make the buffer read-only.
4974
4975 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4976
4977 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4978 empty string when it follows a repeated or optional pattern.
4979
4980 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4983 (indent-region): Use indent-according-to-mode.
4984
4985 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4986
4987 * fringe.el (fringe-mode): Doc fix.
4988
4989 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4990
4991 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4992 refreshing the preview buffer.
4993
4994 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4997 (latex-syntax-propertize-rules): New consts; replace
4998 tex-font-lock-syntactic-keywords.
4999 (tex-env-mark, latex-env-before-change): New functions.
5000 (latex-electric-env-pair-mode): New minor mode.
5001 (tex-font-lock-verb): Change arguments; do move point.
5002 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5003 representation as a form of comment.
5004 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5005 (doctex-syntax-propertize-rules): New const; replaces
5006 doctex-font-lock-syntactic-keywords.
5007 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5008
5009 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5010 (fortran-make-syntax-propertize-function): New function; replaces
5011 fortran-font-lock-syntactic-keywords.
5012 (fortran-mode): Use it.
5013 (fortran-line-length): Use it. Improve interactive spec.
5014
5015 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5016 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5017 when adding surrounding \(..\).
5018
5019 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5020
5021 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5024 Use with-current-buffer.
5025
5026 * isearch.el (isearch-face): Rename from `isearch'.
5027 (isearch-highlight): Use new name.
5028
5029 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5030
5031 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5032 5, for `half' width fringes. (Bug#6933)
5033
5034 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5037 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5038
5039 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5040
5041 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5042
5043 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5044 in calculating new frame position. Add more space between new and
5045 parent on the left (Bug#7048).
5046
5047 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5048
5049 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5050 defmacro.
5051
5052 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5053
5054 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5055
5056 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5057 obsolete alias for x-selection-value.
5058
5059 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5060
5061 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5062
5063 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5064 cookie.
5065
5066 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5067
5068 * net/tramp-compat.el (tramp-compat-with-temp-message)
5069 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5070 (tramp-compat-process-put): New defuns.
5071
5072 * net/tramp.el (top):
5073 * net/tramp-gvfs.el (top):
5074 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5075
5076 * net/tramp.el (tramp-progress-reporter-update):
5077 Use `tramp-compat-funcall'.
5078
5079 * net/tramp.el (tramp-process-actions):
5080 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5081 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5082 (tramp-get-remote-stat, tramp-get-remote-readlink):
5083 Use `tramp-compat-with-temp-message'.
5084
5085 * net/tramp-sh.el (top): Require 'cl.
5086 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5087 (tramp-open-connection-setup-interactive-shell):
5088 Use `tramp-compat-process-put'.
5089
5090 2010-09-15 Alan Mackenzie <acm@muc.de>
5091
5092 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5093 indentation.
5094 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5095
5096 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5099 `lexical' for warnings related to lexical scoping.
5100 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5101 global vars which don't have a prefix and could hence affect lexical
5102 scoping in unrelated files.
5103
5104 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5105
5106 * net/imap.el: Revert back to version
5107 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5108 seem problematic.
5109
5110 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5111
5112 * obsolete/old-whitespace.el (whitespace-unload-function):
5113 Explicitly pass `obarray' to `unintern' to avoid a warning.
5114
5115 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5118 Add `when' argument. Update callers.
5119
5120 * subr.el (unintern): Declare the obarray arg mandatory.
5121
5122 2010-09-14 Glenn Morris <rgm@gnu.org>
5123
5124 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5125 Doc fixes.
5126
5127 * calendar/diary-lib.el (diary-included-files): New variable.
5128 (diary-list-entries): Maybe initialize diary-included-files.
5129 (diary-include-other-diary-files): Append to diary-included-files.
5130 * calendar/appt.el (appt-update-list): Also check the members of
5131 diary-included-files. (Bug#6999)
5132 (appt-check): Doc fix.
5133
5134 2010-09-14 David Reitter <david.reitter@gmail.com>
5135
5136 * simple.el (line-move-visual): Do not truncate goal column to
5137 integer size. (Bug#7020)
5138
5139 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * repeat.el (repeat): Allow repeating when the last event is a click.
5142 Suggested by Drew Adams (bug#6256).
5143
5144 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5145
5146 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5147 Replace setting HGRCPATH to "" by some less invasive --config options.
5148
5149 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * font-lock.el (font-lock-beginning-of-syntax-function):
5152 Mark as obsolete.
5153
5154 2010-09-14 Glenn Morris <rgm@gnu.org>
5155
5156 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5157 and tool-bar modes. (Bug#6211)
5158 (menu-bar-mode): Move setting of standard-value after the
5159 minor-mode definition, otherwise it seems to have no effect.
5160
5161 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5162
5163 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5164 Fix typo. (Bug#6976)
5165
5166 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5167
5168 * whitespace.el: Allow cleaning up blanks without blank
5169 visualization (Bug#6651). Adjust help window for
5170 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5171 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5172 (whitespace-style): Add new value 'face. Adjust docstring.
5173 (whitespace-space, whitespace-hspace, whitespace-tab):
5174 Adjust foreground property face.
5175 (whitespace-line-column): Adjust docstring and type declaration.
5176 (whitespace-style-value-list, whitespace-toggle-option-alist)
5177 (whitespace-help-text): Adjust const initialization.
5178 (whitespace-toggle-options, global-whitespace-toggle-options):
5179 Adjust docstring.
5180 (whitespace-display-window, whitespace-interactive-char)
5181 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5182 (whitespace-help-scroll): New fun.
5183
5184 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5185
5186 * calendar/time-date.el (format-seconds): Comment fix.
5187
5188 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5189
5190 * progmodes/sql.el: Version 2.7.
5191 (sql-buffer-live-p): Improve detection.
5192 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5193 (sql-set-sqli-buffer): Use it.
5194 (sql-product-interactive): Run `sql-set-sqli-hook'.
5195 (sql-rename-buffer): Code cleanup.
5196 (sql-redirect, sql-redirect-value): New functions. More to come.
5197
5198 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5199
5200 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.
5201 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5202 (TRAMP_SRC): New macro.
5203 ($(lisp)/net/tramp-loaddefs.el): New target.
5204
5205 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5206
5207 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5208
5209 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5210
5211 * net/tramp.el (top): Don't show loading message. Require just
5212 'tramp-compat, everything else is required there.
5213 Use `ignore-errors' where appropriate.
5214 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5215 (tramp-terminal-type, tramp-end-of-output)
5216 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5217 (tramp-completion-function-alist-ssh)
5218 (tramp-completion-function-alist-telnet)
5219 (tramp-completion-function-alist-su)
5220 (tramp-completion-function-alist-putty, tramp-remote-path)
5221 (tramp-remote-process-environment, tramp-sh-extra-args)
5222 (tramp-actions-before-shell, tramp-uudecode)
5223 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5224 (tramp-perl-file-attributes)
5225 (tramp-perl-directory-files-and-attributes)
5226 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5227 (tramp-perl-encode, tramp-perl-decode)
5228 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5229 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5230 (tramp-handle-make-symbolic-link, tramp-handle-load)
5231 (tramp-handle-file-name-as-directory)
5232 (tramp-handle-file-name-directory)
5233 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5234 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5235 (tramp-do-file-attributes-with-ls)
5236 (tramp-do-file-attributes-with-perl)
5237 (tramp-do-file-attributes-with-stat)
5238 (tramp-handle-set-visited-file-modtime)
5239 (tramp-handle-verify-visited-file-modtime)
5240 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5241 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5242 (tramp-handle-file-selinux-context)
5243 (tramp-handle-set-file-selinux-context)
5244 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5245 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5246 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5247 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5248 (tramp-handle-file-ownership-preserved-p)
5249 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5250 (tramp-handle-directory-files-and-attributes)
5251 (tramp-do-directory-files-and-attributes-with-perl)
5252 (tramp-do-directory-files-and-attributes-with-stat)
5253 (tramp-handle-file-name-all-completions)
5254 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5255 (tramp-handle-copy-file, tramp-handle-copy-directory)
5256 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5257 (tramp-do-copy-or-rename-file-via-buffer)
5258 (tramp-do-copy-or-rename-file-directly)
5259 (tramp-do-copy-or-rename-file-out-of-band)
5260 (tramp-handle-make-directory, tramp-handle-delete-directory)
5261 (tramp-handle-delete-file)
5262 (tramp-handle-dired-recursive-delete-directory)
5263 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5264 (tramp-handle-insert-directory)
5265 (tramp-handle-unhandled-file-name-directory)
5266 (tramp-handle-expand-file-name)
5267 (tramp-handle-substitute-in-file-name)
5268 (tramp-handle-executable-find, tramp-process-sentinel)
5269 (tramp-handle-start-file-process, tramp-handle-process-file)
5270 (tramp-handle-call-process-region, tramp-handle-shell-command)
5271 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5272 (tramp-handle-insert-file-contents)
5273 (tramp-handle-insert-file-contents-literally)
5274 (tramp-handle-find-backup-file-name)
5275 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5276 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5277 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5278 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5279 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5280 (tramp-find-file-exists-command, tramp-open-shell)
5281 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5282 (tramp-open-connection-setup-interactive-shell)
5283 (tramp-local-coding-commands, tramp-remote-coding-commands)
5284 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5285 (tramp-inline-compress-commands, tramp-find-inline-compress)
5286 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5287 (tramp-send-command, tramp-wait-for-output)
5288 (tramp-send-command-and-check, tramp-barf-unless-okay)
5289 (tramp-send-command-and-read, tramp-mode-string-to-int)
5290 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5291 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5292 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5293 (tramp-method-out-of-band-p, tramp-local-host-p)
5294 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5295 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5296 (tramp-get-test-command, tramp-get-test-nt-command)
5297 (tramp-get-file-exists-command, tramp-get-remote-ln)
5298 (tramp-get-remote-perl, tramp-get-remote-stat)
5299 (tramp-get-remote-readlink, tramp-get-remote-trash)
5300 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5301 (tramp-get-local-uid, tramp-get-local-gid)
5302 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5303 tramp-sh.el.
5304 (tramp-methods, tramp-default-method-alist)
5305 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5306 Move initialization to tramp-sh.el.
5307 (tramp-temp-name-prefix): Make it a defconst.
5308 (tramp-dissect-file-name): Don't check anymore for multi-hop
5309 methods.
5310 (tramp-debug-outline-regexp): Add a docstring.
5311 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5312 (tramp-get-debug-buffer): Use it.
5313
5314 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5315 initialization forms.
5316 (tramp-set-connection-property): Don't protect `tramp-message'
5317 call, it isn't necessary any longer.
5318 (tramp-dump-connection-properties): Use `ignore-errors'.
5319
5320 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5321 'password-cache and 'auth-source.
5322
5323 * net/tramp-gvfs.el (top):
5324 * net/tramp-smb.el (top): Require 'tramp-sh.
5325
5326 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5327
5328 * net/tramp-sh.el: New file, derived from tramp.el.
5329 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5330 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5331 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5332 Use `ignore-errors' where appropriate.
5333 (tramp-sh-file-name-handler-alist): Rename from
5334 `tramp-file-name-handler-alist'.
5335 (tramp-send-command-and-check): Return t or nil. Remove all
5336 `zerop' checks, where called.
5337 (tramp-handle-set-file-modes)
5338 (tramp-do-copy-or-rename-file-directly)
5339 (tramp-handle-delete-directory, tramp-handle-delete-file)
5340 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5341 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5342 (tramp-get-remote-ln): Set tramp-autoload cookie.
5343
5344 * net/tramp-fish.el: Remove file.
5345
5346 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5347
5348 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5349 buffer-file-name to avoid file-locking. (Bug#7026)
5350
5351 2010-09-13 Julien Danjou <julien@danjou.info>
5352
5353 * notifications.el (notifications-notify): Add support for
5354 image-path and sound-name.
5355 (notifications-specification-version): Add this variable.
5356
5357 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5360
5361 2010-09-12 Leo <sdl.web@gmail.com>
5362
5363 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5364 (rcirc-completion-start): New variables.
5365 (rcirc-nick-completions): Rename to rcirc-completions.
5366 (rcirc-nick-completion-start-offset): Delete.
5367 (rcirc-completion-at-point): New function for constructing
5368 completion data for both nicks and irc commands. Add to
5369 completion-at-point-functions in rcirc mode.
5370 (rcirc-complete): Rename from rcirc-nick-complete; use
5371 rcirc-completion-at-point.
5372 (defun-rcirc-command): Update rcirc-client-commands.
5373
5374 2010-09-11 Glenn Morris <rgm@gnu.org>
5375
5376 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5377 atomically, to avoid parallel build errors. (Bug#4196)
5378
5379 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5380
5381 * progmodes/sql.el: Version 2.6
5382 (sql-dialect): Synonym for "sql-product".
5383 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5384 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5385 Set "sql-buffer" to buffer name not buffer object so multiple sql
5386 interactive buffers work properly. Reverts misguided changes in
5387 earlier work.
5388 (sql-comint): Make sure different buffer name is used if "*SQL*"
5389 buffer is for a different product.
5390 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5391 login param.
5392 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5393 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5394 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5395 Accept new buffer name or prompt for one.
5396 (sql-port): Default to zero.
5397 (sql-comint-mysql): Handle "sql-port" as a numeric.
5398 (sql-port-history): Delete unused variable.
5399 (sql-get-login): Default "sql-port" to a number.
5400 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5401 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5402 "sqlite3" executables.
5403 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5404 (sql-buffer-live-p): New function.
5405 (sql-mode-menu, sql-send-string): Use it.
5406 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5407 syntax pattern.
5408 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5409 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5410
5411 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5412
5413 * net/netrc.el (netrc-credentials): New convenience function.
5414
5415 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5418 to replace texinfo-font-lock-syntactic-keywords.
5419 (texinfo-mode): Use it.
5420
5421 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5422 Use syntax-propertize-function.
5423
5424 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5425 replace sgml-font-lock-syntactic-keywords.
5426 (sgml-mode): Use it.
5427
5428 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5429 since we don't use it.
5430
5431 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5432
5433 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5434 if available.
5435 (vhdl-fontify-buffer): Adjust.
5436
5437 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5438 replace tcl-font-lock-syntactic-keywords.
5439 (tcl-mode): Use it.
5440
5441 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5442 replace simula-font-lock-syntactic-keywords.
5443 (simula-mode): Use it.
5444
5445 * progmodes/sh-script.el (sh-st-symbol): Remove.
5446 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5447 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5448 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5449 (sh-font-lock-paren): Set syntax-multiline.
5450 (sh-font-lock-syntactic-keywords): Remove.
5451 (sh-syntax-propertize-function): New function to replace it.
5452 (sh-mode): Use it.
5453
5454 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5455 Define while compiling.
5456 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5457 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5458 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5459 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5460 (ruby-here-doc-end-syntax): Only define when
5461 syntax-propertize is not available.
5462 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5463 New functions.
5464 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5465 (electric-indent-chars): Silence bytecompiler.
5466 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5467 electric-indent-chars.
5468
5469 * progmodes/python.el (python-syntax-propertize-function): New var to
5470 replace python-font-lock-syntactic-keywords.
5471 (python-mode): Use it.
5472 (python-quote-syntax): Simplify and adjust to new use.
5473
5474 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5475 replace perl-font-lock-syntactic-keywords.
5476 (perl-syntax-propertize-special-constructs): New fun to replace
5477 perl-font-lock-special-syntactic-constructs.
5478 (perl-font-lock-syntactic-face-function): New fun.
5479 (perl-mode): Use it.
5480
5481 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5482 to replace octave-font-lock-close-quotes.
5483 (octave-syntax-propertize-function): New function to replace
5484 octave-font-lock-syntactic-keywords.
5485 (octave-mode): Use it.
5486
5487 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5488 replaces mixal-font-lock-syntactic-keywords.
5489 (mixal-mode): Use it.
5490
5491 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5492 New var; replaces makefile-font-lock-syntactic-keywords.
5493 (makefile-mode): Use it.
5494 (makefile-imake-mode): Adjust.
5495
5496 * progmodes/js.el (js--regexp-literal): Define while compiling.
5497 (js-syntax-propertize-function): New var; replaces
5498 js-font-lock-syntactic-keywords.
5499 (js-mode): Use it.
5500
5501 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5502 replaces gdb-script-font-lock-syntactic-keywords.
5503 (gdb-script-mode): Use it.
5504
5505 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5506 (fortran--font-lock-syntactic-keywords): New var.
5507 (fortran-line-length): Update syntax-propertize-function and
5508 fortran--font-lock-syntactic-keywords.
5509
5510 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5511
5512 * progmodes/cfengine.el (cfengine-mode):
5513 Use syntax-propertize-function.
5514 (cfengine-font-lock-syntactic-keywords): Remove.
5515
5516 * progmodes/autoconf.el (autoconf-mode):
5517 Use syntax-propertize-function.
5518 (autoconf-font-lock-syntactic-keywords): Remove.
5519
5520 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5521 (ada-after-change-function, ada-initialize-syntax-table-properties)
5522 (ada-handle-syntax-table-properties): Only define when
5523 syntax-propertize is not available.
5524 (ada-mode): Use syntax-propertize-function.
5525
5526 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5527 (font-lock-fontify-syntactic-keywords-region): Move handling of
5528 font-lock-syntactically-fontified to...
5529 (font-lock-default-fontify-region): ...here.
5530 Let syntax-propertize-function take precedence.
5531 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5532
5533 * emacs-lisp/syntax.el (syntax-propertize-function)
5534 (syntax-propertize-chunk-size, syntax-propertize--done)
5535 (syntax-propertize-extend-region-functions): New vars.
5536 (syntax-propertize-wholelines, syntax-propertize-multiline)
5537 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5538 (syntax-propertize): New functions.
5539 (syntax-propertize-rules): New macro.
5540 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5541 (syntax-ppss): Call syntax-propertize.
5542
5543 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5544
5545 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5546
5547 * textmodes/ispell.el (ispell-init-process): Improve comments.
5548 XEmacs compatibility changes regarding (add-hook) 'local option
5549 and (set-process-query-on-exit-flag).
5550
5551 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5552
5553 * net/tramp-cache.el (tramp-parse-connection-properties):
5554 Set tramp-autoload cookie.
5555
5556 2010-09-09 Glenn Morris <rgm@gnu.org>
5557
5558 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5559 (imagemagick-register-types): Doc fix.
5560
5561 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5562
5563 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5564
5565 * progmodes/js.el (require): Require is already "eval-and-compile".
5566 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5567 (js--re-search-backward): Use js--re-search-forward.
5568
5569 * progmodes/fortran.el (fortran-line-length): Don't recompute
5570 syntactic keywords redundantly a second time.
5571
5572 * progmodes/ada-mode.el: Replace "(set '" with setq.
5573 (ada-mode): Simplify.
5574 (ada-create-case-exception, ada-adjust-case-interactive)
5575 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5576 (ada-search-ignore-string-comment, ada-move-to-start)
5577 (ada-move-to-end): Use with-syntax-table.
5578
5579 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5580 (font-lock-unfontify-region, font-lock-default-fontify-region):
5581 Update usage correspondingly.
5582 (font-lock-fontify-syntactic-keywords-region):
5583 Set parse-sexp-lookup-properties buffer-locally here.
5584 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5585
5586 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5587
5588 2010-09-08 Glenn Morris <rgm@gnu.org>
5589
5590 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5591 Error if not compiled with -DBYTE_CODE_METER.
5592
5593 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5594 Ignore dir-locals-file.
5595
5596 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5599 Not a const.
5600 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5601 for the `gnu' messages.
5602 (compilation-set-skip-threshold): New command.
5603 (compilation-start): Use \' rather than $.
5604 (compilation-forget-errors): Use clrhash.
5605
5606 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5607
5608 * textmodes/ispell.el (ispell-valid-dictionary-list):
5609 Simplify logic.
5610
5611 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5612
5613 Migrate to Tramp 2.2. Rearrange load dependencies.
5614 (Bug#1529, Bug#5448, Bug#5705)
5615
5616 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5617 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5618 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5619
5620 * net/tramp.el (top): Remove all other tramp-* loads except
5621 tramp-compat.el. Remove all changes to tramp-unload-hook for
5622 other tramp-* packages. Rearrange defun order. Change calls of
5623 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5624 `tramp-compat-octal-to-decimal' to new function names.
5625 (tramp-terminal-type, tramp-initial-end-of-output)
5626 (tramp-methods, tramp-foreign-file-name-handler-alist)
5627 (tramp-tramp-file-p, tramp-completion-mode-p)
5628 (tramp-send-command-and-check, tramp-get-remote-path)
5629 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5630 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5631 (with-file-property, with-connection-property): Move to
5632 tramp-cache.el.
5633 (tramp-local-call-process, tramp-decimal-to-octal)
5634 (tramp-octal-to-decimal): Move to tramp-compat.el.
5635 (tramp-handle-shell-command): Do not require 'shell.
5636 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5637 symbols.
5638 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5639
5640 * net/tramp-cache.el (top): Require 'tramp. Add to
5641 `tramp-unload-hook'.
5642 (tramp-cache-data, tramp-get-file-property)
5643 (tramp-set-file-property, tramp-flush-file-property)
5644 (tramp-flush-directory-property, tramp-get-connection-property)
5645 (tramp-set-connection-property, tramp-flush-connection-property)
5646 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5647 cookie.
5648 (with-file-property, with-connection-property): New defuns, moved
5649 from tramp.el.
5650 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5651 macro.
5652
5653 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5654 (tramp-version): Set tramp-autoload cookie.
5655
5656 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5657 changes to tramp-unload-hook for other tramp-* packages. Add to
5658 `tramp-unload-hook'.
5659 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5660 (tramp-compat-call-process): New defuns, moved from tramp.el.
5661
5662 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5663 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5664 Add to `tramp-unload-hook'. Change call of
5665 `tramp-compat-decimal-to-octal' to new function name.
5666 (tramp-fish-method): Make it a defconst.
5667 (tramp-fish-file-name-p): Make it a defsubst.
5668 (tramp-fish-method, tramp-fish-file-name-handler)
5669 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5670
5671 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5672 `tramp-foreign-file-name-handler-alist'. Add to
5673 `tramp-unload-hook'.
5674 (tramp-ftp-method): Make it a defconst.
5675 (tramp-ftp-file-name-p): Make it a defsubst.
5676 (tramp-ftp-method, tramp-ftp-file-name-handler)
5677 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5678
5679 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5680 `tramp-foreign-file-name-handler-alist'. Add to
5681 `tramp-unload-hook'. Change checks, whether package can be
5682 loaded.
5683 (tramp-gvfs-file-name-p): Make it a defsubst.
5684 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5685 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5686 (tramp-gvfs-handle-file-directory-p): New defun.
5687 (tramp-gvfs-file-name-handler-alist): Use it.
5688
5689 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5690 `tramp-foreign-file-name-handler-alist'. Add to
5691 `tramp-unload-hook'.
5692 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5693 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5694 defconst.
5695 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5696 (tramp-gw-open-connection): Set tramp-autoload cookie.
5697
5698 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5699 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5700 Add to `tramp-unload-hook'. Change checks, whether package can be
5701 loaded.
5702 (tramp-imap-file-name-p): Make it a defsubst.
5703 (tramp-imap-method, tramp-imaps-method)
5704 (tramp-imap-file-name-handler)
5705 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5706
5707 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5708 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5709 Add to `tramp-unload-hook'. Change checks, whether package can be
5710 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5711 function name.
5712 (tramp-smb-tunnel-method): Make it a defconst.
5713 (tramp-smb-file-name-p): Make it a defsubst.
5714 (tramp-smb-method, tramp-smb-file-name-handler)
5715 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5716
5717 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5718 (tramp-uuencode-region): Set tramp-autoload cookie.
5719
5720 * net/trampver.el (top) Add to `tramp-unload-hook'.
5721 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5722 cookie. Update release number.
5723
5724 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5725
5726 * textmodes/ispell.el (ispell-start-process): Make sure original
5727 arg list is properly initialized (Bug#6993, Bug#6994).
5728
5729 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5730
5731 * files.el (directory-abbrev-alist): Use \` as default regexp.
5732
5733 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5734 chars like - or ] (bug#6984).
5735 (rx-any-condense-range): Explode 2-char ranges.
5736
5737 2010-09-06 Glenn Morris <rgm@gnu.org>
5738
5739 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5740
5741 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * textmodes/bibtex.el:
5744 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5745
5746 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5747
5748 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5749 since no callers use it.
5750 (imap-message-get): Ditto.
5751 (imap-message-put): Ditto.
5752 (imap-mailbox-map): Ditto.
5753 (imap-mailbox-put): Ditto.
5754 (imap-mailbox-get): Ditto.
5755 (imap-mailbox-get): Revert last change for this function.
5756
5757 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5758
5759 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5760 callers to use `imap-fetch' instead. According to the comments, this
5761 should be safe, since all other IMAP clients use the 1:* syntax.
5762 (imap-enable-exchange-bug-workaround): Remove.
5763 (imap-debug): Remove -- doesn't seem very useful.
5764
5765 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5766
5767 * net/imap.el (imap-log): New convenience function used throughout
5768 instead of repeating the same code all over the place.
5769
5770 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5771
5772 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5773 when mouse-drag-copy-region is non-nil (Bug#6956).
5774
5775 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5776
5777 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5778 Improve regexps (Bug#6987).
5779 (dired-sort-toggle): Search more robustly for -t flag.
5780
5781 * files.el (get-free-disk-space): Search more robustly for
5782 "available" column. Suggested by Ehud Karni
5783 <ehud@unix.mvs.co.il>.
5784
5785 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5786
5787 * international/uni-bidi.el:
5788 * international/uni-category.el:
5789 * international/uni-combining.el:
5790 * international/uni-decimal.el:
5791 * international/uni-mirrored.el:
5792 * international/uni-name.el: Regenerate.
5793
5794 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * electric.el (electric-indent-post-self-insert-function):
5797 Don't reindent with a sloppy indentation function.
5798
5799 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5800 border case in change-log-mode.
5801
5802 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5803
5804 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5805 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5806 Recognize leading tab in gcc-include regexp. Ignore names with
5807 leading "from" or "in" in gnu regexp (Bug#6937).
5808
5809 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5812 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5813 (ispell-start-process): Avoid setq and simplify logic.
5814 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5815 (kill-buffer-hook): Don't use it globally with code that uses
5816 expand-file-name since that may call kill-buffer via
5817 code_conversion_restore.
5818
5819 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5820
5821 * emacs-lisp/package.el (package-directory-list): Only call
5822 file-name-nondirectory on a string.
5823
5824 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5825
5826 * emacs-lisp/package.el (package--download-one-archive):
5827 Ensure that archive-contents is valid before saving it.
5828 (package-activate-1, package-mark-obsolete, define-package)
5829 (package-compute-transaction, package-list-maybe-add): Use push.
5830
5831 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 Use SMIE's blink-paren for octave-mode.
5834 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5835 Backslashes do not escape single-quotes, single-quotes do.
5836 (octave-block-else-regexp, octave-block-end-regexp)
5837 (octave-block-match-alist): Remove.
5838 (octave-smie-bnf-table): New var, with old content.
5839 (octave-smie-op-levels): Use it.
5840 (octave-smie-closer-alist): New var.
5841 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5842 (octave-blink-matching-block-open): Remove.
5843 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5844 (octave-electric-space): Let self-insert-command run expand-abbrev and
5845 blink parens.
5846
5847 * electric.el (electricity): New group.
5848 (electric-indent-chars): New var.
5849 (electric-indent-post-self-insert-function): New fun.
5850 (electric-indent-mode): New minor mode.
5851 (electric-pair-skip-self): New custom.
5852 (electric-pair-post-self-insert-function): New function.
5853 (electric-pair-mode): New minor mode.
5854
5855 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5856 calcAlg-blink-matching-open.
5857 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5858 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5859 Use the new blink-matching-check-function.
5860
5861 Provide blink-matching support to SMIE.
5862 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5863 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5864 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5865
5866 * simple.el (newline): Fix last change to properly remove itself from
5867 the hook.
5868
5869 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * simple.el (newline): Eliminate optimization.
5872 Use post-self-insert-hook to set hard-newline and things before
5873 running post-self-insert-hook.
5874 (blink-matching-check-mismatch): New function.
5875 (blink-matching-check-function): New variable.
5876 (blink-matching-open): Use them.
5877 Skip back forward over prefix chars skipped by forward-sexp.
5878 Don't check if the parens are backslash escaped.
5879 (blink-paren-post-self-insert-function): Check backslash escaping here.
5880
5881 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5882
5883 * emacs-lisp/package.el (package-menu-mode-map):
5884 Change package-menu-revert bindings to revert-buffer.
5885 (package-menu-mode): Set revert-buffer-function.
5886 (package-menu-revert): Doc fix.
5887
5888 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5889
5890 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5891 `default-directory' unless using Ispell per-directory personal
5892 dictionaries and not in a mini-buffer under XEmacs.
5893 (kill-buffer-hook): Do not kill ispell process on exit when
5894 `ispell-process-directory' is "~/". (Bug#6143)
5895
5896 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5897
5898 * simple.el (kill-new): Call interprogram-cut-function with only
5899 one argument.
5900
5901 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5902 Remove cut buffer from error message.
5903
5904 * term/x-win.el (x-select-text):
5905 * term/pc-win.el (x-selection-value):
5906 * term/ns-win.el (x-selection-value):
5907 * eshell/em-term.el:
5908 * w32-fns.el (x-get-selection-value):
5909 * mouse-sel.el (mouse-sel-set-selection-function):
5910 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5911
5912 * term/x-win.el: Update documentation for x-last-selected-text-*.
5913 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5914 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5915 (x-select-text): Remove argument PUSH, update documentation.
5916 Remove cut-buffer code.
5917 (x-selection-value-internal): Was previously x-selection-value.
5918 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5919 Update documentation, remove cut-buffer code.
5920 Call x-selection-value-internal.
5921 (x-clipboard-yank): Call x-selection-value-internal.
5922 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5923
5924 * term/pc-win.el (x-last-selected-text):
5925 x-cut-buffer-or-selection-value renamed to x-selection-value
5926 (x-select-text): Remove argument PUSH, update documentation.
5927
5928 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5929 x-cut-buffer-or-selection-value renamed to x-selection-value
5930 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5931 (x-select-text): Remove argument PUSH, update documentation.
5932
5933 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5934
5935 * w32-fns.el (x-last-selected-text):
5936 x-cut-buffer-or-selection-value renamed to x-selection-value.
5937 (x-cut-buffer-max): Remove.
5938 (x-select-text): Remove argument PUSH, update documentation.
5939
5940 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5941
5942 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5943
5944 * mouse-sel.el (mouse-sel-get-selection-function):
5945 x-cut-buffer-or-selection-value renamed to x-selection-value.
5946 (x-select-text): Remove optional push.
5947
5948 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5949
5950 * simple.el (blink-paren-function): Move from C to here.
5951 (blink-paren-post-self-insert-function): New function.
5952 (post-self-insert-hook): Use it.
5953
5954 * emacs-lisp/pcase.el (pcase-split-memq):
5955 Fix overenthusiastic optimisation.
5956 (pcase-u1): Handle the case of a lambda pred.
5957
5958 2010-08-31 Kenichi Handa <handa@m17n.org>
5959
5960 * international/mule-cmds.el (standard-display-european-internal):
5961 Setup standard-display-table for 8-bit characters by storing 8-bit
5962 characters in the element vector.
5963
5964 * disp-table.el (standard-display-8bit):
5965 Setup standard-display-table for 8-bit characters by storing 8-bit
5966 characters in the element vector.
5967 (standard-display-european): Likewise.
5968
5969 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5970
5971 * textmodes/nroff-mode.el (nroff-view): New command.
5972 (nroff-mode-map): Bind it to C-c C-c.
5973
5974 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * emacs-lisp/smie.el (smie-down-list): New command.
5977
5978 Remove old indentation and navigation code on octave-mode.
5979 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5980 smie-down-list rather than add a binding for octave-down-block.
5981 (octave-mark-block, octave-blink-matching-block-open):
5982 Rely on forward-sexp-function.
5983 (octave-fill-paragraph): Don't narrow, so you can use
5984 indent-according-to-mode.
5985 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5986 (octave-in-block-p, octave-re-search-forward-kw)
5987 (octave-re-search-backward-kw, octave-indent-calculate)
5988 (octave-end-as-array-index-p, octave-block-end-offset)
5989 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5990 (octave-down-block, octave-backward-up-block, octave-up-block)
5991 (octave-before-magic-comment-p, octave-indent-line): Remove.
5992
5993 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5994
5995 * emacs-lisp/package.el (package--read-archive-file): Just use
5996 `read', to avoid copying an additional string.
5997 (package-menu-mode): Set header-line-format here.
5998 (package-menu-refresh, package-menu-revert): Signal an error if
5999 not in the Package Menu.
6000 (package-menu-package-list): New var.
6001 (package--generate-package-list): Operate on the current buffer;
6002 don't assume that it is *Packages*, since the user may rename it.
6003 Allow persistent package listings and sort keys using
6004 package-menu-package-list and package-menu-package-sort-key.
6005 (package-menu--version-predicate): Fix version calculation.
6006 (package-menu-sort-by-column): Don't select the window.
6007 (package--list-packages): Create the *Packages* buffer.
6008 Set package-menu-package-list-key.
6009 (list-packages): Sorting by status is now the default.
6010 (package-buffer-info): Use match-string-no-properties.
6011 (define-package): Add a &rest argument for future proofing, but
6012 don't use it yet.
6013 (package-install-from-buffer, package-install-buffer-internal):
6014 Merge into a single function, package-install-from-buffer.
6015 (package-install-file): Change caller.
6016
6017 * finder.el: Load finder-inf using `require'.
6018 (finder-list-matches): Sorting by status is now the default.
6019 (finder-compile-keywords): Simpify printing.
6020
6021 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6024 (octave-mode-map): Remove special bindings for forward/backward-block
6025 and octave-backward-up-block. Use smie-close-block.
6026 (octave-continuation-marker-regexp): New var.
6027 (octave-continuation-regexp): Use it.
6028 (octave-operator-table, octave-smie-op-levels)
6029 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6030 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6031 (octave-mode): Use SMIE.
6032 (octave-close-block): Delete.
6033
6034 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6035
6036 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6037 CLIPBOARD, not in PRIMARY. (Bug#6944)
6038
6039 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6040
6041 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6042 a list of parents.
6043 (smie-indent-column): Allow indirection through variables.
6044
6045 * composite.el (save-buffer-state): Delete, unused.
6046 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6047 (font-lock-default-fontify-region): Use with-syntax-table.
6048 * jit-lock.el (with-buffer-unmodified): Remove.
6049 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6050
6051 Use `declare' in defmacros.
6052 * window.el (save-selected-window):
6053 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6054 * progmodes/python.el (def-python-skeleton):
6055 * net/dbus.el (dbus-ignore-errors):
6056 * jka-cmpr-hook.el (with-auto-compression-mode):
6057 * international/mule.el (with-category-table):
6058 * emacs-lisp/timer.el (with-timeout):
6059 * emacs-lisp/lisp-mnt.el (lm-with-file):
6060 * emacs-lisp/eieio.el (with-slots):
6061 * emacs-lisp/easymenu.el (easy-menu-define):
6062 * emacs-lisp/debug.el (debugger-env-macro):
6063 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6064 (Multiple-value-call, Multiple-value-prog1):
6065 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6066 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6067 edebug rule to definition.
6068 * emacs-lisp/lisp-mode.el (save-selected-window)
6069 (with-current-buffer, combine-after-change-calls)
6070 (with-output-to-string, with-temp-file, with-temp-buffer)
6071 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6072 (dolist, dotimes, when, unless):
6073 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6074
6075 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6076
6077 * finder.el: Require `package'.
6078 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6079 (finder-package-info): Var deleted.
6080 (finder-keywords-hash, finder--builtins-alist): New vars.
6081 (finder-compile-keywords): Compute package--builtins and
6082 finder-keywords-hash instead of finder-keywords-hash, respecting
6083 the "Package" header.
6084 (finder-unknown-keywords, finder-list-matches):
6085 Use finder-keywords-hash and package--list-packages.
6086 (finder-mode): Don't set font-lock-defaults.
6087 (finder-exit): We don't use "*Finder-package*" and "*Finder
6088 Category*" buffers anymore.
6089
6090 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6091 (package--builtins): Set default value to nil.
6092 (package-initialize): Load precomputed value of package--builtins
6093 from finder-inf.el.
6094 (package-alist, package-compute-transaction)
6095 (package-download-transaction): Improve docstring.
6096 (package-read-all-archive-contents): Do not change
6097 package--builtins here.
6098 (list-packages): Make package-list-packages an alias for this.
6099 Sort by status by default.
6100 (package--list-packages): Add optional PACKAGES arg.
6101 (describe-package-1): Use font-lock-face property. For built-in
6102 packages, insert file commentary.
6103 (package--generate-package-list): Rename from
6104 package-list-packages-internal; all callers changed. Add optional
6105 PACKAGES arg. Add alphabetical sort fallbacks.
6106 (package-menu--version-predicate, package-menu--status-predicate)
6107 (package-menu--description-predicate)
6108 (package-menu--name-predicate): New functions.
6109
6110 * info.el (Info-finder-find-node): Search package-alist instead of
6111 finder-package-info.
6112
6113 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6114
6115 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6116 "alpha" and "beta".
6117 (version-to-list): Handle versions like "10.3d".
6118
6119 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6122 (macroexp-accumulate): Use `declare'.
6123
6124 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6125
6126 * whitespace.el (whitespace-style): Adjust type declaration.
6127
6128 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6129
6130 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6131 empty argument to gvfs-copy.
6132
6133 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6134
6135 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6136 handle new TRASH arg of `delete-file'.
6137
6138 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6139
6140 * net/tramp.el (tramp-handle-insert-directory): Don't use
6141 `forward-word', its default syntax could be changed.
6142
6143 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6144 Michael Albinus <michael.albinus@gmx.de>
6145
6146 Implement compression for inline methods.
6147
6148 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6149 (tramp-copy-size-limit): Allow also nil.
6150 (tramp-inline-compress-commands): New defconst.
6151 (tramp-find-inline-compress, tramp-get-inline-compress)
6152 (tramp-get-inline-coding): New defuns.
6153 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6154 replaced by `tramp-get-inline-coding'.
6155 (tramp-handle-file-local-copy, tramp-handle-write-region)
6156 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6157
6158 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6159
6160 Detect ssh 'ControlMaster' argument automatically in some cases.
6161
6162 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6163 (tramp-default-method): Use it.
6164
6165 2010-08-26 Karel Klíč <kklic@redhat.com>
6166
6167 * net/tramp.el (tramp-file-name-for-operation):
6168 Add file-selinux-context.
6169
6170 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6171
6172 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6173
6174 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6175
6176 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6177 (Bug#6907).
6178
6179 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6180
6181 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6182 (js-paren-indent-offset, js-square-indent-offset)
6183 (js-curly-indent-offset): New options.
6184 (js--proper-indentation): Use them.
6185
6186 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6187
6188 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6189 instead of inspecting font-lock properties (Bug#6916).
6190
6191 2010-08-26 David Reitter <david.reitter@gmail.com>
6192
6193 * server.el (server-visit-files): Run pre-command-hook and
6194 post-command-hook for each buffer while it is current (Bug#6910).
6195 (server-execute): Do not run hooks here.
6196
6197 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6198
6199 Sync with Tramp 2.1.19.
6200
6201 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6202 (tramp-reporter-dump-variable, tramp-load-report-modules)
6203 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6204 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6205
6206 * net/tramp-compat.el (top): Do not autoload
6207 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6208 only when `start-file-process' is not bound.
6209 (byte-compile-not-obsolete-vars): Define if not bound.
6210 (tramp-compat-funcall): New defmacro.
6211 (tramp-compat-line-beginning-position)
6212 (tramp-compat-line-end-position)
6213 (tramp-compat-temporary-file-directory)
6214 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6215 (tramp-compat-copy-file, tramp-compat-copy-directory)
6216 (tramp-compat-delete-file, tramp-compat-delete-directory)
6217 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6218 Use it.
6219 (tramp-advice-file-expand-wildcards): Do not use
6220 `tramp-handle-file-remote-p'.
6221 (tramp-compat-make-temp-file): Simplify fallback implementation.
6222 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6223 (tramp-compat-copy-tree): Remove function.
6224 (tramp-compat-delete-file): New defun.
6225 (tramp-compat-delete-directory): Provide implementation for older
6226 Emacsen.
6227 (tramp-compat-file-attributes): Handle only
6228 `wrong-number-of-arguments' error.
6229
6230 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6231 Add PRESERVE_SELINUX_CONTEXT.
6232 (tramp-fish-handle-delete-file): Add TRASH arg.
6233 (tramp-fish-handle-directory-files-and-attributes):
6234 Do not use `tramp-fish-handle-file-attributes.
6235 (tramp-fish-handle-file-local-copy)
6236 (tramp-fish-handle-insert-file-contents)
6237 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6238
6239 * net/tramp-gvfs.el (top): Require url-util.
6240 (tramp-gvfs-mount-point): Remove.
6241 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6242 and `set-file-selinux-context'.
6243 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6244 (tramp-gvfs-handle-file-selinux-context)
6245 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6246 (with-tramp-dbus-call-method): Format trace message.
6247 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6248 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6249 Implement backup call, when operation on local files fails.
6250 Use progress reporter. Flush properties of changed files.
6251 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6252 Use `tramp-compat-delete-file'.
6253 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6254 (tramp-gvfs-handle-make-directory): Make more traces.
6255 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6256 (tramp-gvfs-url-file-name): Hexify file name in url.
6257 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6258 into account for the resulting file name.
6259 (tramp-gvfs-handler-askquestion): Preserve current message, in
6260 order to let progress reporter continue afterwards. (Bug#6257)
6261 Return dummy mountpoint, when the answer is "no".
6262 See `tramp-gvfs-maybe-open-connection'.
6263 (tramp-gvfs-handler-mounted-unmounted)
6264 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6265 attribute "default_location". Set "prefix" property.
6266 Handle default-location.
6267 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6268 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6269 exists. Raise an error, if not (due to a corresponding answer
6270 "no" in interactive questions, for example).
6271 Use `tramp-compat-funcall'.
6272
6273 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6274 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6275 (tramp-imap-do-copy-or-rename-file)
6276 (tramp-imap-handle-insert-file-contents)
6277 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6278 (tramp-imap-handle-delete-file): Add TRASH arg.
6279
6280 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6281 Add PRESERVE-SELINUX-CONTEXT.
6282 (tramp-smb-handle-copy-file)
6283 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6284 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6285 Use `with-progress-reporter'.
6286 (tramp-smb-handle-delete-file): Add TRASH arg.
6287
6288 * net/tramp.el (tramp-methods): Move hostname to the end in all
6289 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6290 appropriate.
6291 (tramp-verbose): Describe verbose level 9.
6292 (tramp-completion-function-alist)
6293 (tramp-file-name-regexp, tramp-chunksize)
6294 (tramp-local-coding-commands, tramp-remote-coding-commands)
6295 (with-connection-property, tramp-completion-mode-p)
6296 (tramp-action-process-alive, tramp-action-out-of-band)
6297 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6298 (tramp-exists-file-name-handler): Fix docstring.
6299 (tramp-remote-process-environment): Use `format' instead of
6300 `concat'. Protect version string by apostroph.
6301 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6302 XEmacs.
6303 (tramp-file-name-regexp-unified)
6304 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6305 not regard the volume letter as remote filename. (Bug#5447)
6306 (tramp-perl-file-attributes)
6307 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6308 (tramp-vc-registered-read-file-names): Read input as
6309 here-document, otherwise the command could exceed maximum length
6310 of command line.
6311 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6312 `set-file-selinux-context'.
6313 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6314 backtrace functions.
6315 (tramp-error-with-buffer): Don't show the connection buffer when
6316 we are in completion mode.
6317 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6318 (tramp-handle-file-selinux-context)
6319 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6320 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6321 New defuns.
6322 (with-progress-reporter): New defmacro.
6323 (tramp-debug-outline-regexp): New defconst.
6324 (top, tramp-rfn-eshadow-setup-minibuffer)
6325 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6326 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6327 (tramp-completion-mode-p, tramp-check-for-regexp)
6328 (tramp-open-connection-setup-interactive-shell)
6329 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6330 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6331 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6332 Use `tramp-compat-funcall'.
6333 (tramp-handle-make-symbolic-link): Flush file properties.
6334 (tramp-handle-load, tramp-handle-file-local-copy)
6335 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6336 (tramp-handle-vc-registered, tramp-maybe-send-script)
6337 (tramp-find-shell): Use `with-progress-reporter'.
6338 (tramp-do-file-attributes-with-stat): Add space in format string,
6339 in order to work around a bug in pdksh. Reported by Gilles Pion
6340 <gpion@lfdj.com>.
6341 (tramp-handle-verify-visited-file-modtime): Do not send a command
6342 when the connection is not established.
6343 (tramp-handle-set-file-times): Simplify the check for utc.
6344 (tramp-handle-directory-files-and-attributes)
6345 (tramp-get-remote-path): Use `copy-tree'.
6346 (tramp-completion-handle-file-name-all-completions): Ensure, that
6347 non remote files are still checked. Oops.
6348 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6349 Handle PRESERVE-SELINUX-CONTEXT.
6350 (tramp-do-copy-or-rename-file): Add progress reporter.
6351 (tramp-do-copy-or-rename-file-directly): Do not use
6352 `tramp-handle-file-remote-p'.
6353 (tramp-do-copy-or-rename-file-out-of-band):
6354 Use `tramp-compat-delete-directory'.
6355 (tramp-do-copy-or-rename-file-out-of-band)
6356 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6357 Use `format-spec-make'.
6358 (tramp-handle-delete-file): Add TRASH arg.
6359 (tramp-handle-dired-uncache): Flush directory cache, not only file
6360 cache.
6361 (tramp-handle-expand-file-name)
6362 (tramp-completion-handle-file-name-all-completions)
6363 (tramp-completion-handle-file-name-completion):
6364 Use `tramp-connectable-p'.
6365 (tramp-handle-start-file-process): Set connection property "vec".
6366 Use it, in order to invalidate file caches. Check only for
6367 `remote-tty' process property.
6368 Implement tty setting. (Bug#4604, Bug#6360)
6369 (tramp-file-name-for-operation): Add `call-process-region' and
6370 `set-file-selinux-context'.
6371 (tramp-find-foreign-file-name-handler)
6372 (tramp-advice-make-auto-save-file-name)
6373 (tramp-set-auto-save-file-modes): Remove superfluous check for
6374 `stringp'. This is done inside `tramp-tramp-file-p'.
6375 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6376 operations when we are in completion mode. This gives the user
6377 the chance to correct the file name in the minibuffer.
6378 (tramp-completion-mode-p): Use `non-essential'.
6379 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6380 compatibility: Use `completion-ignore-case' if
6381 `read-file-name-completion-ignore-case' does not exist.
6382 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6383 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6384 `tramp-open-shell'.
6385 (tramp-action-password): Hide password prompt before next run.
6386 (tramp-process-actions): Widen connection buffer for the trace.
6387 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6388 process property. Trace stty settings if `tramp-verbose' >= 9.
6389 Apply workaround for IRIX64 bug. Move argument of last
6390 `tramp-send-command' where it belongs to.
6391 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6392 front of `login-args'.
6393 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6394 on "/dev/null" instead of "/".
6395 (tramp-get-ls-command-with-dired): Make test for "--dired"
6396 stronger.
6397 (tramp-set-auto-save-file-modes): Adapt version check.
6398 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6399 (tramp-handle-process-file): Call the program in a subshell, in
6400 order to preserve working directory.
6401 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6402 `tramp-remote-sh' from `tramp-methods'.
6403 (tramp-get-ls-command): Make test for "--color=never" stronger.
6404 (tramp-check-for-regexp): Use (forward-line 1).
6405
6406 * net/trampver.el: Update release number.
6407
6408 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6409
6410 * help.el (help-map): Bind `C-h P' to describe-package.
6411
6412 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6413
6414 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6415 when downloading archives.
6416 (describe-package-1): Add package commentary.
6417 (package-install-button-action): New function.
6418 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6419 (package-menu-view-commentary): Function removed.
6420 (package-list-packages-internal): Hide the `package' package too.
6421
6422 2010-08-25 Kenichi Handa <handa@m17n.org>
6423
6424 * language/misc-lang.el ("Arabic"): New language environment.
6425 Setup composition-function-table for Arabic characters.
6426
6427 * international/fontset.el (setup-default-fontset): Fix typo for
6428 arabic OTF spec (fini->fina).
6429
6430 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6431
6432 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6433 on all frames.
6434
6435 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6436
6437 * whitespace.el: Allow cleaning up blanks without blank
6438 visualization (Bug#6651). Adjust help window for
6439 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6440 instead of whitespace-line-column (from EmacsWiki). New version
6441 13.1.
6442 (whitespace-style): Add new value 'face. Adjust docstring.
6443 (whitespace-space, whitespace-hspace, whitespace-tab):
6444 Adjust foreground property face.
6445 (whitespace-line-column): Adjust docstring and type declaration.
6446 (whitespace-style-value-list, whitespace-toggle-option-alist)
6447 (whitespace-help-text): Adjust const initialization.
6448 (whitespace-toggle-options, global-whitespace-toggle-options):
6449 Adjust docstring.
6450 (whitespace-display-window, whitespace-interactive-char)
6451 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6452 (whitespace-help-scroll): New fun.
6453
6454 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6455
6456 * emacs-lisp/package.el (list-packages): Alias for
6457 package-list-packages.
6458
6459 2010-08-24 Kevin Ryde <user42@zip.com.au>
6460
6461 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6462 (Bug#5651).
6463
6464 * progmodes/ruby-mode.el (ruby): Add defgroup.
6465
6466 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6467
6468 * progmodes/python.el: Add Ipython support (Bug#5390).
6469 (python-shell-prompt-alist)
6470 (python-shell-continuation-prompt-alist): New options.
6471 (python--set-prompt-regexp): New function.
6472 (inferior-python-mode, run-python, python-shell):
6473 Require ansi-color. Use python--set-prompt-regexp to set the comint
6474 prompt based on the Python interpreter.
6475 (python--prompt-regexp): New var.
6476 (python-check-comint-prompt)
6477 (python-comint-output-filter-function): Use it.
6478 (run-python): Use a pipe (Bug#5694).
6479
6480 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6481
6482 * progmodes/python.el (python-send-region): Send a different
6483 Python command if Ipython is in use.
6484 (python-check-version): Use a Python command to find the version.
6485
6486 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6487
6488 * mouse.el (mouse-yank-primary): Avoid setting primary when
6489 deactivating the mark (Bug#6872).
6490
6491 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6492
6493 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6494 with "else" (Bug#3991).
6495
6496 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6497
6498 * net/dbus.el: Accept UNIX domain sockets as bus address.
6499 (top): Don't initialize `dbus-registered-objects-table' anymore,
6500 this is done in dbusbind,c.
6501 (dbus-check-event): Adapt test for bus.
6502 (dbus-return-values-table, dbus-unregister-service)
6503 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6504 Adapt doc string.
6505
6506 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6507
6508 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6509
6510 2010-08-22 Juri Linkov <juri@jurta.org>
6511
6512 * simple.el (read-extended-command): New function with the logic
6513 for `completing-read' moved to Elisp from `execute-extended-command'.
6514 Use `function-called-at-point' in `minibuffer-default-add-function'
6515 to get a command name for M-n (bug#5364, bug#5214).
6516
6517 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6518
6519 * startup.el (command-line-1): Issue warning for ignored arguments
6520 --unibyte, etc (Bug#6886).
6521
6522 2010-08-22 Leo <sdl.web@gmail.com>
6523
6524 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6525 (ignore, bright, dim, keyword): Split list of nicknames before
6526 passing to rcirc-add-or-remove (Bug#6894).
6527
6528 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6529
6530 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6531
6532 2010-08-22 Leo <sdl.web@gmail.com>
6533
6534 Fix buffer-list rename&refresh after killing a buffer in ido.
6535 * ido.el: Revert Óscar's.
6536 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6537 Remember the buffers at head, rather than their name.
6538 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6539
6540 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6541 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6544 extra backslash added to each line (bug#6890).
6545
6546 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6547
6548 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6549
6550 2010-08-22 Glenn Morris <rgm@gnu.org>
6551
6552 * menu-bar.el (menu-bar-games-menu): Add landmark.
6553
6554 2010-08-22 Glenn Morris <rgm@gnu.org>
6555
6556 * align.el (align-regexp): Make group and spacing arguments
6557 use the interactive defaults when non-interactive. (Bug#6698)
6558
6559 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6560 expansion, so as not to need sendmail.
6561 (mail-text-start): Remove declaration.
6562 (rmail-retry-failure): Require sendmail.
6563
6564 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6565
6566 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6567
6568 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * progmodes/flymake.el (flymake-start-syntax-check-process):
6571 Use `start-file-process' in order to let it run also on remote hosts.
6572
6573 2010-08-22 Kenichi Handa <handa@m17n.org>
6574
6575 * files.el: Add `word-wrap' as safe local variable.
6576
6577 2010-08-22 Glenn Morris <rgm@gnu.org>
6578
6579 * woman.el (woman-translate): Case matters. (Bug#6849)
6580
6581 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6582
6583 * simple.el (kill-region): Doc fix (Bug#6787).
6584
6585 2010-08-22 Glenn Morris <rgm@gnu.org>
6586
6587 * calendar/diary-lib.el (diary-header-line-format):
6588 Fit it to the window, not the frame.
6589
6590 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6591
6592 * subr.el (ignore-errors): Add debug declaration.
6593
6594 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6595
6596 * whitespace.el (whitespace-color-off): Remove post-command-hook
6597 locally.
6598
6599 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6602
6603 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6604
6605 * cus-edit.el (custom-group-value-create): Add extra newline
6606 before end line (Bug#6876).
6607
6608 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6609
6610 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6611 when extending it. Before killing on the second click, check if
6612 the buffer is the correct one. Doc fix.
6613 (mouse-secondary-save-then-kill): Allow usage without first
6614 calling mouse-start-secondary, by defaulting to point. Don't save
6615 an empty secondary selection. Doc fix.
6616
6617 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6618
6619 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6620 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6621 New version 13.0.
6622 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6623 Adjust initialization.
6624 (whitespace-bob-marker, whitespace-eob-marker)
6625 (whitespace-buffer-changed): New vars.
6626 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6627 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6628 (whitespace-post-command-hook, whitespace-display-char-on):
6629 Adjust code.
6630 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6631 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6632
6633 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * files.el (locate-file-completion-table): Only list the .el and .elc
6636 extensions if there's no other choice (bug#5955).
6637
6638 * facemenu.el (facemenu-self-insert-data): New var.
6639 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6640 New functions.
6641 (facemenu-add-face): Use them.
6642
6643 * simple.el (blink-matching-open): Obey forward-sexp-function.
6644
6645 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * simple.el (prog-mode-map): New var.
6648 (prog-indent-sexp): New command.
6649
6650 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6651
6652 * progmodes/prolog.el (smie): Require.
6653
6654 * emacs-lisp/smie.el (smie-default-backward-token)
6655 (smie-default-forward-token): Strip properties.
6656 (smie-next-sexp): Be more careful with associative operators.
6657 (smie-forward-sexp-command): Generalize.
6658 (smie-backward-sexp-command): Simplify.
6659 (smie-closer-alist): New var.
6660 (smie-close-block): New command.
6661 (smie-indent-debug-log): New var.
6662 (smie-indent-offset-rule): Add a few more cases.
6663 (smie-indent-column): New function.
6664 (smie-indent-after-keyword): Use it.
6665 (smie-indent-keyword): Use it.
6666 Fix up the opener code's point position.
6667 (smie-indent-comment): Only applies at BOL.
6668 (smie-indent-debug): New command.
6669
6670 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6671 declarations that are useful before running the macro.
6672
6673 2010-08-18 Joakim Verona <joakim@verona.se>
6674
6675 * image.el (imagemagick-types-inhibit): New variable.
6676 (imagemagick-register-types): New function.
6677 * image-mode.el (image-transform-properties): New function.
6678 (image-transform-set-scale, image-transform-fit-to-height)
6679 (image-transform-set-rotation, image-transform-set-resize)
6680 (image-transform-fit-to-width, image-transform-fit-to-height):
6681 New functions.
6682 (image-toggle-display-image): Support image transforms.
6683
6684 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6685
6686 * image.el (create-animated-image): Don't add heuristic mask to image
6687 (Bug#6839).
6688
6689 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6690
6691 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6692 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6693
6694 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6697
6698 Font-lock '...' strings, plus various simplifications and fixes.
6699 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6700 (octave-font-lock-close-quotes): New function.
6701 (octave-font-lock-syntactic-keywords): New var.
6702 (octave-mode): Use it. Set beginning-of-defun-function.
6703 (octave-mode-map): Don't override the <foo>-defun commands.
6704 (octave-mode-menu): Pass it directly to easy-menu-define;
6705 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6706 (octave-block-match-alist): Fix up last change so that
6707 octave-close-block uses the more specific keyword.
6708 (info-lookup-mode): Silence byte-compiler.
6709 (octave-beginning-of-defun): Not interactive any more.
6710 Optimize slightly.
6711 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6712 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6713 (octave-completion-at-point-function): Make sure point is within
6714 beg..end.
6715 (octave-reindent-then-newline-and-indent):
6716 Use reindent-then-newline-and-indent.
6717 (octave-add-octave-menu): Remove.
6718
6719 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6720
6721 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6722 (report-emacs-bug-can-use-xdg-email): New functions.
6723 (report-emacs-bug): Set can-xdg-email to result of
6724 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6725 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6726 about it.
6727
6728 * net/browse-url.el (browse-url-default-browser): Add cond
6729 for browse-url-xdg-open.
6730 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6731
6732 2010-08-17 Glenn Morris <rgm@gnu.org>
6733
6734 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6735 (c-fontify-recorded-types-and-refs): Define for compiler.
6736 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6737 before use.
6738
6739 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6740 Fix format call.
6741
6742 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6743
6744 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6745 properties.
6746 (tramp-handle-process-file): Call the program in a subshell, in
6747 order to preserve working directory.
6748 (tramp-action-password): Hide password prompt before next run.
6749 (tramp-process-actions): Widen connection buffer for the trace.
6750
6751 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6752
6753 * net/rcirc.el (rcirc-log-process-buffers): New option.
6754 (rcirc-print): Use it.
6755 (rcirc-generate-log-filename): New function.
6756 (rcirc-log-filename-function): Change default to
6757 rcirc-generate-log-filename (Bug#6828).
6758
6759 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6760
6761 * simple.el (deactivate-mark): If select-active-regions is `only',
6762 only set selection for temporarily active regions.
6763
6764 * cus-start.el: Change defcustom for select-active-regions.
6765
6766 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6767
6768 * mouse.el (mouse--drag-set-mark-and-point): New function.
6769 (mouse-drag-track): Use LOCATION arg to push-mark.
6770 Use mouse--drag-set-mark-and-point to take click-count into
6771 consideration when updating point and mark (Bug#6840).
6772
6773 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6774
6775 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6776 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6777
6778 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6779
6780 * font-lock.el (lisp-font-lock-keywords-2):
6781 Add combine-after-change-calls, condition-case-no-debug,
6782 with-demoted-errors, and with-silent-modifications (Bug#6025).
6783
6784 2010-08-14 Kevin Ryde <user42@zip.com.au>
6785
6786 * emacs-lisp/copyright.el (copyright-update-year)
6787 (copyright-update): Temporary switch-to-buffer to ensure the
6788 buffer change being queried is visible (Bug#5394).
6789
6790 2010-08-14 Tom Tromey <tromey@redhat.com>
6791
6792 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6793 (Bug#6733).
6794
6795 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6796
6797 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6798 MS-DOS. (Bug#6689)
6799
6800 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6801
6802 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6803 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6804 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6805 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6806 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6807 Call menu-bar-set-tool-bar-position.
6808
6809 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6812 comment style (bug#6834).
6813 * progmodes/scheme.el (scheme-mode-syntax-table):
6814 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6815 "b" flag in "' 14b" syntax.
6816
6817 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6818 for (un)commenting the region and performing completion.
6819 (octave-mode-menu): Use standard commands for help and completion.
6820 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6821 (octave-mode): Use define-derived-mode.
6822 Set completion-at-point-functions and don't set columns.
6823 Don't disable adaptive-fill-regexp.
6824 (octave-describe-major-mode, octave-comment-region)
6825 (octave-uncomment-region, octave-comment-indent)
6826 (octave-indent-for-comment): Remove.
6827 (octave-indent-calculate): Rename from calculate-octave-indent.
6828 (octave-indent-line, octave-fill-paragraph): Update caller.
6829 (octave-initialize-completions): No need to make an alist.
6830 (octave-completion-at-point-function): New function.
6831 (octave-complete-symbol): Use it.
6832 (octave-insert-defun): Use define-skeleton.
6833
6834 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6835 (octave-mode-map): Use comment-dwim (bug#6829).
6836
6837 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6838
6839 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6840 indentation of inserted comment.
6841
6842 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6843
6844 * faces.el (region): Add type gtk that uses gtk colors.
6845
6846 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6847 Handle theme-name change.
6848
6849 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6850
6851 * progmodes/sql.el: Version 2.5
6852 (sql-product-alist): Add :prompt-cont-regexp property for several
6853 database products.
6854 (sql-prompt-cont-regexp): New variable.
6855 (sql-output-newline-count, sql-output-by-send):
6856 New variables. Record number of newlines in input text.
6857 (sql-send-string): Handle multiple filters and count newlines.
6858 (sql-send-magic-terminator): Count terminator newline.
6859 (sql-interactive-remove-continuation-prompt): Filters output to
6860 remove continuation prompts; one for each newline.
6861 (sql-interactive-mode): Set up new variables, prompt regexp and
6862 output filter.
6863 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6864 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6865
6866 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6867
6868 * emacs-lisp/pcase.el: New file.
6869
6870 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6871
6872 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6873 as here-document, otherwise the command could exceed maximum
6874 length of command line.
6875 (tramp-handle-vc-registered): Call script accordingly.
6876 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6877
6878 2010-08-10 Kenichi Handa <handa@m17n.org>
6879
6880 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6881 composable pattern.
6882
6883 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6884
6885 * emacs-lisp/package.el (package-version-split)
6886 (package--version-first-nonzero, package-version-compare):
6887 Functions removed.
6888 (package-directory-list, package-load-all-descriptors)
6889 (package--built-in, package-activate, define-package)
6890 (package-installed-p, package-compute-transaction)
6891 (package-read-all-archive-contents)
6892 (package--add-to-archive-contents, package-buffer-info)
6893 (package-tar-file-info, package-list-packages-internal):
6894 Use version-to-list and version-list-*.
6895
6896 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6897 Use version-to-list.
6898 (package-upload-buffer-internal): Use version-list-<=.
6899
6900 2010-08-09 Kenichi Handa <handa@m17n.org>
6901
6902 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6903 composable pattern.
6904
6905 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6906
6907 * tutorial.el (tutorial--default-keys): C-d is now bound to
6908 delete-forward-char (Bug#6826).
6909
6910 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6911 for `double' value of mouse-1-click-follows-link (Bug#6807).
6912
6913 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6914
6915 * replace.el (replace-highlight): Bind isearch-forward and
6916 isearch-error, ensuring that highlighting is updated if the user
6917 switches the search direction (Bug#6808).
6918
6919 * isearch.el (isearch-lazy-highlight-forward): New var.
6920 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6921 (isearch-lazy-highlight-update): Use it.
6922
6923 2010-08-08 Kenichi Handa <handa@m17n.org>
6924
6925 * international/mule.el (define-charset): Store NAME as :base property.
6926 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6927 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6928 current priority. Force using the designation of the specific
6929 charset by adding `charset' text property. Improve the whole algorithm.
6930
6931 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6932
6933 * emulation/pc-select.el (pc-selection-mode-hook)
6934 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6935 (pc-selection-mode): Fix typos in docstrings.
6936
6937 2010-08-08 Kenichi Handa <handa@m17n.org>
6938
6939 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6940 ctext-non-standard-encodings-alist here.
6941
6942 * international/mule.el (ctext-non-standard-encodings-alist):
6943 Add "koi8-r" and "microsoft-cp1251".
6944 (ctext-standard-encodings): New variable.
6945 (ctext-non-standard-encodings-table): List only elements for
6946 non-standard encodings.
6947 (ctext-pre-write-conversion): Adjust for the above change.
6948 Check ctext-standard-encodings.
6949
6950 * international/mule-conf.el (compound-text): Doc fix.
6951 (ctext-no-compositions): Doc fix.
6952 (compound-text-with-extensions): Doc fix.
6953
6954 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6955
6956 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6957
6958 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6959
6960 * progmodes/which-func.el (which-func-format): Split help-echo text
6961 into lines, like other mode-line tooltips.
6962
6963 * server.el (server-start): When using TCP sockets, force IPv4
6964 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6965
6966 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6969
6970 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6971
6972 * term.el (term-delimiter-argument-list): Reflow docstring.
6973 (term-read-input-ring, term-write-input-ring, term-send-input)
6974 (term-bol, term-erase-in-display, serial-supported-or-barf):
6975 Fix typos in docstrings.
6976
6977 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6978
6979 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6980
6981 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6982
6983 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6984
6985 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6986
6987 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6988 Fix typo in docstring (bug#6747).
6989
6990 2010-08-08 Leo <sdl.web@gmail.com>
6991
6992 * eshell/esh-io.el (eshell-get-target): Better detection of
6993 read-only file (Bug#6762).
6994
6995 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6996
6997 * align.el (align-default-spacing): Doc fix.
6998 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6999
7000 2010-08-08 Stephen Peters <speters@itasoftware.com>
7001
7002 * calendar/icalendar.el
7003 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7004 (icalendar--get-weekday-numbers): New.
7005 (icalendar--convert-recurring-to-diary): Handle multiple byday
7006 values in weekly rules. (Bug#6766)
7007
7008 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7009
7010 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7011 (icalendar--create-uid, icalendar-export-region)
7012 (icalendar--parse-summary-and-rest): Code formatting.
7013
7014 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7015
7016 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7017 to italicize headers.
7018 (calc-highlight-selections-with-faces): New variable.
7019 (calc-selected-face, calc-nonselected-face): New faces.
7020
7021 * calc/calccomp.el (math-comp-highlight-string): Use
7022 `calc-highlight-selections-with-faces' to determine how to highlight
7023 sub-formulas.
7024
7025 * calc/calc-sel.el (calc-show-selections): Change message to when
7026 using faces to highlight selections.
7027
7028 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7029
7030 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7031 Add SQLite 3 keywords, functions and datatypes.
7032 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7033 (Bug#6686).
7034
7035 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7036
7037 * simple.el (select-active-regions): Move to keyboard.c.
7038 (deactivate-mark): Used saved-region-selection.
7039 (select-active-region): Function removed.
7040 (activate-mark, set-mark, push-mark-command)
7041 (handle-shift-selection): Don't call it.
7042 (keyboard-quit): Avoid adding the region to the window selection.
7043
7044 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7045 select-active-regions implementation.
7046 (mouse-yank-at-click): Doc fix.
7047
7048 * cus-start.el: Add custom declaration for select-active-regions.
7049
7050 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7051
7052 * simple.el (delete-forward-char): Doc fix.
7053
7054 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7055 after reading the tutorial.
7056
7057 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7058
7059 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7060 Fix for the case that a C style comment has its delimiters alone on
7061 their respective lines.
7062
7063 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7064
7065 * net/tramp.el (tramp-handle-start-file-process): Set connection
7066 property "vec".
7067 (tramp-process-sentinel): Use it for flushing the cache.
7068 We cannot do it via the process buffer, the buffer could be deleted
7069 already when running the sentinel.
7070
7071 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7072
7073 * comint.el (comint-mode): Make directory tracking functions
7074 functional on remote files. (Bug#6764)
7075
7076 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7077
7078 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7079
7080 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7081
7082 * emacs-lisp/find-gc.el (find-gc-source-files):
7083 Rename unexec.c => unexcoff.c.
7084
7085 * emacs-lisp/authors.el (authors-fixed-entries):
7086 Rename unexec.c => unexcoff.c.
7087
7088 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7089
7090 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7091 cache, not only file cache.
7092 (tramp-process-sentinel): New defun.
7093 (tramp-handle-start-file-process): Use it, in order to invalidate
7094 file caches.
7095
7096 2010-08-03 Leo <sdl.web@gmail.com>
7097
7098 * server.el (server-start): Simplify loop.
7099
7100 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7101
7102 * frame.el (screen-height, screen-width, set-screen-width)
7103 (set-screen-height): Remove ancient compatibility aliases.
7104
7105 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7106 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7107
7108 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7109 that change current buffer.
7110
7111 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7112
7113 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7114 beginning of the string. Use `string-match-p'. (Bug#6765)
7115
7116 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7117
7118 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7119
7120 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7121
7122 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7123 (package--builtins): Tweak descriptions.
7124 (package-print-package): Upcase descriptions if necessary.
7125 Show all built-in packages in font-lock-builtin-face.
7126 (package-list-packages-internal): Omit "emacs" package.
7127 Show status of built-in packages as "built-in".
7128
7129 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7130
7131 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7132 before killing to preserve the primary selection (Bug#6701).
7133
7134 * term/x-win.el (x-select-text): Doc fix.
7135
7136 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7137
7138 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7139 (objc-font-lock-extra-types):
7140 * progmodes/cc-mode.el (c-basic-common-init):
7141 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7142 (c++-make-template-syntax-table)
7143 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7144 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7145 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7146 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7147 * progmodes/cc-fonts.el (c-make-inverse-face)
7148 (c-basic-matchers-after):
7149 * progmodes/cc-engine.el (c-forward-keyword-clause)
7150 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7151 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7152 (c-guess-continued-construct, c-guess-basic-syntax):
7153 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7154 The above functions were modified or created.
7155
7156 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7157
7158 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7159
7160 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7161
7162 * files.el (bidi-paragraph-direction): Define safe local values.
7163
7164 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7165 language-info-alist. Remove outdated FIXME in a comment.
7166
7167 2010-07-31 Alan Mackenzie <acm@muc.de>
7168
7169 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7170 Auto-fill broken in C/C++ modes.
7171
7172 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7173
7174 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7175 (menu-bar-showhide-tool-bar-menu-customize-disable)
7176 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7177 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7178 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7179 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7180 make a menu for Options => toolbar that can move it.
7181
7182 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7183
7184 * emacs-lisp/package-x.el (package--make-rss-entry):
7185 (package-maint-add-news-item, package--update-news)
7186 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7187
7188 * emacs-lisp/package.el (package-archive-url): Rename from
7189 package-archive-id.
7190 (package-install): Doc fix.
7191 (package-download-single, package-download-tar, package-install)
7192 (package-menu-view-commentary): Callers changed.
7193
7194 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7195
7196 * net/tramp.el (tramp-handle-start-file-process): Check only for
7197 `remote-tty' process property.
7198 (tramp-open-shell): Don't check for tty.
7199 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7200 process property.
7201
7202 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7203 host.
7204
7205 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7206
7207 * emacs-lisp/package.el (package-load-list, package-archives)
7208 (package-archive-contents, package-user-dir)
7209 (package-directory-list, package--builtins, package-alist)
7210 (package-activated-list, package-obsolete-alist): Mark as risky.
7211
7212 2010-07-28 Phil Hagelberg <phil@evri.com>
7213
7214 Add support for non-default package repositories.
7215 * emacs-lisp/package.el (package-archive-base): Var deleted.
7216 (package-archives): New variable.
7217 (package-archive-contents): Doc fix.
7218 (package-load-descriptor): Do nothing if descriptor file is missing.
7219 (package--write-file-no-coding): New function.
7220 (package-unpack-single): Use it.
7221 (package-archive-id): New function.
7222 (package-download-single, package-download-tar)
7223 (package-menu-view-commentary): Use it.
7224 (package-installed-p): Make second argument optional.
7225 (package-read-all-archive-contents): New function.
7226 (package-initialize): Use it.
7227 (package-read-archive-contents): Add ARCHIVE argument.
7228 (package--add-to-archive-contents): New function.
7229 (package-install): Don't call package-read-archive-contents.
7230 (package--download-one-archive): Store archive file in a
7231 subdirectory of package-user-dir.
7232 (package-menu-execute): Remove spurious line movement.
7233
7234 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7235
7236 * cus-start.el (tool-bar-style): Add text-image-horiz.
7237
7238 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7239
7240 * progmodes/gud.el (gud-common-init): Check for remoteness of
7241 `file', and not of `default-directory'.
7242
7243 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7244
7245 * net/tramp.el (tramp-methods): Move hostname to the end in all
7246 ssh `tramp-login-args'.
7247 (tramp-verbose): Describe verbose level 9.
7248 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7249 (tramp-open-connection-setup-interactive-shell): Trace stty
7250 settings if `tramp-verbose' >= 9.
7251 (tramp-handle-start-file-process): Implement tty setting.
7252 (Bug#4604, Bug#6360)
7253
7254 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7255 `tramp-verbose' to 9.
7256
7257 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7258
7259 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7260 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7261 Remove references to package `lisp-re' (bug#4369).
7262
7263 2010-07-27 Tom Tromey <tromey@redhat.com>
7264
7265 * progmodes/js.el (js-mode):
7266 * progmodes/make-mode.el (makefile-mode):
7267 * progmodes/simula.el (simula-mode):
7268 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7269
7270 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7271
7272 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7273
7274 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7275 (display-time-world-buffer-name, display-time-world-mode-map):
7276 Fix typos in docstrings.
7277
7278 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7279
7280 * image-mode.el (image-display-size): New function.
7281 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7282 (image-mode-fit-frame): Use it (Bug#6639).
7283
7284 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7285
7286 * dired.el (dired-buffers-for-dir): Handle list values of
7287 dired-directory (Bug#6636).
7288
7289 2010-07-26 Sam Steingold <sds@gnu.org>
7290
7291 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7292 Do not call `x-get-selection' the second time, reuse the value.
7293
7294 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7295
7296 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7297 which consist of control chars only. Suggested by Richard Stallman.
7298
7299 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7300
7301 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7302 exists before passing an error to find-file-not-found-functions
7303 (bug#6723).
7304
7305 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7306
7307 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7308 Remove leading nil element, adjust values.
7309 (tetris-shapes, tetris-shape-scores):
7310 Change representation of shapes and remove some redundancy.
7311 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7312 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7313 Adjust for working with new representation of shapes.
7314 (tetris-shape-rotations): New function.
7315 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7316 (tetris-rotate-prev, tetris-rotate-next):
7317 Adjust for working with the new version of tetris-test-shape.
7318
7319 2010-07-23 Markus Triska <markus.triska@gmx.at>
7320
7321 * progmodes/ps-mode.el: Use comint (bug#5954).
7322 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7323 (ps-mode-other-newline): Simplify.
7324 (ps-run-mode): Derive from comint-mode instead of
7325 fundamental-mode, yielding input history etc.
7326 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7327 (ps-run-send-string): Adapt for comint-mode.
7328 (ps-run-newline): Remove now unneeded function.
7329
7330 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7331
7332 * net/tramp.el (tramp-methods): Move hostname to the end in all
7333 plink `tramp-login-args'.
7334
7335 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7336
7337 * net/tramp.el (tramp-open-shell): New defun.
7338 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7339 Use it.
7340
7341 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7342
7343 * net/tramp.el (tramp-file-name-regexp-unified)
7344 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7345 not regard the volume letter as remote filename. (Bug#5447)
7346
7347 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7348
7349 * custom.el (custom-declare-variable): Give a clearer error message
7350 when the docstring is missing (bug#6476).
7351
7352 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7353
7354 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7355 (sql-login-params): New widget definition.
7356 (sql-oracle-login-params, sql-mysql-login-params)
7357 (sql-solid-login-params, sql-sybase-login-params)
7358 (sql-informix-login-params, sql-ingres-login-params)
7359 (sql-ms-login-params, sql-postgres-login-params)
7360 (sql-interbase-login-params, sql-db2-login-params)
7361 (sql-linter-login-params): Use it.
7362 (sql-sqlite-login-params): Use it; Define "database" parameter as
7363 a file name.
7364 (sql-sqlite-program): Change to "sqlite3".
7365 (sql-comint-sqlite): Make sure database name is complete.
7366 (sql-for-each-login): New function.
7367 (sql-connect, sql-save-connection): Use it.
7368 (sql-get-login-ext): New function.
7369 (sql-get-login): Use it.
7370 (sql-make-alternate-buffer-name): Handle :file parameters.
7371
7372 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7373
7374 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7375 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7376
7377 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7378
7379 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7380
7381 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7382
7383 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7384
7385 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7386
7387 * net/tramp.el (tramp-get-ls-command)
7388 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7389 instead of "/".
7390
7391 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7392
7393 * progmodes/sql.el: Version 2.3.
7394 (sql-connection-alist): Change keys from symbols to strings;
7395 enhanced the widget definition.
7396 (sql-mode-menu): Add submenu to select connections.
7397 (sql-interactive-mode-menu): Add "Save Connection" item.
7398 (sql-add-product): Fix menu item.
7399 (sql-get-product-feature): Improved error handling.
7400 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7401 (sql-make-alternate-buffer-name): Simplified.
7402 (sql-product-interactive): Handle missing product.
7403 (sql-connect): Support string keys, minor improvements.
7404 (sql-save-connection): New function.
7405 (sql-connection-menu-filter): New function.
7406
7407 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7408
7409 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7410 (tramp-open-connection-setup-interactive-shell):
7411 Apply workaround for IRIX64 bug. Move argument of last
7412 `tramp-send-command' where it belongs to.
7413
7414 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7415
7416 * net/tramp.el (tramp-perl-file-attributes)
7417 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7418 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7419 front of `login-args'.
7420
7421 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7422
7423 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7424 Set `show-trailing-whitespace' to nil.
7425 (display-time-world-display): Simplify.
7426
7427 2010-07-18 Alan Mackenzie <acm@muc.de>
7428
7429 Enhance `c-file-style' in file/directory local variables.
7430 * progmodes/cc-mode.el (c-count-cfss): New function.
7431 (c-before-hack-hook): Call `c-set-style' differently according to
7432 whether c-file-style was set in file or directory local
7433 variables.
7434
7435 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7436
7437 * progmodes/sql.el: Version 2.2.
7438 (sql-product, sql-user, sql-database, sql-server, sql-port):
7439 Use defcustom :safe keyword rather than putting safe-local-variable
7440 property.
7441 (sql-password): Use defcustom :risky keyword rather than putting
7442 risky-local-variable property.
7443 (sql-oracle-login-params, sql-sqlite-login-params)
7444 (sql-solid-login-params, sql-sybase-login-params)
7445 (sql-informix-login-params, sql-ingres-login-params)
7446 (sql-ms-login-params, sql-postgres-login-params)
7447 (sql-interbase-login-params, sql-db2-login-params)
7448 (sql-linter-login-params): Add `port' option.
7449 (sql-get-product-feature): Add NO-INDIRECT parameter.
7450 (sql-comint-oracle, sql-comint-sybase)
7451 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7452 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7453 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7454 (sql-comint-linter): Rename sql-connect-* functions to
7455 sql-comint-*.
7456 (sql-product-alist, sql-mode-menu): Rename as above and
7457 :sqli-connect-func to :sqli-comint-func.
7458 (sql-connection): New variable.
7459 (sql-interactive-mode): Set it.
7460 (sql-connection-alist): New variable.
7461 (sql-connect): New function.
7462 (sql--alt-buffer-part, sql--alt-if-not-empty)
7463 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7464
7465 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7466
7467 * image-mode.el (image-bookmark-make-record): Do not set context
7468 in an image (Bug#6650).
7469
7470 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7471
7472 * simple.el (select-active-region): New function.
7473 (push-mark-command, set-mark, activate-mark)
7474 (handle-shift-selection): Use it.
7475 (deactivate-mark): Don't check for size of region.
7476
7477 * mouse.el (mouse-drag-track): Use select-active-region.
7478
7479 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7480
7481 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7482 "--dired" stronger.
7483
7484 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7485
7486 * term/x-win.el (x-select-enable-primary): Change default to nil.
7487 (x-select-enable-clipboard): Add :version keyword.
7488
7489 * mouse.el (mouse-drag-copy-region):
7490 * simple.el (select-active-regions): Likewise.
7491
7492 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7493
7494 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7495 (vc-coding-system-for-diff): Use it to decide whether to inherit
7496 from the file the EOL format for reading the diffs of that file.
7497 (Bug#4451)
7498
7499 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7500
7501 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7502 unibyte, so compressed attachments are not compressed again.
7503
7504 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7505
7506 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7507 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7508 (tramp-find-shell): Simplify setting connection property.
7509 (tramp-get-ls-command): Make test for "--color=never" stronger.
7510
7511 2010-07-15 Simon South <ssouth@member.fsf.org>
7512
7513 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7514 blocks within record declarations (i.e. variant parts) correctly.
7515
7516 2010-07-15 Simon South <ssouth@member.fsf.org>
7517
7518 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7519 over literal tokens when parsing so newlines aren't "absorbed" by
7520 single-line comments. Corrects the indentation of case blocks
7521 that have a comment on the first line.
7522
7523 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7524
7525 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7526 by Drew Adams (Bug#5504).
7527
7528 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7529
7530 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7531 now that Unicode is used (Bug#6594).
7532
7533 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7534
7535 * term/x-win.el (x-select-enable-clipboard): Default to t.
7536 (x-initialize-window-system): Don't overwrite Paste menu item.
7537
7538 * simple.el (select-active-regions): Default to t.
7539 (push-mark-command): Don't overwrite primary with empty string.
7540
7541 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7542 (mouse-drag-copy-region): Default to nil.
7543
7544 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7545 Cut/Copy/Paste menu bar items.
7546
7547 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7548
7549 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7550 Patch applied by Karl Fogel.
7551
7552 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7553 and `bookmark-current-buffer' if they have been already set in
7554 another buffer (e.g gnus-art).
7555
7556 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7557 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7558
7559 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7560
7561 * bookmark.el (bookmark-make-record-default): Allow unneeded
7562 information to be omitted from the record.
7563
7564 Adjust declarations and calls:
7565
7566 * info.el (bookmark-make-record-default): Adjust declaration.
7567 (Info-bookmark-make-record): Adjust call.
7568
7569 * woman.el (bookmark-make-record-default): Adjust declaration.
7570 (woman-bookmark-make-record): Adjust call.
7571
7572 * man.el (bookmark-make-record-default): Adjust declaration.
7573 (Man-bookmark-make-record): Adjust call.
7574
7575 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7576
7577 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7578
7579 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7580
7581 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7582 This is also from Thierry Volpiatto's patch in bug #6444. However,
7583 because it was extraneous to the functional change in that patch,
7584 and causes a re-indendation, I am committing it separately.
7585
7586 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7587
7588 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7589 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7590 Patch applied by Karl Fogel (Bug#6444).
7591
7592 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7593
7594 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7595
7596 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7597
7598 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7599 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7600 (ns-alternatives-map): Change S-tab binding to backtab
7601 (bug#6616).
7602
7603 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7604 under ns.
7605
7606 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7607
7608 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7609 (Bug#5806)
7610
7611 * language/tv-util.el (tai-viet-re): Remove format.
7612
7613 2010-07-12 Kenichi Handa <handa@m17n.org>
7614
7615 * language/hebrew.el: Remove no-byte-compile declaration.
7616 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7617 composition-function-table for 3-character looking back.
7618 (hebrew-font-get-precomposed): New function.
7619 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7620
7621 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7622
7623 * mouse.el (mouse-drag-track): Handle select-active-regions
7624 (Bug#6612).
7625
7626 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7627
7628 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7629 empty argument to gvfs-copy.
7630
7631 2010-07-10 Glenn Morris <rgm@gnu.org>
7632
7633 * calendar/calendar.el (calendar-week-end-day): New function.
7634 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7635 Respect calendar-week-start-day. (Bug#6606)
7636 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7637 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7638 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7639 respect calendar-week-start-day.
7640
7641 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7642
7643 * simple.el (use-region-p): Doc fix (Bug#6607).
7644
7645 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7646
7647 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7648 Add regexps for cucumber and ruby.
7649
7650 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7651
7652 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7653 (epa-file-insert-file-contents): Hack to prevent
7654 find-file from opening empty buffer when decryption failed
7655 (bug#6568).
7656
7657 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7658
7659 * textmodes/ispell.el (ispell-alternate-dictionary):
7660 Use file-readable-p.
7661 Return nil if no word-list is found at default locations.
7662 (ispell-complete-word-dict): Default to nil.
7663 (ispell-command-loop): Use 'word-list' when using lookup-words.
7664 (lookup-words): Use ispell-complete-word-dict or
7665 ispell-alternate-dictionary. Check for word-list availability
7666 and handle errors if needed with better messages (Bug#6539).
7667 (ispell-complete-word): Use ispell-complete-word-dict or
7668 ispell-alternate-dictionary.
7669
7670 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7671
7672 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7673 builtins (BufferError, BytesWarning, WindowsError; callables
7674 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7675
7676 2010-07-07 Glenn Morris <rgm@gnu.org>
7677
7678 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7679 (zone-shift-left): Ignore intangibility, and any errors from
7680 forward-char.
7681 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7682 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7683 deleting, and copying text properties.
7684 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7685 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7686 to point-max is hard.
7687 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7688 (zone-fill-out-screen): Ignore intangibility.
7689
7690 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7691
7692 * menu-bar.el (menu-bar-mode):
7693 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7694 if it has been set.
7695
7696 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7697 word/line selection (Bug#6565).
7698
7699 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7700
7701 * net/dbus.el (dbus-send-signal): Declare function.
7702
7703 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7704
7705 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7706 (dbus-register-property): New optional argument EMITS-SIGNAL.
7707 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7708
7709 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7710
7711 * mouse.el (mouse-drag-overlay): Variable deleted.
7712 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7713 (mouse--remap-link-click-p): New function.
7714 (mouse-drag-track): Handle dragging by using temporary Transient
7715 Mark mode, instead of a special overlay.
7716 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7717 mouse-show-mark.
7718
7719 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7720 deleted.
7721
7722 2010-07-02 Juri Linkov <juri@jurta.org>
7723
7724 * autoinsert.el (auto-insert-alist): Fix readability
7725 by using dotted pair notation for lambda.
7726
7727 2010-07-02 Juri Linkov <juri@jurta.org>
7728
7729 * faces.el (read-face-name): Rename arg `string-describing-default'
7730 to `default'. Doc fix. Display the default value in quotes
7731 in the prompt. With empty input, return the `default' arg,
7732 unless the default value is a string (in which case return nil).
7733 (describe-face): Replace the string `default' arg of `read-face-name'
7734 with the symbol `default'.
7735
7736 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7737
7738 * emulation/viper-cmd.el (viper-delete-backward-char)
7739 (viper-del-backward-char-in-insert)
7740 (viper-del-backward-char-in-replace, viper-change)
7741 (viper-backward-indent): Replace delete-backward-char with
7742 delete-char (Bug#6552).
7743
7744 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7745
7746 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7747
7748 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7749
7750 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7751 argument passed to frame-creation-function (Bug#5378).
7752
7753 * faces.el (x-handle-named-frame-geometry)
7754 (x-handle-reverse-video, x-create-frame-with-faces)
7755 (face-set-after-frame-default, tty-create-frame-with-faces):
7756 Don't separately consult default-frame-alist. It is now passed as the
7757 PARAMETER argument.
7758
7759 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7760
7761 * startup.el (command-line): Don't call tool-bar-setup in a
7762 tty-only build.
7763
7764 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7765
7766 * ruler-mode.el (ruler--save-header-line-format): New fun.
7767 (ruler-mode): Use it as a setter function, so as not to overwrite
7768 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7769
7770 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7771
7772 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7773 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7774 (vc-log-outgoing): Use it.
7775 (vc-diff-internal): Set diff-vc-backend.
7776
7777 * vc/diff-mode.el (diff-vc-backend): New var.
7778
7779 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7780
7781 * dynamic-setting.el (font-setting-change-default-font):
7782 Remove call to message.
7783
7784 2010-06-28 Kenichi Handa <handa@m17n.org>
7785
7786 * international/quail.el (quail-insert-kbd-layout): Fix the
7787 showing of untranslated characters.
7788
7789 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7790
7791 * simple.el (delete-active-region): New option.
7792 (delete-backward-char): Implement in Lisp.
7793 (delete-forward-char): New command.
7794
7795 * mouse.el (mouse-region-delete-keys): Deleted.
7796 (mouse-show-mark): Simplify.
7797
7798 * bindings.el (global-map): Bind delete and DEL, the former to
7799 delete-forward-char.
7800
7801 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7802
7803 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7804 (ruby-mode): Bind indent-line-function (Bug#5119).
7805
7806 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7807
7808 * startup.el (command-line): Recognize "0" X resource value.
7809
7810 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7811
7812 * startup.el (command-line): Use X resources to set the value of
7813 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7814
7815 * menu-bar.el (menu-bar-mode):
7816 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7817 Set init-value to t.
7818
7819 * frame.el (frame-notice-user-settings): Don't change
7820 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7821 vice versa (Bug#2249).
7822
7823 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7824
7825 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7826
7827 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7828
7829 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7830 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7831
7832 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7833 default directories are expanded (Bug#6143).
7834
7835 2010-06-24 Juri Linkov <juri@jurta.org>
7836
7837 * minibuffer.el (completions-format): Change default from nil to
7838 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7839
7840 2010-06-24 Juri Linkov <juri@jurta.org>
7841
7842 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7843 buffer-locally to lambda that re-runs the vc diff command.
7844 (Bug#6447)
7845
7846 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7847
7848 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7849 echo area is in use (Bug#3412).
7850
7851 2010-06-22 Glenn Morris <rgm@gnu.org>
7852
7853 * textmodes/texinfmt.el (texinfo-format-region)
7854 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7855 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7856 (texinfo-format-option, texinfo-noindent):
7857 Use line-beginning-position and line-end-position.
7858
7859 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7860 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7861 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7862 utf-8 characters.
7863
7864 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7865
7866 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7867 forward-line fallout.
7868
7869 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7870
7871 * mouse.el (mouse-appearance-menu): Add docstring.
7872
7873 * help.el (describe-key): Print up-event using key-description.
7874
7875 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7876
7877 * net/zeroconf.el (zeroconf-resolve-service)
7878 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7879 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7880
7881 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7882
7883 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7884
7885 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7886
7887 Avoid displaying files with a nil state in vc-dir.
7888 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7889 cases that cause insertion.
7890 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7891 with a nil state.
7892
7893 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7894
7895 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7896
7897 2010-06-29 Leo <sdl.web@gmail.com>
7898
7899 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7900
7901 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7902
7903 * generic-x.el (bat-generic-mode): Fix regexp for command line
7904 switches (Bug#5719).
7905
7906 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7907
7908 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7909 of nconc to avoid pure storage error (Bug#6239).
7910
7911 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7912
7913 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7914 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7915 bindings of bookmark-automatically-show-annotations (Bug#6515).
7916
7917 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7918
7919 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7920 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7921
7922 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7923
7924 * comint.el (make-comint, make-comint-in-buffer): Mention return
7925 value in the docstrings. (Bug#6498)
7926
7927 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7928
7929 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7930 since it is not present when using some non-default switches.
7931
7932 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7933
7934 * simple.el (compose-mail): Fix doc string to refer to
7935 `compose-mail-user-agent-warnings', instead of to the
7936 nonexistent `compose-mail-check-user-agent'.
7937
7938 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7939
7940 Fix an indentation bug:
7941
7942 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7943 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7944 of existing values.
7945
7946 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7947 (c-clear->-pair-props-if-match-before): now return t when they've
7948 cleared properties, nil otherwise.
7949 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7950 by taking account of the existing value.
7951
7952 * progmodes/cc-defs.el
7953 (c-clear-char-property-with-value-function): Fix this to clear the
7954 property rather than overwriting it with nil.
7955
7956 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7957
7958 * emacs-lisp/package.el (package-print-package): Add link to
7959 package description via describe-package.
7960 (describe-package-1): List package requirements. Add button to
7961 perform installation.
7962 (package-menu-describe-package): New command.
7963
7964 * help-mode.el (help-package): New button type.
7965
7966 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7967
7968 * emacs-lisp/package.el: Move package-list-packages binding to
7969 menu-bar.el.
7970 (describe-package, describe-package-1, package--dir): New funs.
7971 (package-activate-1): Use package--dir.
7972
7973 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7974
7975 * help-mode.el (help-package-def): New button type.
7976
7977 * menu-bar.el: Move package-list-packages binding here from
7978 package.el.
7979
7980 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7981
7982 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7983
7984 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7985
7986 * emacs-lisp/edebug.el (edebug-read-list):
7987 Phase out old-style backquotes.
7988
7989 2010-06-17 Juri Linkov <juri@jurta.org>
7990
7991 * help-mode.el (help-mode): Set buffer-local variable
7992 revert-buffer-function to help-mode-revert-buffer.
7993 (help-mode-revert-buffer): New function.
7994
7995 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7996 before popping to "*info*" (like in other Info functions).
7997 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7998 old-history-forward. Pop to old-buffer-name or "*info*" to
7999 recreate the killed buffer. Set Info-history-forward from
8000 old-history-forward.
8001 (Info-breadcrumbs-depth): Add :group and :version.
8002
8003 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8004
8005 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8006
8007 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8008
8009 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8010 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8011
8012 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8013
8014 * emacs-lisp/package.el (package-menu-mode-map):
8015 Move initialization into declaration.
8016
8017 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8018
8019 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8020
8021 * emacs-lisp/package.el (package-archive-base): Point to
8022 elpa.gnu.org.
8023 (package-enable, package-load-list): New defcustoms.
8024 (package-user-dir, package-directory-list): Turn into defcustoms.
8025 Don't include package-user-dir in package-directory-list.
8026 (package--builtins-base): Don't include Emacs as a "package".
8027 (package-subdirectory-regexp): New var.
8028 (package-load-all-descriptors, package-compute-transaction)
8029 (package-download-transaction): Obey package-load-list.
8030 (package-activate-1): Rename from package-do-activate.
8031 (package-list-packages-internal): Check package-load-list.
8032 (package-load-descriptor, package-generate-autoloads)
8033 (package-unpack, package-unpack-single)
8034 (package--read-archive-file, package-delete):
8035 Use expand-file-name.
8036
8037 * emacs-lisp/package-x.el: New file. Package uploading
8038 functionality split out from package.el.
8039
8040 * startup.el (command-line): Load packages after reading init file.
8041
8042 2010-06-17 Tom Tromey <tromey@redhat.com>
8043
8044 * emacs-lisp/package.el: New file.
8045
8046 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8047
8048 Fix vc-annotate for renamed files when using Git.
8049 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8050 ls-files. Doe not pass the object as a file name to cat-file, it
8051 is not a file name.
8052 (vc-git-annotate-command): Pass the file name using -- to avoid
8053 ambiguity with the revision.
8054 (vc-git-previous-revision): Pass a relative file name.
8055
8056 2010-06-22 Glenn Morris <rgm@gnu.org>
8057
8058 * progmodes/js.el (js-mode-map): Use standard capitalization and
8059 ellipses for menu entries.
8060
8061 * wid-edit.el (widget-complete): Doc fix.
8062
8063 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8064
8065 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8066
8067 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8068
8069 Fix annotating other revisions for renamed files in vc-annotate.
8070 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8071 VC backend. Use it when non-nil.
8072 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8073 (Bug#6487).
8074
8075 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8076 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8077 Do not pass the file name to the 'previous-revision call when we
8078 don't want a file diff. (Bug#6489)
8079
8080 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8081
8082 Fix finding revisions for renamed files in vc-annotate.
8083 * vc/vc.el (vc-find-revision): Add an optional argument for
8084 the VC backend. Use it when non-nil.
8085 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8086 backend to vc-find-revision. (Bug#6487)
8087
8088 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8089
8090 Fix reading file names in Git annotate buffers.
8091 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8092 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8093
8094 2010-06-20 Alan Mackenzie <acm@muc.de>
8095
8096 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8097 in file local variables, set it first.
8098
8099 2010-06-19 Glenn Morris <rgm@gnu.org>
8100
8101 * descr-text.el (describe-char-unicode-data): Insert separating
8102 space when needed. (Bug#6422)
8103
8104 * progmodes/idlwave.el (idlwave-action-and-binding):
8105 Fix typo in 2009-12-03 change. (Bug#6450)
8106
8107 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8110 handling for `lambda' (misunderstanding).
8111
8112 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8113
8114 * calc/calc-poly.el (math-accum-factors): Make sure that
8115 constants aren't distributed after they are factored out.
8116
8117 2010-06-16 Juri Linkov <juri@jurta.org>
8118
8119 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8120 `list-colors-print'. (Bug#6332)
8121
8122 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8123
8124 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8125
8126 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8127 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8128
8129 * font-lock.el (font-lock-major-mode): Rename from
8130 font-lock-mode-major-mode to distinguish it from
8131 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8132 (font-lock-set-defaults):
8133 * font-core.el (font-lock-default-function): Adjust users.
8134 (font-lock-mode): Don't set it at all.
8135
8136 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8137
8138 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8139
8140 2010-06-16 Glenn Morris <rgm@gnu.org>
8141
8142 * calendar/appt.el (appt-time-msg-list): Doc fix.
8143 (appt-check): Let-bind appt-warn-time.
8144 (appt-add): Make the 3rd argument optional.
8145 Simplify argument names. Doc fix. Check for integer WARNTIME.
8146 Only add WARNTIME to the output list if non-nil.
8147
8148 2010-06-16 Ivan Kanis <apple@kanis.eu>
8149
8150 * calendar/appt.el (appt-check): Let the 3rd element of
8151 appt-time-msg-list specify the warning time.
8152 (appt-add): Add new argument with the warning time. (Bug#5176)
8153
8154 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8155
8156 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8157 older than version 1.6. (Bug#6361)
8158
8159 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8160
8161 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8162 used by cl-do-arglist. (Bug#6408)
8163
8164 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8165
8166 * textmodes/ispell.el (ispell-dictionary-base-alist):
8167 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8168 Suggested by Rolando Pereira (bug#6434).
8169
8170 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8171
8172 * facemenu.el (list-colors-sort): Doc fix.
8173
8174 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8175
8176 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8177
8178 2010-06-14 Juri Linkov <juri@jurta.org>
8179
8180 Add sort option `list-colors-sort'. (Bug#6332)
8181 * facemenu.el (color-rgb-to-hsv): New function.
8182 (list-colors-sort): New defcustom.
8183 (list-colors-sort-key): New function.
8184 (list-colors-display): Doc fix. Sort list according to the option
8185 `list-colors-sort'.
8186 (list-colors-print): Add HSV values to `help-echo' property of
8187 RGB strings.
8188
8189 2010-06-14 Juri Linkov <juri@jurta.org>
8190
8191 * compare-w.el: Move to the "vc" subdirectory.
8192
8193 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8194
8195 * image-mode.el (image-mode-map): Remap left-char and right-char.
8196
8197 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8198
8199 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8200
8201 * term/common-win.el (x-colors): Add all the color names defined
8202 in rgb.txt (Bug#6332).
8203
8204 * facemenu.el (list-colors-print): Don't print extra names if it
8205 will overflow the window width.
8206
8207 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8208 change (Bug#6343).
8209
8210 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8211
8212 * files.el (make-directory): Doc fix (bug#6396).
8213
8214 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8215
8216 * net/tramp.el (tramp-remote-process-environment): Protect version
8217 string by apostroph.
8218 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8219 XEmacs.
8220 (tramp-file-name-for-operation): Add `call-process-region'.
8221 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8222
8223 * net/tramp-compat.el (top): Do not autoload
8224 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8225 only when `start-file-process' is not bound.
8226 (tramp-advice-file-expand-wildcards): Do not use
8227 `tramp-handle-file-remote-p'.
8228 (tramp-compat-make-temp-file): Handle the case, that
8229 `make-temp-file' has no third argument EXTENSION.
8230
8231 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8232
8233 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8234
8235 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8236
8237 2010-06-11 Juri Linkov <juri@jurta.org>
8238
8239 * finder.el (finder-known-keywords): Add keyword "vc"
8240 for version control.
8241
8242 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8243 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8244 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8245 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8246
8247 2010-06-11 Juri Linkov <juri@jurta.org>
8248
8249 Move version control related files to the "vc" subdirectory.
8250 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8251 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8252 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8253 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8254 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8255 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8256 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8257 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8258 Move files to the "vc" subdirectory.
8259
8260 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8261
8262 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8263 (Bug#6367).
8264
8265 2010-06-11 Stephen Eglen <stephen@gnu.org>
8266
8267 * shell.el: Bind `shell-resync-dirs' to M-RET.
8268
8269 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8270
8271 * notifications.el: Move file from lisp/net, because it is
8272 supposed to talk locally to the user.
8273
8274 2010-06-10 Julien Danjou <julien@danjou.info>
8275
8276 * net/notifications.el (notifications-on-action-signal)
8277 (notifications-on-closed-signal): Pass notification id as first
8278 argument to the callback functions. Add docstrings.
8279 (notifications-notify): Fix docstring.
8280
8281 2010-06-10 Glenn Morris <rgm@gnu.org>
8282
8283 * emacs-lisp/authors.el (authors-ignored-files)
8284 (authors-valid-file-names): Add some files.
8285
8286 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8287
8288 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8289 merge conflict, giving preference to the emacs-23 version of the code.
8290
8291 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * emacs-lisp/advice.el (ad-compile-function):
8294 Define warning-suppress-types before we let-bind it (bug#6275).
8295
8296 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8297 declare it, make it buffer-local and permanent-local (bug#6324).
8298 (vc-resynch-window): Adjust name.
8299 * vc-hooks.el (vc-find-file-hook): Adjust name.
8300
8301 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8302
8303 * net/notifications.el (notifications-notify): Fix docstring.
8304
8305 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8306
8307 Update to Unicode 6.0.0 beta.
8308 * international/charprop.el: Update copyright.
8309 * international/mule-cmds.el (ucs-names): Update character ranges.
8310 * international/uni-bidi.el:
8311 * international/uni-category.el:
8312 * international/uni-combining.el:
8313 * international/uni-comment.el:
8314 * international/uni-decimal.el:
8315 * international/uni-decomposition.el:
8316 * international/uni-digit.el:
8317 * international/uni-lowercase.el:
8318 * international/uni-mirrored.el:
8319 * international/uni-name.el:
8320 * international/uni-numeric.el:
8321 * international/uni-old-name.el:
8322 * international/uni-titlecase.el:
8323 * international/uni-uppercase.el: Regenerate.
8324
8325 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8326
8327 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8328 (smie-precs-precedence-table): Fix typo in docstring.
8329
8330 * vc-mtn.el (log-edit-extract-headers): Declare function.
8331
8332 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8333
8334 * net/notifications.el (dbus-register-signal): Declare function.
8335 (notifications-notify): Fix typos and reflow docstring.
8336
8337 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8338
8339 Improve VC create/retrieve tag/branch.
8340 * vc.el (vc-create-tag): Do not read the directory name for VCs
8341 with repository revision granularity. Adjust the tag/branch
8342 prompt. Reset VC properties.
8343 (vc-retrieve-tag): Do not read the directory name for VCs
8344 with repository revision granularity. Reset VC properties.
8345
8346 2010-06-09 Julien Danjou <julien@danjou.info>
8347
8348 * net/notifications.el: New file.
8349
8350 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8351
8352 Add optional support for resetting VC properties.
8353 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8354 call vc-file-clearprops when true.
8355 (vc-resynch-buffer): Add new optional argument, pass it down.
8356 (vc-resynch-buffers-in-directory): Likewise.
8357
8358 Improve support for special markup in the VC commit message.
8359 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8360 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8361 * vc-git.el (vc-git-checkin):
8362 * vc-bzr.el (vc-bzr-checkin): Likewise.
8363
8364 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8365
8366 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8367 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8368
8369 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8370
8371 * iimage.el: Remove images as soon as the underlying text is modified.
8372 (iimage-modification-hook): New function.
8373 (iimage-mode-buffer): Use it.
8374
8375 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8378 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8379 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8380 (smie-indent-keyword): Add handling of open-paren keywords.
8381 (smie-indent-comment-continue): Don't assume comment-continue.
8382
8383 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8384
8385 * window.el (pop-to-buffer): Remove the conditional that
8386 compares new-window and old-window, so it will reselect
8387 the selected window unconditionally.
8388 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8389
8390 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * emacs-lisp/smie.el (smie-indent-offset-after)
8393 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8394 (smie-indent-after-keyword): Use them.
8395 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8396 (smie-indent-keyword): Tweak the black magic.
8397 (smie-indent-comment-continue): Strip comment-continue before use.
8398 (smie-indent-functions): Indent comments before keywords.
8399
8400 2010-06-06 Juri Linkov <juri@jurta.org>
8401
8402 * isearch.el (isearch-lazy-highlight-search): Fix looping
8403 by checking for empty match. This syncs this loop with the
8404 similar loop in `isearch-search'. (Bug#6362)
8405
8406 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8407
8408 * net/dbus.el (dbus-register-method): Declare function.
8409 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8410 (dbus-introspect): Doc fix.
8411 (dbus-event-bus-name, dbus-introspect-get-interface)
8412 (dbus-introspect-get-argument): Reflow docstrings.
8413
8414 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8415
8416 vc-log-incoming/vc-log-outgoing fixes for Git.
8417 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8418 incoming/outgoing logs.
8419 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8420 instead of vc-git-compute-remote.
8421 (vc-git-compute-remote): Remove.
8422
8423 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8424
8425 * term/common-win.el (x-colors): Add "dark green" and "dark
8426 turquoise" (Bug#6332).
8427
8428 2010-06-04 Juri Linkov <juri@jurta.org>
8429
8430 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8431 Instead of setting `replace' to t and replacing the same string
8432 with itself, don't do certain actions when
8433 kill-do-not-save-duplicates is non-nil and string is equal to car
8434 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8435 interprogram-paste strings to kill-ring, and don't push the input
8436 argument `string' to kill-ring.
8437 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8438
8439 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8440
8441 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8442
8443 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8444
8445 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8446 (tramp-gvfs-handler-mounted-unmounted)
8447 (tramp-gvfs-connection-mounted-p): Handle default-location.
8448
8449 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8450 move files to trash.
8451
8452 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8453
8454 * international/mule-cmds.el (nonascii-insert-offset)
8455 (nonascii-translation-table): Add obsolescence information.
8456
8457 * international/mule.el (make-translation-table-from-vector): Doc fix.
8458
8459 2010-06-03 Glenn Morris <rgm@gnu.org>
8460
8461 * desktop.el (desktop-clear-preserve-buffers):
8462 Add "*Warnings*" buffer. (Bug#6336)
8463
8464 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8465
8466 vc-log-incoming/vc-log-outgoing improvements for Git.
8467 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8468 short log.
8469 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8470
8471 Add bindings for vc-log-incoming and vc-log-outgoing.
8472 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8473 and vc-log-outgoing.
8474 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8475 and vc-log-outgoing.
8476
8477 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8478
8479 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8480 (rcirc-handler-366): Always sort nicknames.
8481
8482 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8483
8484 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8485
8486 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8487
8488 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8489
8490 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8493 (rcirc-sort-nicknames-join): Avoid setq.
8494
8495 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8496
8497 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8498 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8499 (rcirc-handler-366): Use them.
8500
8501 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 Split smie-indent-calculate into more manageable chunks.
8504 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8505 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8506 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8507 (smie-indent-exps): Extract from smie-indent-calculate.
8508 (smie-indent-functions): New var.
8509 (smie-indent-functions): Use them.
8510
8511 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8514 (smie-indent-calculate): Simplify and cleanup.
8515
8516 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8517
8518 * net/tramp-gvfs.el (top): Require url-util.
8519 (tramp-gvfs-mount-point): Remove.
8520 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8521 New defuns.
8522 (with-tramp-dbus-call-method): Format trace message.
8523 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8524 Implement backup call, when operation on local files fails.
8525 Use progress reporter. Flush properties of changed files.
8526 (tramp-gvfs-handle-make-directory): Make more traces.
8527 (tramp-gvfs-url-file-name): Hexify file name in url.
8528 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8529 into account for the resulting file name.
8530 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8531 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8532 (tramp-gvfs-handler-mounted-unmounted)
8533 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8534 attribute "default_location". Set "prefix" property.
8535 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8536 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8537 exists. Raise an error, if not (due to a corresponding answer
8538 "no" in interactive questions, for example).
8539
8540 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8541
8542 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8543
8544 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8545
8546 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8547 right-*. (Bug#6265)
8548
8549 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8550
8551 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8552 * vc-git.el (vc-git-compute-remote): New function.
8553 (vc-git-log-outgoing): Use it instead of hard coding a value.
8554 (vc-git-log-incoming): New function.
8555
8556 Improve state updating for VC tag commands.
8557 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8558 to update the state of all buffers in the directory.
8559
8560 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8561
8562 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8565 `file-directory-p' to the filename part rather than to the whole text.
8566
8567 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8570
8571 2010-05-31 Drew Adams <drew.adams@oracle.com>
8572
8573 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8574
8575 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8576
8577 * subr.el (momentary-string-display): Just use read-event to read
8578 the exit event (Bug#6238).
8579
8580 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8581
8582 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8583
8584 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8585
8586 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8587 Suggested by Eli Zaretskii <eliz@gnu.org>.
8588
8589 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * minibuffer.el (completion-file-name-table): Don't return a boundary
8592 past the end of `string' (bug#6299).
8593 (completion--file-name-table): Delegate to completion-file-name-table
8594 for the `boundaries' case.
8595
8596 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8597
8598 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8599 movement commands.
8600
8601 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8602 `path-separator', but maintain compatibility with Emacs 20.2.
8603
8604 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8605
8606 * server.el (server-process-filter): Receive parent-id argument
8607 from emacsclient.
8608 (server-create-window-system-frame): New arg. Pass parent-id as
8609 frame parameter.
8610
8611 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8612
8613 Bidi-sensitive word movement with arrow keys.
8614 * subr.el (right-arrow-command, left-arrow-command): Move to
8615 bindings.el.
8616
8617 * bindings.el (right-char, left-char): Move from subr.el and
8618 rename from right-arrow-command and left-arrow-command.
8619 (right-word, left-word): New functions.
8620 (global-map) <right>: Bind to right-char.
8621 (global-map) <left>: Bind to left-char.
8622 (global-map) <C-right>: Bind to right-word.
8623 (global-map) <C-left>: Bind to left-word.
8624
8625 * ls-lisp.el (ls-lisp-classify-file): New function.
8626 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8627 (ls-lisp-classify): Call ls-lisp-classify-file.
8628 (insert-directory): Remove blanks from switches.
8629
8630 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8631
8632 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8633 (ansi-color-drop-regexp): New constant.
8634 (ansi-color-apply, ansi-color-filter-region)
8635 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8636 (ansi-color-apply): Build string list before calling concat.
8637
8638 2010-05-28 Juri Linkov <juri@jurta.org>
8639
8640 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8641 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8642 (Bug#5270)
8643
8644 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8645
8646 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8647 to ignored backtrace functions.
8648 (with-progress-reporter): Expand docstring.
8649 (tramp-handle-delete-file): Implement TRASH argument.
8650 (tramp-get-remote-trash): New defun.
8651
8652 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8653
8654 * net/tramp-compat.el (tramp-compat-delete-file):
8655 Use `symbol-value' for backward compatibility.
8656
8657 * net/tramp.el (tramp-handle-make-symbolic-link)
8658 (tramp-handle-load)
8659 (tramp-do-copy-or-rename-file-via-buffer)
8660 (tramp-do-copy-or-rename-file-directly)
8661 (tramp-do-copy-or-rename-file-out-of-band)
8662 (tramp-handle-process-file, tramp-handle-call-process-region)
8663 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8664 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8665 (tramp-delete-temp-file-function): Use `delete-file' instead
8666 of `tramp-compat-delete-file'.
8667
8668 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8669 (tramp-fish-handle-make-symbolic-link)
8670 (tramp-fish-handle-process-file): Use `delete-file' instead
8671 of `tramp-compat-delete-file'.
8672
8673 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8674 Use `delete-file' instead of `tramp-compat-delete-file'.
8675
8676 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8677 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8678 `tramp-compat-delete-file'.
8679
8680 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8681 Use `delete-file' instead of `tramp-compat-delete-file'.
8682
8683 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8684 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8685 (tramp-smb-handle-write-region): Use `delete-file' instead of
8686 `tramp-compat-delete-file'.
8687 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8688
8689 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8690
8691 * dired.el (dired-delete-file): New arg TRASH.
8692 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8693 (dired-do-flagged-delete, dired-do-delete): Use trash.
8694
8695 * speedbar.el (speedbar-item-delete): Allow trashing.
8696
8697 * files.el (delete-directory): New arg TRASH.
8698
8699 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8700 (ange-ftp-rename-remote-to-remote)
8701 (ange-ftp-rename-local-to-remote)
8702 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8703 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8704 `delete-file'.
8705 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8706 allow trashing.
8707
8708 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8709 handle new TRASH arg of `delete-file'.
8710
8711 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8712 (tramp-handle-make-symbolic-link, tramp-handle-load)
8713 (tramp-do-copy-or-rename-file-via-buffer)
8714 (tramp-do-copy-or-rename-file-directly)
8715 (tramp-do-copy-or-rename-file-out-of-band)
8716 (tramp-handle-process-file, tramp-handle-call-process-region)
8717 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8718 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8719 (tramp-delete-temp-file-function): Use null TRASH arg in
8720 tramp-compat-delete-file call.
8721
8722 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8723 (tramp-fish-handle-delete-file)
8724 (tramp-fish-handle-make-symbolic-link)
8725 (tramp-fish-handle-process-file): Use null TRASH arg in
8726 `tramp-compat-delete-file' call.
8727
8728 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8729 arg in `tramp-compat-delete-file' call.
8730
8731 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8732 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8733 `tramp-compat-delete-file' call.
8734
8735 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8736 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8737 `tramp-compat-delete-file' call.
8738
8739 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8740 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8741 (tramp-smb-handle-write-region): Use null TRASH arg in
8742 tramp-compat-delete-file call.
8743 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8744 (tramp-smb-handle-delete-file): Rename arg.
8745
8746 * diff.el (diff-sentinel):
8747 * epg.el (epg--make-temp-file, epg-decrypt-string)
8748 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8749 * jka-compr.el (jka-compr-partial-uncompress)
8750 (jka-compr-call-process, jka-compr-write-region):
8751 * server.el (server-sentinel): Remove optional arg from
8752 delete-file, reverting 2010-05-03 change.
8753
8754 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8755
8756 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8757 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8758
8759 2010-05-27 Kenichi Handa <handa@m17n.org>
8760
8761 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8762 element of GSTRING is nil.
8763
8764 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8765
8766 * emacs-lisp/smie.el (smie-forward-token-function)
8767 (smie-backward-token-function): New vars.
8768 (smie-backward-sexp, smie-forward-sexp)
8769 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8770 (smie-default-backward-token): Rename from smie-backward-token and
8771 skip comments.
8772 (smie-default-forward-token): Rename from smie-forward-token and
8773 skip comments.
8774 (smie-next-sexp): Handle nil results from next-token.
8775 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8776
8777 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8778
8779 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8780 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8781
8782 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8783
8784 * htmlfontify.el (hfy-face-resolve-face): New function.
8785 (hfy-face-to-style): Use it (Bug#6279).
8786
8787 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8790 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8791
8792 2010-05-26 Glenn Morris <rgm@gnu.org>
8793
8794 * emulation/edt.el (edt-load-keys): Use locate-library.
8795
8796 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8797
8798 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8799 (log-edit-changelog-entries): Doc fix.
8800 (log-edit-changelog-insert-entries): Args changed.
8801 Rename relative filenames in ChangeLog entries. Delete tabs.
8802 (log-edit-insert-changelog-entries): Reorganize return value of
8803 `log-edit-changelog-entries' to pass filenames to
8804 log-edit-changelog-insert-entries.
8805
8806 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8807
8808 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8809 `image-dired-dired-insert-marked-thumbs' to
8810 `image-dired-dired-toggle-marked-thumbs'.
8811
8812 * image-dired.el: Require cl when compiling.
8813 (image-dired-dired-toggle-marked-thumbs): Rename from
8814 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8815 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8816 to 'no-dir. Skip files whose names don't match
8817 `image-file-name-regexp'. When file has a thumbnail overlay,
8818 delete it. (Bug#5270)
8819
8820 2010-05-25 Juri Linkov <juri@jurta.org>
8821
8822 * image-mode.el (image-mode): Add image-after-revert-hook to
8823 after-revert-hook.
8824 (image-after-revert-hook): New function. (Bug#5669)
8825
8826 2010-05-25 Juri Linkov <juri@jurta.org>
8827
8828 * image.el (image-animated-p): When delay between animated images
8829 is 0, set it to 10 (0.1 sec). (Bug#6258)
8830
8831 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8832
8833 * net/tramp.el (tramp-handle-insert-directory): Don't use
8834 `forward-word', its default syntax could be changed.
8835
8836 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8837
8838 * net/tramp.el (tramp-progress-reporter-update): New defun.
8839 (with-progress-reporter): Use it.
8840 (tramp-process-actions):
8841 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8842 Preserve current message, in order to let progress reporter continue
8843 afterwards. (Bug#6257)
8844
8845 2010-05-25 Glenn Morris <rgm@gnu.org>
8846
8847 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8848 Add :version.
8849
8850 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8851
8852 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8853 (rcirc-default-full-name): Change to "unknown".
8854 (rcirc-user-name-history): Add variable.
8855
8856 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8857 Jonathan Rockway <jon@jrock.us>
8858
8859 * net/rcirc.el (rcirc-server-alist): Add :pass.
8860 (rcirc): When prompting for connection parameters, also prompt for
8861 username and password.
8862 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8863 value to server when connecting.
8864
8865 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8868 (smie-merge-prec2s): Pass the tables as separate args.
8869 (smie-bnf-precedence-table): Adjust call accordingly.
8870 (smie-prec2-levels): Set levels at the end.
8871
8872 Replace Lisp calls to delete-backward-char by delete-char.
8873 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8874 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8875 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8876 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8877 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8878 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8879 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8880 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8881 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8882 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8883 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8884 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8885 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8886 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8887 delete-backward-char by calls to delete-char.
8888
8889 2010-05-25 Kenichi Handa <handa@m17n.org>
8890
8891 * language/hebrew.el (hebrew-shape-gstring): New function.
8892 Register it in composition-function-table for all Hebrew combining
8893 characters.
8894
8895 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * epa.el (epa--select-keys): Don't explicitly delete the window since
8898 that can fail (e.g. sole window in frame). Use dedication instead.
8899
8900 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8901
8902 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8903
8904 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8905
8906 * image.el (image-refresh): Define as an alias for image-flush.
8907
8908 * image-mode.el (image-toggle-display-image): Caller changed.
8909
8910 2010-05-21 Juri Linkov <juri@jurta.org>
8911
8912 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8913 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8914 whitespace, call wildcard-to-regexp on substrings and concat them
8915 with "\\|". (Bug#6114)
8916
8917 2010-05-21 Alan Mackenzie <acm@muc.de>
8918
8919 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8920 Replace parameter `here' with `here-' and `here-plus', which sandwich
8921 any pertinent CPP construct.
8922 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8923 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8924 CPP construct from taking part in the scanning.
8925
8926 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8927
8928 * net/tramp.el (tramp-do-copy-or-rename-file)
8929 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8930 Tune `with-progress-reporter' messages.
8931 (tramp-handle-vc-registered):
8932 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8933 (tramp-fish-handle-insert-file-contents)
8934 (tramp-fish-maybe-open-connection):
8935 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8936 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8937 (tramp-imap-handle-insert-file-contents)
8938 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8939
8940 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8941
8942 * add-log.el (change-log-font-lock-keywords):
8943 Highlight all authors in multi-author entries.
8944
8945 * smerge-mode.el (smerge-refine-ignore-whitespace)
8946 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8947 Fix typos in docstrings.
8948 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8949
8950 2010-05-21 Glenn Morris <rgm@gnu.org>
8951
8952 * progmodes/fortran.el (fortran-mode):
8953 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8954
8955 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8956 having a relative path in src/Makefile.in.
8957
8958 2010-05-20 Kevin Ryde <user42@zip.com.au>
8959
8960 * help-mode.el (help-make-xrefs): For Info node links turn
8961 newlines into spaces. Link node names with newlines are matched
8962 by help-xref-info-regexp and buttonized, this change ensures they
8963 can be followed successfully with RET. (Bug#6206)
8964
8965 2010-05-20 Juri Linkov <juri@jurta.org>
8966
8967 * locate.el (locate): Use pop-to-buffer instead of
8968 switch-to-buffer-other-window. (Bug#6204)
8969
8970 2010-05-20 Juri Linkov <juri@jurta.org>
8971
8972 * replace.el (replace-highlight): Fix lazy-highlighting
8973 for `M-s w str M-% str RET'.
8974
8975 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8976
8977 * isearch.el (isearch-yank-word-or-char): Pull next subword
8978 when `subword-mode' is activated. (Bug#6220)
8979
8980 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8981
8982 * isearch.el (isearch-update-post-hook): New hook.
8983 (isearch-update): Use the new hook. (Bug#6225)
8984
8985 2010-05-20 Juri Linkov <juri@jurta.org>
8986
8987 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8988 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8989 (Bug#6222)
8990
8991 2010-05-20 Juri Linkov <juri@jurta.org>
8992
8993 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8994 (Bug#6223)
8995
8996 2010-05-20 Juri Linkov <juri@jurta.org>
8997
8998 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8999 FILE-NAME to read from the minibuffer when called interactively
9000 with prefix argument instead of using buffer-file-name.
9001 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9002
9003 * dired.el: Update autoloads.
9004
9005 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9006
9007 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9008 nxml-finish-element, for consistency with SGML mode.
9009
9010 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9011 octave-close-block.
9012
9013 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9014
9015 * composite.el: Require cl when compiling.
9016 (reference-point-alist, compose-gstring-for-graphic)
9017 (compose-gstring-for-terminal): Fix typos in docstrings.
9018
9019 2010-05-19 Juri Linkov <juri@jurta.org>
9020
9021 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9022 set-window-parameter.
9023
9024 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9027 where appropriate.
9028 (tramp-maybe-open-connection): Use it.
9029
9030 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9031
9032 * simple.el (move-end-of-line): Make sure we are at line beginning
9033 before backing up to end of previous line.
9034
9035 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9036
9037 * password-cache.el (password-cache-remove): Fix docstring.
9038
9039 * net/secrets.el: Autoload the widget functions.
9040 (secrets-search-items, secrets-create-item)
9041 (secrets-get-attributes, secrets-expand-item): Attributes will be
9042 stored on the password database without leading ":", as all other
9043 clients do as well.
9044 (secrets-mode): Fix docstring.
9045 (secrets-show-secrets): Provide it as autoloaded command only when
9046 D-Bus support is available. Check existence of Secret Service API.
9047
9048 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * indent.el (indent-region): Deactivate region (bug#6200).
9051
9052 2010-05-19 Glenn Morris <rgm@gnu.org>
9053
9054 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9055
9056 2010-05-19 Kenichi Handa <handa@m17n.org>
9057
9058 * composite.el: Register compose-gstring-for-graphic in
9059 composition-function-table only for combining characters (Mn, Mc, Me).
9060
9061 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9062
9063 * calc/calc-trail.el (calc-trail-isearch-forward)
9064 (calc-trail-isearch-backward): Ensure that the new window
9065 point is set correctly.
9066
9067 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * subr.el (read-quoted-char): Resolve modifiers after key
9070 remapping (bug#6212).
9071
9072 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9073
9074 Add visualization code for secrets.
9075 * net/secrets.el (secrets-mode): New major mode.
9076 (secrets-show-secrets, secrets-show-collections)
9077 (secrets-expand-collection, secrets-expand-item)
9078 (secrets-tree-widget-after-toggle-function)
9079 (secrets-tree-widget-show-password): New defuns.
9080
9081 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9082
9083 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9084 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9085 handled in smie-next-sexp.
9086 (smie-indent-calculate): Provide a starting indentation (so the
9087 recursion is well-founded ;-).
9088
9089 Fix handling of non-associative equal levels.
9090 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9091 when it's not needed.
9092 (smie-op-left, smie-op-right): New functions.
9093 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9094 Better handle equal levels to distinguish the associative case from
9095 the "multi-keyword construct" case.
9096 (smie-backward-sexp, smie-forward-sexp): Use it.
9097
9098 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9099
9100 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9101
9102 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9103 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9104
9105 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9106
9107 Provide a simple generic indentation engine and use it for Prolog.
9108 * emacs-lisp/smie.el: New file.
9109 * progmodes/prolog.el (prolog-smie-op-levels)
9110 (prolog-smie-indent-rules): New var.
9111 (prolog-mode-variables): Use them to configure SMIE.
9112 (prolog-indent-line, prolog-indent-level): Remove.
9113
9114 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9115
9116 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9117 order before computing the averages.
9118
9119 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9120
9121 * calc/calc-vec.el (calc-histogram):
9122 (calcFunc-histogram): Allow vectors as inputs.
9123 (math-vector-avg): New function.
9124
9125 * calc/calc-ext.el (math-group-float): Have the number of digits
9126 being grouped depend on the radix (Bug#6189).
9127
9128 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9129
9130 * version.el (emacs-copyright, emacs-version): Don't define here,
9131 now that emacs.c defines it.
9132
9133 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9134
9135 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9136 "Describe Language Environment" menu item.
9137
9138 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9139
9140 Bidi-sensitive movement with arrow keys.
9141 * subr.el (right-arrow-command, left-arrow-command): New functions.
9142
9143 * bindings.el (global-map): Bind them to right and left arrow keys.
9144
9145 Don't override standard definition of convert-standard-filename.
9146 * files.el (convert-standard-filename):
9147 Call w32-convert-standard-filename and dos-convert-standard-filename on
9148 the corresponding systems.
9149
9150 * w32-fns.el (w32-convert-standard-filename): Rename from
9151 convert-standard-filename. Doc fix.
9152
9153 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9154 (convert-standard-filename): Don't defalias.
9155 (register-name-alist, make-register, register-value)
9156 (set-register-value, intdos): Obsolete aliases for the
9157 corresponding dos-* functions and variables.
9158 (dos-intdos): Add a doc string.
9159
9160 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9161
9162 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9163 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9164 (math-compose-tex-func):
9165 * calc/calccomp.el (math-compose-expr):
9166 * calc/calc-ext.el (math-format-flat-expr-fancy):
9167 * calc/calc-store.el (calc-read-var-name):
9168 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9169
9170 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9171 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9172 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9173 (math-standard-units): Add units.
9174
9175 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9177 * progmodes/asm-mode.el (asm-mode):
9178 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9179
9180 * pcomplete.el (pcomplete-completions-at-point): New function,
9181 extracted from pcomplete-std-complete.
9182 (pcomplete-std-complete): Use it.
9183
9184 2010-05-15 Glenn Morris <rgm@gnu.org>
9185
9186 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9187 Remove references to CVS, RCS and Old directories.
9188
9189 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9190
9191 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9192 appropriate.
9193
9194 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9197 (sh-mode-syntax-table): Give it a default value instead.
9198 (sh-header-marker): Make buffer-local.
9199 (sh-mode): Move make-local-variable to the corresponding setq.
9200 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9201 Use complete-with-action.
9202
9203 * simple.el (prog-mode): New (abstract) major mode.
9204 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9205 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9206
9207 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9208
9209 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9210 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9211 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9212 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9213 (sql-escape-newlines-filter, sql-input-sender)
9214 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9215
9216 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9217
9218 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9219
9220 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9221 latex-open-block and C-c / to latex-close-block.
9222
9223 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9224 and C-c C-e to sgml-close-tag.
9225
9226 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9227
9228 * net/tramp.el (with-progress-reporter): Create reporter object
9229 only when the message would be displayed. Handle nested calls.
9230 (tramp-handle-load, tramp-handle-file-local-copy)
9231 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9232 (tramp-maybe-send-script, tramp-find-shell):
9233 Use `with-progress-reporter'.
9234 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9235 Fix message text.
9236
9237 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9238 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9239 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9240 Use `with-progress-reporter'.
9241
9242 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9243
9244 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9245 process everytime when spellchecking from the minibuffer (bug#6143).
9246
9247 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9250
9251 * dos-fns.el: Add "dos-" prefix for namespace control.
9252 (convert-standard-filename): Define as alias for
9253 dos-convert-standard-filename but only if applicable.
9254
9255 2010-05-12 Alan Mackenzie <acm@muc.de>
9256
9257 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9258 Push the mark at the start of these functions when appropriate.
9259
9260 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * minibuffer.el (completion-cycle-threshold): New custom var.
9263 (completion--do-completion): Use it.
9264 (minibuffer-complete): Use cycling if appropriate.
9265
9266 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9269 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9270
9271 2010-05-11 Juri Linkov <juri@jurta.org>
9272
9273 * scroll-all.el (scroll-all-check-to-scroll):
9274 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9275
9276 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9277
9278 * iimage.el (iimage-mode-map): Move initialization into declaration.
9279 (iimage-mode-buffer): Use with-silent-modifications.
9280 Simplify calling convention. Adjust callers.
9281 (iimage-mode): Don't run hook redundantly.
9282
9283 * minibuffer.el (completion-pcm--pattern->regex):
9284 Fix last change (bug#6160).
9285
9286 2010-05-10 Juri Linkov <juri@jurta.org>
9287
9288 Remove nodes visited during Isearch from the Info history.
9289 * info.el (Info-isearch-initial-history)
9290 (Info-isearch-initial-history-list): New variables.
9291 (Info-isearch-start): Record initial values of
9292 Info-isearch-initial-history and Info-isearch-initial-history-list.
9293 Add Info-isearch-end to isearch-mode-end-hook.
9294 (Info-isearch-end): New function.
9295
9296 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9297
9298 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9299 format string, in order to work around a bug in pdksh.
9300 Reported by Gilles Pion <gpion@lfdj.com>.
9301 (tramp-handle-verify-visited-file-modtime): Do not send a command
9302 when the connection is not established.
9303 (tramp-handle-set-file-times): Simplify the check for utc.
9304
9305 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9306
9307 Fix use of `filter-buffer-substring' (rework previous change).
9308 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9309 (cua-repeat-replace-region):
9310 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9311 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9312 (cua-cut-region-to-global-mark): Use it.
9313
9314 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9315
9316 * progmodes/sql.el: Version 2.1.
9317 (sql-product-alist): Redesign structure of product info.
9318 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9319 (sql-port, sql-port-history): New variables.
9320 (sql-interactive-product): New variable.
9321 (sql-send-terminator): New variable.
9322 (sql-imenu-generic-expression): Add "Types" imenu entry.
9323 (sql-oracle-login-params, sql-sqlite-login-params)
9324 (sql-mysql-login-params, sql-solid-login-params)
9325 (sql-sybase-login-params, sql-informix-login-params)
9326 (sql-ingres-login-params, sql-ms-login-params)
9327 (sql-postgres-login-params, sql-interbase-login-params)
9328 (sql-db2-login-params, sql-linter-login-params)
9329 (sql-oracle-scan-on): New variables.
9330 (sql-mode-map): Add C-c C-i to start interactive mode.
9331 (sql-mode-menu): Update existing menu entries.
9332 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9333 (sql-mode-oracle-font-lock-keywords)
9334 (sql-mode-postgres-font-lock-keywords)
9335 (sql-mode-ms-font-lock-keywords)
9336 (sql-mode-sybase-font-lock-keywords)
9337 (sql-mode-informix-font-lock-keywords)
9338 (sql-mode-interbase-font-lock-keywords)
9339 (sql-mode-ingres-font-lock-keywords)
9340 (sql-mode-solid-font-lock-keywords)
9341 (sql-mode-mysql-font-lock-keywords)
9342 (sql-mode-sqlite-font-lock-keywords)
9343 (sql-mode-db2-font-lock-keywords)
9344 (sql-mode-linter-font-lock-keywords): Update initialization to
9345 reduce run-time complexity.
9346 (sql-add-product, sql-del-product): New functions.
9347 (sql-set-product-feature, sql-get-product-feature): New functions.
9348 (sql-product-font-lock): Update product API.
9349 (sql-add-product-keywords): New function.
9350 (sql-highlight-product): Update product API.
9351 (sql-help-list-products): New function.
9352 (sql-help): Dynamically lists free and non-free products.
9353 (sql-get-login): Correct bug in handling history and added
9354 prompt for port.
9355 (sql-copy-column): Copy without properties.
9356 (sqli-input-sender): Apply filters to SQLi input.
9357 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9358 Implement as a filter.
9359 (sql-escape-newlines-filter): Implement as a filter.
9360 (sql-remove-tabs-filter): New function.
9361 (sql-send-magic-terminator): New function.
9362 (sql-send-string): Implement magic terminator.
9363 (sql-send-region): Use `sql-send-string'.
9364 (sql-interactive-mode): Use product API.
9365 (sql-product-interactive): Use product API.
9366 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9367 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9368 (sql-db2, sql-linter): Use `sql-product-interactive'.
9369 (sql-connect): New function.
9370 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9371 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9372 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9373 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9374 Use `sql-connect'.
9375
9376 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9379 New custom variable.
9380 (completion-pcm--string->pattern): Use it.
9381 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9382 Make it handle any symbol as `any'.
9383 (completion-pcm--merge-completions): Extract common suffix for the new
9384 `prefix' symbol as well.
9385 (completion-substring--all-completions): Use the new `prefix' symbol.
9386
9387 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9388
9389 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9390 not bound.
9391 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9392 (tramp-compat-funcall): New defmacro.
9393 (tramp-compat-line-beginning-position)
9394 (tramp-compat-line-end-position)
9395 (tramp-compat-temporary-file-directory)
9396 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9397 (tramp-compat-copy-file, tramp-compat-copy-directory)
9398 (tramp-compat-delete-file, tramp-compat-delete-directory)
9399 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9400 * net/tramp.el (top, with-progress-reporter)
9401 (tramp-rfn-eshadow-setup-minibuffer)
9402 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9403 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9404 (tramp-completion-mode-p, tramp-check-for-regexp)
9405 (tramp-open-connection-setup-interactive-shell)
9406 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9407 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9408 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9409 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9410 (tramp-reporter-dump-variable, tramp-load-report-modules)
9411 (tramp-append-tramp-buffers)
9412 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9413
9414 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9415
9416 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9417
9418 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9419 buffer-modtime. Adjust users.
9420
9421 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9422
9423 * international/mule.el (auto-coding-alist): Only purecopy
9424 car of each item, not the whole list (Bug#6083).
9425
9426 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9427
9428 * progmodes/js.el (js-mode): Make paragraph variables local before
9429 calling c-setup-paragraph-variables (Bug#6071).
9430
9431 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9432
9433 * composite.el (compose-region, reference-point-alist): Fix typos
9434 in the doc strings.
9435
9436 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9437
9438 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9439 gnuplot's "set" command.
9440
9441 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9442
9443 * abbrev.el (last-abbrev-text): Doc fix.
9444 (abbrev-prefix-mark): Don't escape parenthesis.
9445
9446 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9447
9448 * composite.el (find-composition): Doc fix.
9449
9450 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9451
9452 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9453 (sql-oracle-program, sql-sqlite-options)
9454 (sql-query-placeholders-and-send): Doc fixes.
9455 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9456 (sql-imenu-generic-expression, sql-buffer)
9457 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9458 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9459 (sql-mode-sybase-font-lock-keywords)
9460 (sql-mode-informix-font-lock-keywords)
9461 (sql-mode-interbase-font-lock-keywords)
9462 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9463 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9464 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9465 (sql-product-feature, sql-highlight-product)
9466 (comint-line-beginning-position, sql-rename-buffer)
9467 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9468 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9469 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9470 Fix typos in docstrings.
9471
9472 2010-05-08 Juri Linkov <juri@jurta.org>
9473
9474 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9475 property instead of `invisible' and `after-string' (bug#5998).
9476
9477 2010-05-08 Juri Linkov <juri@jurta.org>
9478
9479 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9480
9481 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9482
9483 * filecache.el (file-cache-add-directory-list)
9484 (file-cache-add-directory-recursively): Fix typos in docstrings.
9485
9486 2010-05-08 Kenichi Handa <handa@m17n.org>
9487
9488 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9489 (gujarati-composable-pattern): Fix typo.
9490
9491 2010-05-08 Kenichi Handa <handa@m17n.org>
9492
9493 * language/indian.el (oriya-composable-pattern)
9494 (tamil-composable-pattern, malayalam-composable-pattern):
9495 Add two-part vowels to "v" (vowel sign).
9496
9497 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9498
9499 * files.el (copy-directory): Handle symlinks (Bug#5982).
9500
9501 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9502
9503 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9504 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9505 (Bug#5846).
9506
9507 2010-05-08 Glenn Morris <rgm@gnu.org>
9508
9509 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9510
9511 * minibuffer.el (completion-at-point): Doc fix.
9512
9513 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * electric.el (Electric-command-loop): Minor tweak.
9516
9517 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9518 better with dedicated windows.
9519
9520 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9521
9522 * Version 23.2 released.
9523
9524 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9525 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 Highlight vendor specific properties.
9528 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9529 (css-proprietary-property): New face.
9530 (css-font-lock-keywords): Use them.
9531
9532 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9533
9534 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9535
9536 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9537
9538 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9539 * files.el (auto-mode-alist): Remove redundant entries.
9540
9541 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9542 * simple.el (auto-save-mode): Move from files.el.
9543 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9544
9545 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9546
9547 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9548
9549 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9550
9551 * mail/binhex.el (binhex-decode-region-internal)
9552 * mail/uudecode.el (uudecode-decode-region-internal)
9553 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9554 (dns-read-type, dns-query)
9555 * pgg-parse.el (pgg-parse-armor)
9556 * pgg.el (pgg-verify-region)
9557 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9558 XEmacs.
9559
9560 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9561
9562 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9563
9564 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9565
9566 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9567 * emulation/cua-base.el (cua-repeat-replace-region):
9568 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9569 (cua-cut-region-to-global-mark):
9570 Remove text properties with `set-text-properties'.
9571
9572 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9573
9574 * net/tramp.el (top, with-progress-reporter):
9575 Use `symbol-function' inside `funcall'.
9576
9577 * net/tramp-compat.el (tramp-compat-file-attributes)
9578 (tramp-compat-delete-file, tramp-compat-delete-directory):
9579 Handle only `wrong-number-of-arguments' error.
9580
9581 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9582 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9583 inside `funcall'.
9584
9585 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9586
9587 * minibuffer.el (completion--sreverse, completion--common-suffix):
9588 New functions.
9589 (completion-pcm--merge-completions): Extract common suffix when safe.
9590
9591 * emacs-lisp/easy-mmode.el (define-minor-mode):
9592 Make :variable more flexible.
9593 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9594
9595 2010-05-05 Juri Linkov <juri@jurta.org>
9596
9597 Add `slow' and `history' tags to the desktop data.
9598
9599 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9600 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9601 (Info-finder-find-node): Require `finder.el' to be able
9602 to restore node from the desktop.
9603 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9604 data `Info-history' and `slow' tag in the assoc list.
9605 (Info-restore-desktop-buffer): Don't restore nodes with the
9606 `slow' tag. Restore `Info-history'.
9607
9608 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9609
9610 Add FORCE argument to `delete-file'.
9611
9612 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9613 forcing to delete the temporary file.
9614 (ange-ftp-delete-file): Add FORCE arg.
9615 (ange-ftp-rename-remote-to-remote)
9616 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9617 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9618 Force file deletion.
9619
9620 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9621
9622 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9623 (tramp-handle-make-symbolic-link, tramp-handle-load)
9624 (tramp-do-copy-or-rename-file-via-buffer)
9625 (tramp-do-copy-or-rename-file-directly)
9626 (tramp-do-copy-or-rename-file-out-of-band)
9627 (tramp-handle-process-file, tramp-handle-call-process-region)
9628 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9629 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9630 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9631
9632 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9633 (tramp-fish-handle-make-symbolic-link)
9634 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9635
9636 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9637 Use `tramp-compat-delete-file'.
9638
9639 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9640 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9641
9642 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9643 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9644
9645 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9646 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9647 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9648 Use `tramp-compat-delete-file'.
9649
9650 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 Minor cleanups.
9653 * subr.el (add-minor-mode): Use push.
9654 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9655 * emulation/edt.el (edt-select-mode): Simplify.
9656
9657 Use define-minor-mode in more cases.
9658 * term/tvi970.el (tvi970-set-keypad-mode):
9659 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9660 (normal-erase-is-backspace-mode):
9661 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9662 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9663 (get-scroll-bar-mode): New function.
9664 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9665
9666 Use define-minor-mode for less obvious cases.
9667 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9668 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9669 * international/iso-ascii.el (iso-ascii-mode):
9670 * frame.el (auto-raise-mode, auto-lower-mode):
9671 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9672
9673 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9674
9675 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9676 in order to see error messages for failed logins.
9677
9678 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9679
9680 * diff.el (diff-sentinel):
9681
9682 * epg.el (epg--make-temp-file, epg-decrypt-string)
9683 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9684
9685 * jka-compr.el (jka-compr-partial-uncompress)
9686 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9687
9688 * server.el (server-sentinel): Use delete-file's new FORCE arg
9689 (Bug#6070).
9690
9691 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9692
9693 Use define-minor-mode where applicable.
9694 * view.el (view-mode):
9695 * type-break.el (type-break-query-mode)
9696 (type-break-mode-line-message-mode):
9697 * textmodes/reftex.el (reftex-mode):
9698 * term/vt100.el (vt100-wide-mode):
9699 * tar-mode.el (tar-subfile-mode):
9700 * savehist.el (savehist-mode):
9701 * ibuf-ext.el (ibuffer-auto-mode):
9702 * composite.el (auto-composition-mode):
9703 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9704 Use define-minor-mode.
9705 (vhdl-mode): Use static mode-line format.
9706 (vhdl-mode-line-update): Delete.
9707 (vhdl-create-mode-menu, vhdl-activate-customizations)
9708 (vhdl-hs-minor-mode): Don't bother calling it.
9709
9710 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9711
9712 * simple.el (with-wrapper-hook): Move.
9713 (buffer-substring-filters): Mark obsolete.
9714 (filter-buffer-substring-functions): New variable.
9715 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9716
9717 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9718 Michael Albinus <michael.albinus@gmx.de>
9719
9720 Implement compression for inline methods.
9721
9722 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9723 (tramp-copy-size-limit): Allow also nil.
9724 (tramp-inline-compress-commands): New defconst.
9725 (tramp-find-inline-compress, tramp-get-inline-compress)
9726 (tramp-get-inline-coding): New defuns.
9727 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9728 replaced by `tramp-get-inline-coding'.
9729 (tramp-handle-file-local-copy, tramp-handle-write-region)
9730 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9731
9732 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9733
9734 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9735 Remove unused functions.
9736
9737 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9738 Set find-tag-default-function as a variable rather than a property.
9739
9740 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9741 * progmodes/etags.el (tags-completion-at-point-function):
9742 Remove left over interactive spec. Add autoloading stub.
9743 (complete-tag): Use tags-completion-at-point-function.
9744
9745 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9746
9747 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9748
9749 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9750
9751 * ido.el (ido-init-completion-maps): Remove C-v binding.
9752 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9753
9754 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9755
9756 * minibuffer.el (tags-completion-at-point-function): New function.
9757 (completion-at-point-functions): Use it.
9758
9759 * progmodes/etags.el (complete-tag): Revert last change.
9760
9761 2010-04-29 Alan Mackenzie <acm@muc.de>
9762
9763 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9764 off-by-one error (in end of macro position).
9765
9766 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9769 firefox is absent. Don't autoload.
9770 (browse-url-galeon-program): Don't autoload.
9771
9772 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9773
9774 * bindings.el (complete-symbol): Move into minibuffer.el.
9775
9776 * minibuffer.el (complete-tag): Move from etags.el. If tags
9777 completion cannot be performed, return nil instead of signalling
9778 an error.
9779 (completion-at-point): Make it an alias for complete-symbol.
9780 (complete-symbol): Move from bindings.el, and replace with the
9781 body of completion-at-point.
9782
9783 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9784
9785 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9786
9787 * net/tramp.el (tramp-remote-selinux-p): New defun.
9788 (tramp-handle-file-selinux-context)
9789 (tramp-handle-set-file-selinux-context): Use it.
9790
9791 2010-04-28 Sam Steingold <sds@gnu.org>
9792
9793 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9794 `safe-local-variable' if the value is a string or a symbol with
9795 the property `bug-reference-url-format'.
9796
9797 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9798
9799 * progmodes/bug-reference.el (bug-reference-url-format):
9800 Revert 2010-04-27 change due to security risk.
9801
9802 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 Make it possible to locally disable a globally enabled mode.
9805 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9806 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9807 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9808 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9809 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9810 that subsequent hooks get a chance to disable it.
9811
9812 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9815 Avoid re-enabling a minor mode after the user turned the minor mode
9816 off if MODE-enable-in-buffers is run twice (typically once from
9817 fundamental-mode's after-change-major-mode-hook and a second time from
9818 run-mode-hook's own after-change-major-mode-hook).
9819
9820 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9821
9822 2010-04-27 Sam Steingold <sds@gnu.org>
9823
9824 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9825 `safe-local-variable' if the value is a string or a function, as
9826 documented and implemented on 2010-04-02.
9827
9828 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9829
9830 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9831 when method is 'kill.
9832
9833 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9834
9835 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9836 condition in default directory check.
9837 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9838 Kill ispell process when killing its associated buffer.
9839
9840 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9841
9842 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9843 but we aren't using it.
9844
9845 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9846
9847 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9848 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9849
9850 2010-04-24 Glenn Morris <rgm@gnu.org>
9851
9852 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9853 Ignore VCS-ignore files, and deleted nextstep preferences files.
9854 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9855 (authors-ambiguous-files): New list.
9856 (authors-valid-file-names): Add some deleted files.
9857 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9858 (authors-disambiguate-file-name): New function. (Bug#5501)
9859 (authors-canonical-file-name): Doc fix.
9860 Don't warn about obsolete files.
9861 (authors-canonical-file-name, authors-scan-el):
9862 Use authors-disambiguate-file-name.
9863
9864 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9865 Add autoload cookies.
9866 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9867 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9868 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9869 They have definitions / compiler macros in cl.el.
9870 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9871 Replace manual autoloads with generated ones.
9872 (htmlfontify-unload-rgb-file): Remove autoload.
9873 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9874
9875 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9876
9877 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9878 (byte-compile-setq-default): Optimize for the
9879 single-var case and don't call byte-compile-form in this case to avoid
9880 inf-loop with byte-compile-set-default.
9881
9882 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9883
9884 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9885
9886 Implement SELINUX backends.
9887
9888 * net/tramp.el (tramp-file-name-handler-alist):
9889 Add `file-selinux-context' and `set-file-selinux-context'.
9890 (tramp-handle-file-selinux-context)
9891 (tramp-handle-set-file-selinux-context): New defuns.
9892 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9893 Handle PRESERVE-SELINUX-CONTEXT.
9894
9895 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9896 Add `file-selinux-context' and `set-file-selinux-context'.
9897 (tramp-gvfs-handle-file-selinux-context)
9898 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9899 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9900
9901 * net/ange-ftp.el (ange-ftp-copy-file):
9902 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9903 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9904 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9905 Add PRESERVE-SELINUX-CONTEXT.
9906
9907 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9908
9909 Synchronize with Tramp repository.
9910
9911 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9912 (tramp-action-process-alive, tramp-action-out-of-band)
9913 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9914 (tramp-exists-file-name-handler): Fix docstring.
9915 (with-progress-reporter): New defmacro.
9916 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9917 (tramp-maybe-open-connection): Use it.
9918
9919 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9920
9921 Detect ssh 'ControlMaster' argument automatically in some cases.
9922
9923 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9924 (tramp-default-method): Use it.
9925
9926 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9927
9928 * net/tramp.el (tramp-handle-copy-file): Add new optional
9929 parameter `preserve-selinux-context'.
9930 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9931
9932 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9933
9934 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9935 Ensure, that non remote files are still checked. Oops.
9936
9937 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9938
9939 Fix Bug#5840.
9940
9941 * icomplete.el (icomplete-completions): Use `non-essential'.
9942
9943 * net/tramp.el (tramp-connectable-p): New defun.
9944 (tramp-handle-expand-file-name)
9945 (tramp-completion-handle-file-name-all-completions)
9946 (tramp-completion-handle-file-name-completion): Use it.
9947
9948 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9949
9950 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9951
9952 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9953
9954 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9955
9956 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9957
9958 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9959 is present.
9960
9961 * info.el (info-tool-bar-map): Add labels.
9962
9963 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9964
9965 * cus-edit.el (custom-commands): Add labels for tool bar.
9966 (custom-buffer-create-internal, Custom-mode): Adjust for
9967 labels in custom-commands.
9968
9969 * dynamic-setting.el: Renamed from font-setting.el.
9970
9971 2010-04-21 John Wiegley <jwiegley@gmail.com>
9972
9973 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9974 toggles the use of virtual buffers.
9975 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9976 (ido-toggle-virtual-buffers): New function.
9977
9978 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9979
9980 Use `define-derived-mode'; fix window selection; doc fixes.
9981 * play/tetris.el (tetris, tetris-update-speed-function)
9982 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9983 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9984 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9985 (tetris-pause-game): Fix typos in docstrings.
9986 (tetris-mode-map, tetris-null-map):
9987 Move initialization into declaration.
9988 (tetris-mode): Define with `define-derived-mode';
9989 set show-trailing-whitespace to nil.
9990 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9991
9992 2010-04-21 Karel Klíč <kklic@redhat.com>
9993
9994 * files.el (backup-buffer): Handle SELinux context, and return it
9995 if a backup was made by renaming.
9996 (backup-buffer-copy): Set SELinux context to the target file.
9997 (basic-save-buffer): Set SELinux context of the newly written file.
9998 (basic-save-buffer-1): Now it also returns any SELinux context.
9999 (basic-save-buffer-2): Set SELinux context of the newly created file,
10000 and return it.
10001 * net/tramp.el (tramp-file-name-for-operation):
10002 Add file-selinux-context.
10003
10004 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 Make the log-edit comments use RFC822 format throughout.
10007
10008 * vc.el (vc-checkin, vc-modify-change-comment):
10009 Adjust to new vc-start/finish-logentry.
10010 (vc-find-conflicted-file): New command.
10011 (vc-transfer-file): Adjust to new vc-checkin.
10012 (vc-next-action): Improve scoping.
10013
10014 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10015 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10016
10017 * vc-git.el (vc-git-log-edit-mode): Remove.
10018 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10019 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10020
10021 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10022 (vc-start-logentry): Remove argument `extra'.
10023 (vc-finish-logentry): Remove extra args.
10024
10025 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10026 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10027 (vc-bzr-conflicted-files): New function.
10028
10029 * log-edit.el (log-edit-extra-flags)
10030 (log-edit-before-checkin-process): Remove.
10031 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10032 (log-edit-headers-alist): New var.
10033 (log-edit-header-contents-regexp): New const.
10034 (log-edit-match-to-eoh): New function.
10035 (log-edit-font-lock-keywords): Use them.
10036 (log-edit): Insert a "Summary:" header as default.
10037 (log-edit-mode): Mark font-lock rules as case-insensitive.
10038 (log-edit-done): Cleanup headers.
10039 (log-view-process-buffer): Remove.
10040 (log-edit-extract-headers): New function to replace it.
10041
10042 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10043
10044 * subr.el (default-direction-reversed): Remove obsolescence info.
10045
10046 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10047
10048 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10049 windows/frames.
10050
10051 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10052 I.e. include text after point in the completion region.
10053 Also, return nil when we're not after/in a symbol.
10054
10055 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10056 default enable-multibyte-characters.
10057
10058 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10059
10060 * international/mule.el: Help the user choose a valid coding-system.
10061 (read-buffer-file-coding-system): New function.
10062 (set-buffer-file-coding-system): Use it. Prompt the user if the
10063 coding-system cannot encode all the chars.
10064
10065 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10066 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10067 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10068 Don't use *vc-bzr-shelve*.
10069
10070 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10071
10072 Fix the version number for added files.
10073 * vc-hg.el (vc-hg-working-revision): Check if the file is
10074 registered after hg parent fails (Bug#5961).
10075
10076 2010-04-19 Glenn Morris <rgm@gnu.org>
10077
10078 * htmlfontify.el (htmlfontify-buffer)
10079 (htmlfontify-copy-and-link-dir): Autoload entry points.
10080
10081 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10082
10083 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10084 name relative to the project root (Bug#5960).
10085
10086 2010-04-19 Glenn Morris <rgm@gnu.org>
10087
10088 * vc-git.el (vc-git-print-log): Doc fix.
10089
10090 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10091
10092 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10093
10094 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10095
10096 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10097 default settings (Bug#5928).
10098
10099 2010-04-19 Glenn Morris <rgm@gnu.org>
10100
10101 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10102 New function.
10103 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10104
10105 2010-04-19 Kenichi Handa <handa@m17n.org>
10106
10107 * language/indian.el (malayalam-composable-pattern): Fix previous
10108 change (add U+0D4D "SIGN VIRAMA").
10109 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10110 (tamil-composable-pattern): Fix typo in the regexp.
10111 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10112 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10113 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10114
10115 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10116
10117 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10118 paragraph-separate (Bug#5821).
10119
10120 2010-04-19 Juri Linkov <juri@jurta.org>
10121
10122 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10123
10124 * info.el (Info-find-node-2): Comment out code that skips
10125 breadcrumbs line.
10126 (Info-mouse-follow-link): New command.
10127 (Info-link-keymap): New keymap.
10128 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10129 Return a string with links instead of inserting breadcrumbs
10130 to the Info buffer.
10131 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10132 Instead of putting the `invisible' text property over the Info
10133 header, make an overlay over the Info header with the `invisible'
10134 property and `after-string' set to the string returned by
10135 `Info-breadcrumbs'.
10136
10137 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10138
10139 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10140 Reported by monkey@sandpframing.com.
10141
10142 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10145 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10146 available in the "keyseq cache" any more.
10147
10148 * custom.el (defcustom): Add edebug spec.
10149
10150 2010-04-18 Juri Linkov <juri@jurta.org>
10151
10152 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10153
10154 * view.el (view-file, view-buffer): Move test for special mode-class
10155 from view-file to view-buffer.
10156
10157 * tar-mode.el (tar-extract): Turn if's into one cond
10158 like in arc-mode.el.
10159
10160 2010-04-18 Juri Linkov <juri@jurta.org>
10161
10162 Add 7z archive format support (bug#5475).
10163
10164 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10165 (archive-7z-extract): New defcustom.
10166 (archive-find-type): Add magic string for 7z.
10167 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10168 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10169 `buffer' arg of `call-process'.
10170 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10171 call the function `archive-7z-extract' with the variable
10172 `archive-7z-extract' let-bound to `archive-zip-extract'.
10173 (archive-7z-summarize, archive-7z-extract): New functions.
10174
10175 * international/mule.el (auto-coding-alist):
10176 * files.el (auto-mode-alist): Add 7z file extension.
10177
10178 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 * loadup.el: Setup hash-cons for pure data.
10181
10182 Fix duplicate entries in cedet's loaddefs.el files.
10183 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10184 Should make most file-local generated-autoload-file unnecessary.
10185 (print-readably): Silence warnings.
10186 (autoload-find-destination): Take load-name as an arg to make sure
10187 it's the same as the one that will be in the file.
10188 (autoload-generate-file-autoloads): Adjust to above changes.
10189 Try to make the dataflow a bit simpler.
10190
10191 * cvs-status.el (cvs-refontify): Remove unused.
10192
10193 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10194
10195 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10196
10197 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10198 twos-complement mode.
10199
10200 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10201
10202 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10203 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10204 (calc-inverse): Add "Option" to message, as appropriate.
10205 (calc-hyperbolic): Add "Option" to message, as appropriate.
10206 (calc-option, calc-is-option): New functions.
10207
10208 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10209 (calc-option-prefix-help): New function.
10210
10211 * calc/calc-misc.el (calc-help): Add "Option" entry.
10212
10213 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10214 (calc-option-flag): New variable.
10215 (calc-do): Set `calc-option-flag to nil.
10216 (calc-set-mode-line): Add "Opt " as appropriate.
10217
10218 2010-04-16 Juri Linkov <juri@jurta.org>
10219
10220 Move scrolling commands from simple.el to window.el
10221 because their primitives are implemented in window.c.
10222
10223 * simple.el (scroll-error-top-bottom)
10224 (scroll-up-command, scroll-down-command, scroll-up-line)
10225 (scroll-down-line, scroll-other-window-down)
10226 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10227 * window.el (scroll-error-top-bottom)
10228 (scroll-up-command, scroll-down-command, scroll-up-line)
10229 (scroll-down-line, scroll-other-window-down)
10230 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10231 Move from simple.el to window.el because their primitives are
10232 implemented in window.c.
10233
10234 2010-04-16 Juri Linkov <juri@jurta.org>
10235
10236 * isearch.el (isearch-lookup-scroll-key): Check both
10237 `isearch-scroll' and `scroll-command' properties.
10238 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10239
10240 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10241
10242 * simple.el (scroll-up-command, scroll-down-command)
10243 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10244
10245 2010-04-15 Juri Linkov <juri@jurta.org>
10246
10247 * simple.el (scroll-up-command, scroll-down-command)
10248 (scroll-up-line, scroll-down-line): Put `scroll-command'
10249 property on the these symbols. Remove them from
10250 `scroll-preserve-screen-position-commands'.
10251
10252 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10253 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10254 Remove it from `scroll-preserve-screen-position-commands'.
10255
10256 * isearch.el (isearch-allow-scroll): Doc fix.
10257
10258 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10259
10260 * net/tramp.el (tramp-error-with-buffer): Don't show the
10261 connection buffer when we are in completion mode.
10262 (tramp-file-name-handler): Catch the error for some operations
10263 when we are in completion mode. This gives the user the chance to
10264 correct the file name in the minibuffer.
10265
10266 2010-04-15 Glenn Morris <rgm@gnu.org>
10267
10268 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10269
10270 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10271
10272 Simplify by using `define-derived-mode'.
10273 * info.el (Info-mode):
10274 * calendar/todo-mode.el (todo-mode):
10275 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10276 (gomoku-mode-map): Move initialization into declaration.
10277
10278 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10279
10280 Fix Bug#5840.
10281 * ido.el (ido-file-name-all-completions-1):
10282 * minibuffer.el (minibuffer-completion-help):
10283 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10284
10285 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10286
10287 * simple.el (non-essential): New var.
10288
10289 Add a new field `location' to bookmarks for non-file bookmarks.
10290 * bookmark.el (bookmark-location): Use the new field, if present.
10291 (bookmark-insert-location): Undo last change, not needed any more.
10292 * man.el (Man-bookmark-make-record):
10293 * woman.el (woman-bookmark-make-record): Add `location' field.
10294
10295 2010-04-14 Juri Linkov <juri@jurta.org>
10296
10297 * simple.el (scroll-error-top-bottom): New defcustom.
10298 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10299
10300 * emulation/pc-select.el (pc-select-override-scroll-error):
10301 Obsolete in favor of `scroll-error-top-bottom'.
10302
10303 2010-04-14 Juri Linkov <juri@jurta.org>
10304
10305 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10306 `scroll-up-command' and `M-v' to `scroll-down-command'.
10307
10308 * emulation/cua-rect.el (cua--init-rectangles):
10309 * forms.el (forms--change-commands):
10310 * image-mode.el (image-mode-map):
10311 Remap scroll-down-command and scroll-up-command
10312 in addition to scroll-down and scroll-up.
10313
10314 2010-04-14 Juri Linkov <juri@jurta.org>
10315
10316 * mwheel.el (scroll-preserve-screen-position-commands):
10317 Add mwheel-scroll to this list of commands.
10318
10319 * simple.el (scroll-preserve-screen-position-commands):
10320 Add scroll-up-command, scroll-down-command, scroll-up-line,
10321 scroll-down-line to this list of commands.
10322
10323 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * obsolete/complete.el: Move from lisp/complete.el.
10326
10327 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10328
10329 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10330 to the minor mode function now turns the mode ON unconditionally.
10331
10332 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 * vc-dir.el (vc-dir-kill-line): New command.
10335 (vc-dir-mode-map): Bind it to C-k.
10336
10337 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10338
10339 * woman.el: Add bookmark declarations to silence the compiler.
10340 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10341 step to compatibility between man and woman bookmarks.
10342 Adjust for Man-default-bookmark-title renaming.
10343 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10344
10345 * man.el: Add bookmark declarations to silence the compiler.
10346 (Man-name-local-regexp): Make it match NAME as well.
10347 (Man-getpage-in-background): Return the buffer.
10348 (Man-notify-when-ready): Use `case'.
10349 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10350 Don't hardcode "NAME". Simplify.
10351 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10352 Rename from Man-bookmark-make-record.
10353 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10354 we have the actual man-args. Use Man-getpage-in-background rather
10355 than `man' since the arg is already processed. Let bookmark.el do the
10356 window handling. Only wait for the relevant process.
10357 Don't forget to autoload.
10358
10359 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10360
10361 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10362
10363 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10364 New functions.
10365 (woman-mode): Setup bookmark support.
10366
10367 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10368 (man-bookmark-jump): New functions.
10369 (Man-mode): Setup bookmark support.
10370
10371 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10372
10373 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10374 recognize ssh-keygen prompt (Bug#2817).
10375
10376 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10377
10378 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10379
10380 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10381
10382 Synchronize with Tramp repository.
10383
10384 * net/tramp.el (tramp-completion-function-alist)
10385 (tramp-file-name-regexp, tramp-chunksize)
10386 (tramp-local-coding-commands, tramp-remote-coding-commands):
10387 Fix docstring.
10388 (tramp-remote-process-environment): Use `format' instead of `concat'.
10389 (tramp-handle-directory-files-and-attributes)
10390 (tramp-get-remote-path): Use `copy-tree'.
10391 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10392 compatibility: Use `completion-ignore-case' if
10393 `read-file-name-completion-ignore-case' does not exist.
10394 (tramp-do-copy-or-rename-file-directly): Do not use
10395 `tramp-handle-file-remote-p'.
10396 (tramp-do-copy-or-rename-file-out-of-band):
10397 Use `tramp-compat-delete-directory'.
10398 (tramp-do-copy-or-rename-file-out-of-band)
10399 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10400 Use `format-spec-make'.
10401 (tramp-find-foreign-file-name-handler)
10402 (tramp-advice-make-auto-save-file-name)
10403 (tramp-set-auto-save-file-modes): Remove superfluous check for
10404 `stringp'. This is done inside `tramp-tramp-file-p'.
10405 (tramp-debug-outline-regexp): New defconst.
10406 (tramp-get-debug-buffer): Use it.
10407 (tramp-check-for-regexp): Use (forward-line 1).
10408 (tramp-set-auto-save-file-modes): Adapt version check.
10409
10410 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10411 Wrap call of `featurep' for 2nd argument.
10412 (tramp-compat-make-temp-file): Simplify fallback implementation.
10413 (tramp-compat-copy-tree): Remove function.
10414 (tramp-compat-delete-directory): Provide implementation for older
10415 Emacsen.
10416
10417 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10418 Do not use `tramp-fish-handle-file-attributes.
10419
10420 * net/trampver.el: Update release number.
10421
10422 2010-04-10 Glenn Morris <rgm@gnu.org>
10423
10424 * progmodes/compile.el (compilation-save-buffers-predicate):
10425 Add missing :version tag.
10426
10427 2010-04-09 Sam Steingold <sds@gnu.org>
10428
10429 * progmodes/compile.el (compilation-save-buffers-predicate):
10430 Remove the "autoload" cookie.
10431
10432 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10433 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10434 and `bug-reference-prog-mode' can be used in hooks directly.
10435
10436 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10437
10438 Add --author support to git commit.
10439 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10440 (vc-git-log-edit-mode): New minor mode.
10441 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10442 New declarations.
10443
10444 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10445
10446 * vc-hooks.el, vc-git.el: Improve documentation comments.
10447
10448 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 Fix some of the problems in defsubst* (bug#5728).
10451 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10452 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10453
10454 2010-04-07 Sam Steingold <sds@gnu.org>
10455
10456 * progmodes/compile.el (compilation-save-buffers-predicate):
10457 New custom variable.
10458 (compile, recompile): Pass it to `save-some-buffers'.
10459
10460 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10461
10462 * wid-edit.el (widget-choose): Move cursor to the second line of
10463 the buffer (Bug#5695).
10464
10465 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10466
10467 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10468 * vc.el (vc-print-log-setup-buttons): New function split out from
10469 vc-print-log-internal.
10470 (vc-log-internal-common): New function, a parametrized version of
10471 vc-print-log-internal.
10472 (vc-print-log-internal): Just call vc-log-internal-common with the
10473 right arguments.
10474 (vc-incoming-outgoing-internal):
10475 (vc-log-incoming, vc-log-outgoing): New functions.
10476 (vc-log-view-type): New permanent local variable.
10477
10478 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10479
10480 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10481 of the dynamic bound vc-short-log.
10482 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10483
10484 * vc-git.el (vc-git-log-outgoing): New function.
10485 (vc-git-log-view-mode): Use vc-log-view-type instead
10486 of the dynamic bound vc-short-log.
10487
10488 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10489 of the dynamic bound vc-short-log. Highlight the tag.
10490 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10491 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10492 (vc-hg-incoming-mode): Remove.
10493 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10494
10495 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10496
10497 Fix default-directory for vc-root-diff.
10498 * vc.el (vc-root-diff): Bind default-directory to the root
10499 directory for the diff command.
10500
10501 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10502
10503 * progmodes/verilog-mode.el (verilog-forward-sexp):
10504 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10505 word keywords, suggested by Steve Pearlmutter.
10506 (verilog-pretty-declarations): Support lineup of declarations in
10507 port lists.
10508 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10509 fix bug for /* / comments.
10510 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10511 Speed up and simplfy as this is never called with a bound.
10512 (verilog-pretty-declarations): Enhance to line up declarations
10513 inside a parameter list, suggested by Alan Morgan.
10514 (verilog-pretty-expr): Tune assignment regular expression match
10515 string for corner cases; also use markers instead of character
10516 number as indent changes the later.
10517
10518 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10519
10520 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10521 as missing keyword.
10522 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10523 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10524 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10525 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10526 Tennant.
10527 (verilog-keywords):
10528 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10529 1800-2009 keywords, including "global.".
10530
10531 2010-04-06 John Wiegley <jwiegley@gmail.com>
10532
10533 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10534 appearing in buffer list (if a live buffer name matched a recentf
10535 file basename). Should use uniquify to offer a real solution.
10536
10537 2010-04-06 John Wiegley <jwiegley@gmail.com>
10538
10539 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10540 comment to code, and add a :version tag.
10541 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10542
10543 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10544
10545 Enable recentf-mode if using virtual buffers.
10546 * ido.el (recentf-list): Declare for byte-compiler.
10547 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10548 (ido-make-buffer-list): Simplify.
10549 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10550
10551 2010-04-05 Juri Linkov <juri@jurta.org>
10552
10553 Scrolling commands which scroll a line instead of full screen.
10554 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10555
10556 * simple.el (scroll-up-line, scroll-down-line): New commands.
10557 Put property isearch-scroll=t on them.
10558
10559 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10560 Remove commands.
10561
10562 2010-04-05 Juri Linkov <juri@jurta.org>
10563
10564 Scrolling commands which do not signal errors at top/bottom.
10565 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10566
10567 * simple.el (scroll-up-command, scroll-down-command): New commands.
10568 Put property isearch-scroll=t on them.
10569
10570 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10571 `scroll-down-command' and [next] from `scroll-up' to
10572 `scroll-up-command'.
10573
10574 * emulation/cua-base.el: Put property CUA=move on
10575 `scroll-up-command' and `scroll-down-command'.
10576 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10577 and `scroll-down-command' to `cua-scroll-down'.
10578
10579 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10580
10581 * help.el (describe-mode): Return nil.
10582
10583 2010-04-04 John Wiegley <jwiegley@gmail.com>
10584
10585 * ido.el (ido-use-virtual-buffers): New variable to indicate
10586 whether "virtual buffer" support is enabled for IDO.
10587 (ido-virtual): Face used to indicate virtual buffers in the list.
10588 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10589 exists, but a virtual buffer of that name does (which would be why
10590 it was in the list), recreate the buffer by reopening the file.
10591 (ido-make-buffer-list): If virtual buffers are being used, call
10592 `ido-add-virtual-buffers-to-list' before the make list hook.
10593 (ido-virtual-buffers): New variable which contains a copy of the
10594 current contents of the `recentf-list', albeit pared down for the
10595 sake of speed, and with proper faces applied.
10596 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10597 create a list of "virtual buffers" to present to the user in
10598 addition to the currently open set. Note that this logic could
10599 get rather slow if that list is too large. With the default
10600 `recentf-max-saved-items' of 200, there is little speed penalty.
10601
10602 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * font-lock.el: Require CL when compiling.
10605 (font-lock-turn-on-thing-lock): Use `case'.
10606
10607 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10608
10609 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10610 Zaretskii.
10611
10612 2010-04-02 Juri Linkov <juri@jurta.org>
10613
10614 * ehelp.el (electric-help-orig-major-mode):
10615 New buffer-local variable.
10616 (electric-help-mode): Set it to original major-mode. Doc fix.
10617 (with-electric-help): Use `electric-help-orig-major-mode' instead
10618 of (default-value 'major-mode). Doc fix.
10619 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10620
10621 2010-04-02 Sam Steingold <sds@gnu.org>
10622
10623 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10624 `vc-hg-command' with a list of flags.
10625
10626 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10627 Also accept "patch" and "RFE".
10628 (bug-reference-fontify): `bug-reference-url-format' can also be a
10629 function to be able to handle the bug kind.
10630 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10631
10632 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10633
10634 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10635 value to fboundp, it may not be a symbol.
10636
10637 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10638
10639 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10640
10641 2010-03-31 Juri Linkov <juri@jurta.org>
10642
10643 * simple.el (next-line, previous-line): Re-throw a signal
10644 with `signal' instead of using `ding'.
10645 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10646
10647 2010-03-31 Juri Linkov <juri@jurta.org>
10648
10649 * simple.el (keyboard-escape-quit): Raise deselecting the active
10650 region higher than exiting the minibuffer.
10651 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10652
10653 2010-03-31 Juri Linkov <juri@jurta.org>
10654
10655 * image.el (image-animated-p): Use `image-metadata' instead of
10656 `image-extension-data'. Get GIF extenstion data from metadata
10657 property `extension-data'.
10658
10659 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * simple.el (append-to-buffer): Simplify.
10662
10663 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10664
10665 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10666 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10667
10668 2010-03-31 Kenichi Handa <handa@m17n.org>
10669
10670 * language/sinhala.el (composition-function-table): Fix regexp for
10671 the new Unicode specification.
10672
10673 * language/indian.el (devanagari-composable-pattern)
10674 (tamil-composable-pattern, kannada-composable-pattern)
10675 (malayalam-composable-pattern): Adjust for the new Unicode
10676 specification.
10677 (bengali-composable-pattern, gurmukhi-composable-pattern)
10678 (gujarati-composable-pattern, oriya-composable-pattern)
10679 (telugu-composable-pattern): New variables to cope with the new
10680 Unicode specification. Use them in composition-function-table.
10681
10682 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10683
10684 Make tmm-menubar work for the Buffers menu again (bug#5726).
10685 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10686 vectors rather than cons cells, as used in menu-bar-update-buffers.
10687
10688 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10691 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10692 electric punctuation for "{}();,:" (Bug#5586).
10693
10694 * mail/sendmail.el (mail-default-directory): Doc fix.
10695
10696 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10697
10698 * mail/sendmail.el (mail-default-directory): Doc fix.
10699
10700 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10701
10702 * subr.el (version-regexp-alist, version-to-list)
10703 (version-list-<, version-list-=, version-list-<=)
10704 (version-list-not-zero, version<, version<=, version=): Doc fix.
10705 (Bug#5744).
10706
10707 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10708
10709 * vc.el (vc-root-diff): Doc fix.
10710
10711 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10712
10713 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10714
10715 * simple.el (append-to-buffer): Fix last change.
10716
10717 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10718
10719 * simple.el (append-to-buffer): Ensure that point is preserved if
10720 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10721 (Bug#5749)
10722
10723 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * files.el (auto-mode-case-fold): Change default to t.
10726
10727 2010-03-30 Juri Linkov <juri@jurta.org>
10728
10729 * dired-x.el (dired-omit-mode): Doc fix.
10730
10731 2010-03-30 Juri Linkov <juri@jurta.org>
10732
10733 * replace.el (occur-accumulate-lines): Move occur-engine related
10734 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10735 to be located after `occur-engine'.
10736
10737 2010-03-30 Juri Linkov <juri@jurta.org>
10738
10739 Make occur handle multi-line matches cleanly with context.
10740 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10741
10742 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10743 (occur-engine): Add local variables `ret', `prev-after-lines',
10744 `prev-lines'. Use more arguments for `occur-context-lines'.
10745 Set first elem of its returned list to `data', and the second elem
10746 to `prev-after-lines'. Don't print the separator line.
10747 In the end, print remaining context after-lines.
10748 (occur-context-lines): Add new arguments `begpt', `endpt',
10749 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10750 after-lines of the previous match with before-lines of the
10751 current match and not overlap them. Return a list with two
10752 values: the output line and the list of context after-lines.
10753
10754 2010-03-30 Juri Linkov <juri@jurta.org>
10755
10756 * replace.el (occur-accumulate-lines): Fix a bug where the first
10757 context line at the beginning of the buffer was missing.
10758
10759 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10760
10761 * files.el: Make bidi-display-reordering safe variable for boolean
10762 values.
10763
10764 2010-03-29 Phil Hagelberg <phil@evri.com>
10765 Chong Yidong <cyd@stupidchicken.com>
10766
10767 * subr.el: Extend progress reporters to perform "spinning".
10768 (progress-reporter-update, progress-reporter-do-update):
10769 Handle non-numeric value arguments.
10770 (progress-reporter--pulse-characters): New var.
10771
10772 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10773
10774 * progmodes/compile.el (compilation-start): Fix regexp detection
10775 of initial cd command (Bug#5771).
10776
10777 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10778
10779 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10780
10781 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10782
10783 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10784 * progmodes/gdb-mi.el: Restore.
10785 * progmodes/gdb-ui.el: Remove.
10786 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10787
10788 2010-03-25 Glenn Morris <rgm@gnu.org>
10789
10790 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10791 all dired buffers, even tramp ones. (Bug#5755)
10792
10793 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 Add "union tags" in mpc.el.
10796 * mpc.el: Remove backward compatibility code.
10797 (mpc-browser-tags): Change default.
10798 (mpc--find-memoize-union-tags): New var.
10799 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10800 (mpc-cmd-find): Handle the case where the playlist does not exist.
10801 Handle union-tags.
10802 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10803 (mpc-cmd-add): Use mpc-cmd-flush.
10804 (mpc-tagbrowser-tag-name): New fun.
10805 (mpc-tagbrowser-buf): Use it.
10806 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10807
10808 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 Misc cleanup.
10811 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10812 Use replace-regexp-in-string.
10813 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10814 (makefile-imake-mode-syntax-table): Move init into defvar.
10815 (makefile-mode): Use define-derived-mode.
10816
10817 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10818 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10819 not be present any more.
10820
10821 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10822
10823 * faces.el (set-face-attribute): Fix typo in docstring.
10824 (face-valid-attribute-values): Reflow docstring.
10825
10826 2010-03-24 Glenn Morris <rgm@gnu.org>
10827
10828 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10829
10830 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10831
10832 * indent.el (indent-for-tab-command): Doc fix.
10833
10834 2010-03-24 Alan Mackenzie <acm@muc.de>
10835
10836 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10837 Fix off-by-one error. Fixes bug #5747.
10838
10839 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10840
10841 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10842 (image-dired-read-comment): Doc fix.
10843
10844 * json.el (json-object-type, json-array-type, json-key-type)
10845 (json-false, json-null, json-read-number):
10846 * minibuffer.el (completion-in-region-functions):
10847 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10848 (cal-tex-cursor-week):
10849 * emacs-lisp/trace.el (trace-function):
10850 * eshell/em-basic.el (eshell/printnl):
10851 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10852 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10853 * obsolete/levents.el (allocate-event, event-key, event-object)
10854 (event-point, event-process, event-timestamp, event-to-character)
10855 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10856 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10857 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10858 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10859 (reftex-highlight-selection): Fix typos in docstrings.
10860
10861 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10862
10863 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10864
10865 2010-03-24 Glenn Morris <rgm@gnu.org>
10866
10867 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10868 2008-02-13 without comment; mark it obsolete.
10869 (rmail-highlight-headers): Use rmail-highlight-face once more.
10870
10871 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10872
10873 * woman.el (woman2-process-escapes): Only consume the newline if
10874 the filler character is on a line by itself (Bug#5729).
10875
10876 2010-03-24 Kenichi Handa <handa@m17n.org>
10877
10878 * language/indian.el (devanagari-composable-pattern): Add more
10879 consonants.
10880
10881 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10882
10883 * net/trampver.el: Update release number.
10884
10885 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10886
10887 * net/tramp.el (tramp-find-executable):
10888 Use `tramp-get-connection-buffer'. Make the regexp for checking
10889 output of "wc -l" more robust.
10890 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10891 (tramp-open-connection-setup-interactive-shell): Remove workaround
10892 for OpenSolaris bug, it is not needed anymore.
10893
10894 2010-03-24 Glenn Morris <rgm@gnu.org>
10895
10896 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10897
10898 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10899
10900 * files.el (auto-mode-alist): Accept more verilog file patterns.
10901
10902 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10903
10904 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10905
10906 2010-03-24 Glenn Morris <rgm@gnu.org>
10907
10908 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10909 log-edit-before-checkin-process.
10910
10911 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10912
10913 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10914
10915 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10916 (log-view-process-buffer, log-edit-extra-flags): Declare.
10917
10918 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10919
10920 2010-03-23 Sam Steingold <sds@gnu.org>
10921
10922 Fix bug#5620: recalculate all markers on compilation buffer
10923 modifications, not on file modifications.
10924 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10925 variable: the buffer modification time, for buffers not associated with
10926 files.
10927 (compilation-mode): Create it.
10928 (compilation-filter): Update it.
10929 (compilation-next-error-function): Use it instead of
10930 `visited-file-modtime' for timestamp.
10931
10932 2010-03-23 Juri Linkov <juri@jurta.org>
10933
10934 Implement Occur multi-line matches.
10935 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10936
10937 * replace.el (occur): Doc fix.
10938 (occur-engine): Set `begpt' to the beginning of the first line.
10939 Set `endpt' to the end of the last match line. At first, count
10940 line numbers between `origpt' and `begpt'. Split out code from
10941 `out-line' variable to new let-bindings `match-prefix' and
10942 `match-str'. In `out-line' add non-numeric prefix to all
10943 non-first lines of multi-line matches. Finally, count lines
10944 between `begpt' and `endpt' and add to `lines'.
10945
10946 2010-03-23 Juri Linkov <juri@jurta.org>
10947
10948 * replace.el (occur-accumulate-lines, occur-engine):
10949 Use `occur-engine-line' instead of duplicate code.
10950 (occur-engine-line): New function created from duplicate code
10951 in `occur-accumulate-lines' and `occur-engine'.
10952
10953 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10954 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10955
10956 2010-03-23 Juri Linkov <juri@jurta.org>
10957
10958 * finder.el: Remove TODO tasks.
10959
10960 * info.el (Info-finder-find-node): Add node "all"
10961 with all package info. Handle a list of multiple keywords
10962 separated by comma.
10963 (info-finder): In interactive use with a prefix argument,
10964 use `completing-read-multiple' to read a list of keywords
10965 separated by comma.
10966
10967 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10968
10969 Add a new completion style `substring'.
10970 * minibuffer.el (completion-basic--pattern): New function.
10971 (completion-basic-try-completion, completion-basic-all-completions):
10972 Use it.
10973 (completion-substring--all-completions)
10974 (completion-substring-try-completion)
10975 (completion-substring-all-completions): New functions.
10976 (completion-styles-alist): New style `substring'.
10977
10978 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 Get rid of .elc files after removal of the corresponding .el.
10981 * Makefile.in (compile-clean): New target.
10982 (compile-main): Use it.
10983
10984 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10985
10986 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10987 don't do make there. When compiling with separate object dir, there
10988 is no Makefile there.
10989
10990 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 Get rid of the ELCFILES abomination, again.
10993 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10994 (all, compile): Don't call compile-last.
10995 (compile-main): Build the "elcfiles" list dynamically.
10996 (compile-targets): New (internal) target.
10997
10998 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10999
11000 * Makefile.in (top_srcdir): Define.
11001 (abs_top_builddir): Define.
11002 (srcdir): Don't append `/..'.
11003 (EMACS): Use ${abs_top_builddir}.
11004 (all, compile, compile-always, compile-last): Don't set emacswd.
11005 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11006 $(srcdir).
11007 (lisp): Use $(srcdir) instead of @srcdir@.
11008
11009 2010-03-21 Juri Linkov <juri@jurta.org>
11010
11011 Fix message of multi-line occur regexps and multi-buffer header lines.
11012 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11013
11014 * replace.el (occur-1): Don't display regexp if it is longer
11015 than window-width. Use `query-replace-descr' to display regexp.
11016 (occur-engine): Don't display regexp in the buffer header for
11017 multi-buffer occur. Display a separate header line with total
11018 match count and regexp for multi-buffer occur.
11019 Use `query-replace-descr' to display regexp.
11020
11021 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11022
11023 * net/secrets.el: Fix parenthesis.
11024 (secrets-enabled): Fix parenthesis.
11025
11026 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11027
11028 Use more relative file and directory names.
11029 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11030 (setwins, setwins_almost, setwins_for_subdirs):
11031 Don't `cd'; output relative names.
11032 (all, compile, compile-always, compile-last): Set emacswd.
11033 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11034 Just cd to the lisp source dir so we can use relative file names.
11035
11036 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11037
11038 2010-03-20 Glenn Morris <rgm@gnu.org>
11039
11040 * textmodes/rst.el: Use faces for font-lock customization, and make the
11041 old -face variables obsolete.
11042 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11043 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11044 (rst-block-face, rst-external-face, rst-definition-face)
11045 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11046 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11047 Make obsolete.
11048 (rst-font-lock-keywords-function): Update for above changes.
11049
11050 2010-03-20 Juri Linkov <juri@jurta.org>
11051
11052 * s-region.el:
11053 * obsolete/s-region.el: Move to obsolete.
11054
11055 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11056
11057 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11058
11059 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11060
11061 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11062
11063 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11064
11065 Add special markup processing for commit logs.
11066 * log-edit.el (log-edit-extra-flags): New variable.
11067 (log-edit): Add new argument MODE. Use that mode when non-nil
11068 instead of the log-view-mode.
11069 (log-view-process-buffer): New function.
11070
11071 * vc.el: Document that the checkin method takes optional
11072 arguments. Document new backend specific method: log-view-mode.
11073 (vc-default-log-edit-mode): New function.
11074 (vc-checkin): Use a backend specific log-view-mode.
11075 Pass extra arguments to the checkin method.
11076 (vc-modify-change-comment): Pass a dummy extra argument.
11077
11078 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11079 log-edit.
11080 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11081 (vc-finish-logentry): Process the log buffer before passing it
11082 down. Pass log-edit-extra-flags.
11083
11084 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11085 command.
11086 (log-edit-extra-flags, log-edit-before-checkin-process):
11087 New declarations.
11088
11089 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11090 command.
11091 (log-edit-extra-flags, log-edit-before-checkin-process):
11092 New declarations.
11093 (vc-hg-log-edit-mode): New derived mode.
11094
11095 * vc-arch.el (vc-arch-checkin):
11096 * vc-cvs.el (vc-cvs-checkin):
11097 * vc-git.el (vc-git-checkin):
11098 * vc-mtn.el (vc-mtn-checkin):
11099 * vc-rcs.el (vc-rcs-checkin):
11100 * vc-sccs.el (vc-sccs-checkin):
11101 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11102
11103 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11104
11105 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11106 parent typo).
11107
11108 2010-03-19 Glenn Morris <rgm@gnu.org>
11109
11110 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11111
11112 2010-03-18 Glenn Morris <rgm@gnu.org>
11113
11114 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11115
11116 * replace.el (query-replace-history): Give it a doc string.
11117 (map-query-replace-regexp): Use query-replace-from-history-variable
11118 and query-replace-to-history-variable.
11119
11120 * mail/hashcash.el (declare-function): Remove duplicate definition.
11121
11122 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11123 Make it an obsolete alias for report-emacs-bug-address.
11124 (message-strip-special-text-properties): Declare.
11125 (report-emacs-bug): Remove test for a pretest bug address.
11126 Combine message-mode-specific code.
11127
11128 * mail/supercite.el: Don't require sendmail.
11129 (mh-in-header-p): Declare rather than using with-no-warnings.
11130 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11131 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11132
11133 * calendar/cal-french.el: Convert to utf-8.
11134
11135 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11136 Emacs scripts.
11137
11138 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11139
11140 * net/secrets.el (secrets-enabled): New variable. Use it instead
11141 of a subfeature.
11142
11143 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11144
11145 * net/secrets.el (top): Register the D-Bus signals only when the
11146 service "org.freedesktop.secrets" can be pinged.
11147 Provide subfeature `enabled'.
11148
11149 2010-03-14 Juri Linkov <juri@jurta.org>
11150
11151 Add finder unknown keywords.
11152
11153 * finder.el (finder-unknown-keywords): New function.
11154
11155 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11156 to create a Finder node with unknown keywords.
11157
11158 2010-03-14 Juri Linkov <juri@jurta.org>
11159
11160 * finder.el (finder-compile-keywords): Replace `princ' with
11161 `prin1' on a list of symbols interned from keyword strings.
11162
11163 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11164 a comma, then split keywords using a comma and optional whitespace.
11165 Otherwise, split by whitespace.
11166
11167 * complete.el:
11168 * face-remap.el:
11169 * log-view.el:
11170 * net/hmac-def.el:
11171 * net/hmac-md5.el:
11172 * net/netrc.el:
11173 * progmodes/mixal-mode.el: Fix keywords.
11174
11175 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11176
11177 * Makefile.in (ELCFILES): Add net/secrets.elc.
11178
11179 * net/secrets.el: New file.
11180
11181 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11182
11183 * facemenu.el (list-colors-display, list-colors-print): New arg
11184 callback. Use it to allow selecting colors.
11185
11186 * wid-edit.el (widget-image-insert): Insert image prop even if the
11187 current display is non-graphic.
11188 (widget-field-value-set): New fun.
11189 (editable-field): Use it.
11190 (widget-field-value-get): Clean up unused var.
11191 (widget-color-value-create, widget-color--choose-action):
11192 New funs. Allow using list-colors-display to choose color.
11193
11194 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11195
11196 * cus-edit.el: Resort topmost custom groups.
11197 (custom-buffer-sort-alphabetically): Default to t.
11198 (customize-apropos): Use apropos-parse-pattern.
11199 (custom-search-field): New var.
11200 (custom-buffer-create-internal): Add custom-apropos search field.
11201 (custom-add-parent-links): Don't display parent doc.
11202 (custom-group-value-create): Don't sort top-level custom group.
11203 (custom-magic-value-create): Show visibility button before option name.
11204
11205 (custom-variable-state): New fun, from custom-variable-state-set.
11206 (custom-variable-state-set): Use it.
11207 (custom-group-value-create): Hide options with standard values
11208 using the :hidden-states property. Use progress reporter.
11209
11210 (custom-show): Simplify.
11211 (custom-visibility): Disable images by default.
11212 (custom-variable): New property :hidden-states.
11213 (custom-variable-value-create): Enable images for
11214 custom-visibility widgets. Use :hidden-states property to
11215 determine initial visibility.
11216
11217 * wid-edit.el (widget-image-find): Give images center ascent.
11218 (visibility): Add :on-image and :off-image properties.
11219 (widget-visibility-value-create): Use them.
11220
11221 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11222
11223 * cus-edit.el (processes): Remove from development group.
11224 (oop, hypermedia): Delete group.
11225 (comm): Promote to top-level group.
11226
11227 * net/browse-url.el (browse-url):
11228 * net/xesam.el (xesam):
11229 * net/tramp.el (tramp):
11230 * net/goto-addr.el (goto-address):
11231 * net/ange-ftp.el (ange-ftp): Put in comm group.
11232
11233 * view.el (view): Remove from editing group.
11234
11235 * uniquify.el (uniquify): Put in files group.
11236
11237 * net/browse-url.el (browse-url):
11238 * ps-print.el (postscript): Put in external group.
11239
11240 * cus-edit.el (outlines):
11241 * textmodes/text-mode.el (text-mode-hook):
11242 * textmodes/table.el (table):
11243 * textmodes/picture.el (picture):
11244 * outline.el (outlines): Put in wp group.
11245
11246 * nxml/nxml-mode.el (nxml): Remove from wp group.
11247
11248 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11249
11250 * mail/metamail.el (metamail): Remove from hypermedia group.
11251
11252 * cus-edit.el (abbrev):
11253 * whitespace.el (whitespace):
11254 * vcursor.el (vcursor):
11255 * reveal.el (reveal):
11256 * hl-line.el (hl-line): Put in convenience group.
11257
11258 * epg-config.el (epg): Put in data group.
11259
11260 * emulation/pc-select.el (pc-select): Put in emulations group.
11261
11262 * calculator.el (calculator): Put in applications group.
11263
11264 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11265
11266 Add .dir-locals.el support for file-less buffers.
11267 * files.el (hack-local-variables): Split out code to apply local
11268 variable settings ...
11269 (hack-local-variables-apply): ... here. New function.
11270 (hack-dir-local-variables): Use the default directory for when the
11271 buffer does not have an associated file.
11272 (hack-dir-local-variables-non-file-buffer): New function.
11273 * diff-mode.el (diff-mode):
11274 * vc-annotate.el (vc-annotate-mode):
11275 * vc-dir.el (vc-dir-mode):
11276 * log-edit.el (log-edit-mode):
11277 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11278
11279 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11280
11281 Add support for shelving snapshots and for showing shelves.
11282 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11283 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11284 New functions.
11285 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11286 (vc-bzr-extra-menu-map): Map them.
11287
11288 2010-03-11 Glenn Morris <rgm@gnu.org>
11289
11290 * cus-edit.el (customize-changed-options-previous-release):
11291 Bump to 23.1.
11292
11293 * image.el (image-animate-max-time): Fix :version tag.
11294
11295 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11296
11297 * Branch for 23.2.
11298
11299 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * vc-git.el (vc-git-revision-table): Include remote branches.
11302
11303 2010-03-10 Kim F. Storm <storm@cua.dk>
11304
11305 Animated image API.
11306 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11307
11308 * image.el (image-animate-max-time): New defcustom.
11309 (image-animated-types): New defconst.
11310 (create-animated-image, image-animate-timer)
11311 (image-animate-start, image-animate-stop, image-animate-timeout)
11312 (image-animated-p): New functions.
11313
11314 * image-mode.el (image-toggle-display-image):
11315 Replace `create-image' with `create-animated-image'.
11316
11317 2010-03-09 Miles Bader <miles@gnu.org>
11318
11319 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11320 instead of "format:"; this ensures that the output is
11321 newline-terminated.
11322
11323 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11324
11325 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11326 that all errors are caught, and that the return value is always a
11327 list (Bug#5692).
11328
11329 2010-03-08 Kenichi Handa <handa@m17n.org>
11330
11331 * language/misc-lang.el (windows-1256): New coding system.
11332 (cp1256): New alias of windows-1256 (bug#5690).
11333
11334 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11335
11336 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11337 call to rfc822-bad-address. (Bug#5692)
11338
11339 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11340
11341 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11342 Use vc-git-root as default directory for revision path (Bug#5657).
11343
11344 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11345
11346 * calculator.el (calculator): Don't bind split-window-keep-point
11347 (Bug#5674).
11348
11349 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * vc-git.el: Re-flow to fit into 80 columns.
11352 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11353 Remove spurious `quote' element in each case alternative.
11354 (vc-git-show-log-entry): Use prog1.
11355 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11356
11357 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11358
11359 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11360
11361 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11362
11363 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11364 definition, not the name (Bug#5481).
11365
11366 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11367
11368 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11369 argument with a local variable. (Bug#5670)
11370
11371 2010-03-02 Juri Linkov <juri@jurta.org>
11372
11373 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11374
11375 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11376
11377 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11378 error when FILENAME and NEWNAME are existing remote directories.
11379
11380 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11381 parameter DIR-FLAG.
11382
11383 2010-03-02 Glenn Morris <rgm@gnu.org>
11384
11385 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11386 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11387
11388 2010-03-01 Kenichi Handa <handa@m17n.org>
11389
11390 * language/burmese.el (burmese-composable-pattern): Rename from
11391 myanmar-composable-pattern.
11392
11393 * international/characters.el (script-list):
11394 * international/fontset.el (script-representative-chars):
11395 Change myanmar to burmese.
11396 (otf-script-alist): Likewise.
11397 (setup-default-fontset): Likewise. Re-fix :otf spec.
11398
11399 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11400
11401 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11402
11403 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11404
11405 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11406
11407 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11408
11409 * net/tramp.el (tramp-handle-write-region): START can be a string.
11410 Take care in the checks. Reported by Dan Davison
11411 <davison@stats.ox.ac.uk>.
11412
11413 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11414
11415 * net/dbus.el (dbus-introspect, dbus-get-property)
11416 (dbus-set-property, dbus-get-all-properties):
11417 Use `dbus-call-method' when noninteractive. (Bug#5645)
11418
11419 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11420
11421 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11422 * emacs-lisp/elint.el (elint-add-required-env):
11423 * calendar/icalendar.el (icalendar--add-diary-entry):
11424 * calc/calcalg2.el (math-tracing-integral):
11425 * files.el (recover-session-finish): Use with-current-buffer
11426 instead of save-excursion.
11427
11428 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11429
11430 Fix in-buffer completion when after-change-functions modify the buffer.
11431 * minibuffer.el (completion--replace): New function.
11432 (completion--do-completion): Use it and use relative movement.
11433
11434 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11435
11436 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11437
11438 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11439
11440 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11441 Allow the characters _<> in the stack entry (Bug#5653).
11442
11443 2010-02-26 Kenichi Handa <handa@m17n.org>
11444
11445 * language/burmese.el: Fix entries in composition-function-table.
11446 (myanmar-composable-pattern): New variable.
11447
11448 * international/fontset.el (setup-default-fontset): Add an entry
11449 for myanmar.
11450
11451 * international/characters.el (script-list): Add Myanmar
11452 Extended-A.
11453
11454 2010-02-26 Glenn Morris <rgm@gnu.org>
11455
11456 * custom.el (custom-initialize-delay): Doc fix.
11457
11458 * mail/sendmail.el (send-mail-function): Autoload the call
11459 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11460
11461 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11462
11463 * files.el (hack-local-variables-filter): For eval forms, also
11464 check safe-local-variable-p (Bug#5636).
11465
11466 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11467
11468 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11469 setting the modes by `ignore-errors'. It might fail, for example
11470 if the file is not owned by the user but the group.
11471 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11472
11473 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11474
11475 * files.el (directory-listing-before-filename-regexp):
11476 Use stricter matching for iso-style dates, to avoid false matches with
11477 date-like filenames (Bug#5597).
11478
11479 * htmlfontify.el (htmlfontify): Doc fix.
11480
11481 * eshell/eshell.el (eshell): Doc fix.
11482
11483 * startup.el (fancy-about-screen): In mode-line, apply
11484 mode-line-buffer-id face only to the buffer name (Bug#5613).
11485
11486 2010-02-20 Kevin Ryde <user42@zip.com.au>
11487
11488 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11489 In `watcom' anchor regexp to start of line, to avoid slowness
11490 (Bug#5599).
11491
11492 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11493
11494 * subr.el (remove-yank-excluded-properties): Explain in a comment
11495 why `category' property is removed.
11496
11497 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11498
11499 * isearch.el (isearch-update-post-hook, isearch-update):
11500 Revert 2010-02-17 change.
11501
11502 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11503
11504 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11505 (icalendar--convert-weekly-to-ical)
11506 (icalendar--convert-yearly-to-ical)
11507 (icalendar--convert-block-to-ical)
11508 (icalendar--convert-cyclic-to-ical)
11509 (icalendar--convert-anniversary-to-ical): Take care of time
11510 specifications where hour has 1-digit only (Bug#5549).
11511
11512 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11513
11514 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11515 of disassemble output in GDB 7.1.
11516
11517 2010-02-19 Glenn Morris <rgm@gnu.org>
11518
11519 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11520 property. (Bug#5593)
11521
11522 2010-02-18 Sam Steingold <sds@gnu.org>
11523
11524 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11525
11526 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11527
11528 Use abbreviated file names in bookmarks (bug#5591).
11529 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11530 calls to expand-file-name.
11531 (bookmark-relocate): Use abbreviated file names in bookmarks.
11532 (bookmark-load): Use abbreviated file names in messages.
11533
11534 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11535
11536 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11537 expand "." and "..". Reported by Thierry Volpiatto
11538 <thierry.volpiatto@gmail.com>.
11539
11540 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11541
11542 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11543 permissions of the temporary file to "0600". In case the remote
11544 file has no read permissions for the owner, there might be
11545 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11546
11547 22010-02-18 Glenn Morris <rgm@gnu.org>
11548
11549 * emacs-lisp/authors.el (authors-renamed-files-alist):
11550 Add entries for INSTALL.CVS.
11551
11552 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11553
11554 * vc-bzr.el: Fix typo in Known Bugs section.
11555
11556 * isearch.el (isearch-update-post-hook): New hook.
11557 (isearch-update): Use the new hook.
11558
11559 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11560
11561 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11562 Fix errors in copying directories.
11563 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11564 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11565 (tramp-handle-delete-file)
11566 (tramp-handle-dired-recursive-delete-directory)
11567 (tramp-handle-write-region): Flush also the cache for the upper
11568 directory.
11569
11570 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11571
11572 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11573
11574 * cus-edit.el (hardware): Doc fix.
11575
11576 * man.el (man): Add to external custom group.
11577
11578 * delim-col.el (columns): Move to wp custom group.
11579
11580 * doc-view.el (doc-view): Add to data custom group.
11581
11582 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11583
11584 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11585 by ispell-parse-output (Bug#5575).
11586
11587 2010-02-16 Kenichi Handa <handa@m17n.org>
11588
11589 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11590 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11591 (skkdic-convert): Use `euc-japan' coding system for writing.
11592
11593 2010-02-16 Glenn Morris <rgm@gnu.org>
11594
11595 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11596 tex-main-file before using it. (Bug#5562)
11597
11598 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11601 warnings, since it is annoying for the user to see them each time he
11602 runs the code.
11603
11604 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11605
11606 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11607 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11608 instead of PROC for caching "first-password-request". Otherwise,
11609 new processes would not profit from passwords already entered.
11610
11611 * net/tramp-cache.el (tramp-dump-connection-properties):
11612 Don't save "first-password-request" property.
11613
11614 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11615
11616 * outline.el (outline-head-from-level):
11617 * simple.el (with-wrapper-hook):
11618 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11619 (elint-defun, elint-buffer-env, elint-top-form-logged)
11620 (elint-unbound-variable):
11621 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11622 Fix typos in docstrings.
11623
11624 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11625
11626 * files.el (insert-directory): When WILDCARD-REGEXP and
11627 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11628 whole directory. (Bug#5551)
11629
11630 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11631 dired's alignment sanity. (Bug#5516)
11632
11633 2010-02-14 Juri Linkov <juri@jurta.org>
11634
11635 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11636 Remove remaining ^H with their preceding chars. (Bug#5566)
11637
11638 2010-02-13 Glenn Morris <rgm@gnu.org>
11639
11640 * simple.el (transpose-subr): Give it a doc-string.
11641
11642 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11643 Doc fixes.
11644
11645 2010-02-12 Juri Linkov <juri@jurta.org>
11646
11647 * arc-mode.el (archive-unique-fname): Make directories for nested
11648 archives. (Bug#5540)
11649
11650 2010-02-12 Juri Linkov <juri@jurta.org>
11651
11652 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11653
11654 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11655
11656 * subr.el (copy-overlay): Handle deleted overlays.
11657
11658 * man.el (Man-completion-table): Don't signal an error if we can't run
11659 manual-program (bug#4056).
11660
11661 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11662
11663 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11664
11665 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11666
11667 * info.el (Info-bookmark-jump): Simplify.
11668
11669 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11670 (bookmark-default-handler): Accept new bookmark field `buffer'.
11671
11672 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11673
11674 * iswitchb.el (iswitchb-completions): Revert last change.
11675
11676 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11677
11678 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11679 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11680 This prevents file names like "~/" being listed literally.
11681
11682 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11683
11684 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11685 Remove dead code. (Bug#5546)
11686
11687 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11688
11689 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11690 correctly (Bug#5548).
11691
11692 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11693
11694 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11695 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11696
11697 2010-02-08 Kenichi Handa <handa@m17n.org>
11698
11699 * international/mule-util.el (with-coding-priority): Add autoload
11700 cookie for putting `lisp-indent-function'.
11701
11702 2010-02-07 Glenn Morris <rgm@gnu.org>
11703
11704 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11705 Move F2003 named interfaces from keywords-2 to keywords-1, and
11706 use function-name-face rather than constant-face.
11707 Simplify "abstract interface" regexp.
11708
11709 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11710
11711 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11712 ID-FORMAT. Pass it to `file-attributes'.
11713
11714 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11715
11716 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11717
11718 * faces.el (set-face-attribute): Allow calling
11719 internal-set-lisp-face-attribute with 'unspecified family and
11720 foundry argument (Bug#5536).
11721
11722 2010-02-07 Glenn Morris <rgm@gnu.org>
11723
11724 * progmodes/f90.el (f90-font-lock-keywords-2)
11725 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11726 Handle F2003 named interfaces.
11727
11728 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11729
11730 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11731 beg and end before calling c-get-state-before-change-functions.
11732
11733 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11734
11735 * vc-bzr.el (vc-bzr-dir-extra-headers):
11736 Disable the pending merges header.
11737
11738 2010-02-05 Juri Linkov <juri@jurta.org>
11739
11740 * doc-view.el (doc-view-mode):
11741 * image-mode.el (image-mode): Put property mode-class=special.
11742 (Bug#4896)
11743
11744 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11745
11746 * vc-svn.el (vc-svn-revision-table): New function.
11747
11748 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11749
11750 * net/ange-ftp.el (ange-ftp-insert-directory):
11751 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11752 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11753 Handle also directories. (Bug#5478)
11754
11755 2010-02-05 Glenn Morris <rgm@gnu.org>
11756
11757 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11758
11759 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11760
11761 * startup.el (command-line-1): Convert options beginning with a
11762 single dash as well (Bug#5519).
11763
11764 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11767 * minibuffer.el (completion-initials-expand): Only check the presence
11768 of delims *within* the boundaries, since otherwise the / delim is
11769 always found for files.
11770
11771 Fix up various corner case problems.
11772 * doc-view.el (doc-view-last-page-number): New function.
11773 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11774 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11775 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11776 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11777 (doc-view-convert-current-doc): Don't create the resolution.el file
11778 here any more.
11779 (doc-view-pdf/ps->png): Do it here instead.
11780 (doc-view-already-converted-p): Check that resolution.el is present.
11781 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11782 windows that are not yet showing images.
11783
11784 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11785
11786 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11787 `dired-uncache' for every elemnt which is an absolute file name.
11788
11789 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11790 directory, handle its directory component.
11791 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11792 function is called permanently and creates noise, otherwise.
11793
11794 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11795 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11796 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11797
11798 2010-02-04 David Burger <dburger@google.com> (tiny change)
11799
11800 * macros.el (apply-macro-to-region-lines):
11801 Minor simplification. (Bug#5485)
11802
11803 2010-02-04 Glenn Morris <rgm@gnu.org>
11804
11805 * mail/rmail.el (rmail-show-message-1): Handle malformed
11806 quoted-printable text. (Bug#5441)
11807
11808 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11809
11810 * simple.el (visual-line-mode): Capitalize lighter.
11811
11812 2010-02-03 John Wiegley <jwiegley@gmail.com>
11813
11814 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11815 list of files considered for "virtual buffer" completions.
11816
11817 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11818
11819 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11820 also in case of (and (not full) (not wildcard)). This is needed
11821 when dired is called with a list of files, which are not in
11822 `default-directory'. (Bug#5478)
11823
11824 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11825
11826 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11827
11828 2010-02-02 Juri Linkov <juri@jurta.org>
11829
11830 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11831 from unidiff to allow function-line after @@.
11832
11833 2010-02-02 Juri Linkov <juri@jurta.org>
11834
11835 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11836 '(RCS SCCS) with inverted condition.
11837
11838 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11839
11840 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11841 messages.
11842
11843 2010-02-01 Juri Linkov <juri@jurta.org>
11844
11845 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11846 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11847 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11848 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11849
11850 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11851
11852 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11853 (doc-view-revert-buffer): New command.
11854 (doc-view-mode-map): Use it.
11855
11856 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11857
11858 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11859 pending merge is detected.
11860
11861 2010-01-31 Juri Linkov <juri@jurta.org>
11862
11863 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11864 beginning of interactive spec like all other grep commands do.
11865 Put "all" in front of "gz". (Bug#5260)
11866
11867 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11868
11869 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11870
11871 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11872
11873 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11874 regexp is incorrect (Bug#5476).
11875
11876 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11877
11878 * net/tramp.el (tramp-handle-insert-directory): Handle also
11879 symlinks, when FILENAME is not in `default-directory'.
11880
11881 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11882
11883 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11884 FILE is not in `default-directory'. (Bug#5478)
11885
11886 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11887 of SWITCHES. Handle the case, FILENAME is not in
11888 `default-directory'. (Bug#5478)
11889 (tramp-register-file-name-handlers): Add safe-magic property.
11890
11891 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11892
11893 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11894 unzip (Bug#5475).
11895
11896 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11897
11898 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11899 (flymake-master-make-header-init): Add other C++ filename masks.
11900 (flymake-find-possible-master-files)
11901 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11902
11903 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11904
11905 Fix some busybox annoyances.
11906
11907 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11908 not responding." string.
11909 (tramp-open-connection-setup-interactive-shell): Dump stty
11910 settings. Enable "neveropen" arg for all `tramp-send-command'
11911 calls. Handle "=" in variable values properly.
11912 (tramp-find-inline-encoding): Raise an error, when no encoding is
11913 found.
11914 (tramp-wait-for-output): Check, whether PROC buffer is available.
11915 Remove spurious " ^H" sequences, sent by busybox.
11916 (tramp-get-ls-command): Suppress coloring, if possible.
11917
11918 2010-01-28 Glenn Morris <rgm@gnu.org>
11919
11920 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11921
11922 * log-edit.el (log-edit-strip-single-file-name): Add missing
11923 :safe, :group, and :version tags.
11924
11925 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11926
11927 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11928 buffers. (Bug#5477)
11929
11930 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11931
11932 * files.el (delete-directory): Handle moving to trash without
11933 first doing recursion (Bug#5436).
11934
11935 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11936
11937 * vc-hooks.el (vc-path): Mark as obsolete.
11938
11939 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11940
11941 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11942 names too.
11943
11944 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11945 for the short log.
11946 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11947
11948 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11949
11950 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11951
11952 * vc-bzr.el (vc-bzr-revision-table): New function.
11953
11954 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11955
11956 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11957 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11958
11959 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11960
11961 Remove support for adding --signoff on commit.
11962 Future support will use an incompatible generic mechanism.
11963 * vc-git.el (vc-git-add-signoff): Remove variable.
11964 (vc-git-toggle-signoff): Remove function.
11965 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11966
11967 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11968 Rename from xterm-set-background-mode. Return t if the background mode
11969 was set.
11970 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11971 earlier, call it again in case the background mode has changed.
11972
11973 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11974
11975 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11976 (Bug#3541).
11977
11978 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11979
11980 * emacs-lisp/assoc.el (aelement): Doc fix.
11981 (aput, adelete, amake): Use lexical-let (Bug#5450).
11982
11983 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11984
11985 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11986 is the same as subprogram call, not declaration. (Bug#5435).
11987
11988 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11989
11990 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11991 (tramp-smb-maybe-open-connection): Use it.
11992
11993 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11994
11995 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11996
11997 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12000 just because we see "encoding: 8bit".
12001 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12002
12003 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12004
12005 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12006
12007 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12008
12009 * jka-compr.el (jka-compr-load): If load-file is not in
12010 load-history, try its file-truename version. (bug#5447)
12011
12012 2010-01-21 Alan Mackenzie <acm@muc.de>
12013
12014 Fix a situation where deletion of a cpp construct throws an error.
12015 * progmodes/cc-engine.el (c-invalidate-state-cache):
12016 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12017 special cpp construct is still in the buffer.
12018 (c-parse-state): Record the special cpp with markers, not numbers.
12019
12020 2010-01-21 Kenichi Handa <handa@m17n.org>
12021
12022 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12023 process last-command-event, as it is now decoded first (Bug#5380).
12024
12025 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12026
12027 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12028
12029 2010-01-20 Glenn Morris <rgm@gnu.org>
12030
12031 * indent.el (tab-always-indent): Fix custom-type.
12032
12033 2010-01-19 Alan Mackenzie <acm@muc.de>
12034
12035 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12036 buffer throws "args out of range".
12037 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12038 playing the role of delimiter.
12039
12040 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12041
12042 * progmodes/ada-mode.el: Fix bug#5400.
12043 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12044 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12045 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12046 Improve comments in "is" portion. Handle null procedure declaration.
12047 (ada-move-to-end): Improve doc string.
12048
12049 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12050
12051 * ido.el (ido-cur-list): Initialize to nil.
12052 Remove obsolete information from commentary.
12053 (ido-choice-list): Initialize to nil.
12054 (ido-get-bufname): Reject minibuffers.
12055 (ido-make-buffer-list): If "default" is a nonexistent
12056 buffer, ignore it, as per the function's comment.
12057 (ido-kill-buffer-internal): New function.
12058 (ido-kill-buffer-at-head): Use it.
12059 (ido-visit-buffer): Likewise.
12060
12061 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12062
12063 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12064
12065 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12066
12067 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12068 Fix typos in chart titles.
12069
12070 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12071 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12072 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12073 (describe-class, eieio-describe-generic, describe-generic):
12074 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12075 (eieio-speedbar-expand):
12076 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12077 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12078 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12079 (viper-del-backward-char-in-replace, viper-backward-indent)
12080 (viper-brac-function, viper-register-to-point, viper-submit-report):
12081 * net/tramp.el (tramp-remote-coding-commands):
12082 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12083 Fix typos in docstrings.
12084
12085 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12086
12087 * mail/sendmail.el (mail-yank-original): Set the mark if the
12088 specified function for yanking does not do it.
12089
12090 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12091
12092 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12093
12094 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12095 resyncing a directory.
12096
12097 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12098
12099 * progmodes/ada-mode.el: Fix bug#1920.
12100 (ada-ident-re): Delete ., allow multibyte characters.
12101 (ada-goto-label-re): New; matches goto labels.
12102 (ada-block-label-re): New; matches block labels.
12103 (ada-label-re): New; matches both.
12104 (ada-named-block-re): Deleted; callers changed to use
12105 `ada-block-label-re' instead.
12106 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12107 Use `ada-block-label-re'.
12108 (ada-indent-on-previous-lines): Improve handling of goto labels.
12109 (ada-get-indent-block-start): Special-case block label.
12110 (ada-get-indent-label): Split into `ada-indent-block-label' and
12111 `ada-indent-goto-label'.
12112 (ada-goto-stmt-start, ada-goto-next-non-ws):
12113 Optionally ignore goto labels.
12114 (ada-goto-next-word): Simplify.
12115 (ada-indent-newline-indent-conditional): Insert newline before
12116 trying to fix indentation; doc fix.
12117
12118 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12119
12120 * calc/calc.el (calc-command-flags): Give it an initial value.
12121
12122 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12123
12124 * files.el (minibuffer-with-setup-hook):
12125 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12126 (artist-key-draw-continously, artist-key-do-continously-continously)
12127 (artist-key-set-point-continously, artist-mouse-draw-continously):
12128 Fix typos in docstrings.
12129
12130 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12131
12132 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12133 Never return t (Bug#3898).
12134
12135 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12136
12137 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12138 can parse the output of the external commands (Bug#5279).
12139
12140 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12141
12142 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12143
12144 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12145
12146 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12147
12148 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12149
12150 * startup.el (command-line): Remove unused --icon-type arg.
12151 Handle --display arg, passing it to command-line-1 (Bug#5392).
12152
12153 2010-01-16 Mario Lang <mlang@delysid.org>
12154
12155 * emacs-lisp/chart.el (chart-translate-namezone):
12156 * textmodes/artist.el (artist-compute-popup-menu-table):
12157 Remove duplicated words in doc-strings.
12158
12159 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12160
12161 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12162 to mairix-search to suppress threading (Bug#5342).
12163
12164 2010-01-15 Kenichi Handa <handa@m17n.org>
12165
12166 * international/mule-cmds.el (canonicalize-coding-system-name):
12167 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12168
12169 2010-01-15 Glenn Morris <rgm@gnu.org>
12170
12171 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12172
12173 * wid-edit.el (widget-keymap): Doc fix.
12174
12175 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12176 former seems to be more widely accepted by various svn versions.
12177
12178 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12179
12180 * find-cmd.el (find-constituents):
12181 * vc-arch.el (vc-arch-root):
12182 * window.el (window-body-height, pop-up-frames):
12183 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12184 * progmodes/ada-stmt.el (ada-if):
12185 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12186 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12187 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12188 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12189
12190 * progmodes/flymake.el (flymake-post-syntax-check):
12191 Fix typo in error message.
12192
12193 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12194
12195 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12196 which is always a string. (Bug#5313)
12197
12198 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12199
12200 * progmodes/ada-xref.el (ada-default-prj-properties):
12201 Simplify previous change.
12202
12203 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12204
12205 * progmodes/ada-xref.el (ada-default-prj-properties):
12206 Default ada_project_path to $ADA_PROJECT_PATH.
12207
12208 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12209
12210 * progmodes/ada-mode.el (ada-create-keymap):
12211 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12212
12213 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12214
12215 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12216 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12217 (ada-get-current-indent, ada-imenu-generic-expression)
12218 (ada-which-function): Check for it.
12219
12220 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12221
12222 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12223 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12224
12225 2010-01-14 Glenn Morris <rgm@gnu.org>
12226
12227 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12228
12229 2010-01-14 Kenichi Handa <handa@m17n.org>
12230
12231 * composite.el (auto-composition-mode): Make it a buffer local
12232 variable (permanent-local).
12233 (auto-composition-function): Set the default value to
12234 auto-compose-chars.
12235 (auto-composition-mode): Make it a simple function, not a minor mode.
12236 (global-auto-composition-mode): Likewise.
12237 (turn-on-auto-composition-if-enabled): Delete it.
12238
12239 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12240
12241 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12242
12243 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12244
12245 * files.el (copy-directory): Compute target for recursive
12246 directories with identical names. (Bug#5343)
12247
12248 2010-01-12 Glenn Morris <rgm@gnu.org>
12249
12250 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12251 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12252
12253 2010-01-11 Sam Steingold <sds@gnu.org>
12254
12255 * imenu.el (imenu-default-create-index-function): Detect infinite
12256 loops caused by imenu-prev-index-position-function.
12257
12258 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12259
12260 * htmlfontify.el (htmlfontify-load-rgb-file)
12261 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12262 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12263 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12264 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12265 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12266 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12267 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12268 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12269 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12270 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12271 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12272 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12273 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12274 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12275 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12276 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12277 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12278 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12279 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12280 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12281 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12282 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12283 backslash-quoting from parentheses, etc.
12284
12285 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12286
12287 * progmodes/js.el: Autoload javascript-mode alias.
12288
12289 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12290
12291 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12292 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12293 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12294 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12295 Fix typos in docstrings.
12296 (ffap-url-regexp): Doc fix.
12297 (ffap-at-mouse): Fix typo in message.
12298
12299 2010-01-11 Glenn Morris <rgm@gnu.org>
12300
12301 * version.el (emacs-copyright): Set copyright year to 2010.
12302
12303 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12304
12305 * format.el (format-annotate-function): Only set
12306 write-region-post-annotation-function after running to-fn so as not to
12307 affect nested write-region calls (bug#5273).
12308
12309 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12310
12311 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12312 wisent/python.el.
12313
12314 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12315
12316 * man.el (Man-goto-section): Signal error if the section is not
12317 found (Bug#5317).
12318
12319 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12320
12321 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12322 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12323
12324 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12325
12326 * progmodes/compile.el: Don't treat compile-command as safe if
12327 compilation-read-command might be nil (Bug#4218).
12328
12329 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12330
12331 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12332 NS options.
12333
12334 2010-01-08 Kenichi Handa <handa@m17n.org>
12335
12336 * international/fontset.el (build-default-fontset-data):
12337 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12338
12339 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12340
12341 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12342 to `create-file-buffer' as it expects, not just a buffer name.
12343 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12344 to help uniquify. (Bug#3224)
12345
12346 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12347
12348 * font-setting.el (font-setting-change-default-font): Use user-spec
12349 instead of name.
12350
12351 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12352
12353 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12354
12355 2010-01-05 Tom Tromey <tromey@redhat.com>
12356
12357 * progmodes/python.el (python-font-lock-keywords):
12358 Handle qualified decorators (Bug#881).
12359
12360 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12361
12362 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12363 in a lightweight checkout.
12364
12365 2010-01-05 Kenichi Handa <handa@m17n.org>
12366
12367 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12368
12369 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12370
12371 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12372
12373 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12374
12375 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12376 checkouts. (Bug#618)
12377 (vc-bzr-log-view-mode): Also highlight the author.
12378 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12379 (vc-bzr-shelve-menu-map):
12380 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12381 (vc-bzr-shelve-apply): Make prompt more explicit.
12382
12383 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12384
12385 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12386 They are valid characters in URL paths (rfc3986), and at least
12387 Firefox does not understand the encoded version (Bug#3166).
12388
12389 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12390
12391 * progmodes/octave-mod.el (octave-end-keywords)
12392 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12393 Add "end" keyword (Bug#3061).
12394 (octave-end-as-array-index-p): New function.
12395 (calculate-octave-indent): Use it.
12396
12397 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12398
12399 * bookmark.el: Consistently put the text property on the bookmark name.
12400 (bookmark-bmenu-marks-width): Bump back to 2, to include
12401 annotation marks.
12402 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12403 property on the bookmark name, instead of not putting it at all.
12404 (bookmark-bmenu-list): Fix where we put the text property.
12405
12406 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12407
12408 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12409 for showing buffer modified state (as added in the previous change).
12410
12411 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12412
12413 * bookmark.el: Show modified state of bookmark buffer more accurately.
12414 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12415 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12416 (with-buffer-modified-unmodified): New macro.
12417 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12418 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12419 Use new macro to preserve the buffer modified state.
12420
12421 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12422
12423 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12424 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12425 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12426 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12427 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12428 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12429 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12430
12431 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12432
12433 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12434 Make the lines in the generated doc string shorter. (Bug#4668)
12435
12436 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12437
12438 * net/rcirc.el: Add follow-link binding (Bug#4738).
12439
12440 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12441
12442 * Makefile.in (bzr-update): Rename from cvs-update.
12443 (cvs-update): New target for backward compatibility.
12444
12445 * makefile.w32-in (bzr-update): Rename from cvs-update.
12446 (cvs-update): New target for backward compatibility.
12447
12448 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12449
12450 * bookmark.el: Remove gratuitous gratitude.
12451
12452 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12453
12454 * bookmark.el (bookmark-bmenu-any-marks): New function.
12455 (bookmark-bmenu-save): Clear buffer modification if no marks.
12456
12457 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12458
12459 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12460 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12461 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12462 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12463
12464 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12465 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12466 To: emacs-devel {_AT_} gnu.org
12467 Subject: bookmark.el bug report
12468 Date: Mon, 28 Dec 2009 14:19:16 +0800
12469 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12470
12471 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12472
12473 * bookmark.el: Improvements suggested by Drew Adams:
12474 (bookmark-bmenu-ensure-position): New name for
12475 `bookmark-bmenu-check-position'. Just ensure the position,
12476 don't return any meaningful value.
12477 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12478 New constants.
12479
12480 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12481
12482 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12483 (bookmark-yank-point, bookmark-bmenu-check-position):
12484 Fix typos in docstrings.
12485 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12486 (bookmark-name-from-full-record, bookmark-get-position)
12487 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12488 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12489 Remove useless quoting of parenthesis, etc. in docstrings.
12490
12491 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12492 (ediff-append-custom-diff): Fix typo in error message.
12493 (ediff-meta-mark-equal-files): Fix typos in messages.
12494
12495 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12496
12497 * net/imap-hash.el (imap-hash-make): Doc fix.
12498 (imap-hash-test): Fix typo in error message; reflow docstring.
12499 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12500 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12501 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12502 Fix typos in docstrings.
12503 (imap-hash-open-connection): Fix typo in error message.
12504
12505 * play/gomoku.el (gomoku): Fix typos in docstring.
12506
12507 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12508 (gdb-jsonify-buffer): Fix typos in docstring.
12509 (gdb-goto-breakpoint): Fix typo in error message.
12510 ("Display Other Windows"): Fix typo in help message.
12511 (gdb-speedbar-expand-node): Fix typo in question.
12512
12513 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12514 (idlwave-html-system-help-location, idlwave-html-help-location)
12515 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12516 (idlwave-help-browser-generic-args, idlwave-help-directory)
12517 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12518 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12519 (idlwave-online-help, idlwave-help-html-link)
12520 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12521 Fix typos in docstrings.
12522 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12523 Reflow docstrings.
12524 (idlwave-help-assistant-start): Fix typo in error message.
12525
12526 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12527 (octave-electric-space): Fix typos in docstrings.
12528
12529 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12530
12531 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12532
12533 2010-01-01 Juri Linkov <juri@jurta.org>
12534
12535 * comint.el (comint-input-ring-size): Make it a defcustom and
12536 increase the default to 500 (Bug#5148).
12537
12538 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12539
12540 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12541 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12542 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12543
12544 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12545
12546 Show working revision correctly for mercurial.
12547 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12548 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12549
12550 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12551
12552 Declare some functions for the byte-compiler.
12553 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12554 (speedbar-timer-fn, speedbar-change-expand-button-char)
12555 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12556
12557 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12558
12559 This changeset reverts GDB Graphical Interface to use annotations.
12560 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12561
12562 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12563
12564 Make vc-dir work on subdirectories of the bzr root.
12565 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12566 Return file names relative to it.
12567 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12568 relative directory to vc-bzr-after-dir-status.
12569
12570 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12571
12572 * font-lock.el (font-lock-refresh-defaults): New function, which
12573 can be used to let font-lock react to external changes in
12574 variables like font-lock-defaults and keywords.
12575 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12576
12577 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12578
12579 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12580
12581 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12582
12583 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12584
12585 Supersede color.diff settings in git log (bug#5211).
12586
12587 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12588 escape chars in its output when the user has color.diff set to `always'.
12589 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12590
12591 2009-12-26 Kevin Ryde <user42@zip.com.au>
12592
12593 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12594 node. Keep previous "Index" name to work with past coreutils too.
12595
12596 * man.el (man): Revise docstring a bit to show -a and -l as
12597 examples. Add -k description since support for it has otherwise
12598 been a secret. (Further to bug#3717.)
12599 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12600 "no matches" rather than "Can't find manpage", as the latter reads
12601 like -k was interpreted as a page name, which is not so. (Bug#5431)
12602
12603 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12604
12605 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12606 switches. Check also for //SUBDIRED// line.
12607
12608 2009-12-25 Kenichi Handa <handa@m17n.org>
12609
12610 * language/indian.el (devanagari-composable-pattern): Fix to
12611 handle ZWNJ and ZWJ. Use it in composition-function-table for
12612 Devanagari.
12613 (malayalam-composable-pattern): Fix previous change.
12614
12615 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12616
12617 * ps-print.el (ps-face-attributes): It was not returning the
12618 attribute face for faces specified as string. Reported by harven
12619 <harven@free.fr>. (Bug#5254)
12620 (ps-print-version): New version 7.3.5.
12621
12622 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12623
12624 * calendar/icalendar.el (icalendar--convert-tz-offset):
12625 Fix timezone names.
12626 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12627 (icalendar--add-diary-entry): Remove the trailing blank that
12628 diary-make-entry inserts.
12629
12630 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12631
12632 Make `file-expand-wildcards' work for remote files.
12633
12634 * files.el (file-expand-wildcards): In case of remote files, check
12635 only local file name part for wildcards. Provide feature 'files
12636 and subfeature 'remote-wildcards. (Bug#5198)
12637
12638 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12639 if there is already an established connection.
12640 (tramp-advice-file-expand-wildcards): Remove it.
12641
12642 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12643 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12644 Activate advice for older GNU Emacs versions. (Bug#5237)
12645
12646 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12647
12648 Some doc fixes (more needed).
12649
12650 * find-cmd.el (find-constituents): Reflow docstring.
12651 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12652 (find-generic): Doc fix.
12653
12654 2009-12-17 Juri Linkov <juri@jurta.org>
12655
12656 Fix regression from 23.1 to allow multiple modes in Local Variables.
12657
12658 * files.el (hack-local-variables-filter): While ignoring duplicates,
12659 don't take `mode' into account.
12660 (hack-local-variables-filter, hack-dir-local-variables):
12661 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12662
12663 2009-12-17 Juri Linkov <juri@jurta.org>
12664
12665 Make `dired-diff' safer. (Bug#5225)
12666
12667 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12668 `current' or when `file' is a directory of the `current' file.
12669
12670 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12671
12672 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12673 unconditionally preloaded files.
12674
12675 2009-12-16 Juri Linkov <juri@jurta.org>
12676
12677 Revert to old 23.1 logic of using the file at the mark as default.
12678 * dired-aux.el (dired-diff): Use the file at the mark as default
12679 if it's not the same as the current file, and the target dir is
12680 the current dir or the mark is active. Add the current file
12681 as the arg of `dired-dwim-target-defaults'. Use the default file
12682 in the prompt. (Bug#5225)
12683
12684 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12685
12686 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12687 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12688 (tramp-check-for-regexp): Check also, when an echoing shell stops
12689 to echo sent commands.
12690
12691 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12692
12693 * Makefile.in: Revert last change (Bug#5191).
12694
12695 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12696
12697 * vc-hg.el (vc-hg-print-log): Fix argument order.
12698 (vc-hg-working-revision): Make sure the command is executed in a
12699 known environment so that we can parse the output. (Bug#4417)
12700
12701 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12702
12703 * progmodes/python.el (python-symbol-completions): Remove text
12704 properties from symbol string before calling python-send-receive.
12705
12706 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12707
12708 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12709 when there are values for both file and line. (Bug#5060)
12710
12711 2009-12-14 Juri Linkov <juri@jurta.org>
12712
12713 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12714 whitespace after the file name of the first line of unified format,
12715 because git-diff doesn't output whitespace and file modification time
12716 after the file name.
12717
12718 2009-12-14 David Kastrup <dak@gnu.org>
12719
12720 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12721 check if it already has the `display' property added by
12722 `Info-display-images-node', and not put the `invisible' property
12723 in this case.
12724
12725 2009-12-13 Glenn Morris <rgm@gnu.org>
12726
12727 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12728 (report-emacs-bug): In message-mode, sort manually before storing
12729 original report text. (Bug#5178)
12730 Remove superfluous save-excursion.
12731
12732 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12733
12734 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12735 when responding to "GetAll" properties.
12736
12737 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12738
12739 * simple.el (compose-mail): Remove mail-setup-with-from from
12740 customization checks.
12741
12742 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12743
12744 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12745 RAR archives created on Unix systems.
12746
12747 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12750 the varalias that was accidentally removed by the 2009-11-19 change
12751 (bug#5186).
12752
12753 2009-12-12 Kenichi Handa <handa@m17n.org>
12754
12755 * language/indian.el (indian-compose-regexp): New function.
12756 (malayalam-composable-pattern): Fix the pattern.
12757 (composition-function-table): Set malayalam-composable-pattern for
12758 Malayalam characters.
12759
12760 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12761
12762 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12763 rather than down-mouse-1, based on follow-link conventions.
12764
12765 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12766 are compiled.
12767
12768 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12769
12770 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12771 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12772 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12773 (verilog-leap-to-head, verilog-backward-token):
12774 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12775
12776 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12777
12778 * progmodes/verilog-mode.el (verilog-auto-lineup)
12779 (verilog-nameable-item-re): Cleanup user-visible spelling and
12780 documentation errors. One reported by Gary Delp.
12781 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12782 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12783 package, bug195. Reported by Pierre-David Pfister.
12784
12785 2009-12-11 Glenn Morris <rgm@gnu.org>
12786
12787 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12788
12789 * mail/emacsbug.el: No longer require sendmail.
12790 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12791 (report-emacs-bug-orig-text): Doc fix.
12792 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12793 New local variables, to adapt to different mail-user-agents.
12794 (report-emacs-bug): Fix test for a gnu.org address.
12795 Use overlays for emphasis, since font-lock defeats 'face property.
12796 Pretest bugs also end up at the newsgroup these days.
12797 Stop message-mode stripping text properties.
12798 Set and use the new buffer-local variables.
12799 (report-emacs-bug-hook): Add doc-string.
12800 Remove some unnecessary save-excursions and simplify.
12801 Use the appropriate hook and send-command.
12802
12803 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12804 capitalization of some menu entries.
12805
12806 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12807
12808 * whitespace.el (whitespace-display-char-on):
12809 Ensure `buffer-display-table' is unique when two or more windows are
12810 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12811 New version 12.1.
12812
12813 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12814
12815 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12816 characters in the Attribute field.
12817
12818 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12819
12820 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12821
12822 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12825 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12826 Disregard autoload-excludes.
12827 (update-directory-autoloads): Obey autoload-excludes here instead.
12828 But don't store its contents in no-autoloads and remove entries that
12829 refer to excludes files.
12830
12831 2009-12-10 Glenn Morris <rgm@gnu.org>
12832
12833 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12834 (expand-mail-aliases): Define for compiler.
12835
12836 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12837 Define for compiler.
12838
12839 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12840 appropriate for the mail-user-agent in use.
12841
12842 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12843
12844 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12845
12846 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12847
12848 Fix short log parsing and fontification.
12849 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12850 Fix fontification for the [merge] label.
12851
12852 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12853
12854 Drop some properties to avoid surprises (bug#5002).
12855 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12856 (hfy-fontify-buffer): Use it.
12857
12858 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12859
12860 Minor cleanup.
12861 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12862 Adjust all callers.
12863 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12864 args compulsory. Adjust callers.
12865 (ffap-gopher-at-point): Remove unused var `name'.
12866
12867 Get rid of the ELCFILES abomination.
12868 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12869 (compile-elcfiles): New phony target.
12870 (compile-main): Compute ELCFILES dynamically.
12871 (compile-clean): New target to remove left-over elc files.
12872 (compile, all): Use it.
12873
12874 2009-12-09 Kenichi Handa <handa@etlken>
12875
12876 * international/mule-diag.el: Require help-mode instead of help-fns.
12877
12878 2009-12-09 Kenichi Handa <handa@m17n.org>
12879
12880 * international/mule-cmds.el (ucs-names): Supply sufficiently
12881 fine ranges instead of pre-calculating accurate ranges.
12882 Iterate with bigger gc-cons-threshold.
12883
12884 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12885
12886 Add support for stashing a snapshot of the current tree.
12887 * vc-git.el (vc-git-stash-snapshot): New function.
12888 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12889
12890 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12891
12892 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12893 instead of `(beginning|end)-of-line'.
12894
12895 2009-12-08 Glenn Morris <rgm@gnu.org>
12896
12897 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12898
12899 * Makefile.in (ELCFILES): Regenerate.
12900
12901 2009-12-07 Juri Linkov <juri@jurta.org>
12902
12903 Don't lazy-highlight the comint output in history Isearch mode.
12904
12905 * comint.el (comint-history-isearch-search): Instead of
12906 `comint-line-beginning-position', use `comint-after-pmark-p'
12907 to check if point if before the process mark, and go to
12908 `process-mark' in this case.
12909
12910 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * textmodes/tex-mode.el (latex-complete)
12913 (latex-indent-or-complete): Remove.
12914 (latex-mode): Set completion-at-point-functions instead.
12915
12916 Provide a standard completion command and hook it into TAB.
12917 * minibuffer.el (completion-at-point-functions): New var.
12918 (completion-at-point): New command.
12919 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12920 * progmodes/python.el (python-mode-map): Use completion-at-point.
12921 (python-completion-at-point): Rename from python-partial-symbol and
12922 adjust for use in completion-at-point-functions.
12923 (python-mode): Setup completion-at-point for Python completion.
12924 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12925 extracted from lisp-complete-symbol.
12926 (lisp-complete-symbol): Use it.
12927 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12928 setup completion-at-point for Elisp completion.
12929 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12930 Use completion-at-point.
12931 * ielm.el (ielm-map): Use completion-at-point.
12932 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12933 * progmodes/sym-comp.el: Move to...
12934 * obsolete/sym-comp.el: Move from progmodes.
12935
12936 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12937
12938 Prevent save-buffer in Rmail buffers from using the coding-system
12939 of the current message, and from clobbering the encoding mnemonics
12940 in the mode line (Bug#4623).
12941
12942 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12943 flag, too.
12944 (rmail-message-encoding): New variable.
12945 (rmail-write-region-annotate): Record the encoding of the current
12946 message in rmail-message-encoding.
12947 (rmail-after-save-hook): New function, restores the encoding of
12948 the current message after the message collection is saved.
12949
12950 2009-12-07 Juri Linkov <juri@jurta.org>
12951
12952 * progmodes/grep.el (grep-read-files): Use `completing-read'
12953 instead of `read-string'. Set its `collection' arg to
12954 `read-file-name-internal'. (Bug#4301)
12955
12956 2009-12-07 Juri Linkov <juri@jurta.org>
12957
12958 Correctly restore original Isearch point. (Bug#4994)
12959
12960 * isearch.el (isearch-mode): Move `isearch-push-state' after
12961 `(run-hooks 'isearch-mode-hook)'.
12962 (isearch-cancel): When `isearch-push-state-function' is defined,
12963 let-bind `isearch-cmds' to the first state (the last element of
12964 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12965 function and restores the original point). Otherwise, move point
12966 to `isearch-opoint'.
12967
12968 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12969
12970 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12971 chars that don't have names, so the table can be built much faster at
12972 run-time.
12973
12974 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12975
12976 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12977 change. Suggested by David Kastrup.
12978
12979 * simple.el (compose-mail): Check for incompatibilities and warn.
12980 (compose-mail-user-agent-warnings): New option.
12981
12982 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12983
12984 Support showing a single log entry from vc-annotate.
12985 * vc.el (print-log): Add a new argument: START-REVISION.
12986 (vc-print-log-internal): Add a new optional argument and
12987 pass it to the backend.
12988 (vc-print-log, vc-print-root-log): Adjust callers.
12989 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12990 buffer already displays the requested log entry, use it.
12991 Otherwise display only the log entry in question.
12992 * vc-svn.el (vc-svn-print-log):
12993 * vc-mtn.el (vc-mtn-print-log):
12994 * vc-hg.el (vc-hg-state):
12995 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12996 (vc-git-show-log-entry): Return t on success.
12997 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12998 (vc-bzr-show-log-entry): Return t on success.
12999 * vc-rcs.el (vc-rcs-print-log):
13000 * vc-sccs.el (vc-sccs-print-log):
13001 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13002
13003 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13004
13005 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13006 Add menus to the meta mode. (Bug#5043)
13007
13008 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13009
13010 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13011 event-key.
13012
13013 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13014
13015 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13016
13017 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13018 Berbain <raphael.berbain@gmail.com>.
13019
13020 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13021 characters.
13022 (tramp-initial-end-of-output): New defconst.
13023 (tramp-methods, tramp-find-shell)
13024 (tramp-open-connection-setup-interactive-shell)
13025 (tramp-maybe-open-connection): Use it.
13026 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13027 Handle existence of `#' and `$'.
13028
13029 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13030 Use `tramp-initial-end-of-output'.
13031
13032 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13033
13034 Get the background mode from the terminal for xterm, and set
13035 faces accordingly.
13036 * term/xterm.el (xterm-set-background-mode): New function.
13037 (terminal-init-xterm): Use it in case xterm supports background
13038 color queries. Recompute faces after getting the background
13039 color.
13040
13041 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13042
13043 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13044 number comment back on its own line, for easier parsing.
13045
13046 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13047
13048 Make it work for non-file buffers (bug#5102).
13049 * doc-view.el (doc-view-current-cache-dir):
13050 Use doc-view-buffer-file-name rather than buffer-file-name.
13051 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13052
13053 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13054
13055 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13056 author field is too short.
13057
13058 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13059
13060 * vc-git.el (vc-git-print-log): Handle a limit argument.
13061 Display the short log in graph form and with labels.
13062 (vc-git-log-view-mode): Handle labels.
13063
13064 Make vc-revert change VC state from 'added to 'unregistered.
13065 * vc-git.el (vc-git-revert): Call git reset first.
13066
13067 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13068
13069 * net/newst-backend.el, net/newst-plainview.el:
13070 * net/newst-reader.el, net/newst-ticker.el:
13071 * net/newst-treeview.el, net/newsticker.el:
13072 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13073
13074 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13075
13076 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13077
13078 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13079 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13080 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13081 Update annotation regexp.
13082
13083 * simple.el (beginning-of-visual-line): Constrain to field
13084 boundaries (Bug#5106).
13085
13086 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13087
13088 * xml.el (xml-substitute-numeric-entities):
13089 Move newsticker--decode-numeric-entities in newst-backend.el to
13090 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13091 * net/newst-backend.el (newsticker--parse-generic-feed)
13092 (newsticker--parse-generic-items)
13093 (newsticker--decode-numeric-entities):
13094 Move newsticker--decode-numeric-entities in newst-backend.el to
13095 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13096
13097 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13098
13099 * progmodes/js.el (js--js-not): Add null to the list of values.
13100
13101 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13102
13103 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13104
13105 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13106
13107 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13108 delimiter if it is at the end of the current line.
13109 (bibtex-generate-url-list): Fix docstring.
13110
13111 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13114 minibuffer's content with itself.
13115 Fold the confirm-after-completion case into the `confirm' case.
13116 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13117
13118 2009-12-06 Kevin Ryde <user42@zip.com.au>
13119
13120 * ffap.el (ffap-rfc-path): Make this a defcustom since
13121 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13122
13123 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13124 manuals, similar to existing setup for help-mode. (Bug#3913.)
13125
13126 2009-12-05 Juri Linkov <juri@jurta.org>
13127
13128 Save and restore dired buffer's point positions too. (Bug#4880)
13129
13130 * dired.el (dired-save-positions): Return in the first element
13131 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13132 Doc fix.
13133 (dired-restore-positions): First restore buffer's position.
13134 While restoring window's positions, check if window still displays
13135 the original buffer.
13136
13137 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13138
13139 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13140 if possible.
13141
13142 * shell.el (shell): Require ansi-color (Bug#5113).
13143
13144 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13145
13146 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13147
13148 2009-12-05 Alan Mackenzie <acm@muc.de>
13149
13150 * progmodes/cc-mode.el (c-before-hack-hook)
13151 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13152 `c-file-style' to work again. This reversion restores the current
13153 software to its state in Emacs 23.1. (Bug#4146)
13154
13155 2009-12-05 Kevin Ryde <user42@zip.com.au>
13156
13157 * textmodes/sgml-mode.el (sgml-lexical-context):
13158 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13159
13160 2009-12-05 Juri Linkov <juri@jurta.org>
13161
13162 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13163 for virtual nodes. (Bug#4147)
13164 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13165 when moving from a virtual node.
13166 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13167 (Info-mode): Add `Info-virtual-index' to the docstring.
13168
13169 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13170
13171 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13172 track of the buffer position of the end of a BibTeX entry as this
13173 position may change during reformatting.
13174 (bibtex-format-entry): Remove whitespace before processing
13175 numerical fields so that we recognize the latter properly.
13176 (bibtex-reformat): Do not use push which changes the global value
13177 of bibtex-entry-format.
13178 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13179 (bibtex-field-re-init): Replace only space characters by regexp
13180 for whitespace.
13181 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13182 (bibtex-initialize): Also update bibtex-strings.
13183 (bibtex-kill-field): Preserve white space at end of entry.
13184 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13185 Update bibtex-reference-keys.
13186
13187 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13188
13189 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13190 point after a star, if that's the only place where modifications can
13191 make progress.
13192
13193 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13194
13195 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13196 in docstrings.
13197
13198 2009-12-04 Juri Linkov <juri@jurta.org>
13199
13200 * proced.el (proced): Call `(proced-update t)' to update process
13201 information instead of only running proced-post-display-hook.
13202 (proced-send-signal): Add a leading space to the buffer name
13203 " *Marked Processes*" to make this buffer ephemeral.
13204
13205 2009-12-04 Juri Linkov <juri@jurta.org>
13206
13207 * dired.el (dired-auto-revert-buffer): New defcustom.
13208 (dired-internal-noselect): Use it.
13209
13210 2009-12-04 Juri Linkov <juri@jurta.org>
13211
13212 Change roles of modes and functions in image-mode.el (Bug#5062).
13213
13214 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13215 in `auto-mode-alist'.
13216 (image-mode-previous-major-mode): New variable.
13217 (image-minor-mode-map): Rename from `image-mode-text-map'.
13218 (image-mode): Move graceful error-handling code from
13219 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13220 (image-minor-mode): Remove all image-handling code.
13221 Replace `image-mode-text-map' with `image-minor-mode-map'.
13222 Check for `image-type' in mode-line format string.
13223 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13224 (image-mode-as-text): New function with most code from
13225 `image-mode-maybe'.
13226 (image-toggle-display-text): Move code that removes image
13227 properties from `image-toggle-display' to here.
13228 (image-toggle-display-image): New function with code that adds
13229 image properties copied from `image-toggle-display'.
13230 (image-toggle-display): Remove most code with leaving only code
13231 that toggles between `image-mode-as-text' and `image-mode'.
13232
13233 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13234
13235 * net/newst-treeview.el
13236 (newsticker--treeview-list-highlight-start): Restored call to
13237 save-excursion: Selected item was stuck.
13238 (newsticker--treeview-list-select): New.
13239 (newsticker--treeview-item-show-text)
13240 (newsticker--treeview-item-show)
13241 (newsticker--treeview-item-update): Use new
13242 newsticker-treeview-item-mode.
13243 (newsticker-treeview-update): Keep current item.
13244 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13245 (newsticker--treeview-first-feed): Doc change.
13246 (newsticker-treeview-list-menu)
13247 (newsticker-treeview-item-menu): Add menu entries.
13248 (newsticker-treeview-item-mode): New.
13249
13250 * net/newst-backend.el (newsticker-customize): Delete other
13251 windows.
13252
13253 2009-12-04 Sam Steingold <sds@gnu.org>
13254
13255 * log-view.el (log-view-mode-map): "q" calls quit-window,
13256 like in all the other non-self-insert buffers.
13257
13258 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13259
13260 Minor cleanup.
13261 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13262 key decoding rather than do it manually via last-input-event +
13263 ascii-character.
13264 (term-exec): Use delete-and-extract-region.
13265 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13266 (term-process-pager): Remove unused var `i'.
13267 (term-dynamic-simple-complete): Make obsolete.
13268 (serial-update-config-menu): Remove unused vars `y' and `str'.
13269 (term-update-mode-line): Remove unused var `temp'.
13270
13271 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13272
13273 Limit the number of log entries displayed by default.
13274 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13275 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13276 using a prefix argument.
13277
13278 2009-12-03 Glenn Morris <rgm@gnu.org>
13279
13280 * progmodes/idlwave.el (class): Restore still useful declaration.
13281
13282 2009-12-03 Alan Mackenzie <acm@muc.de>
13283
13284 Enhance `c-parse-state' to run efficiently in "brace deserts".
13285
13286 * progmodes/cc-mode.el (c-basic-common-init):
13287 Call c-state-cache-init.
13288 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13289 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13290 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13291
13292 * progmodes/cc-langs.el (c-before-font-lock-function):
13293 c-extend-and-neutralize-syntax-in-CPP has been renamed
13294 c-neutralize-syntax-in-and-mark-CPP.
13295
13296 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13297 with `category' properties now, not `syntax-table' ones.
13298
13299 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13300 enhanced (but slower) version of c-end-of-macro that won't land
13301 inside a literal or on another awkward character.
13302 (c-state-cache-too-far, c-state-cache-start)
13303 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13304 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13305 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13306 (c-state-min-scan-pos, c-state-brace-pair-desert)
13307 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13308 buffer local variables.
13309 (c-state-literal-at, c-state-lit-beg)
13310 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13311 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13312 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13313 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13314 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13315 (c-renarrow-state-cache)
13316 (c-append-lower-brace-pair-to-state-cache)
13317 (c-state-push-any-brace-pair, c-append-to-state-cache)
13318 (c-remove-stale-state-cache)
13319 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13320 (c-invalidate-state-cache-1, c-parse-state-1)
13321 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13322 (c-parse-state): Enhance and refactor.
13323 (c-debug-parse-state): Amend to deal with all the new variables.
13324
13325 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13326 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13327 modify to use category text properties rather than syntax-table ones.
13328 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13329 to switch off/on the syntactic paren property of C++ template
13330 delimiters using the category property.
13331 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13332 template delims suppressed.
13333 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13334 New constant/macros which apply category properties to the start
13335 and end of preprocessor constructs.
13336 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13337 "comment out" the syntactic value of characters in preprocessor
13338 constructs.
13339 (c-with-cpps-commented-out)
13340 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13341 with characters in all or all but one preprocessor constructs
13342 "commented out".
13343
13344 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13345
13346 * proced.el (proced-filter-alist): Use regexp-quote.
13347
13348 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13349
13350 Cleanup.
13351 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13352 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13353 arguments. Expand `default-directory'.
13354
13355 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13356 the benefit of returning an expanded localname.
13357 (tramp-tramp-file-p): Handle the case NAME is not a string.
13358
13359 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13360
13361 Add support for bzr shelve/unshelve.
13362 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13363 (vc-bzr-extra-menu-map): New variables.
13364 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13365 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13366 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13367 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13368 (vc-bzr-dir-extra-headers): Display shelves.
13369
13370 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13371
13372 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * textmodes/bibtex.el (bibtex-complete-internal):
13375 Use completion-in-region.
13376 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13377
13378 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13379
13380 Support applying stashes. Improve UI.
13381 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13382 (vc-git-stash-apply, vc-git-stash-pop)
13383 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13384 (vc-git-stash-menu): New functions.
13385 (vc-git-stash-menu-map): New variable.
13386 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13387
13388 2009-12-03 Glenn Morris <rgm@gnu.org>
13389
13390 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13391 (vc-print-log-internal): Fix previous change.
13392 (vc-revert): Correct pluralization.
13393
13394 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13395
13396 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13397 it to be an alist any more.
13398 (makefile-complete): Use completion-in-region.
13399
13400 * progmodes/octave-mod.el (octave-complete-symbol):
13401 Use completion-in-region.
13402
13403 Misc cleanup.
13404 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13405 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13406 (idlwave-complete-class): Don't quote lambda.
13407 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13408 (idlwave-mode-map): Move initialization into declaration.
13409 (idlwave-action-and-binding): Use backquotes.
13410 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13411 Simplify.
13412 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13413 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13414 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13415 `parts', and `all-parts'.
13416 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13417 (idlwave-convert-xml-system-routine-info): Remove unused string
13418 `version-string'.
13419 (idlwave-display-user-catalog-widget): Use dolist.
13420 (idlwave-scanning-lib): Declare dynamically-scoped var.
13421 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13422 (completion-highlight-first-word-only): Declare to silence bytecomp.
13423 (idlwave-popup-select): Tighten scope of `resp'.
13424 (idlwave-find-struct-tag): Remove unused var `beg'.
13425 (idlwave-after-load-rinfo-hook): Declare.
13426 (idlwave-sintern-class-info): Remove unused var `taglist'.
13427 (idlwave-find-class-definition): Remove unused var `list'.
13428 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13429 (idlwave-what-module-find-class): Remove unused var `classes'.
13430
13431 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13432
13433 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13434
13435 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13436
13437 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13438 buffers visited. Remove redundant current-buffer-saving.
13439
13440 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13441
13442 Use completion-in-buffer and remove uses of dynamic scoping.
13443 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13444 (pascal-buffer-to-use, pascal-flag): Don't declare.
13445 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13446 (pascal-get-completion-decl, pascal-keyword-completion):
13447 Add `pascal-str' argument, save-excursion,
13448 return the found completions, and don't filter with pascal-pred.
13449 (pascal-completion-cache): New var.
13450 (pascal-completion): Don't switch buffer any more (it was never
13451 necessary). Don't save-excursion any more (it's done by the called
13452 subroutines). Use a cache to avoid redundant computations.
13453 Use complete-with-action rather than pascal-completion-response and
13454 let it apply the predicate as well.
13455 (pascal-complete-word): Use completion-in-buffer when
13456 pascal-toggle-completions is nil.
13457 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13458 not used any more.
13459 (pascal-comp-defun): Don't change buffer any more.
13460 Use complete-with-action rather than pascal-completion-response and
13461 let it apply the predicate as well.
13462 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13463 when neded.
13464
13465 2009-12-02 Kenichi Handa <handa@m17n.org>
13466
13467 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13468 shape for all Indic scripts.
13469
13470 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13471
13472 Use completion-in-buffer.
13473 * wid-edit.el (widget-field-text-end): New function.
13474 (widget-field-value-get): Use it.
13475 (widget-string-complete, widget-file-complete)
13476 (widget-color-complete): Use it and completion-in-region.
13477 (widget-complete): Don't narrow the buffer.
13478
13479 2009-12-02 Glenn Morris <rgm@gnu.org>
13480
13481 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13482 (rmail-select-summary): Use rmail-pop-to-buffer.
13483 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13484 rmail-pop-to-buffer, to prevent horizontal splits.
13485
13486 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13487 save-excursion with save-current-buffer.
13488 Widen before searching. (Bug#5093)
13489 (diary-list-sexp-entries): Remove superfluous save-excursion.
13490
13491 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13492
13493 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13494 name. (Bug#5038)
13495
13496 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13497
13498 * ido.el (ido-file-internal): Handle filenames at point that do
13499 not have a directory part. (Bug#5049)
13500
13501 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13502
13503 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13504 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13505
13506 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13507
13508 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13509 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13510 any more.
13511
13512 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * comint.el (comint-insert-input): Ignore clicks to the right of
13515 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13516
13517 * vc.el (vc-print-log-internal): Don't wait for the process to
13518 terminate before setting up the major mode.
13519
13520 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13521 in case.
13522
13523 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13524 the last element.
13525
13526 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13527
13528 2009-12-01 Glenn Morris <rgm@gnu.org>
13529
13530 * window.el (window--display-buffer-2): Fix previous changes.
13531
13532 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13533
13534 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13535
13536 2009-12-01 Glenn Morris <rgm@gnu.org>
13537
13538 * Makefile.in (ELCFILES): Add mpc.elc.
13539
13540 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13541
13542 * mpc.el: New file.
13543
13544 2009-12-01 Glenn Morris <rgm@gnu.org>
13545
13546 * window.el (window-to-use): Define for compiler.
13547
13548 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13549 consistent with others (no final period).
13550
13551 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13552 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13553
13554 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13555
13556 Make vc-print-log buttons work.
13557 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13558
13559 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13560
13561 * savehist.el (savehist-autosave-interval): Allow setting to nil
13562 through customize. (Bug#5056)
13563
13564 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13565
13566 Fix references to jit-lock properties.
13567 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13568 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13569 (perl-font-lock-special-syntactic-constructs):
13570 Quote jit-lock-defer-multiline property.
13571
13572 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13573
13574 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13575
13576 2009-11-30 Juri Linkov <juri@jurta.org>
13577
13578 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13579 value `buffer' of `multi-isearch-next-buffer-current-function'.
13580 Use `(current-buffer)' when `buffer' is nil.
13581 (multi-isearch-next-buffer-from-list): Don't fallback to
13582 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13583
13584 2009-11-30 Juri Linkov <juri@jurta.org>
13585
13586 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13587 of buffers with `get-buffer' to `multi-isearch-buffers'.
13588 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13589 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13590 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13591 FILES with `expand-file-name' converting relative file names
13592 to absolute. Doc fix. (Bug#4727)
13593
13594 2009-11-30 Juri Linkov <juri@jurta.org>
13595
13596 * misearch.el (multi-isearch-read-buffers)
13597 (multi-isearch-read-matching-buffers): New functions.
13598 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13599 Use them in the `interactive' spec. Doc fix.
13600 (multi-isearch-read-files, multi-isearch-read-matching-files):
13601 New functions.
13602 (multi-isearch-files, multi-isearch-files-regexp):
13603 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13604
13605 2009-11-30 Juri Linkov <juri@jurta.org>
13606
13607 * doc-view.el (doc-view-continuous):
13608 Rename from `doc-view-continuous-mode'.
13609 (doc-view-menu): Move "Toggle display" to the top.
13610 Add submenu "Continuous" with radio buttons "Off"/"On"
13611 and "Save as Default".
13612 (doc-view-scroll-up-or-next-page)
13613 (doc-view-scroll-down-or-previous-page)
13614 (doc-view-next-line-or-next-page)
13615 (doc-view-previous-line-or-previous-page):
13616 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13617
13618 2009-11-30 Juri Linkov <juri@jurta.org>
13619
13620 * comint.el (comint-mode-map): Rebind `M-r' from
13621 `comint-previous-matching-input' to
13622 `comint-history-isearch-backward-regexp'.
13623 Unbind `M-s' to allow global key binding `M-s'.
13624 Add menu items for `comint-history-isearch-backward' and
13625 `comint-history-isearch-backward-regexp'. (Bug#3746)
13626
13627 2009-11-30 Juri Linkov <juri@jurta.org>
13628
13629 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13630 For def=recenter, replace `recenter' with `recenter-top-bottom'
13631 that is called with `this-command' and `last-command' let-bound
13632 to `recenter-top-bottom'. When the last `def' was not `recenter',
13633 set `recenter-last-op' to nil. (Bug#4981)
13634
13635 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13636
13637 Minor cleanup and simplification.
13638 * filecache.el (file-cache-add-directory)
13639 (file-cache-add-directory-recursively)
13640 (file-cache-add-from-file-cache-buffer)
13641 (file-cache-delete-file-regexp, file-cache-delete-directory)
13642 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13643 (file-cache-temp-minibuffer-message): Delete function.
13644 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13645
13646 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13647 Don't signal an error when bumping into EOB in tr, s, or y.
13648
13649 2009-11-29 Juri Linkov <juri@jurta.org>
13650
13651 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13652 (Bug#4960)
13653
13654 * descr-text.el (describe-char-unidata-list): Use lowercase name
13655 for "Unicode name" like in other tags.
13656
13657 2009-11-29 Juri Linkov <juri@jurta.org>
13658
13659 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13660 New compatibility macro.
13661 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13662
13663 2009-11-29 Juri Linkov <juri@jurta.org>
13664
13665 Add defcustom to define the cycling order of `recenter-top-bottom'.
13666 (Bug#4981)
13667
13668 * window.el (recenter-last-op): Doc fix.
13669 (recenter-positions): New defcustom.
13670 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13671 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13672
13673 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13674
13675 Improve integration of Tramp and ange-ftp in eshell.
13676
13677 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13678 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13679 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13680
13681 * eshell/esh-util.el (top): Require also Tramp when compiling.
13682 (eshell-directory-files-and-attributes): Check for FTP remote
13683 connection.
13684 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13685 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13686 (eshell-file-attributes): Handle ".". Return `entry'.
13687
13688 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13689 (ange-ftp-directory-files-and-attributes)
13690 (ange-ftp-real-directory-files-and-attributes): New defuns.
13691
13692 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13693 shell with "exec" when possible. This prevents trailing prompts
13694 in `start-file-process'.
13695
13696 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13697
13698 Try and remove assumptions about point-min==1.
13699 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13700 (rng-compute-mode-line-string): Show the validation percentage in
13701 terms of the narrowed text, not the widened text.
13702 (rng-do-some-validation): Don't catch internal errors when debugging.
13703 (rng-first-error): Simplify.
13704 (rng-after-change-function): Remove work around. AFAIK the bug has
13705 been fixed a while ago.
13706
13707 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13708 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13709
13710 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13711
13712 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13713 `cd' doesn't always do it for us (bug#5067).
13714
13715 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13716 on 2009-10-25 as part of some other change (bug#5067).
13717
13718 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13719
13720 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13721 `suspicious'.
13722 (byte-compile-warnings): Use byte-compile-warning-types.
13723 (byte-compile-save-excursion): Warn about use of set-buffer right
13724 after save-excursion.
13725
13726 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13727 the excursion as well.
13728
13729 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13730
13731 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13732 providing a Tramp related implementation of "su" and "sudo".
13733 (eshell-unix-initialize): Add "su" and "sudo".
13734
13735 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13736
13737 * net/socks.el (socks-send-command): Convert binary request to
13738 unibyte before sending. This fixes mishandling of some port
13739 numbers such as 129.
13740
13741 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13742
13743 * help.el (describe-bindings-internal): Remove `interactive'.
13744
13745 * man.el (Man-completion-table): Trim a terminating "(".
13746 Remove the space between name page a section.
13747 Add the command's description on the `help-echo' property.
13748 Remove `process-connection-type' binding since it's unused by
13749 call-process.
13750 Provide completion for the "<section> <name>" format as well.
13751 (Man-default-man-entry): Remove spurious var shadowing the argument.
13752
13753 2009-11-26 Kevin Ryde <user42@zip.com.au>
13754
13755 * log-view.el: Add "Keywords: tools", since its other keywords
13756 aren't in finder-known-keywords, and following vc.el.
13757
13758 * sha1.el (sha1-string-external): default-directory "/" in case
13759 otherwise non-existent. process-connection-type pipe for touch of
13760 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13761
13762 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 Misc coding convention cleanups.
13765 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13766 hfy-init-kludge-hooks.
13767 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13768 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13769 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13770 and push.
13771 (hfy-slant, hfy-weight): Use tables rather than code.
13772 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13773 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13774 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13775 (hfy-face-to-css): Remove `nconc' with single arg.
13776 (hfy-p-to-face-lennart): Use `or'.
13777 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13778 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13779 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13780 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13781 (hfy-force-fontification): Use run-hooks.
13782
13783 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13784
13785 Various minor fixes.
13786 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13787 Javascript belongs in the header, not the body.
13788 (hfy-javascript): Remove.
13789 (hfy-fontify-buffer): Don't insert it any more.
13790 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13791 Fix bug in invis handling when there were no invis props in a chunk.
13792
13793 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13794
13795 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13796
13797 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13798
13799 * finder.el (finder-mode-map): Add a menu.
13800
13801 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13802
13803 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13804 "unsigned" structs.
13805
13806 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13807 fork" statement better.
13808
13809 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13810
13811 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13812 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13813 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13814 Reported by Clay Douglass.
13815
13816 (verilog-auto-inst, verilog-auto-star-safe)
13817 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13818 Fix removing "// Interfaces" when saving .* expansions.
13819 Reported by Pierre-David Pfister.
13820
13821 2009-11-26 Glenn Morris <rgm@gnu.org>
13822
13823 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13824 the scope.
13825
13826 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13827
13828 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13829 Really use previous revision.
13830
13831 2009-11-25 Kevin Ryde <user42@zip.com.au>
13832
13833 * man.el (Man-completion-table): default-directory "/" in case
13834 doesn't otherwise exist. process-environment COLUMNS=999 so as
13835 not to truncate long names. process-connection-type pipe to avoid
13836 any chance of hitting the pseudo-tty TIOCGWINSZ.
13837 (man): completion-ignore-case t for friendliness and since man
13838 itself is case-insensitive on the command line.
13839 Further to Bug#3717.
13840
13841 * arc-mode.el: Add "Keywords: files", so the details in its
13842 commentary can be reached from finder-by-keyword.
13843 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13844 editing mode, but it's comms related and sgml-mode.el has "comm"
13845 on that basis too.
13846 * textmodes/bibtex-style.el: Add "Keywords: tex".
13847 * international/isearch-x.el, international/ja-dic-cnv.el:
13848 * international/ja-dic-utl.el, international/kkc.el:
13849 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13850
13851 2009-11-25 Juri Linkov <juri@jurta.org>
13852
13853 * man.el (Man-completion-table): Modify regexp to include
13854 section names to completion strings. (Bug#3717)
13855
13856 2009-11-25 Juri Linkov <juri@jurta.org>
13857
13858 Search recursively in gzipped files. (Bug#4982)
13859
13860 * progmodes/grep.el (grep-highlight-matches): Add new options
13861 `always' and `auto'. Doc fix.
13862 (grep-process-setup): Check `grep-highlight-matches' for
13863 `auto-detect' to determine the need to compute grep defaults.
13864 Move Windows/DOS specific --colors settings handling
13865 to `grep-compute-defaults'. Check `grep-highlight-matches'
13866 to get the value of "--color=".
13867 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13868 has the value `auto-detect'. Move Windows/DOS specific settings
13869 from `grep-process-setup'.
13870 (zrgrep): New command with alias `rzgrep'.
13871
13872 2009-11-25 Juri Linkov <juri@jurta.org>
13873
13874 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13875 to nil instead of switching off view-mode. (Bug#4896)
13876
13877 2009-11-25 Juri Linkov <juri@jurta.org>
13878
13879 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13880
13881 * mwheel.el (mwheel-scroll-up-function)
13882 (mwheel-scroll-down-function): New defvars.
13883 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13884 `scroll-up', and `mwheel-scroll-down-function' instead of
13885 `scroll-down'.
13886
13887 * doc-view.el (doc-view-scroll-up-or-next-page)
13888 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13889 Use this ARG in the call to image-scroll-up/image-scroll-down.
13890 Change `interactive' spec to "P". Goto next/previous page only
13891 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13892 SPC/DEL case). Doc fix.
13893 (doc-view-next-line-or-next-page)
13894 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13895 for consistency.
13896 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13897 `doc-view-scroll-up-or-next-page', and buffer-local
13898 `mwheel-scroll-down-function' to
13899 `doc-view-scroll-down-or-previous-page'.
13900
13901 2009-11-25 Juri Linkov <juri@jurta.org>
13902
13903 Provide additional default values (directories at other Dired
13904 windows) via M-n in the minibuffer of some Dired commands.
13905
13906 * dired-aux.el (dired-diff, dired-compare-directories)
13907 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13908 `minibuffer-default' in `minibuffer-with-setup-hook'.
13909 (dired-dwim-target-directory): Find a window that displays Dired
13910 buffer instead of failing when the next window is not Dired.
13911 Use `get-window-with-predicate' to find for the next Dired window.
13912 (dired-dwim-target-defaults): New function.
13913
13914 * ediff-util.el (ediff-read-file-name):
13915 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13916 in `minibuffer-with-setup-hook'.
13917
13918 2009-11-25 Juri Linkov <juri@jurta.org>
13919
13920 Provide additional default values (file name at point or at the
13921 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13922
13923 * minibuffer.el (read-file-name-defaults): New function.
13924 (read-file-name): Reset `minibuffer-default' to nil when
13925 it duplicates initial input `insdef'.
13926 Bind `minibuffer-default-add-function' to lambda that
13927 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13928 (minibuffer-insert-file-name-at-point): New command.
13929
13930 * files.el (file-name-at-point-functions): New defcustom.
13931 (find-file-default): Remove defvar.
13932 (find-file-read-args): Don't use `find-file-default'.
13933 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13934 to `read-file-name'.
13935 (find-file-literally): Use `read-file-name' with
13936 `confirm-nonexistent-file-or-buffer'.
13937
13938 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13939
13940 * dired.el (dired-read-dir-and-switches):
13941 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13942 to `read-file-name'.
13943 (dired-file-name-at-point): New function.
13944 (dired-mode): Add hook `dired-file-name-at-point' to
13945 `file-name-at-point-functions'.
13946
13947 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13948
13949 Really make the *Completions* window soft-dedicated (bug#5030).
13950 * window.el (window--display-buffer-2): Add `dedicated' argument.
13951 (display-buffer): Pass it when needed so the dedicated flag is set
13952 after calling set-window-buffer, which would otherwise reset it.
13953
13954 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13955
13956 * progmodes/meta-mode.el (meta-complete-symbol):
13957 * progmodes/etags.el (complete-tag):
13958 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13959 Use completion-in-region.
13960
13961 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13962 (dabbrev-completion): Use completion-in-region.
13963 (dabbrev--abbrev-at-point): Simplify regexp.
13964
13965 * abbrev.el (abbrev--before-point): Use word-motion functions
13966 if :regexp is not specified (bug#5031).
13967
13968 * subr.el (string-prefix-p): New function.
13969
13970 * man.el (Man-completion-cache): New var.
13971 (Man-completion-table): Use it.
13972
13973 * vc.el (vc-print-log-internal): Make `limit' optional for better
13974 compatibility (e.g. with vc-annotate.el).
13975
13976 2009-11-24 Kevin Ryde <user42@zip.com.au>
13977
13978 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13979 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13980
13981 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13982 when .el source file not found or other error.
13983
13984 2009-11-24 Markus Triska <markus.triska@gmx.at>
13985
13986 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13987
13988 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 Handle the [back] button properly (bug#4979).
13991 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13992 Use help-setup-xref, help-buffer, and with-help-window.
13993 (describe-char): Add `buffer' argument.
13994 Pass proper command to help-setup-xref. Don't meddle with
13995 help-xref-stack-item directly.
13996 (describe-text-category): Use with-help-window and help-buffer.
13997
13998 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13999 for the displayed buffer (bug#4887).
14000
14001 * man.el (Man-completion-table): New function.
14002 (man): Use it.
14003
14004 2009-11-24 David Reitter <david.reitter@gmail.com>
14005
14006 * vc-git.el (vc-git-registered): Use checkout directory (where
14007 .git is) rather than the file's directory and a relative path spec
14008 to work around a bug in git.
14009
14010 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14011
14012 Improve handling of processes on remote hosts.
14013
14014 * eshell/esh-util.el (eshell-path-env): New defvar.
14015 (eshell-parse-colon-path): New defun.
14016 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14017
14018 * eshell/esh-ext.el (eshell-search-path):
14019 Use `eshell-parse-colon-path'.
14020 (eshell-remote-command): Remove argument HANDLER.
14021 (eshell-external-command): Check for FTP remote connection.
14022
14023 * eshell/esh-proc.el (eshell-gather-process-output):
14024 Use `file-truename', in order to start also symlinked files.
14025 Apply `start-file-process' instead of `start-process'.
14026 Shorten `command' to the local file name part.
14027
14028 * eshell/em-cmpl.el (eshell-complete-commands-list):
14029 Use `eshell-parse-colon-path'.
14030
14031 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14032
14033 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14034 to `eshell-directory-change-hook'.
14035
14036 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14037
14038 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14039 because it could be enabled automatically if view-read-only is non-nil.
14040
14041 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14042
14043 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14044 made on 2009-11-22.
14045
14046 2009-11-24 Glenn Morris <rgm@gnu.org>
14047
14048 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14049 deleted variable bookmark-bmenu-bookmark-column.
14050
14051 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14052
14053 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14054
14055 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14056
14057 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14058 two slashes to the "file:" prefix.
14059 (browse-url-file-url): De-munge Cygwin filenames before passing
14060 them to Windows browser.
14061 (browse-url-default-windows-browser): Use call-process.
14062
14063 2009-11-23 Juri Linkov <juri@jurta.org>
14064
14065 Implement DocView Continuous mode. (Bug#4896)
14066 * doc-view.el (doc-view-continuous-mode): New defcustom.
14067 (doc-view-mode-map): Bind C-n/<down> to
14068 `doc-view-next-line-or-next-page', C-p/<up> to
14069 `doc-view-previous-line-or-previous-page'.
14070 (doc-view-next-line-or-next-page)
14071 (doc-view-previous-line-or-previous-page): New commands.
14072
14073 2009-11-23 Juri Linkov <juri@jurta.org>
14074
14075 Implement Isearch in comint input history. (Bug#3746)
14076 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14077 `isearch-mode-hook'.
14078 (comint-history-isearch): New defcustom.
14079 (comint-history-isearch-backward)
14080 (comint-history-isearch-backward-regexp): New commands.
14081 (comint-history-isearch-message-overlay): New buffer-local variable.
14082 (comint-history-isearch-setup, comint-history-isearch-end)
14083 (comint-goto-input, comint-history-isearch-search)
14084 (comint-history-isearch-message, comint-history-isearch-wrap)
14085 (comint-history-isearch-push-state)
14086 (comint-history-isearch-pop-state): New functions.
14087
14088 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14089
14090 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14091 return.
14092 (tramp-handle-make-symbolic-link)
14093 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14094 Quote file names.
14095 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14096 (tramp-handle-process-file): Use it.
14097
14098 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14099
14100 * window.el (move-to-window-line-last-op): Remove.
14101 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14102
14103 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14104
14105 Make M-r mirror the new cycling behavior of C-l.
14106 * window.el (move-to-window-line-last-op): New var.
14107 (move-to-window-line-top-bottom): New command.
14108 (global-map): Bind M-r move-to-window-line-top-bottom.
14109
14110 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14111
14112 * dired-x.el (dired-guess-shell-alist-default):
14113 Support xz format. (Bug#4953)
14114
14115 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14116
14117 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14118 last-command-char/last-command-event.
14119 (viper-prefix-arg-value): Do correct conversion of event-char for
14120 XEmacs.
14121
14122 * emulation/viper-util.el, emulation/viper.el:
14123 Use viper-last-command-char instead of
14124 last-command-char/last-command-event.
14125
14126 * ediff-init.el, ediff-mult.el, ediff-util.el:
14127 Replace last-command-char and last-command-event
14128 with (ediff-last-command-char) everywhere.
14129
14130 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14131 created in fundamental mode.
14132
14133 * ediff.el (ediff-version): Revert the change of interactive-p to
14134 called-interactively-p.
14135
14136 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14137
14138 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14139 generation from word-movement command names.
14140
14141 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14142
14143 * cus-start.el (all): Add native condition for font-use-system-font.
14144
14145 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14146
14147 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14148 Correct the patch from 2009-11-18. (Bug#3910)
14149
14150 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14151
14152 * progmodes/subword.el: Rename from lisp/subword.el.
14153
14154 * subword.el: Rename to progmodes/subword.el.
14155
14156 * Makefile.in (ELCFILES): Adapt to subword.el move.
14157
14158 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14159 Stefan Monnier <monnier@iro.umontreal.ca>
14160
14161 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14162 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14163 (bookmark-bmenu-show-filenames): Use push.
14164 (bookmark-bmenu-hide-filenames): Use local var instead of
14165 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14166 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14167 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14168 filenames now that the bookmark names are always available.
14169
14170 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14171
14172 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14173 (bookmark-search-pattern): Move and leave unbound.
14174 (bookmark-bmenu-mode-map): Change binding.
14175 (bookmark-read-search-input): Simplify.
14176 Don't use text-char-description. Don't error on non-char events.
14177 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14178 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14179 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14180 Use a local var for the timer.
14181 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14182 (i.e. bookmark-bmenu-search).
14183
14184 2009-11-21 Glenn Morris <rgm@gnu.org>
14185
14186 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14187
14188 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14189
14190 * net/browse-url.el (browse-url-default-windows-browser):
14191 Use cygstart for cygwin.
14192
14193 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14194
14195 * bookmark.el: Formatting and doc fixes only:
14196 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14197 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14198 Minor grammar and punctuation fixes in doc string.
14199 (bookmark-read-search-input): Adjust to fit within 80 columns.
14200
14201 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14202
14203 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14204 (c-backward-into-nomenclature): Adapt to subword renaming.
14205
14206 * subword.el (subword-forward, subword-backward, subword-mark)
14207 (subword-kill, subword-backward-kill, subword-transpose)
14208 (subword-downcase, subword-upcase, subword-capitalize)
14209 (subword-forward-internal, subword-backward-internal):
14210 Rename from forward-subword, backward-subword, mark-subword,
14211 kill-subword, backward-kill-subword, transpose-subwords,
14212 downcase-subword, upcase-subword, capitalize-subword,
14213 forward-subword-internal, backward-subword-internal.
14214
14215 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14216
14217 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14218 New options.
14219 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14220 New vars.
14221 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14222 (bookmark-bmenu-filter-alist-by-regexp)
14223 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14224 (bookmark-bmenu-search): New command.
14225 (bookmark-bmenu-mode-map): Bind it.
14226
14227 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14228
14229 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14230 backward-subword to quit the byte-compiler.
14231
14232 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14233
14234 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14235
14236 * progmodes/cc-cmds.el (c-update-modeline)
14237 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14238 Refer to subword.el functions instead of cc-subword.el.
14239
14240 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14241 subword.el functions instead of cc-subword.el.
14242
14243 * progmodes/cc-subword.el: Rename to subword.el.
14244 * subword.el: Rename from progmodes/cc-subword.el.
14245 (subword-mode-map): Rename from c-subword-mode-map.
14246 (subword-mode): Rename from c-subword-mode.
14247 (global-subword-mode): New global minor mode.
14248 (forward-subword): Rename from c-forward-subword.
14249 (backward-subword): Rename from c-backward-subword.
14250 (mark-subword): Rename from c-mark-subword.
14251 (kill-subword): Rename from c-kill-subword.
14252 (backward-kill-subword): Rename from c-backward-kill-subword.
14253 (transpose-subwords): Rename from c-tranpose-subword.
14254 (downcase-subword): Rename from c-downcase-subword.
14255 (capitalize-subword): Rename from c-capitalize-subword.
14256 (forward-subword-internal): Rename from c-forward-subword-internal.
14257 (backward-subword-internal): Rename from c-backward-subword-internal.
14258
14259 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14260
14261 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14262 from a dired buffer.
14263 (vc-dired-deduce-fileset): New function.
14264 (vc-root-diff, vc-print-root-log): Use it.
14265
14266 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14267 nil LIMIT argument to vc-print-log-internal.
14268
14269 2009-11-20 Glenn Morris <rgm@gnu.org>
14270
14271 * Makefile.in (ELCFILES): Regenerate.
14272
14273 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14274
14275 * calc/calc.el (calc-set-mode-line):
14276 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14277 (math-format-number): Rename `math-format-complement-signed' to
14278 `math-format-twos-complement'.
14279
14280 * calc/calc-bin.el (math-format-twos-complement): Rename from
14281 math-format-complement-signed.
14282 (calc-radix): Rename `calc-complement-signed-mode' to
14283 `calc-twos-complement-mode'.
14284 (calc-octal-radix, calc-hex-radix): Add an argument for
14285 two's complement.
14286
14287 * calc/calc-embed.el (calc-embedded-mode-vars):
14288 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14289
14290 * calc/calc-ext.el (calc-init-extensions):
14291 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14292 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14293
14294 * calc/calc-units.el (math-build-units-table-buffer):
14295 Let `calc-twos-complement-mode' be nil.
14296
14297 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14298 entries.
14299
14300 * calc/calc-vec.el (calcFunc-vunpack):
14301 * calc/calc-aent.el (calc-do-calc-eval):
14302 * calc/calc-forms.el (math-format-date):
14303 * calc/calc-graph.el (calc-graph-plot):
14304 * calc/calc-math.el (math-use-emacs-fn):
14305 * calc/calccomp.el (math-compose-expr):
14306 Let `calc-twos-complement-mode' be nil.
14307
14308 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14309
14310 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14311 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14312 * minibuffer.el (completion-in-region-functions): New hook.
14313 (completion-in-region): New function.
14314 * emacs-lisp/lisp.el (lisp-complete-symbol):
14315 * pcomplete.el (pcomplete-std-complete): Use it.
14316
14317 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14318
14319 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14320 (latex-complete-alist): New vars.
14321 (latex-string-prefix-p, latex-complete-bibtex-keys)
14322 (latex-complete-envnames, latex-complete-refkeys)
14323 (latex-complete-data): New functions.
14324 (latex-complete, latex-indent-or-complete): New commands.
14325
14326 * window.el (display-buffer-mark-dedicated): New var.
14327 (display-buffer): Obey it.
14328 * minibuffer.el (minibuffer-completion-help): Use it.
14329
14330 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14331
14332 * filecache.el (file-cache-add-file): Use push and cons.
14333 (file-cache-delete-file-regexp): Use push.
14334 (file-cache-complete): Use completion-in-region.
14335
14336 * simple.el (with-wrapper-hook): Fix thinko.
14337
14338 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14339 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14340 Use with-current-buffer and string-to-number.
14341 (hfy-fallback-colour-values): Use assoc-string.
14342 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14343 (hfy-face-at): Remove unused var `found-face'.
14344 (hfy-compile-stylesheet): Remove unused var `css'.
14345 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14346 and `orig-buffer'.
14347 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14348 Use with-current-buffer.
14349 (hfy-text-p): Use expand-file-name and fewer setq.
14350
14351 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14352
14353 * htmlfontify.el, hfy-cmap.el: New files.
14354
14355 2009-11-19 Juri Linkov <juri@jurta.org>
14356
14357 * minibuffer.el (completions-format): New defcustom.
14358 (completion--insert-strings): Implement vertical format.
14359
14360 * simple.el (switch-to-completions): Move point to the first
14361 completion when point was at the beginning of the buffer.
14362
14363 2009-11-19 Juri Linkov <juri@jurta.org>
14364
14365 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14366
14367 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14368
14369 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14370
14371 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14372 (mail-signature): Change default to t.
14373 (mail-from-style): Deprecate `system-default' value.
14374 (mail-insert-from-field): For default value of mail-from-style,
14375 default to `angles' unless `angles' needs quoting and `parens'
14376 does not.
14377 (mail-citation-prefix-regexp): Use citation regexp from
14378 message-mode.
14379
14380 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14381
14382 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14383 Set variables for computing the prompt for reading password.
14384
14385 2009-11-19 Glenn Morris <rgm@gnu.org>
14386
14387 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14388
14389 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14390
14391 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14392 (newsticker-treeview-listwindow-height): Fix custom type.
14393
14394 2009-11-19 Kenichi Handa <handa@m17n.org>
14395
14396 * descr-text.el (describe-char-padded-string): Compose with TAB
14397 only if there's a font for CH.
14398 (describe-char): Fix the condition for detecting a trivial composition.
14399
14400 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14401
14402 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14403 more accurate version of the regexp. (Bug#3910)
14404
14405 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14406
14407 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14408
14409 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14410
14411 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14412 (font-setting-change-default-font): Fix typo in docstring.
14413
14414 2009-11-18 Alan Mackenzie <acm@muc.de>
14415
14416 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14417
14418 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14419
14420 * font-setting.el (font-use-system-font): Move ...
14421
14422 * cus-start.el (all): ... to here.
14423
14424 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14425
14426 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14427 Don't set `ad-return-value' if `ad-do-it' doesn't.
14428
14429 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14430 modification time.
14431
14432 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14433
14434 * menu-bar.el: Put "Use system font" in Option-menu.
14435 (menu-bar-options-save): Add font-use-system-font.
14436
14437 * loadup.el: If feature system-font-setting or font-render-setting is
14438 there, load font-setting.
14439
14440 * Makefile.in (ELCFILES): Add font-settings.el.
14441 * font-setting.el: New file.
14442
14443 2009-11-17 Glenn Morris <rgm@gnu.org>
14444
14445 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14446
14447 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14448 Preserve point in the list buffer. (Bug#4939)
14449 Use point-at-eol.
14450 (newsticker--treeview-list-update-highlight)
14451 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14452
14453 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14454
14455 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14456 Remove.
14457
14458 * calc/calc-ext.el (calc-init-extensions): Remove references to
14459 symclip.
14460
14461 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14462
14463 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14464 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14465 `calc-symclip'.
14466
14467 2009-11-16 Kevin Ryde <user42@zip.com.au>
14468
14469 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14470 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14471
14472 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14473 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14474 Ignore trailing spaces by omit-nulls to split-string (fixing
14475 regression from Emacs 21 due to the incompatible split-string
14476 change). (Bug #4928.)
14477
14478 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14479
14480 * vc.el (vc-log-show-limit): Default to 2000.
14481 (vc-print-log-internal): Insert buttons to request more entries
14482 when limiting the output.
14483
14484 * vc-sccs.el (vc-sccs-print-log):
14485 * vc-rcs.el (vc-rcs-print-log):
14486 * vc-cvs.el (vc-cvs-print-log):
14487 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14488 LIMIT is non-nil.
14489
14490 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14491
14492 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14493 error when `tramp-gvfs-dbus-event-vector' is set.
14494 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14495
14496 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14497
14498 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14499
14500 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14501
14502 * net/dbus.el (dbus-unregister-service): New defun.
14503 (dbus-register-property): Register the handlers of
14504 "org.freedesktop.DBus.Properties" for SERVICE.
14505 (dbus-property-handler): Fix docstring.
14506
14507 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14508
14509 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14510 Quote doc string reference in defvaralias as it is not in special form.
14511 (byte-compile-output-docform): Doc fix.
14512
14513 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14514
14515 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14516 (calc-complement-signed-mode): New variables.
14517 (calc-set-mode-line): Add indicator for twos-complements.
14518 (math-format-number): Format twos-complement notation.
14519
14520 * calc/calc-bin.el (calc-word-size): Reset the variables
14521 `math-2-word-size' and `math-half-2-word-size'.
14522 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14523 (calc-symclip): New functions.
14524
14525 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14526
14527 * calc/calc-embed.el (calc-embedded-mode-vars):
14528 Add `calc-complement-signed-mode' to the list of modes.
14529
14530 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14531 (calc-b-oper-keys): Add `calc-symclip' to list.
14532
14533 * calc/calc-ext.el (math-read-number-fancy): Read complement
14534 signed numbers.
14535 (calc-init-extensions): Add binding for `calc-symclip'.
14536 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14537
14538 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14539 `calc-symclip'.
14540 (calc-modes-menu): Add item for twos complement mode.
14541
14542 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14543
14544 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14545
14546 * register.el (jump-to-register, insert-register): Handle Semantic
14547 tags. From commented-out advice in semantic/senator.el.
14548
14549 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14550
14551 * vc.el (vc-log-show-limit): New variable.
14552 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14553 when using a prefix argument.
14554 (vc-print-log-internal): Add new argument LIMIT.
14555
14556 * vc-svn.el (vc-svn-print-log):
14557 * vc-mtn.el (vc-mtn-print-log):
14558 * vc-hg.el (vc-hg-print-log):
14559 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14560 pass it to the log command when set. Make the BUFFER argument
14561 non-optional.
14562
14563 * vc-sccs.el (vc-sccs-print-log):
14564 * vc-rcs.el (vc-rcs-print-log):
14565 * vc-git.el (vc-git-print-log):
14566 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14567 ignore it. Make the BUFFER argument non-optional
14568
14569 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14570
14571 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14572
14573 * dired.el (dired-mode-map): Move encryption items to "Operate"
14574 menu (Bug#4703).
14575
14576 * strokes.el (strokes-update-window-configuration): Make strokes
14577 buffer current before erasing (Bug#4906).
14578
14579 2009-11-15 Juri Linkov <juri@jurta.org>
14580
14581 * simple.el (set-mark-default-inactive): Add :type, :group
14582 and :version. (Bug#4876)
14583
14584 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14585
14586 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14587 (archive-unique-fname): ... here. (Bug#4929)
14588
14589 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14590
14591 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14592 with a real fix.
14593
14594 * novice.el (disabled-command-function): Add useful args.
14595 Setup the help buffer so that [back] works.
14596 Remove redundant call to help-mode.
14597 (disabled-command-function): Use `case'.
14598 (en/disable-command): New function extracted from enable-command.
14599 (enable-command, disable-command): Use it.
14600
14601 2009-11-14 Glenn Morris <rgm@gnu.org>
14602
14603 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14604 constants. (Bug#4913)
14605
14606 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14607
14608 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14609
14610 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14611 defined in C that have no doc-strings. (Bug#1063)
14612
14613 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14614
14615 * cus-edit.el (data, files):
14616 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14617
14618 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14619
14620 * simple.el (shell-command): Doc fix (Bug#4891).
14621
14622 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14623
14624 2009-11-14 Glenn Morris <rgm@gnu.org>
14625
14626 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14627 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14628 If they are already loaded, eval-after-load will do the right thing.
14629
14630 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14631 compiling.
14632
14633 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14634
14635 * simple.el (x-selection-owner-p): Declare.
14636 (read-mail-command): Use custom radio type rather than choice.
14637 (completion-no-auto-exit): Doc fix.
14638
14639 * custom.el (defgroup):
14640 * epg-config.el (epg): Doc fixes.
14641
14642 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14643
14644 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14645 * international/ccl.el (define-ccl-program): Do not purecopy the
14646 docstring, defconst does it anyway.
14647
14648 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14649
14650 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14651 a second time.
14652
14653 * x-dnd.el (x-dnd-maybe-call-test-function):
14654 * window.el (split-window-vertically):
14655 * whitespace.el (whitespace-help-on):
14656 * vc-rcs.el (vc-rcs-consult-headers):
14657 * userlock.el (ask-user-about-lock-help)
14658 (ask-user-about-supersession-help):
14659 * type-break.el (type-break-force-mode-line-update):
14660 * time-stamp.el (time-stamp-conv-warn):
14661 * terminal.el (te-set-output-log, te-more-break, te-filter)
14662 (te-sentinel, terminal-emulator):
14663 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14664 (term-write-input-ring, term-check-source, term-start-output-log):
14665 (term-display-buffer-line, term-dynamic-list-completions):
14666 (term-ansi-make-term, serial-term):
14667 * subr.el (selective-display):
14668 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14669 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14670 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14671 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14672 (speedbar-remove-localized-speedbar-support)
14673 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14674 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14675 (speedbar-buffers-line-directory):
14676 * simple.el (shell-command-on-region, append-to-buffer)
14677 (prepend-to-buffer):
14678 * shadowfile.el (shadow-save-todo-file):
14679 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14680 (scroll-bar-maybe-set-window-start):
14681 * sb-image.el (speedbar-image-dump):
14682 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14683 (load-save-place-alist-from-file):
14684 * ps-samp.el (ps-print-message-from-summary):
14685 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14686 (ps-background-image, ps-begin-job, ps-do-despool):
14687 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14688 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14689 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14690 (pr-call-process, pr-file-list, pr-interface-save):
14691 * novice.el (disabled-command-function)
14692 (enable-command, disable-command):
14693 * mouse.el (mouse-buffer-menu-alist):
14694 * mouse-copy.el (mouse-kill-preserving-secondary):
14695 * macros.el (kbd-macro-query):
14696 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14697 * informat.el (batch-info-validate):
14698 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14699 * hippie-exp.el (try-expand-dabbrev-visible):
14700 * help-mode.el (help-make-xrefs):
14701 * help-fns.el (describe-variable):
14702 * generic-x.el (bat-generic-mode-run-as-comint):
14703 * finder.el (finder-mouse-select):
14704 * find-dired.el (find-dired-sentinel):
14705 * filesets.el (filesets-file-close):
14706 * files.el (list-directory):
14707 * faces.el (list-faces-display, describe-face):
14708 * facemenu.el (list-colors-display):
14709 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14710 * epg.el (epg--process-filter, epg-cancel):
14711 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14712 (epa--read-signature-type):
14713 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14714 (emerge-file-names):
14715 * ehelp.el (electric-helpify):
14716 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14717 * ediff-vers.el (rcs-ediff-view-revision):
14718 * ediff-util.el (ediff-setup):
14719 * ediff-mult.el (ediff-append-custom-diff):
14720 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14721 (ediff-wordify):
14722 * echistory.el (Electric-command-history-redo-expression):
14723 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14724 * disp-table.el (describe-display-table):
14725 * dired.el (dired-find-buffer-nocreate):
14726 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14727 * dabbrev.el (dabbrev--same-major-mode-p):
14728 * chistory.el (list-command-history):
14729 * apropos.el (apropos-documentation):
14730 * allout.el (allout-obtain-passphrase):
14731 (allout-copy-exposed-to-buffer):
14732 (allout-verify-passphrase): Use with-current-buffer.
14733
14734 2009-11-13 Glenn Morris <rgm@gnu.org>
14735
14736 * Makefile.in (ELCFILES): Regenerate.
14737
14738 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14739
14740 * net/dbus.el (dbus-registered-objects-table): Rename from
14741 `dbus-registered-functions-table', because it contains also properties.
14742 (dbus-unregister-object): Unregister also properties.
14743 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14744 Use a timeout of 500 msec, in order to not block.
14745 (dbus-register-property, dbus-property-handler): New defuns.
14746
14747 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14748
14749 * simple.el (minibuffer-default-add-completions): Drop deprecated
14750 4th arg.
14751
14752 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14753
14754 * textmodes/artist.el (artist-mouse-choose-operation):
14755 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14756 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14757 (artist-compute-up-event-key): New function.
14758 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14759
14760 2009-11-13 Kenichi Handa <handa@m17n.org>
14761
14762 * language/japan-util.el: Make sure that the value of jisx0208
14763 property is jisx0208 character.
14764
14765 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14766
14767 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14768 car or each item, not the whole list.
14769
14770 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14771
14772 * minibuffer.el (minibuffer-completion-help):
14773 Use minibuffer-hide-completions.
14774
14775 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14776
14777 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14778 (dired-revert): Use them (bug#4880).
14779
14780 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14781
14782 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14783
14784 2009-11-12 Juri Linkov <juri@jurta.org>
14785
14786 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14787 New functions.
14788 (find-file-literally-at-point): Alias of `ffap-literally'.
14789
14790 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14791
14792 * textmodes/ispell.el (ispell-skip-region-alist):
14793 * textmodes/css-mode.el (auto-mode-alist):
14794 * progmodes/compile.el (auto-mode-alist):
14795 * international/mule.el (ctext-non-standard-encodings-alist)
14796 (ctext-non-standard-encodings-regexp):
14797 * simple.el (shell-command-switch, text-read-only):
14798 * replace.el (occur-mode-map):
14799 * paths.el (rmail-file-name):
14800 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14801 * find-file.el (ff-special-constructs):
14802 * files.el (file-name-handler-alist):
14803 * composite.el: Purecopy strings.
14804
14805 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14806
14807 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14808
14809 * widget.el (define-widget): Purecopy the docstring.
14810 * international/mule-cmds.el (charset): Do not purecopy the
14811 docstring here, define-widget does it.
14812
14813 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14814 * textmodes/bibtex-style.el (auto-mode-alist):
14815 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14816 * progmodes/compile.el (compile-command):
14817 * language/korea-util.el (default-korean-keyboard):
14818 * international/mule-conf.el (file-coding-system-alist):
14819 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14820 * tooltip.el (tooltip-frame-parameters):
14821 * newcomment.el (comment-end, comment-padding):
14822 * dired.el (dired-trivial-filenames):
14823 * comint.el (comint-file-name-prefix): Purecopy initial values.
14824
14825 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14826
14827 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14828 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14829 `tramp-unload'.
14830 (tramp-advice-make-auto-save-file-name)
14831 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14832 after removing the advice.
14833
14834 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14835
14836 * progmodes/grep.el (grep-regexp-alist):
14837 * international/mule-cmds.el (iso-2022-control-alist):
14838 * emacs-lisp/timer.el (timer-duration-words):
14839 * subr.el (version-separator, version-regexp-alist):
14840 * minibuffer.el (completion-styles-alist):
14841 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14842 Change defvars to defconsts.
14843
14844 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14845 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14846 * international/mule-conf.el: Allow to be byte compiled.
14847
14848 * international/mule.el (define-charset): Purecopy props.
14849 (load-with-code-conversion): Purecopy doc string and file name.
14850 (put-charset-property): Purecopy strings.
14851 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14852
14853 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14854 (define-char-code-property): Correctly purecopy the table.
14855
14856 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14857
14858 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14859
14860 * subr.el (add-hook): Purecopy strings.
14861 (eval-after-load): Purecopy load-history-regexp and the form.
14862
14863 * custom.el (custom-declare-group): Purecopy load-file-name.
14864
14865 * subr.el (menu-bar-separator): New defconst.
14866 * net/eudc.el (eudc-tools-menu):
14867 * international/mule-cmds.el (set-coding-system-map)
14868 (mule-menu-keymap):
14869 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14870 * vc-hooks.el (vc-menu-map):
14871 * replace.el (occur-mode-map):
14872 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14873 (menu-bar-edit-menu, menu-bar-goto-menu)
14874 (menu-bar-custom-menu, menu-bar-showhide-menu)
14875 (menu-bar-options-menu, menu-bar-tools-menu)
14876 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14877 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14878 (menu-bar-help-menu):
14879 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14880 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14881
14882 * term/x-win.el (x-gtk-stock-map):
14883 * progmodes/vera-mode.el (auto-mode-alist):
14884 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14885 (inferior-lisp-program, inferior-lisp-load-command):
14886 * progmodes/hideshow.el (hs-special-modes-alist):
14887 * progmodes/gud.el (same-window-regexps):
14888 * progmodes/grep.el (grep-program, find-program, xargs-program):
14889 * net/telnet.el (same-window-regexps):
14890 * net/rlogin.el (same-window-regexps):
14891 * language/ethiopic.el (font-ccl-encoder-alist):
14892 * vc-sccs.el (vc-sccs-master-templates):
14893 * vc-rcs.el (vc-rcs-master-templates):
14894 * subr.el (cl-assertion-failed):
14895 * simple.el (next-error-overlay-arrow-position):
14896 * lpr.el (lpr-command):
14897 * locate.el (locate-ls-subdir-switches):
14898 * info.el (same-window-regexps, info)
14899 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14900 * image-mode.el (image-mode, auto-mode-alist):
14901 * hippie-exp.el (hippie-expand-ignore-buffers):
14902 * format.el (format-alist):
14903 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14904 (find-name-arg):
14905 * facemenu.el (facemenu-keybindings):
14906 * dired.el (dired-listing-switches, dired-chown-program):
14907 * diff.el (diff-switches, diff-command):
14908 * cus-edit.el (same-window-regexps):
14909 * bindings.el (mode-line-mule-info)
14910 (mode-line-buffer-identification): Purecopy strings.
14911
14912 2009-11-11 Juri Linkov <juri@jurta.org>
14913
14914 * simple.el (dired-get-filename) <declare-function>:
14915 Tell the byte-compiler about dired-get-filename.
14916 (shell-command): In Dired mode, get filename from the current line
14917 as the default value.
14918
14919 2009-11-10 Glenn Morris <rgm@gnu.org>
14920
14921 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14922 * calendar/holidays.el, progmodes/cperl-mode.el:
14923 Update x-popup-menu declarations.
14924
14925 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14926 (list-load-path-shadows): Use dolist.
14927 (list-load-path-shadows): Use with-current-buffer.
14928
14929 2009-11-10 Juri Linkov <juri@jurta.org>
14930
14931 * minibuffer.el (read-file-name): Support a list of default values
14932 in `default-filename'. Use the first file name where only one
14933 element is required. Doc fix.
14934
14935 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14936
14937 * net/dbus.el (dbus-unregister-object): Release service, if no
14938 other method is registered for it.
14939
14940 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14941
14942 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14943 bookmark-sort-flag is non-nil (Bug#4653).
14944
14945 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14946
14947 * emulation/cua-base.el: Add CUA property to some CC mode commands
14948 (Bug#4100).
14949
14950 2009-11-08 Kevin Ryde <user42@zip.com.au>
14951
14952 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14953 at end of sentence (Bug#4818).
14954
14955 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14956
14957 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14958 Handle "see declaration of" MSFT statements (Bug#4100).
14959
14960 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14961
14962 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14963 (tramp-advice-file-expand-wildcards): Unload via
14964 `ad-remove-advice'.
14965
14966 * net/trampver.el: Update release number.
14967
14968 2009-11-08 Kevin Ryde <user42@zip.com.au>
14969
14970 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14971 `ad-do-it'.
14972
14973 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14974
14975 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14976 in order to keep context in SELinux.
14977
14978 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14979
14980 * dired-aux.el (dired-query): Place cursor in echo area and allow
14981 C-g.
14982
14983 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14984 menu item if not on a directory (Bug#4701).
14985
14986 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14987
14988 Sync with Tramp 2.1.17.
14989
14990 * net/tramp.el (tramp-handle-copy-directory): Don't use
14991 `file-remote-p' (due to compatibility).
14992
14993 * net/tramp-compat.el (tramp-compat-copy-directory)
14994 (tramp-compat-delete-directory): New defuns.
14995
14996 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14997 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14998 Use `tramp-compat-delete-directory'.
14999
15000 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15001 (tramp-smb-handle-delete-directory):
15002 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15003
15004 * net/trampver.el: Update release number.
15005
15006 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15007
15008 * tar-mode.el (tar-copy): Call write-region on the right buffer
15009 (Bug#4857).
15010
15011 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15012 by hand, if necessary (Bug#4878).
15013
15014 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15015
15016 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15017 align size column (Bug#4839).
15018
15019 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15020 statement.
15021
15022 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15023
15024 * progmodes/ld-script.el (auto-mode-alist):
15025 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15026
15027 * cus-face.el (custom-declare-face): Purecopy face spec.
15028
15029 2009-11-06 Kenichi Handa <handa@m17n.org>
15030
15031 * international/uni-bidi.el: Re-generated.
15032 * international/uni-category.el: Re-generated.
15033 * international/uni-combining.el: Re-generated.
15034 * international/uni-mirrored.el: Re-generated.
15035
15036 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15037
15038 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15039 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15040 (tex-start-options, slitex-run-command, latex-run-command)
15041 (tex-run-command, tex-directory):
15042 * textmodes/ispell.el (ispell-html-skip-alists)
15043 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15044 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15045 (adaptive-fill-regexp):
15046 * textmodes/dns-mode.el (auto-mode-alist):
15047 * progmodes/python.el (interpreter-mode-alist):
15048 * progmodes/etags.el (tags-compression-info-list):
15049 * progmodes/etags.el (tags-file-name):
15050 * net/browse-url.el (browse-url-galeon-program)
15051 (browse-url-firefox-program):
15052 * mail/sendmail.el (mail-signature-file)
15053 (mail-citation-prefix-regexp):
15054 * international/mule-conf.el (eight-bit):
15055 * international/latexenc.el (latex-inputenc-coding-alist):
15056 * international/fontset.el (x-pixel-size-width-font-regexp):
15057 * emacs-lisp/warnings.el (warning-type-format):
15058 * emacs-lisp/trace.el (trace-buffer):
15059 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15060 (emacs-lisp-mode-map):
15061 * calendar/holidays.el (holiday-solar-holidays)
15062 (holiday-bahai-holidays, holiday-islamic-holidays)
15063 (holiday-christian-holidays, holiday-hebrew-holidays)
15064 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15065 (hebrew-holidays-1, holiday-oriental-holidays)
15066 (holiday-general-holidays):
15067 * x-dnd.el (x-dnd-known-types):
15068 * tool-bar.el (tool-bar):
15069 * startup.el (site-run-file):
15070 * shell.el (shell-dumb-shell-regexp):
15071 * rfn-eshadow.el (file-name-shadow-tty-properties)
15072 (file-name-shadow-properties):
15073 * paths.el (remote-shell-program, news-directory):
15074 * mouse.el ([C-down-mouse-3]):
15075 * menu-bar.el (menu-bar-tools-menu):
15076 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15077 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15078 (jka-compr-compression-info-list):
15079 * isearch.el (search-whitespace-regexp):
15080 * image-file.el (image-file-name-extensions):
15081 * find-dired.el (find-ls-option):
15082 * files.el (directory-listing-before-filename-regexp)
15083 (directory-free-space-args, insert-directory-program)
15084 (list-directory-brief-switches, magic-fallback-mode-alist)
15085 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15086 (automount-dir-prefix):
15087 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15088 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15089 (face-font-registry-alternatives, face-font-registry-alternatives)
15090 (face-font-family-alternatives):
15091 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15092 (facemenu-foreground-menu, facemenu-face-menu):
15093 * epa-hook.el (epa-file-name-regexp):
15094 * dnd.el (dnd-protocol-alist):
15095 * textmodes/rst.el (auto-mode-alist):
15096 * button.el (default-button): Purecopy strings.
15097
15098 2009-11-06 Glenn Morris <rgm@gnu.org>
15099
15100 * Makefile.in (ELCFILES): Update.
15101
15102 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15103
15104 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15105 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15106
15107 * nxml/xsd-regexp.el (xsdre-gen-categories):
15108 * nxml/xmltok.el (xmltok-parse-entity):
15109 * nxml/rng-parse.el (rng-parse-validate-file):
15110 * nxml/rng-maint.el (rng-format-manual)
15111 (rng-manual-output-force-new-line):
15112 * nxml/rng-loc.el (rng-save-schema-location-1):
15113 * nxml/rng-cmpct.el (rng-c-parse-file):
15114 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15115 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15116
15117 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15118
15119 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15120 Remove extra save-excursions and make-variable-buffer-local's.
15121 Suggested by Stefan Monnier.
15122
15123 (verilog-getopt-file, verilog-module-inside-filename-p)
15124 (verilog-set-define): Merge GNU 1.35 and repair changes from
15125 switching to using with-current-buffer.
15126
15127 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15128 being treated as a number and confusing AUTORESET.
15129 Reported by Dan Dever.
15130
15131 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15132 Add verilog-auto-ignore-concat to fix backward compatibility with
15133 older verilog-modes. Reported by Dan Katz.
15134
15135 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15136 containing closing anchors "...$".
15137
15138 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15139 Reported by Wade Smith.
15140
15141 (verilog-batch-execute-func): Comment on function usage.
15142
15143 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15144
15145 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15146 for labels.
15147
15148 (verilog-label-re, verilog-calc-1): Support proper indent of named
15149 asserts.
15150
15151 (verilog-backward-token, verilog-basic-complete-re)
15152 (verilog-beg-of-statement, verilog-indent-re): Support proper
15153 indent of the assert statement at the beginning of a block of text.
15154
15155 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15156 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15157 tokens as begins.
15158
15159 2009-11-05 Glenn Morris <rgm@gnu.org>
15160
15161 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15162 Emacs 19. (Bug#1531)
15163 (byte-compile-fix-header): Update for the above change.
15164 Drop test for epoch::version.
15165
15166 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15167 * cus-dep.el (custom-make-dependencies):
15168 * finder.el (finder-compile-keywords):
15169 Use autoload-rubric's feature argument.
15170
15171 * calendar/diary-lib.el (top-level): Make load behave more like require.
15172
15173 * vc-git.el (vc-git-stash-map): Move definition before use.
15174
15175 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15176
15177 * custom.el (custom-declare-group): Purecopy standard-value.
15178 (custom-declare-group): Purecopy custom-prefix.
15179
15180 * international/mule.el (load-with-code-conversion):
15181 Call do-after-load-evaluation unconditionally.
15182
15183 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15184
15185 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15186
15187 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15188
15189 2009-11-04 Glenn Morris <rgm@gnu.org>
15190
15191 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15192 (byte-compile-compatibility): Remove option.
15193 (byte-compile-close-variables, byte-compile-fix-header)
15194 (byte-compile-insert-header, byte-compile-output-docform)
15195 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15196 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15197 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15198 (byte-compile-insert, byte-compile-defun):
15199 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15200 (byte-defop-compiler19): Remove.
15201 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15202 used by anything. Replace all calls with byte-defop-compiler.
15203
15204 2009-11-04 Juri Linkov <juri@jurta.org>
15205
15206 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15207 (menu-bar-options-menu): Don't quote the `prop' arg of
15208 `menu-bar-make-mm-toggle'.
15209
15210 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15211
15212 * calendar/calendar.el (cal-loaddefs):
15213 * calendar/diary-lib.el (diary-loaddefs):
15214 * calendar/holidays.el (hol-loaddefs):
15215 * eshell/esh-module.el (esh-groups): Load rather than require.
15216
15217 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15218
15219 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15220 point-min==1.
15221 (todo-top-priorities): Only display-buffer when called interactively.
15222 (todo-item-start): Don't save excursion point.
15223 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15224 (todo-insert-item-here, todo-file-item, todo-remove-item):
15225 Adjust uses of todo-item-start and todo-item-end.
15226
15227 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15228 (autoload-rubric): Don't use any more.
15229
15230 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15231 and only put a prop if it is non-nil.
15232
15233 2009-11-03 Juri Linkov <juri@jurta.org>
15234
15235 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15236 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15237
15238 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15239 and "Menu" to make top-level menu item visually one unit (like
15240 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15241 multi-word menu items). Fix :help string for quit-window.
15242
15243 2009-11-03 Glenn Morris <rgm@gnu.org>
15244
15245 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15246 (byte-compile-file-form-define-abbrev-table)
15247 (byte-compile-file-form-custom-declare-variable)
15248 (byte-compile-variable-ref, byte-compile-defvar):
15249 Whether or not a warning is enabled should only affect whether we issue
15250 the warning, not whether or not we collect the relevant data.
15251 Eg warnings can be turned on and off throughout the course of a file.
15252
15253 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15254 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15255
15256 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15257
15258 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15259 * play/mpuz.el (mpuz-create-buffer):
15260 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15261 (lm-print-y,s,noise, lm-print-w0, lm-init):
15262 * play/gomoku.el (gomoku-prompt-for-move):
15263 * play/fortune.el (fortune-in-buffer):
15264 * play/dissociate.el (dissociated-press):
15265 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15266 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15267 * mail/supercite.el (sc-eref-show):
15268 * mail/smtpmail.el (smtpmail-send-it):
15269 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15270 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15271 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15272 (rmail-summary-goto-msg, rmail-summary-expunge)
15273 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15274 (rmail-summary-add-label, rmail-summary-output-menu)
15275 (rmail-summary-output-body):
15276 * mail/rfc822.el (rfc822-addresses):
15277 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15278 * mail/mailpost.el (post-mail-send-it):
15279 * mail/hashcash.el (hashcash-generate-payment):
15280 * mail/feedmail.el (feedmail-run-the-queue)
15281 (feedmail-queue-send-edit-prompt-help-first)
15282 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15283 (feedmail-deduce-address-list):
15284 * eshell/esh-ext.el (eshell-remote-command):
15285 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15286 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15287 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15288 (viper-save-string-in-file, viper-valid-marker):
15289 * emulation/viper-keym.el (viper-toggle-key):
15290 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15291 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15292 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15293 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15294 (viper-exec-form-in-emacs, viper-brac-function):
15295 * emulation/viper.el (viper-delocalize-var):
15296 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15297 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15298 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15299 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15300 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15301 * emulation/edt.el (edt-electric-helpify):
15302 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15303 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15304 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15305 (cua-indent-to-global-mark-column):
15306 * calendar/diary-lib.el (calendar-mark-1):
15307 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15308 Use with-current-buffer.
15309 * emulation/viper.el (viper-delocalize-var): Use dolist.
15310
15311 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15312
15313 * comint.el (comint-replace-by-expanded-history-before-point):
15314 Replace !! with the previous input string literally (Bug#1795).
15315
15316 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15317
15318 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15319 to be made up of whitespace.
15320
15321 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15322
15323 * minibuffer.el (read-file-name): Don't use file dialogs for
15324 remote directories (Bug#99).
15325
15326 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15327
15328 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15329
15330 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15331
15332 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15333 instead of deleting the window or frame.
15334
15335 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15336
15337 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15338 Support face colors.
15339
15340 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15341 New function. Support face colors (Bug#1168).
15342 (tex-common-initialization): Use it.
15343
15344 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15345 mode allows it (Bug#1168).
15346
15347 2009-10-31 Juri Linkov <juri@jurta.org>
15348
15349 * facemenu.el (list-colors-display): Don't mark buffer as
15350 modified (Bug#3948).
15351
15352 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15353
15354 * international/mule-diag.el (list-character-sets-1):
15355 Minor message fix (Bug#3526).
15356
15357 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15358 Fix face property (Bug#4834).
15359 (etags-list-tags, etags-tags-apropos-additional)
15360 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15361 property.
15362
15363 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15364 items.
15365
15366 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15367
15368 * textmodes/two-column.el (2C-split):
15369 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15370 * textmodes/tex-mode.el (tex-set-buffer-directory):
15371 * textmodes/spell.el (spell-region, spell-string):
15372 * textmodes/reftex.el (reftex-erase-buffer):
15373 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15374 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15375 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15376 (reftex-select-item):
15377 * textmodes/reftex-ref.el (reftex-label-info-update)
15378 (reftex-offer-label-menu):
15379 * textmodes/reftex-index.el (reftex-index-change-entry)
15380 (reftex-index-phrases-info):
15381 * textmodes/reftex-global.el (reftex-create-tags-file)
15382 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15383 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15384 (reftex-view-crossref-from-bibtex):
15385 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15386 (reftex-extract-bib-entries-from-thebibliography)
15387 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15388 * textmodes/refbib.el (r2b-capitalize-title):
15389 (r2b-convert-buffer, r2b-help):
15390 * textmodes/page-ext.el (pages-directory)
15391 (pages-directory-goto-with-mouse):
15392 * textmodes/bibtex.el (bibtex-validate-globally):
15393 * textmodes/bib-mode.el (bib-capitalize-title):
15394 * textmodes/artist.el (artist-clear-buffer, artist-system):
15395 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15396 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15397 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15398 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15399 (xscheme-send-control-g-interrupt, xscheme-start-process)
15400 (xscheme-process-sentinel, xscheme-cd):
15401 * progmodes/verilog-mode.el (verilog-read-always-signals)
15402 (verilog-set-define, verilog-getopt-file)
15403 (verilog-module-inside-filename-p):
15404 * progmodes/sh-script.el:
15405 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15406 (python-pdbtrack-grub-for-buffer, python-execute-file):
15407 * progmodes/octave-inf.el (inferior-octave):
15408 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15409 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15410 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15411 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15412 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15413 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15414 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15415 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15416 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15417 (idlwave-shell-examine-display, idlwave-shell-run-region)
15418 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15419 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15420 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15421 (idlwave-help-get-help-buffer):
15422 * progmodes/gud.el (gud-basic-call, gud-find-class)
15423 (gud-tooltip-activate-mouse-motions-if-enabled):
15424 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15425 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15426 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15427 (ebrowse-tags-next-file):
15428 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15429 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15430 (ebnf-eps-finish-and-write):
15431 * progmodes/cpp.el (cpp-edit-save):
15432 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15433 * progmodes/cc-defs.el (c-emacs-features):
15434 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15435 (antlr-directory-dependencies):
15436 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15437 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15438 (ada-find-any-references, ada-make-filename-from-adaname)
15439 (ada-make-body-gnatstub):
15440 * obsolete/rnews.el (news-list-news-groups):
15441 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15442 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15443 * net/rcirc.el (rcirc-debug):
15444 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15445 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15446 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15447 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15448 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15449 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15450 (newsticker--treeview-list-clear-highlight)
15451 (newsticker--treeview-list-update-highlight)
15452 (newsticker--treeview-list-highlight-start)
15453 (newsticker--treeview-tree-update-highlight)
15454 (newsticker--treeview-get-selected-item)
15455 (newsticker-treeview-mark-list-items-old)
15456 (newsticker--treeview-set-current-node):
15457 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15458 * net/newst-backend.el (newsticker--get-news-by-funcall)
15459 (newsticker--get-news-by-wget, newsticker--image-get)
15460 (newsticker--image-sentinel):
15461 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15462 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15463 (eudc-ph-close-session):
15464 * net/eudc.el (eudc-save-options):
15465 * language/thai-word.el (thai-update-word-table):
15466 * language/japan-util.el (japanese-string-conversion):
15467 * international/titdic-cnv.el (tsang-quick-converter)
15468 (ziranma-converter, ctlau-converter):
15469 * international/mule-cmds.el (describe-language-environment):
15470 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15471 (skkdic-convert-postfix, skkdic-convert-prefix):
15472 (skkdic-convert-okuri-nasi, skkdic-convert):
15473 * emacs-lisp/re-builder.el (reb-update-overlays):
15474 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15475 * emacs-lisp/gulp.el (gulp-send-requests):
15476 * emacs-lisp/find-gc.el (trace-call-tree):
15477 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15478 (eieio-describe-generic):
15479 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15480 * emacs-lisp/edebug.el (edebug-outside-excursion):
15481 * emacs-lisp/debug.el (debugger-make-xrefs):
15482 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15483 * emacs-lisp/chart.el (chart-new-buffer):
15484 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15485 Use with-current-buffer.
15486 * textmodes/artist.el (artist-system): Don't call
15487 copy-sequence on a fresh string.
15488 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15489
15490 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15491
15492 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15493 is no item to edit. (Bug#4820)
15494 (todo-top-priorities): Restore point and restore narrowing in Todo
15495 buffer. (Bug#4820)
15496
15497 2009-10-31 Glenn Morris <rgm@gnu.org>
15498
15499 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15500 (comint-last-output-start, comint-last-input-start)
15501 (comint-last-input-end): Don't defvar when compiling.
15502 (ange-ftp-process-file): Use bound-and-true-p.
15503
15504 * pcmpl-rpm.el (top-level): Move provide statement to end.
15505 (pcmpl-rpm): Remove unused custom group.
15506
15507 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15508
15509 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15510
15511 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15512 (byte-compile-warnings): Add `constants' as an option.
15513 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15514 (display-call-tree): Update for byte-compile-fdefinition possibly
15515 returning `(macro lambda ...)'. (Bug#4778)
15516 (byte-compile-variable-ref, byte-compile-setq-default):
15517 Respect `constants' member of byte-compile-warnings.
15518
15519 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15520
15521 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15522 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15523 to "submit:".
15524
15525 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15526
15527 * textmodes/ispell.el (ispell-skip-region-alist):
15528 * international/mule-conf.el (eight-bit):
15529 * international/fontset.el (font-encoding-alist):
15530 * startup.el (pure-space-overflow-message):
15531 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15532 * paths.el (gnus-nntp-service, rmail-spool-directory)
15533 (term-file-prefix):
15534 * files.el (save-some-buffers-action-alist):
15535 * cmuscheme.el (same-window-buffer-names):
15536 * ielm.el (same-window-buffer-names):
15537 * shell.el (same-window-buffer-names):
15538 * mail/sendmail.el (same-window-buffer-names):
15539 * progmodes/inf-lisp.el (same-window-buffer-names):
15540 * bindings.el (mode-line-client)
15541 (mode-line-column-line-number-mode-map):
15542 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15543 (tibetan-precomposed-regexp): Purecopy string arguments.
15544
15545 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15546
15547 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15548 (calcDigit-nondigit):
15549 * calc/calc-yank.el (calc-copy-to-buffer):
15550 * calc/calc-units.el (calc-invalidate-units-table):
15551 * calc/calc-trail.el (calc-trail-yank):
15552 * calc/calc-store.el (calc-insert-variables):
15553 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15554 * calc/calc-prog.el (calc-read-parse-table):
15555 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15556 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15557 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15558 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15559 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15560 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15561 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15562 * calc/calc-ext.el (calc-realign):
15563 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15564 (calc-embedded-finish-edit, calc-embedded-make-info)
15565 (calc-embedded-finish-command, calc-embedded-stack-change):
15566 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15567
15568 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15569 shell-dynamic-complete-filename in preference to
15570 comint-dynamic-complete-filename.
15571
15572 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15573 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15574 Don't consider whether the display supports colors.
15575 (bookmark-import-new-list): Use dolist.
15576 (bookmark-bmenu-mode-map): Move initialization into declaration.
15577 (bookmark-bmenu-list): Use dolist, simplify.
15578 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15579 (menu-bar-final-items): Use push.
15580
15581 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15582
15583 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15584 it works on remote files.
15585 (vc-hg-diff): Don't pass any `--cwd' argument.
15586
15587 2009-10-27 Kevin Ryde <user42@zip.com.au>
15588
15589 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15590 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15591 (Further to Bug#3921).
15592
15593 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15594
15595 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15596 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15597 calling `tramp-imap-put-file'. Add file size to the call.
15598 (tramp-imap-get-file-entries): Compute also user name, file size,
15599 and date.
15600 (tramp-imap-handle-insert-directory): Insert uid and gid.
15601 (tramp-imap-handle-file-attributes): Transform uid and gid
15602 according to `id-format'.
15603 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15604 size in header X-Size.
15605
15606 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15607
15608 * simple.el (transpose-subr): Give clearer error when the mark
15609 is not set. (Bug#4807)
15610
15611 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15612
15613 * net/tramp.el (tramp-perl-file-truename): New defconst.
15614 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15615 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15616 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15617 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15618
15619 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15620 Ignore `dired-call-process'.
15621 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15622
15623 2009-10-26 Julian Scheid <julians37@gmail.com>
15624
15625 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15626 (tramp-get-remote-readlink): New defun.
15627 (tramp-handle-file-truename): Use it.
15628 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15629 file exists if cache value present.
15630 (tramp-check-cached-permissions): New defun.
15631 (tramp-handle-file-readable-p): Use it.
15632 (tramp-handle-file-writable-p): Likewise.
15633 (tramp-handle-file-executable-p): Likewise.
15634 (tramp-handle-file-name-all-completions): Try using Perl to get
15635 partial completions. When perl not available, combine `cd' and
15636 `ls' into single remote operation and use shell expansion to get
15637 partial remote directory contents. Set `file-exists-p' cache for
15638 directory and any files returned by ls. Change cache handling to
15639 support partial directory contents. Use error message emitted by
15640 remote `cd' or Perl code for local tramp-error.
15641 (tramp-do-copy-or-rename-file-directly): Avoid separate
15642 tramp-send-command-and-check call.
15643 (tramp-handle-process-file): Merge three remote ops into one.
15644 Do not flush all caches when `process-file-side-effects' is set.
15645 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15646 file-attributes shows uid/gid to be set already.
15647
15648 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15649
15650 * textmodes/tex-mode.el (tex-dvi-view-command)
15651 (tex-show-queue-command, tex-open-quote):
15652 * progmodes/ruby-mode.el (auto-mode-alist)
15653 (interpreter-mode-alist): Purecopy strings.
15654
15655 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15656
15657 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15658 string for the hook, keymap and abbrev table.
15659
15660 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15661
15662 * x-dnd.el (x-dnd-xdnd-to-action):
15663 * startup.el (fancy-startup-text, fancy-about-text): Change to
15664 defconst from defvar.
15665
15666 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15667
15668 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15669 Purecopy initialization strings.
15670
15671 * mail/sendmail.el (mail-header-separator)
15672 (mail-personal-alias-file):
15673 * mail/rmail.el (rmail-default-dont-reply-to-names)
15674 (rmail-ignored-headers, rmail-retry-ignored-headers)
15675 (rmail-highlighted-headers, rmail-secondary-file-directory)
15676 (rmail-secondary-file-regexp):
15677 * files.el (null-device, file-name-invalid-regexp)
15678 (locate-dominating-stop-dir-regexp)
15679 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15680 (interpreter-mode-alist): Use mapcar instead of mapc.
15681
15682 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15683
15684 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15685 (completion-ignored-extensions):
15686 (debug-ignored-errors): Purecopy strings.
15687
15688 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15689
15690 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15691 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15692 (pcomplete--here): Use push.
15693
15694 * subr.el (all-completions): Declare the 4th arg obsolete.
15695
15696 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15697
15698 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15699 (pcomplete-unquote-argument): New function.
15700 (pcomplete--common-suffix): Always pay attention to case.
15701 (pcomplete--table-subvert): Quote and unquote the text.
15702 (pcomplete--common-quoted-suffix): New function.
15703 (pcomplete-std-complete): Use it and pcomplete-begin.
15704
15705 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15706 we're inside a dedicated or minibuffer window.
15707
15708 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15709
15710 * bookmark.el: Update documentation, especially documentation
15711 of `bookmark-alist' and of the bookmark file format.
15712 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15713
15714 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15715
15716 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15717 keybindings apply to the mail buffer (Bug#4003). Shrink help
15718 window to buffer.
15719
15720 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15721 (global-whitespace-mode, global-whitespace-newline-mode)
15722 (whitespace-toggle-options, global-whitespace-toggle-options):
15723 Doc fix (Bug#3660).
15724
15725 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15726 of xmltok-start before the end tag was inserted (Bug#2840).
15727
15728 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15729 patterns that are preceded by an open-paren (Bug#1320).
15730
15731 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15732
15733 * files.el (delete-directory): Delete symlinks to directories with
15734 delete-file (Bug#4739).
15735
15736 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15737
15738 * vc.el (vc-backend-for-registration): Rename from
15739 vc-get-backend-for-registration. Update callers.
15740
15741 * international/mule-cmds.el (set-language-info-alist):
15742 Purecopy lang-env.
15743 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15744 (charset): Purecopy the name.
15745 (define-char-code-property): Purecopy string arguments.
15746
15747 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15748 Purecopy string arguments.
15749
15750 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15751 * ediff-hook.el (menu-bar-ediff-menu):
15752 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15753 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15754
15755 2009-10-24 Glenn Morris <rgm@gnu.org>
15756
15757 * comint.el (comint-dynamic-list-completions):
15758 * term.el (term-dynamic-list-completions): Use choose-completion rather
15759 than obsolete alias mouse-choose-completion.
15760
15761 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15762 file-cache-choose-completion.
15763 (file-cache-choose-completion): Handle an optional event argument.
15764 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15765
15766 * progmodes/octave-mod.el (octave-complete-symbol):
15767 Use choose-completion if mouse-choose-completion is ever removed.
15768
15769 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15770 use.
15771
15772 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15773 compiler.
15774
15775 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15776
15777 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15778
15779 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15780 Ignore `pred' now that we receive one.
15781 Handle test-completion specially.
15782
15783 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15784
15785 * vc.el (vc-responsible-backend): Throw an error if not backend is
15786 found. Remove the REGISTER argument. Move the code dealing with
15787 REGISTER ...
15788 (vc-get-backend-for-registration): ... here. New function.
15789 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15790 of vc-responsible-backend, pass the file name instead of the
15791 directory name.
15792
15793 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15794
15795 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15796 New funs.
15797 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15798 (pcomplete-comint-setup): Don't modify a global var via
15799 accidental side-effects.
15800 (pcomplete-shell-setup): Adjust call accordingly.
15801 (pcomplete-parse-comint-arguments): Use push.
15802
15803 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15804
15805 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15806 Allow uncapitalized info node names (Bug#3921).
15807
15808 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15809 to the DEBUG file (Bug#3781).
15810
15811 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15812
15813 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15814 dictionary entry (Bug#4579).
15815
15816 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15817
15818 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15819 from `rfn-eshadow-update-overlay-hook' when unloading.
15820 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15821 "rsyncc". Adjust doc string.
15822 (tramp-temp-buffer-file-name): New buffer-local defvar.
15823 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15824 Keep temporary file when indicated by method ("rsync" and
15825 "rsyncc").
15826 (tramp-handle-write-region): Handle APPEND.
15827 (tramp-delete-temp-file-function): New defun. Added to
15828 `kill-buffer-hook'.
15829
15830 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15831
15832 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15833
15834 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15835
15836 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15837 (color-name-rgb-alist, tty-standard-colors)
15838 (tty-color-mode-alist): Change to defconst.
15839
15840 * simple.el (mark-inactive): Purecopy message.
15841
15842 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15843 (global-map, yank-menu):
15844 * textmodes/ispell.el (ispell-menu-map):
15845 * net/eudc.el (eudc-tools-menu):
15846 * international/mule-cmds.el (describe-language-environment-map)
15847 (setup-language-environment-map, set-coding-system-map)
15848 (mule-menu-keymap):
15849 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15850 * replace.el (occur-mode-map):
15851 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15852
15853 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15854
15855 * calc/calc.el (math-read-number, math-read-number-simple):
15856 Use `save-match-data'.
15857
15858 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15859
15860 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15861 rather than fiddling with global-map bindings, since it should only
15862 affect per-terminal settings.
15863 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15864
15865 * minibuffer.el (completion-table-with-terminator): Allow to specify
15866 the terminator-regexp.
15867
15868 * simple.el (switch-to-completions): Look for *Completions* in other
15869 frames as well.
15870
15871 * pcomplete.el: Allow the use of completion-tables.
15872 (pcomplete-std-complete): New command.
15873 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15874 (pcomplete--here): Use a function for `form' rather than an expression,
15875 so it can be byte-compiled.
15876 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15877 Add edebug declaration.
15878 (pcomplete-show-completions): Remove unused var `curbuf'.
15879 (pcomplete-do-complete, pcomplete-stub):
15880 Don't assume `completions' is a list of strings any more.
15881
15882 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15883
15884 * find-dired.el (find-name-arg): Fix typo in docstring.
15885
15886 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15887
15888 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15889 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15890
15891 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15892 pcomplete-entries.
15893
15894 * comint.el (comint-read-input-ring, comint-write-input-ring)
15895 (comint-substitute-in-file-name)
15896 (comint-dynamic-complete-as-filename)
15897 (comint-dynamic-simple-complete)
15898 (comint-dynamic-list-filename-completions)
15899 (comint-dynamic-list-completions)
15900 (comint-redirect-results-list-from-process): Minor simplifications.
15901
15902 2009-10-21 Kevin Ryde <user42@zip.com.au>
15903
15904 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15905 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15906 the first form. And insert a blank line after ";;; Code" since
15907 that's usual style. (Bug#4612)
15908
15909 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15910
15911 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15912
15913 * minibuffer.el (completion-table-with-terminator): Properly implement
15914 boundaries, in case `terminator' appears in the suffix.
15915 (completion--embedded-envvar-table): Don't return boundaries if
15916 there's no valid completion. Simplify.
15917 (completion-file-name-table): New completion table extracted from
15918 completion--file-name-table.
15919 (completion--file-name-table): Use it.
15920 (read-file-name-predicate): Declare obsolete.
15921 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15922 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15923 completion-file-name-table, and use the `pred' argument.
15924 * files.el (locate-file-completion-table): Use the `pred' arg rather
15925 than read-file-name-predicate.
15926 (abbreviate-file-name): Use \` rather than ^ for BOS.
15927
15928 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15929
15930 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15931 vc-responsible-backend to register, it causes problems.
15932
15933 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15934
15935 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15936
15937 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15938
15939 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15940 (tramp-smb-handle-file-attributes): Use it.
15941 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15942 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15943 `mapcar'. Use `tramp-smb-get-stat-capability'.
15944 Add `dired-filename' text properties.
15945 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15946 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15947 version.
15948
15949 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15950
15951 * subr.el (read-key-delay): Reduce to 0.01.
15952 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15953 (bug#4751).
15954
15955 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15956
15957 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15958
15959 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15960 (Info-menu): Remove unused vars `last' and `completions'.
15961 (Info-index-nodes): Remove unused var `node'.
15962
15963 * info.el (Info-complete-menu-item): Use complete-with-action.
15964
15965 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15966
15967 Make vc-annotate work through copies and renames.
15968 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15969 Return the file name too.
15970 (vc-annotate-revision-at-line)
15971 (vc-annotate-find-revision-at-line)
15972 (vc-annotate-revision-previous-to-line)
15973 (vc-annotate-show-log-revision-at-line): Update to get the file
15974 name from vc-annotate-extract-revision-at-line.
15975 (vc-annotate-show-diff-revision-at-line-internal): Change the
15976 argument to mean whether to show a file diff or not. Get the file
15977 name from vc-annotate-extract-revision-at-line.
15978 (vc-annotate-show-diff-revision-at-line):
15979 Update vc-annotate-show-diff-revision-at-line call.
15980 (vc-annotate-warp-revision): Add an optional file argument.
15981
15982 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15983 (vc-git-annotate-extract-revision-at-line): Also return the file
15984 name if found.
15985
15986 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15987 command. Remove unused code.
15988 (vc-hg-annotate-re): Update to match --follow output.
15989 (vc-hg-annotate-extract-revision-at-line): Also return the file
15990 name if found.
15991
15992 * vc.el: Update annotate-extract-revision-at-line documentation.
15993
15994 2009-10-18 Kevin Ryde <user42@zip.com.au>
15995
15996 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15997 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15998
15999 * net/browse-url.el (browse-url): Identify alist with "consp and
16000 not functionp" and let all other things go down the `apply' leg,
16001 as suggested by Stefan. (Further to bug#4531.)
16002
16003 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16004
16005 * minibuffer.el (read-file-name): Check for repeat before putting
16006 a default argument in file-name-history (Bug#4657).
16007
16008 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16009 read syntax (Bug#4737).
16010
16011 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16012
16013 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16014
16015 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16016 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16017 entries and make note of obsolete tags.
16018
16019 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16020
16021 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16022
16023 2009-10-18 Glenn Morris <rgm@gnu.org>
16024
16025 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16026 grep, so that binary files (eg international/uni-bidi.el) can match.
16027 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16028 now, and in any case the file header format has changed.
16029
16030 2009-10-17 Glenn Morris <rgm@gnu.org>
16031
16032 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16033 (flyspell-get-word, flyspell-large-region)
16034 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16035
16036 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16037
16038 * Makefile.in (ELCFILES): Add ede/shell.
16039
16040 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16041
16042 * term/common-win.el (x-colors): Purecopy it.
16043
16044 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16045
16046 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16047 permissive for when the buffer is empty.
16048 (tar-header-block-tokenize): Decode the username and groupname.
16049 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16050
16051 2009-10-17 Eric Ludlam <zappo@gnu.org>
16052
16053 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16054 contains multibyte characters, choose first applicable coding
16055 system automatically.
16056
16057 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16058
16059 * international/mule-cmds.el (select-safe-coding-system): If the file
16060 has a coding cookie, use it regardless of any other setting (bug#4712).
16061
16062 2009-10-17 Glenn Morris <rgm@gnu.org>
16063
16064 * foldout.el (foldout-mouse-swallow-events):
16065 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16066
16067 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16068 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16069 (dired-keep-marker-symlink, dired-dwim-target)
16070 (dired-copy-preserve-time): Do not autoload these defcustoms.
16071
16072 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16073 messages from messing up the file coding. (Bug#4623)
16074
16075 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16076
16077 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16078 if no match is found for the current dictionary. (Bug#4578)
16079
16080 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16081 optional, since that is how it is documented, and this is often called
16082 with a nil argument. (Bug#4577)
16083 (flyspell-external-point-words, flyspell-auto-correct-word)
16084 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16085 (flyspell-word-search-backward): Remove nil argument in calls to
16086 flyspell-get-word, since it is not needed now.
16087
16088 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16089
16090 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16091
16092 2009-10-16 Glenn Morris <rgm@gnu.org>
16093
16094 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16095
16096 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16097
16098 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16099 (ange-ftp-file-size): New function.
16100 (ange-ftp-file-attributes): Use it.
16101
16102 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16103
16104 * net/tramp-smb.el (tramp-smb-version): New defvar.
16105 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16106 repeated checks.
16107
16108 2009-10-16 Glenn Morris <rgm@gnu.org>
16109
16110 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16111 Maybe copy some custom properties from old to new name. (Bug#4706)
16112
16113 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16114
16115 * subr.el (error, sit-for, start-process-shell-command)
16116 (start-file-process-shell-command): Set the calling convention
16117 after the function definition.
16118
16119 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16120
16121 * subr.el (error, sit-for, start-process-shell-command)
16122 (start-file-process-shell-command): Use the new
16123 set-advertised-calling-convention feature.
16124
16125 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16126
16127 * international/ucs-normalize.el (ucs-normalize-version):
16128 Change to 1.2.
16129 (check-range): Adjust for Unicode 5.2.
16130
16131 2009-10-15 Juri Linkov <juri@jurta.org>
16132
16133 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16134 to the `menu-item' format.
16135
16136 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16137
16138 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16139 if the environment variable does not exist.
16140
16141 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16142 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16143 parameter.
16144 (tramp-smb-handle-add-name-to-file)
16145 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16146 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16147 (tramp-smb-handle-file-attributes)
16148 (tramp-smb-do-file-attributes-with-stat)
16149 (tramp-smb-handle-file-local-copy)
16150 (tramp-smb-handle-insert-directory)
16151 (tramp-smb-handle-make-directory)
16152 (tramp-smb-handle-make-directory-internal)
16153 (tramp-smb-handle-make-symbolic-link)
16154 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16155 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16156 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16157 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16158 Handle long file names.
16159 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16160 process is running.
16161 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16162 Read share names with "-g" option.
16163
16164 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16165
16166 * net/rcirc.el (rcirc-view-log-file): New command.
16167 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16168 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16169 specified.
16170
16171 2009-10-15 Glenn Morris <rgm@gnu.org>
16172
16173 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16174 from the second command-line argument.
16175 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16176 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16177 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16178 w32-batch-update-autoloads.
16179 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16180 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16181
16182 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16183 the headers cannot be located. Simplify, subtracting superflous
16184 save-excursions.
16185
16186 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16187
16188 Replace completion-base-size by completion-base-position to fix bugs
16189 such as (bug#4699).
16190 * simple.el (completion-base-position): New var.
16191 (completion-base-size): Mark as obsolete.
16192 (choose-completion): Make it work for mouse events as well.
16193 Pass the new base-position to choose-completion-string.
16194 (choose-completion-guess-base-position): New function, extracted from
16195 choose-completion-delete-max-match.
16196 (choose-completion-delete-max-match): Use it. Make obsolete.
16197 (choose-completion-string): Use the new base-position info.
16198 (completion-root-regexp): Delete.
16199 (completion-setup-function): Preserve completion-base-position.
16200 Eliminate obsolete base-size manipulation.
16201 * minibuffer.el (display-completion-list): Don't mess with base-size.
16202 (minibuffer-completion-help): Set completion-base-position instead.
16203 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16204 choose-completion.
16205 * textmodes/bibtex.el (bibtex-complete):
16206 * emacs-lisp/crm.el (crm--choose-completion-string):
16207 Adjust to new calling convention.
16208 * complete.el (partial-completion-mode): Use minibufferp to avoid
16209 bumping into incompatible change to choose-completion-string-functions.
16210 * ido.el (ido-choose-completion-string): Make its calling convention
16211 more permissive.
16212 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16213 base-size manipulation.
16214 (comint-dynamic-list-input-ring): Use dotimes and push.
16215 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16216 fundamental-mode. Use `or'.
16217
16218 2009-10-14 Juri Linkov <juri@jurta.org>
16219
16220 * misearch.el (multi-isearch-next-buffer-from-list)
16221 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16222
16223 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16224
16225 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16226 `bytecomp.el'.
16227
16228 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16229 string we return is all made up of text from the completions rather
16230 than part from the completions and part from the input (bug#4219).
16231
16232 * ido.el (ido-everywhere): Use define-minor-mode.
16233
16234 * buff-menu.el (list-buffers, ctl-x-map):
16235 Mark the entry points with ;;;###autoload cookies.
16236
16237 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16238
16239 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16240 correctly in the detached head case.
16241 (vc-git-print-log): Remove unused binding.
16242
16243 * vc.el (vc-responsible-backend): When a directory is passed for
16244 for registration create a VC repository if no backend is
16245 responsible for the directory argument.
16246 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16247
16248 * vc.el: Move comments about RCS and SCCS ...
16249 * vc-rcs.el:
16250 * vc-sccs.el: ... here, respectively.
16251
16252 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16253
16254 * minibuffer.el (completion--file-name-table): Return nil if there's
16255 no file completion, even if substitute-in-file-name changed
16256 the string (bug#4708).
16257
16258 2009-10-13 Juri Linkov <juri@jurta.org>
16259
16260 * files-x.el (read-file-local-variable-value): Don't filter out
16261 minor modes from mode name completion (bug#4664).
16262
16263 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16264
16265 * international/mule-cmds.el (ucs-names): Remove exclusion of
16266 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16267
16268 2009-10-13 Kenichi Handa <handa@m17n.org>
16269
16270 * international/uni-name.el: Regenerated.
16271
16272 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16273
16274 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16275 should be automatically buffer-local, but isn't.)
16276
16277 2009-10-12 Sam Steingold <sds@gnu.org>
16278
16279 * progmodes/compile.el (compilation-next-error-function): Fix the
16280 timestamps if the buffer has been visited before.
16281 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16282 non-anchored patterns, like the perl one (bug#3928).
16283
16284 2009-10-12 Glenn Morris <rgm@gnu.org>
16285
16286 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16287 Let-bind `size'.
16288
16289 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16290
16291 * proced.el (proced-unload-function): New function.
16292
16293 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16294 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16295 Doc fix.
16296
16297 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16298
16299 2009-10-11 Juri Linkov <juri@jurta.org>
16300
16301 * files-x.el (read-file-local-variable-value):
16302 Provide default value only for bound variables (bug#4664).
16303
16304 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16305
16306 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16307 connection methods like smb.
16308
16309 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16310 can be empty.
16311
16312 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16313 (tramp-smb-file-name-handler-alist): Add handlers for
16314 `add-name-to-file', `make-symbolic-link'.
16315 (tramp-smb-handle-add-name-to-file)
16316 (tramp-smb-do-file-attributes-with-stat)
16317 (tramp-smb-handle-make-symbolic-link)
16318 (tramp-smb-get-cifs-capabilities): New defuns.
16319 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16320 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16321 (tramp-smb-handle-file-local-copy)
16322 (tramp-smb-handle-make-directory-internal)
16323 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16324 The file name syntax depends on cifs capabilities.
16325 (tramp-smb-handle-file-attributes):
16326 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16327 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16328 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16329
16330 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16331
16332 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16333 (eieio-defclass): Apply deftype handler and setf-method properties
16334 directly.
16335 (eieio-add-new-slot): Avoid union function from cl library.
16336 (eieio--typep): New function.
16337 (eieio-perform-slot-validation): Use it.
16338
16339 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16340
16341 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16342 Update documentation to refer to the variables documented in r1.135.
16343 (Bug#4188)
16344
16345 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16346
16347 * bookmark.el (Info-suffix-list): Remove this unused variable.
16348 (bookmark-current-point): Remove this obsolete variable.
16349 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16350 Adjust for removal of bookmark-current-point.
16351
16352 (bookmarks-already-loaded, bookmark-current-buffer)
16353 (bookmark-yank-point): Document. (Bug#4188)
16354
16355 2009-10-10 Glenn Morris <rgm@gnu.org>
16356
16357 * frame.el (frame-height): Doc fix.
16358
16359 * calendar/calendar.el (calendar-split-width-threshold): New option.
16360 (calendar-basic-setup): Use calendar-split-width-threshold.
16361
16362 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16363
16364 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16365 Ideographic Supplement" range (U+1F200..U+1F2FF).
16366
16367 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16368
16369 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16370 since the list will have been rebuilt anyway. (Bug#4349)
16371
16372 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16373
16374 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16375 (bookmark-bmenu-execute-deletions): Don't save here, as
16376 bookmark-delete will now do so if necessary.
16377 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16378 (Bug#4348)
16379
16380 2009-10-09 Glenn Morris <rgm@gnu.org>
16381
16382 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16383
16384 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16385
16386 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16387 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16388 argument now, so the two function's behaviors will match. (Bug#3645)
16389
16390 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16391
16392 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16393 (tramp-file-name-real-host, tramp-file-name-port):
16394 Apply `save-match-data'.
16395
16396 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16397 case both directories are remote.
16398 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16399 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16400
16401 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16402
16403 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16404
16405 2009-10-07 Glenn Morris <rgm@gnu.org>
16406
16407 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16408 of concat.
16409
16410 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16411
16412 * files-x.el (read-file-local-variable): Include some
16413 non-user-variables in the completion table (bug#4664).
16414
16415 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16416
16417 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16418 message.
16419
16420 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16421 (tramp-smb-file-name-handler-alist): Add handler for
16422 `copy-directory', `expand-file-name', `set-file-modes'.
16423 (tramp-smb-handle-copy-directory)
16424 (tramp-smb-handle-expand-file-name)
16425 (tramp-smb-handle-set-file-modes): New defuns.
16426 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16427 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16428 entry.
16429 (tramp-smb-handle-insert-directory): Don't flush the cache.
16430 (tramp-smb-maybe-open-connection): Check for samba client and
16431 server versions.
16432
16433 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16434
16435 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16436 to not error out of search for "^lisp=" fails.
16437
16438 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16439
16440 * makefile.w32-in (WINS_UPDATES): New macro.
16441 (custom-deps, finder-data, autoloads): Use it.
16442
16443 2009-10-07 Glenn Morris <rgm@gnu.org>
16444
16445 * Makefile.in (autoloads): Revert previous change.
16446 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16447 the list of preloaded files passed on the command-line, get
16448 it from src/Makefile.
16449
16450 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16451 show the original buffer rather than a random one.
16452
16453 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16454
16455 * help.el (describe-no-warranty): Place point in a slightly better
16456 position in the GPLv3 text.
16457
16458 2009-10-06 Sam Steingold <sds@gnu.org>
16459
16460 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16461 the comm attribute is present before calling regexp-quote.
16462
16463 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16464
16465 * play/animate.el (animate-string): For good effect, make sure
16466 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16467
16468 * play/animate.el (animate-sequence, animate-birthday-present):
16469 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16470
16471 2009-10-06 Glenn Morris <rgm@gnu.org>
16472
16473 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16474
16475 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16476 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16477 (batch-update-autoloads): Process a string value of autoload-excludes,
16478 set during the build process.
16479 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16480
16481 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16482 inside with-parsed... macro so that `v' is defined.
16483
16484 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16485 * progmodes/fortran.el (fortran-end-of-block)
16486 (fortran-beginning-of-block):
16487 Also push mark in the macro case.
16488
16489 * emerge.el (emerge-show-file-name):
16490 * calc/calc.el (calc-quit):
16491 * calc/calc-misc.el (calc-big-or-small):
16492 * calc/calc-graph.el (calc-graph-view):
16493 * calc/calc-ext.el (calc-reset):
16494 * calendar/calendar.el (calendar-basic-setup):
16495 Use window-full-height-p.
16496
16497 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16498 header we don't understand, don't insert another. (Bug#4624)
16499 If changing mime charset, insert the new one in the right place.
16500
16501 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16502
16503 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16504 (cal-tex-cursor-month): Correctly increment the end date for diary and
16505 holiday listing. (Bug#4626)
16506
16507 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16508
16509 * help-fns.el (describe-function-1): Don't burp if the function is not
16510 a symbol.
16511
16512 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16513
16514 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16515 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16516 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16517 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16518
16519 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16520 (eieio-default-superclass): Reflow docstrings.
16521 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16522 (eieio-unbind-method-implementations, defmethod)
16523 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16524 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16525 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16526 (eieio-slot-originating-class-p, eieio-slot-name-index)
16527 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16528 (constructor, initialize-instance, no-next-method, object-print)
16529 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16530 Fix typos in docstrings.
16531 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16532 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16533 (next-method-p): Doc fixes.
16534 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16535 Fix typos in error messages.
16536 (eieio-defmethod): Fix typo in description of generic method.
16537
16538 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16539 (eieio-persistent-save-interactive, slot-missing):
16540 Fix typos in docstrings.
16541 (eieio-instance-inheritor-slot-boundp): Doc fix.
16542
16543 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16544 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16545
16546 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16547 (eieio-custom-object-apply-reset):
16548 Fix typos in docstrings and error messages.
16549
16550 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16551 Fix typo in docstring.
16552
16553 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16554 (eieio-browse-tree): Doc fix.
16555 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16556 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16557 Fix typos in docstrings.
16558
16559 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16560 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16561 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16562 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16563 Reflow docstrings.
16564
16565 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16566
16567 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16568 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16569 Set log-view-vc-backend so that diff can work.
16570
16571 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16572 vc-version-diff.
16573 (vc-diff-internal): Autoload this instead of vc-version-diff.
16574
16575 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16576
16577 * simple.el (eval-expression): Doc fix.
16578
16579 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16580
16581 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16582
16583 * files.el (directory-files-no-dot-files-regexp): New defconst.
16584 (delete-directory): Use it.
16585 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16586
16587 * net/tramp.el (tramp-verbose): Fix docstring.
16588 (tramp-methods): Add recursive option to `tramp-copy-args'.
16589 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16590 "scp1_old", "scp2_old", "rsync", "rsyncc".
16591 (tramp-default-method): Check also for `auth-source-user-or-password'.
16592 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16593 Add handler for `copy-directory'.
16594 (tramp-handle-copy-directory): New defun.
16595 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16596 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16597 Optimize sent command.
16598
16599 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16600
16601 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16602 window if necessary.
16603
16604 * calendar/calendar.el (calendar-basic-setup): Don't call
16605 switch-to-buffer in a dedicated window.
16606
16607 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16608
16609 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16610 don't do anything related to relocating, just return nil.
16611 (bookmark-error-no-filename): New error.
16612 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16613 bookmark has no file. Don't even attempt to handle things that
16614 are not files; the whole point of custom handlers is to keep that
16615 knowledge elsewhere anyway. Tighten some comments.
16616 (bookmark-file-or-variation-thereof): Remove now-unused function.
16617 (bookmark-location): Doc string fix.
16618 (Bug#4250)
16619
16620 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16621
16622 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16623 don't use a file dialog, because they usually don't know how to read
16624 a directory target from the user. (Bug#4230)
16625 Also, make sure the prompt can display directories as well as files.
16626
16627 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16628
16629 * bookmark.el (bookmark-set, bookmark-buffer-name):
16630 Improve doc strings. (Bug#1193)
16631
16632 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16633
16634 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16635 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16636 (bookmark-get-annotation, bookmark-set-annotation)
16637 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16638 (bookmark-set-position, bookmark-get-front-context-string)
16639 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16640 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16641 (bookmark-jump-other-window, bookmark-handle-bookmark)
16642 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16643 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16644 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16645 Improve doc strings to say whether bookmark can be a string or
16646 a record or both, and make other consistency and clarity fixes.
16647 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16648 (bookmark-default-annotation-text, bookmark-yank-word)
16649 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16650 (bookmark-import-new-list, bookmark-maybe-rename)
16651 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16652 (bookmark-bmenu-bookmark): Give these doc strings.
16653 (bookmark-bmenu-check-position): Give this a doc string, but also
16654 add a FIXME comment about how the function may be pointless.
16655 (bookmark-default-handler): Rework doc string and change a
16656 parameter name, to clarify that this takes a bookmark record
16657 not a bookmark name.
16658 (bookmark-set): Change a parameter name to indicate its meaning,
16659 and improve the doc string a bit.
16660 (Bug#4188)
16661
16662 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16663
16664 * bookmark.el (bookmark-alist): Document the new `handler' element
16665 in the param alist.
16666 (bookmark-make-record-function): Adjust documentation for above.
16667 (Bug#4193)
16668
16669 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16670
16671 * info.el (Info-bookmark-make-record): Document this function.
16672 (Info-bookmark-jump): Document with a doc string, not just a comment.
16673 (Bug#4203)
16674
16675 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16676
16677 * files.el (copy-directory): New defun.
16678
16679 * dired-aux.el (dired-copy-file-recursive): Use it.
16680
16681 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16682
16683 * files-x.el (modify-dir-local-variable)
16684 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16685 docstrings.
16686
16687 * recentf.el (recentf-unload-function): New function.
16688
16689 2009-10-04 Glenn Morris <rgm@gnu.org>
16690
16691 * window.el (window-full-height-p): Add doc string.
16692
16693 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16694
16695 * window.el (window-full-height-p): New function. (Bug#4543)
16696
16697 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16698
16699 * vc.el: Remove commented out code.
16700 (vc-derived-from-dir-mode): Remove, unused.
16701 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16702
16703 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16704
16705 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16706 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16707 there could be recursive loading when `default-directory' is a
16708 remote file name. (Bug#4614)
16709
16710 2009-10-03 Glenn Morris <rgm@gnu.org>
16711
16712 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16713 the frame is wide.
16714 (calendar-generate-window): Test for shrinkability rather than width.
16715
16716 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16717 reusing existing buffers, in case we happen to visit two files with the
16718 same basename. (Bug#4593)
16719
16720 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16721
16722 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16723 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16724 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16725 subdirs of cedet as well.
16726 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16727
16728 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16729
16730 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16731 Obey advertised-signature-table.
16732
16733 * help-fns.el (help-function-arglist): Don't check
16734 advertised-signature-table.
16735 (describe-function-1): Do it here instead so it also applies to subrs.
16736
16737 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16738
16739 * simple.el (start-file-process): Say in the doc-string, that file
16740 handlers might not support pty association, if PROGRAM is nil.
16741
16742 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16743 HOST and USER are strings. They are nil, when there are
16744 incomplete entries in ~/.netrc, for example.
16745 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16746 root directory ("device busy" error otherwise).
16747
16748 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16749 Flush file properties of created directory.
16750
16751 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16752
16753 * makefile.w32-in (WINS_BASIC): Remove cedet.
16754 (WINS_CEDET): Add cedet.
16755 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16756
16757 2009-10-02 Kevin Ryde <user42@zip.com.au>
16758
16759 * net/browse-url.el (browse-url): Pass any symbol in
16760 browse-url-browser-function to `apply', since if you've mistakenly put
16761 an unbound symbol then the error is clearer. (Bug#4531)
16762
16763 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16764
16765 * allout.el (allout-init, allout-back-to-current-heading)
16766 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16767 (allout-ascend, allout-up-current-level, allout-end-of-level)
16768 (allout-previous-visible-heading, allout-forward-current-level)
16769 (allout-backward-current-level, allout-show-children):
16770 * apropos.el (apropos-describe-plist):
16771 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16772 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16773 * completion.el (add-completion, add-permanent-completion):
16774 * descr-text.el (describe-text-category, describe-char):
16775 * desktop.el (desktop-lazy-abort):
16776 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16777 * dired.el (dired-build-subdir-alist):
16778 * ediff.el (ediff-version):
16779 * elide-head.el (elide-head, elide-head-show):
16780 * emerge.el (emerge-version):
16781 * env.el (getenv):
16782 * face-remap.el (variable-pitch-mode):
16783 * faces.el (describe-face):
16784 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16785 (dired-at-point):
16786 * files.el (find-file-existing, auto-save-mode):
16787 * font-lock.el (font-lock-fontify-buffer):
16788 * help-fns.el (describe-function, describe-variable)
16789 (describe-syntax, describe-categories):
16790 * help.el (view-lossage, describe-bindings, describe-key)
16791 (describe-mode):
16792 * hexl.el (hexl-current-address):
16793 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16794 * info.el (Info-goto-emacs-key-command-node):
16795 * log-edit.el (log-edit-insert-cvs-template)
16796 (log-edit-insert-cvs-rcstemplate):
16797 * menu-bar.el (menu-bar-mode):
16798 * mouse.el (mouse-appearance-menu):
16799 * newcomment.el (comment-indent-new-line):
16800 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16801 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16802 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16803 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16804 * recentf.el (recentf-mode):
16805 * savehist.el (savehist-mode, savehist-save):
16806 * shadowfile.el (shadow-copy-files):
16807 * simple.el (kill-ring-save, next-line, previous-line)
16808 (normal-erase-is-backspace-mode):
16809 * strokes.el (strokes-update-window-configuration)
16810 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16811 (strokes-xpm-for-stroke):
16812 * time.el (emacs-uptime, emacs-init-time):
16813 * tutorial.el (tutorial--describe-nonstandard-key)
16814 (tutorial--detailed-help):
16815 * type-break.el (type-break-mode)
16816 (type-break-mode-line-message-mode, type-break-query-mode)
16817 (type-break-guesstimate-keystroke-threshold):
16818 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16819 * version.el (emacs-version):
16820 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16821 * winner.el (winner-mode):
16822 * calendar/timeclock.el (timeclock-in, timeclock-out)
16823 (timeclock-status-string, timeclock-change)
16824 (timeclock-workday-remaining-string)
16825 (timeclock-workday-elapsed-string)
16826 (timeclock-when-to-leave-string):
16827 * calendar/todo-mode.el (todo-add-category):
16828 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16829 * emacs-lisp/autoload.el (update-file-autoloads):
16830 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16831 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16832 (checkdoc-message-text, checkdoc-defun):
16833 * emacs-lisp/debug.el (debugger-list-functions):
16834 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16835 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16836 (eieio-describe-generic):
16837 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16838 * emacs-lisp/shadow.el (list-load-path-shadows):
16839 * emulation/cua-base.el (cua-mode):
16840 * emulation/edt.el (edt-set-scroll-margins):
16841 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16842 (tpu-toggle-regexp, tpu-toggle-search-direction)
16843 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16844 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16845 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16846 (viper-set-parsing-style-toggling-macro)
16847 (viper-set-emacs-state-searchstyle-macros):
16848 * emulation/viper.el (viper-set-hooks):
16849 * eshell/esh-mode.el (eshell-truncate-buffer):
16850 * international/mule-cmds.el (prefer-coding-system)
16851 (describe-input-method, describe-language-environment):
16852 * international/mule-diag.el (list-character-sets)
16853 (describe-character-set, describe-coding-system)
16854 (describe-fontset, list-fontsets, list-input-methods):
16855 * mail/sendmail.el (mail-signature):
16856 * net/ange-ftp.el (ange-ftp-copy-file):
16857 * net/browse-url.el (browse-url):
16858 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16859 * net/quickurl.el (quickurl-add-url):
16860 * net/rcirc.el (names, topic):
16861 * net/xesam.el (xesam-mode):
16862 * play/5x5.el (5x5-new-game):
16863 * play/yow.el (apropos-zippy):
16864 * progmodes/ada-mode.el (ada-mode-version):
16865 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16866 (f90-end-of-block)
16867 (f90-beginning-of-block):
16868 * progmodes/fortran.el (fortran-end-of-block)
16869 (fortran-beginning-of-block):
16870 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16871 * progmodes/python.el (python-describe-symbol, python-shell):
16872 * term/ns-win.el (ns-print-buffer):
16873 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16874 * textmodes/flyspell.el (flyspell-mode-on):
16875 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16876 (pages-directory-for-addresses):
16877 * textmodes/table.el (table-recognize-cell)
16878 (table-query-dimension, table-generate-source)
16879 (table-insert-sequence, table--warn-incompatibility):
16880 * textmodes/tex-mode.el (tex-validate-buffer):
16881 * textmodes/texinfmt.el (texinfmt-version)
16882 (texinfo-format-buffer):
16883 Use `called-interactively-p' instead of `interactive-p'.
16884
16885 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16886
16887 * image-mode.el (image-toggle-display):
16888 * emacs-lisp/elp.el (elp-instrument-function):
16889 * emacs-lisp/advice.el (ad-make-advised-definition):
16890 * emacs-lisp/easy-mmode.el (define-minor-mode):
16891 * net/browse-url.el (browse-url-maybe-new-window):
16892 * progmodes/sh-script.el (sh-learn-buffer-indent):
16893 Pass new argument 'any to `called-interactively-p'.
16894
16895 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16896
16897 * international/uni-bidi.el:
16898 * international/uni-category.el:
16899 * international/uni-combining.el:
16900 * international/uni-comment.el:
16901 * international/uni-decimal.el:
16902 * international/uni-decomposition.el:
16903 * international/uni-digit.el:
16904 * international/uni-lowercase.el:
16905 * international/uni-mirrored.el:
16906 * international/uni-name.el:
16907 * international/uni-numeric.el:
16908 * international/uni-old-name.el:
16909 * international/uni-titlecase.el:
16910 * international/uni-uppercase.el:
16911 Regenerate from Unicode 5.2.0 data.
16912
16913 2009-10-01 Glenn Morris <rgm@gnu.org>
16914
16915 * Makefile.in (ELCFILES): Regenerate.
16916
16917 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16918
16919 * subr.el (interactive-p): Mark obsolete.
16920 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16921 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16922 advertised-signature-table for subroutines as well.
16923
16924 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16925 (set-advertised-calling-convention): New function.
16926 (make-obsolete, define-obsolete-function-alias)
16927 (make-obsolete-variable, define-obsolete-variable-alias):
16928 Make the optional-ness of `when' obsolete.
16929 (define-obsolete-face-alias): Make `when' non-optional.
16930 * help-fns.el (help-function-arglist):
16931 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16932 Use advertised-signature-table.
16933
16934 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16935
16936 * files.el (delete-directory): New defun. The original function
16937 in fileio.c has been renamed to `delete-directory-internal'.
16938
16939 * dired.el (dired-delete-file): Call `delete-directory' with
16940 RECURSIVE parameter.
16941
16942 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16943 parameter RECURSIVE. Implementation is missing.
16944
16945 * net/tramp.el (tramp-handle-make-directory): Flush upper
16946 directory's file properties.
16947 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16948 (tramp-handle-dired-recursive-delete-directory): Flush directory
16949 properties after the remove command only.
16950
16951 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16952 Handle optional parameter RECURSIVE.
16953
16954 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16955 Handle optional parameter RECURSIVE.
16956
16957 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16958 connection timeout.
16959 (tramp-smb-handle-delete-directory): Handle optional parameter
16960 RECURSIVE.
16961
16962 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16963
16964 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16965 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16966 (byte-compile-defmacro): Use backquotes.
16967
16968 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16969
16970 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16971 has no associated file.
16972 (vc-resynch-buffer): Use vc-dir-buffers.
16973
16974 2009-10-01 Glenn Morris <rgm@gnu.org>
16975
16976 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16977 (chart-file-count):
16978 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16979 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16980 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16981 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16982 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16983 (eieio-copy-parents-into-subclass, make-instance, class-children)
16984 (eieio-generic-form):
16985
16986 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16987 match-data. (Bug#4555).
16988
16989 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16990 rather than parsing it as a regexp. This relaxes the layout
16991 requirements and makes errors easier to detect.
16992 (check-declare-verify): Check file is regular.
16993 (check-declare-directory): Doc fix.
16994 * subr.el (declare-function): Doc fix.
16995
16996 * ibuffer.el (ibuffer-format-qualifier):
16997 * isearch.el (hi-lock-regexp-okay):
16998 * calc/calc.el (math-zerop):
16999 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17000 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17001 Remove unused declarations.
17002
17003 2009-09-30 Eric Ludlam <zappo@gnu.org>
17004
17005 * emacs-lisp/eieio.el (boolean-p): Delete.
17006
17007 2009-09-30 Glenn Morris <rgm@gnu.org>
17008
17009 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17010
17011 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17012 filename is not a string.
17013
17014 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17015
17016 * files.el (safe-local-eval-forms): Fix typo.
17017
17018 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17019
17020 * vc-hooks.el (vc-dir-buffers): New var.
17021 (vc-state-refresh): New function.
17022 (vc-state): Use it.
17023 (vc-after-save): Always ask the backend to recompute the new state.
17024 Always call vc-dir if necessary, using vc-dir-buffers.
17025 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17026 Use vc-dir-buffers.
17027 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17028 (vc-dir-prepare-status-buffer, vc-dir-update)
17029 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17030 Don't call expand-file-name on default-directory.
17031
17032 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17033
17034 * speedbar.el (speedbar-item-delete):
17035 * calc/calc-prog.el (calc-kbd-if):
17036 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17037
17038 * epa.el (epa-key-list-mode-map):
17039 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17040
17041 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17042 (hs-show-hook): Fix typo in docstring.
17043
17044 2009-09-29 Glenn Morris <rgm@gnu.org>
17045
17046 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17047 file-name-nondirectory call preventing location of cedet files.
17048 (check-declare-verify): Use literal search rather than re-search.
17049 Add basic defmethod and defclass, and define-overloadable-function.
17050
17051 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17052 Use tramp-compat-file-attributes rather than nonexistent
17053 tramp-compat-handle-file-attributes.
17054
17055 * Makefile.in (lisptagsfiles4): New.
17056 (AUTOGENEL): Add cedet loaddefs files.
17057 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17058 (update-elclist, compile-always, backup-compiled-files)
17059 (bootstrap-clean): Add yet another directory level.
17060 (update-elclist): Use LC_COLLATE rather than COLLATE.
17061 (ELCFILES): Update, via `make update-elclist'.
17062
17063 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17064
17065 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17066 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17067 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17068
17069 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17070
17071 * Makefile.in (lisptagsfiles3): Define.
17072 (TAGS, TAGS-LISP): Use it.
17073 (update-elclist): Add third directory level to look for elc files.
17074 (compile-always): Likewise.
17075 (backup-compiled-files): Likewise.
17076 (bootstrap-clean): Likewise.
17077 (ELCFILES): Update.
17078
17079 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17080
17081 * Makefile.in (ELCFILES): Add CEDET files.
17082
17083 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17084
17085 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17086
17087 * net/tramp.el (top): Require tramp-imap.
17088
17089 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17090 Use `tramp-compat-handle-file-attributes'.
17091
17092 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17093
17094 * net/tramp-imap.el: New package.
17095
17096 2009-09-28 Eric Ludlam <zappo@gnu.org>
17097
17098 * emacs-lisp/chart.el:
17099 * emacs-lisp/eieio-base.el:
17100 * emacs-lisp/eieio-comp.el:
17101 * emacs-lisp/eieio-custom.el:
17102 * emacs-lisp/eieio-datadebug.el:
17103 * emacs-lisp/eieio-opt.el:
17104 * emacs-lisp/eieio-speedbar.el:
17105 * emacs-lisp/eieio.el: New files.
17106
17107 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17108
17109 * whitespace.el (whitespace-trailing-regexp)
17110 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17111 Fix doc string.
17112
17113 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17114
17115 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17116 menu.
17117
17118 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17119 menu-bar-ediff-menu.
17120
17121 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17122 define-overloadable-function.
17123
17124 * progmodes/autoconf.el: Provide autoconf as well, so that this
17125 file can be `require'd.
17126
17127 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17128
17129 * emacs-lisp/autoload.el (generated-autoload-feature)
17130 (generated-autoload-load-name): New vars.
17131 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17132 (make-autoload): Recognize define-overloadable-function and
17133 defclass forms (for EIEIO).
17134
17135 * Makefile.in (update-subdirs): Exclude cedet directory.
17136
17137 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17138
17139 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17140
17141 * faces.el: Default light-background background for region face to
17142 ns_selection_color under NS.
17143
17144 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17145
17146 * net/imap-hash.el: New library, see NEWS.
17147
17148 * Makefile.in (ELCFILES): Add imap-hash.el.
17149
17150 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17151
17152 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17153 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17154 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17155 definition where the docstring could be taken for the return value.
17156
17157 2009-09-26 Glenn Morris <rgm@gnu.org>
17158
17159 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17160 Add option to only show images below a certain size.
17161 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17162 save-excursion calls.
17163
17164 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17165
17166 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17167 subdirectories) and eieio.
17168
17169 2009-09-26 Alan Mackenzie <acm@muc.de>
17170
17171 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17172 Correct buggy bracketing. (Bug#4289)
17173
17174 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17175 character constants (as case labels). (Bug#4289)
17176
17177 2009-09-25 Juri Linkov <juri@jurta.org>
17178
17179 * files.el (safe-local-eval-forms): Allow time-stamp in
17180 before-save-hook (Bug#4554).
17181
17182 2009-09-25 Drew Adams <drew.adams@oracle.com>
17183
17184 * menu-bar.el (list-buffers-directory): Doc fix.
17185
17186 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17187
17188 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17189 Try and avoid copying twice the same paragraph.
17190 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17191 Remove save-excursion.
17192 (log-edit-changelog-entry): Do it here instead.
17193
17194 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17195
17196 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17197 when available, instead of hardcoding mode names. Doc fix.
17198
17199 * menu-bar.el (list-buffers-directory): Add docstring.
17200 Make automatically buffer-local.
17201
17202 * dired.el (dired-mode):
17203 * files.el (cd-absolute):
17204 * pcvs.el (cvs-temp-buffer):
17205 * pcvs-util.el (cvs-get-buffer-create):
17206 * shell.el (shell-mode):
17207 * vc-dir.el (vc-dir-mode):
17208 Don't make `list-buffers-directory' buffer local.
17209
17210 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17211
17212 * comint.el (comint-exec, comint-run, make-comint):
17213 Doc fixes (Bug#4542).
17214
17215 2009-09-25 Glenn Morris <rgm@gnu.org>
17216
17217 * mail/rmailmm.el (rmail-mime): New custom group.
17218 Move all defcustoms in this file into this group.
17219 (rmail-mime-media-type-handlers-alist): Revert previous change.
17220 (rmail-mime-show-images): New option.
17221 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17222 references to it, since it wasn't actually used for anything.
17223 (rmail-mime-insert-image): New function.
17224 (rmail-mime-image): Use rmail-mime-insert-image.
17225 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17226 obey the value of `rmail-mime-show-images' option. Print the size of
17227 attachments.
17228
17229 2009-09-25 David Engster <deng@randomsample.de>
17230
17231 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17232
17233 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17234
17235 * whitespace.el: Does not highlight trailing spaces While point is
17236 at end of line. Does not highligt spaces at beginning of buffer
17237 while point is at beginning of buffer. Does not highlight spaces
17238 at end of buffer while point is at end of buffer. (Bug#4177)
17239 New version 12.0.
17240 (whitespace-display-mappings): Adjust initialization.
17241 (whitespace-point, whitespace-font-lock-refontify): New vars.
17242 (whitespace-color-on, whitespace-color-off): Adjust code.
17243 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17244 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17245 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17246
17247 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17248
17249 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17250
17251 * textmodes/sgml-mode.el: Remove xml-mode alias.
17252
17253 * files.el (auto-mode-alist, conf-mode-maybe)
17254 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17255
17256 2009-09-24 Alan Mackenzie <acm@muc.de>
17257
17258 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17259 c-forward-conditionals, but it doesn't move point and doesn't set
17260 the mark.
17261 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17262 (c-down-conditional-with-else, c-backward-conditional)
17263 (c-forward-conditional): Refactor to use c-scan-conditionals.
17264
17265 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17266
17267 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17268 (help-default-arg-highlight): Remove.
17269 (help-highlight-arg): New function.
17270 (help-do-arg-highlight): Use it.
17271 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17272
17273 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17274
17275 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17276 Undo last change, which didn't fix the problem and introduced others.
17277
17278 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17279
17280 * progmodes/gdb-mi.el: Don't require speedbar.
17281 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17282
17283 2009-09-24 Glenn Morris <rgm@gnu.org>
17284
17285 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17286
17287 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17288
17289 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17290 there is no newline after the final mime boundary. (Bug#4539)
17291 Move markers on insertion so that any buttons inserted don't end up in
17292 the next part of a multipart message.
17293 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17294 (rmail-mime-bulk-handler): Optionally handle images.
17295 (rmail-mime-image): New button action.
17296 (rmail-mime-image-handler): New function.
17297 (rmail-mime-mode): New mode.
17298 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17299
17300 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17301
17302 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17303 than just dropping elements from it (bug#4504).
17304
17305 * term.el (term-set-scroll-region): Don't move cursor any more.
17306 (term-handle-ansi-escape): Call term-goto here instead.
17307 Suggested by Ivan Kanis <apple@kanis.eu>.
17308
17309 * term.el: Require CL.
17310 (term-ansi-reset): New function.
17311 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17312 (term-handle-colors-array): Simplify.
17313
17314 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17315
17316 * allout.el (allout-overlay-interior-modification-handler)
17317 (allout-obtain-passphrase):
17318 * epa-file.el (epa-file-write-region):
17319 * ps-print.el (ps-begin-job):
17320 * vc-hooks.el (vc-toggle-read-only):
17321 * vc-rcs.el (vc-rcs-rollback):
17322 * vc-sccs.el (vc-sccs-rollback):
17323 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17324 (vc-version-diff, vc-revert, vc-rollback):
17325 * wdired.el (wdired-check-kill-buffer):
17326 * emacs-lisp/authors.el (authors):
17327 * net/socks.el (socks-open-connection):
17328 * net/zeroconf.el (zeroconf-service-add-hook):
17329 * obsolete/vc-mcvs.el (vc-mcvs-register):
17330 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17331 (gdb-select-frame):
17332 * progmodes/grep.el (lgrep, rgrep):
17333 * progmodes/idlw-help.el (idlwave-help-check-locations)
17334 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17335 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17336 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17337 (reftex-toc-rename-label): Fix typos in error messages.
17338
17339 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17340 (dired-copy-how-to-fn): Doc fix.
17341 (dired-files-attributes, dired-read-shell-command):
17342 Fix typos in docstrings.
17343
17344 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17345 (dired-x-find-file-other-window): Reflow docstrings.
17346 (dired-omit-marker-char, dired-read-shell-command)
17347 (dired-x-submit-report): Fix typos in docstrings.
17348
17349 * shell.el (shell-mode-hook):
17350 * view.el (View-scroll-line-forward):
17351 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17352 Fix typos in docstrings.
17353
17354 * net/dig.el (dig-invoke): Fix typo in docstring.
17355 (query-dig): Reflow docstring.
17356
17357 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17358 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17359 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17360 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17361 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17362 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17363 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17364 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17365 (idlwave-completion-map, idlwave-current-indent)
17366 (idlwave-custom-ampersand-surround, idlwave-customize)
17367 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17368 (idlwave-define-abbrev, idlwave-determine-class-special)
17369 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17370 (idlwave-end-block-reg, idlwave-end-of-statement)
17371 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17372 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17373 (idlwave-explicit-class-listed, idlwave-file-header)
17374 (idlwave-fill-paragraph, idlwave-find-class-definition)
17375 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17376 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17377 (idlwave-in-quote, idlwave-indent-action-table)
17378 (idlwave-indent-expand-table, idlwave-indent-line)
17379 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17380 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17381 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17382 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17383 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17384 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17385 (idlwave-outlawed-buffers, idlwave-popup-select)
17386 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17387 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17388 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17389 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17390 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17391 (idlwave-statement-type, idlwave-struct-skip)
17392 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17393 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17394 (idlwave-what-module-find-class): Fix typos in docstrings.
17395 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17396 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17397 (idlwave-find-module, idlwave-find-structure-definition)
17398 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17399 (idlwave-list-load-path-shadows, idlwave-next-statement)
17400 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17401 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17402 (idlwave-template): Reflow docstrings.
17403
17404 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17405 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17406 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17407 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17408 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17409 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17410 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17411 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17412 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17413 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17414 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17415 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17416 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17417 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17418 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17419 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17420 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17421 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17422 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17423 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17424 Fix typos in docstrings.
17425 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17426 (idlwave-shell-hide-output, idlwave-shell-mode)
17427 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17428 Reflow docstrings.
17429
17430 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17431
17432 2009-09-24 Ivan Kanis <apple@kanis.eu>
17433
17434 * term.el (term-bold-attribute): New var.
17435 (term-handle-colors-array): Use it.
17436
17437 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17438
17439 * progmodes/gdb-mi.el (gdb-version): New variable.
17440 (gdb-non-stop-handler): Set gdb-version.
17441 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17442 Condition "--thread" option on gdb-version.
17443 (gdb-invalidate-threads): Remove unused argument.
17444
17445 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17446
17447 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17448 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17449
17450 2009-09-23 Glenn Morris <rgm@gnu.org>
17451
17452 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17453 replying to mail without References or Message-Id. (Bug#4525)
17454
17455 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17456
17457 * term/ns-win.el (ns-reg-to-script): New variable.
17458
17459 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17460
17461 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17462
17463 2009-09-22 Sam Steingold <sds@gnu.org>
17464
17465 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17466 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17467 to 1 because hg returns status 1 when nothing is found.
17468 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17469
17470 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17471
17472 * textmodes/fill.el: Convert to utf-8 encoding.
17473 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17474 pre-Unicode days.
17475
17476 * add-log.el (change-log-fill-forward-paragraph): New function.
17477 (change-log-mode): Use it so fill-region DTRT.
17478 Set fill-indent-according-to-mode here rather than in
17479 change-log-fill-paragraph.
17480 (change-log-fill-paragraph): Remove.
17481
17482 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17483
17484 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17485 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17486
17487 2009-09-22 Glenn Morris <rgm@gnu.org>
17488
17489 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17490 the scroll-bar scroll the calendar window rather than the buffer.
17491
17492 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17493 commands that move point (as opposed to scrolling).
17494
17495 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17496
17497 * emacs-lisp/elint.el (elint): New custom group.
17498 (elint-log-buffer): Make it a defcustom.
17499 (elint-scan-preloaded, elint-ignored-warnings)
17500 (elint-directory-skip-re): New options.
17501 (elint-builtin-variables): Doc fix.
17502 (elint-preloaded-env): New variable.
17503 (elint-unknown-builtin-args): Add an entry for encode-time.
17504 (elint-extra-errors): Make it a variable rather than a constant.
17505 (elint-preloaded-skip-re): New constant.
17506 (elint-directory): Skip files matching elint-directory-skip-re.
17507 (elint-features): New variable, local to linted buffers.
17508 (elint-update-env): Initialize elint-features. Possibly add
17509 elint-preloaded-env to the buffer's environment.
17510 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17511 Skip quoted forms.
17512 (elint-init-form): New function, extracted from elint-init-env.
17513 Make non-list forms a warning rather than an error.
17514 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17515 easy-menu-define, put that adds an error-condition, and provide.
17516 When requiring cl, also require cl-macs. Really require cl, to handle
17517 some cl macros. Store required libraries in the list elint-features,
17518 so as not to re-load them. Treat cc-require like require.
17519 (elint-init-env): Call elint-init-form to do the work.
17520 Handle eval-and-compile and such like.
17521 (elint-add-required-env): Do not clear messages.
17522 (elint-special-forms): Add handlers for function, defalias, if, when,
17523 unless, and, or.
17524 (elint-form): Add optional argument to ignore elint-special-forms,
17525 useful to prevent recursive calls from handlers. Doc fix.
17526 Respect elint-ignored-warnings.
17527 (elint-form): Respect elint-ignored-warnings.
17528 (elint-bound-variable, elint-bound-function): New variables.
17529 (elint-unbound-variable): Respect elint-bound-variable.
17530 (elint-get-args): Respect elint-bound-function.
17531 (elint-check-cond-form): Add some simple handling for (f)boundp and
17532 featurep tests.
17533 (elint-check-defalias-form): New handler.
17534 (elint-check-let-form): Make an empty let a warning rather than an
17535 error.
17536 (elint-check-setq-form): Make an empty setq a warning rather than an
17537 error. Respect elint-ignored-warnings.
17538 (elint-check-defvar-form): Accept null doc-strings.
17539 (elint-check-conditional-form): New handler. Does some simple-minded
17540 checking of featurep and (f)boundp tests.
17541 (elint-put-function-args): New function.
17542 (elint-initialize): Use elint-scan-doc-file rather than
17543 elint-find-builtin-variables. Use elint-put-function-args.
17544 Possibly scan preloaded-file-list.
17545 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17546 extend to handle functions as well.
17547
17548 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17549
17550 * linum.el (linum-delete-overlays, linum-update-window):
17551 Do not modify the right margin. (Bug#3971)
17552
17553 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17554
17555 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17556 Use nxml-mode instead of xml-mode.
17557
17558 2009-09-21 Kevin Ryde <user42@zip.com.au>
17559
17560 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17561
17562 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17563
17564 * net/dig.el (dig-mode): Use define-derived-mode.
17565
17566 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17567
17568 * vc-dispatcher.el (vc-do-command): Return the process object in
17569 the asynchronous case. Use when instead of if. Do not run
17570 vc-exec-after to display a message if not enabled. (Bug#4463)
17571
17572 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17573 properties to the stash strings.
17574 (vc-git-stash-list): Return a list of strings.
17575 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17576 (vc-git-stash-show-at-point): New functions.
17577 (vc-git-stash-map): New keymap.
17578
17579 * register.el (ctl-x-r-map): Define the keys here instead of
17580 using autoload.
17581
17582 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17583
17584 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17585 list, to workaround performance problem (bug#4485).
17586
17587 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17588
17589 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17590
17591 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17592
17593 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17594 Document that this option is not recommended to use.
17595
17596 2009-09-19 Glenn Morris <rgm@gnu.org>
17597
17598 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17599 variable `var'.
17600
17601 * calc/calc-alg.el (var):
17602 * calc/calcalg2.el (var): Define for compiler.
17603
17604 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17605
17606 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17607 Doc fix (Bug#3932).
17608
17609 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17610
17611 * time-stamp.el (time-stamp-month-dd-yyyy)
17612 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17613 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17614 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17615 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17616 Remove functions that have been obsolete since 1995 (Bug#4436).
17617
17618 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17619 indent buffer only if called interactively (Bug#4452).
17620
17621 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17622 Eli Zaretskii <eliz@gnu.org>
17623
17624 This fixes bug#4197 (merged to bug#865, though not identical).
17625 * server.el (server-auth-dir): Add docstring note about FAT32.
17626 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17627 but warn against using them.
17628
17629 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17630
17631 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17632 older GDB where there is no has_more field.
17633
17634 2009-09-19 Glenn Morris <rgm@gnu.org>
17635
17636 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17637
17638 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17639
17640 * files.el (auto-mode-alist): Change default for XML files to nXML
17641 mode (Bug#4169).
17642
17643 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17644
17645 * server.el (server-ensure-safe-dir): Pass 'integer
17646 to `file-attributes', as suggested.
17647
17648 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17649
17650 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17651 (dired-query): Use read-key.
17652
17653 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17654
17655 * cus-start.el (ns-use-qd-smoothing): Remove.
17656
17657 2009-09-18 Glenn Morris <rgm@gnu.org>
17658
17659 * allout.el (top-level): Remove unnecessary progn.
17660
17661 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17662
17663 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17664 definition of abbrev table.
17665
17666 * speedbar.el (speedbar-track-mouse):
17667 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17668 * net/eudc.el (eudc-expand-inline):
17669 * net/newst-backend.el (newsticker--cache-read-feed):
17670 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17671 condition-case handlers.
17672
17673 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17674
17675 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17676 (gdb-var-list): Add an element for has_more field.
17677 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17678 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17679 (gdb-var-update-handler-1): Parse output of dynamic variable
17680 objects (STL containers).
17681 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17682 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17683
17684 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17685 gdb-var-list.
17686 (gud-speedbar-buttons): Make node expandable if expression "has more"
17687 children.
17688
17689 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17690
17691 * startup.el (emacs-quick-startup): Remove variable and all uses.
17692 (command-line): Set `inhibit-x-resources' instead.
17693 (command-line-1): Use `inhibit-x-resources' instead.
17694
17695 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17696
17697 * subr.el: Fix last change to avoid using the `unless' macro,
17698 which breaks bootstrapping.
17699
17700 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17701
17702 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17703 extended definitions, in case we reload subr.el after having
17704 loaded CL.
17705 (eval-next-after-load): Mark as obsolete.
17706
17707 2009-09-17 Juri Linkov <juri@jurta.org>
17708
17709 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17710 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17711 (menu-bar-showhide-menu, menu-bar-tools-menu)
17712 (menu-bar-describe-menu, menu-bar-help-menu)
17713 (minibuffer-local-completion-map, minibuffer-local-map):
17714 Fix list quoting.
17715
17716 2009-09-17 Glenn Morris <rgm@gnu.org>
17717
17718 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17719 arguments, whether or not it has a handler.
17720
17721 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17722
17723 * simple.el (hard-newline): Give it a doc-string.
17724
17725 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17726 (lisp-mode-syntax-table): Give them doc-strings.
17727
17728 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17729
17730 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17731 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17732 (menu-bar-options-menu, menu-bar-showhide-menu)
17733 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17734 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17735 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17736 (menu-bar-options-menu, menu-bar-tools-menu)
17737 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17738 (menu-bar-help-menu):
17739 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17740 string arguments.
17741
17742 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17743 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17744 calls for the menu names and :help.
17745
17746 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17747
17748 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17749 to :minor-mode-function (bug#4455).
17750
17751 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17752
17753 * startup.el (command-line): Initialize the window-system after
17754 processing the command-line.
17755
17756 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17757 page-delimiter matches the empty string.
17758
17759 2009-09-16 Glenn Morris <rgm@gnu.org>
17760
17761 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17762 byte-compile-not-obsolete-var. It's a list now.
17763 (byte-compile-not-obsolete-funcs): New variable.
17764 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17765 byte-compile-not-obsolete-funcs.
17766 (byte-compile-variable-ref, byte-compile-defvar): Update for
17767 byte-compile-not-obsolete-vars name-change and list nature.
17768 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17769 and variables behind (f)boundp tests.
17770 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17771
17772 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17773
17774 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17775
17776 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17777
17778 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17779 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17780 Don't autoload.
17781
17782 2009-09-15 Stephen Eglen <stephen@gnu.org>
17783
17784 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17785 the virtual-buffers, use the name of the buffer specified by
17786 find-file-noselect, as the match may be a symlink. (This was a
17787 problem if the target and the symlink had different names.)
17788
17789 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17790
17791 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17792
17793 * desktop.el (desktop-path): Check user-emacs-directory.
17794
17795 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17796
17797 * loadup.el: Use after-load-functions to GC after loading each file.
17798 Remove the explicit GC calls that used to be sprinkled around.
17799
17800 * subr.el (after-load-functions): New hook.
17801 (do-after-load-evaluation): Run it. Use string-match-p to detect
17802 `obsolete' packages, rather than painfully extracting the relevant
17803 directory name.
17804
17805 2009-09-15 Glenn Morris <rgm@gnu.org>
17806
17807 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17808 free variable `doc'.
17809
17810 * dired.el (dired-mode-map): Add menu entry for async shell command.
17811
17812 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17813 variables, also consider the .elc files, since the .el files are
17814 normally gzipped (subsequent code locates the .el.gz from the .elc).
17815
17816 * calc/calc-prog.el (arglist): Define for compiler.
17817
17818 * calendar/diary-lib.el (diary-display-function): Change the default to
17819 fancy display.
17820 (body): Define for compiler.
17821
17822 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17823 (byte-compile-file-form, byte-compile-lambda)
17824 (byte-compile-top-level-body, byte-compile-form)
17825 (byte-compile-variable-ref, byte-compile-setq)
17826 (byte-compile-setq-default, byte-compile-body)
17827 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17828 (batch-byte-compile): Give some more local variables with common names
17829 a "bytecomp-" prefix to avoid masking warnings about free variables.
17830
17831 * startup.el (command-line-1): Give local variables with common names a
17832 distinguishing prefix, so as not to hide free variable warnings during
17833 bootstrap.
17834
17835 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17836 clever and add a suffix to make a unique name, just let the user decide
17837 whether or not to overwrite it. If the input is a directory, write the
17838 default filename to that directory. (Bug#4388)
17839 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17840 is a filename-as-a-directory.
17841
17842 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17843
17844 * textmodes/page.el (what-page): Don't move to beginning of line.
17845 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17846
17847 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17848
17849 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17850
17851 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17852
17853 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17854 * help.el (help-for-help-internal): Add purecopy calls for text.
17855
17856 * vc.el (top): print-log method now takes an optional SHORTLOG
17857 argument. Add a new method: root.
17858 (vc-root-diff, vc-print-root-log): New functions.
17859 (vc-log-short-style): New variable.
17860 (vc-print-log-internal): Add support for showing short logs.
17861
17862 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17863 vc-print-root-log and vc-print-root-diff.
17864
17865 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17866 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17867 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17868 short logs.
17869
17870 * vc-cvs.el (vc-cvs-print-log):
17871 * vc-mtn.el (vc-mtn-print-log):
17872 * vc-rcs.el (vc-rcs-print-log):
17873 * vc-sccs.el (vc-sccs-print-log):
17874 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17875 that is ignored for now.
17876
17877 * vc-mtn.el (vc-mtn-annotate-command):
17878 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17879
17880 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17881
17882 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17883 to function-key-map, and give them ascii-character property.
17884 * term/x-win.el (x-alternatives-map):
17885 * term/ns-win.el (ns-alternatives-map):
17886 * term/internal.el (msdos-key-remapping-map):
17887 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17888
17889 2009-09-14 Glenn Morris <rgm@gnu.org>
17890
17891 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17892 temp-buffers (2009-09-12).
17893
17894 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17895
17896 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17897 the new read-key function.
17898
17899 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17900
17901 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17902 is defined (Bug#4405).
17903
17904 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17905
17906 * recentf.el (recentf-cleanup): Use a hash table to find
17907 duplicates (Bug#4407).
17908
17909 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17910
17911 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17912 kp-0 to ascii equivalents (Bug#4325).
17913
17914 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17915
17916 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17917
17918 * eshell/em-hist.el:
17919 * eshell/em-dirs.el (eshell-complete-user-reference):
17920 Declare pcomplete functions and variables to avoid compiler warnings.
17921
17922 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17923
17924 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17925 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17926 * eshell/em-alias.el (eshell-aliases-file):
17927 * eshell/em-hist.el (eshell-history-file-name):
17928 Use expand-file-name instead of concat to make file names (Bug#4308).
17929
17930 2009-09-13 Glenn Morris <rgm@gnu.org>
17931
17932 * ediff-merg.el (ediff-do-merge):
17933 * filesets.el (filesets-run-cmd):
17934 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17935 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17936 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17937 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17938 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17939 Replace empty `let's with `progn'.
17940
17941 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17942
17943 * mail/sendmail.el (send-mail-function):
17944 * tooltip.el (tooltip-mode):
17945 * simple.el (transient-mark-mode):
17946 * rfn-eshadow.el (file-name-shadow-mode):
17947 * frame.el (blink-cursor-mode):
17948 * font-core.el (global-font-lock-mode):
17949 * files.el (temporary-file-directory)
17950 (small-temporary-file-directory, auto-save-file-name-transforms):
17951 * epa-hook.el (auto-encryption-mode):
17952 * composite.el (global-auto-composition-mode):
17953 Use custom-initialize-delay.
17954 * startup.el (command-line): Don't explicitly call
17955 custom-reevaluate-setting for all the above vars.
17956 * custom.el (custom-initialize-safe-set)
17957 (custom-initialize-safe-default): Delete.
17958
17959 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17960
17961 * term/x-win.el (x-initialize-window-system):
17962 * term/w32-win.el (w32-initialize-window-system):
17963 * term/ns-win.el (ns-initialize-window-system): Don't call
17964 mouse-wheel-mode since it's enabled globally by default already.
17965
17966 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17967 actually define the variable, but only silences the byte-compiler.
17968 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17969 before looking it up.
17970 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17971 is changed.
17972
17973 2009-09-12 Glenn Morris <rgm@gnu.org>
17974
17975 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17976 1000.
17977 (elint-add-required-env): Don't beep on error.
17978 (elint-forms): In case of error, return ENV unchanged.
17979 (elint-init-env): Skip non-list forms.
17980 (elint-log): Handle unknown file positions.
17981
17982 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17983
17984 * epg.el (epg-make-context): Add autoload cookie.
17985 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17986 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17987 (epg-verify-string, epg-start-sign, epg-sign-file)
17988 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17989 (epg-encrypt-string, epg-start-export-keys)
17990 (epg-export-keys-to-file, epg-export-keys-to-string)
17991 (epg-start-import-keys, epg-import-keys-from-file)
17992 (epg-import-keys-from-string, epg-start-receive-keys)
17993 (epg-receive-keys, epg-import-keys-from-server)
17994 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17995 (epg-sign-keys, epg-start-generate-key)
17996 (epg-generate-key-from-file, epg-generate-key-from-string):
17997 Remove autoload cookie.
17998
17999 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18000
18001 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18002 reevaluation of trash-directory.
18003
18004 * mwheel.el: Fix last change.
18005 (mouse-wheel-mode): New defvar.
18006 (mouse-wheel-mode): Remove autoload cookie.
18007
18008 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18009
18010 * mwheel.el (mwheel-installed-bindings): New var.
18011 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18012 the bindings we set last time. Use custom-initialize-delay.
18013 * loadup.el: Load mwheel after term/*-win.el.
18014 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18015 and mouse-wheel-up-event now that their first evaluation is done
18016 sufficiently late to be correct.
18017
18018 * startup.el (tutorial-directory): Make it a defcustom.
18019 Use custom-initialize-delay rather than eval-at-startup to set it.
18020 * image.el (image-load-path): Make it a defcustom.
18021 Use custom-initialize-delay rather than eval-at-startup to set it.
18022 * subr.el (eval-at-startup): Remove.
18023 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18024
18025 * subr.el (do-after-load-evaluation): Warn the user after loading an
18026 obsolete package.
18027
18028 2009-09-12 Glenn Morris <rgm@gnu.org>
18029
18030 * proced.el (proced-mark-alt): Remove alias.
18031 (proced-mode-map): Remove proced-mark-alt.
18032
18033 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18034 Elint file and directory. Remove initialization entry.
18035
18036 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18037 commands.
18038 (elint-current-buffer): Set mode-line-process.
18039 (elint-init-env): Handle define-derived-mode.
18040 Fix declare-function with unspecified arglist. Guard against odd
18041 defalias statements (eg iso-insert's 8859-1-map).
18042 (elint-add-required-env): Use a temp buffer.
18043 (elint-form): Just print the function/macro name, not the whole form.
18044 Return env unchanged if we fail to parse a macro.
18045 (elint-forms): Guard against parse errors.
18046 (elint-output): New function, to handle batch mode.
18047 (elint-log-message): Add optional argument. Use elint-output.
18048 (elint-set-mode-line): New function.
18049
18050 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18051
18052 * emacs-lisp/elp.el (elp-not-profilable): Add more
18053 functions (Bug#4233).
18054
18055 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18056
18057 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18058 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18059
18060 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18061
18062 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18063 (gdb-var-list-children): Use json parsing.
18064
18065 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18066
18067 * progmodes/js.el (js--proper-indentation): Handle the case where
18068 char-before is null. Reported by Deniz Dogan.
18069
18070 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18071
18072 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18073
18074 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18075
18076 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18077 (epg-digest-algorithm-alist): Add SHA224.
18078 (epg-context-set-passphrase-callback)
18079 (epg-context-set-progress-callback): Add description about
18080 callback function.
18081
18082 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18083
18084 * custom.el (custom-delayed-init-variables): New var.
18085 (custom-initialize-delay): New function.
18086 * startup.el (command-line): "Re"evaluate all vars in
18087 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18088 explicitly any more.
18089 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18090 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18091
18092 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18093
18094 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18095
18096 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18097 (gdb-var-update-handler): Use json parsing.
18098
18099 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18100
18101 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18102 decode annotated text, regardless of language environment. (Bug#2741)
18103
18104 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18105
18106 * Makefile.in (autoloads): Make rmail.el writable as well.
18107
18108 2009-09-11 Glenn Morris <rgm@gnu.org>
18109
18110 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18111 loaddefs.el.
18112 * dired.el: Regenerate with extracted autoloads.
18113 * Makefile.in (autoloads): Make dired.el writable.
18114
18115 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18116 * ibuffer.el: Regenerate with extracted autoloads.
18117 * Makefile.in (autoloads): Make ibuffer.el writable.
18118
18119 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18120 * version.el (emacs-copyright, emacs-major-version)
18121 (emacs-minor-version): Reformat doc-strings for make-docfile.
18122
18123 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18124 functions and variables, since they must be stuff specific to some other
18125 platform.
18126 (apropos-print): Make mouse-click message less specific about button.
18127
18128 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18129 that records where a macro was defined.
18130 * help-fns.el (describe-function-1): Mention if a function has a
18131 compiler-macro.
18132 * help-mode.el (help-function-cmacro): New button.
18133
18134 * locate.el (top-level): Always require dired.
18135 (locate-mode-map): Initialize inside the defvar.
18136
18137 * net/ange-ftp.el (dired-compress-file): Declare.
18138 (ange-ftp-dired-compress-file): Add doc string.
18139
18140 * term/ns-win.el (x-display-name, x-setup-function-keys):
18141 Unify doc-strings with X versions.
18142
18143 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18144
18145 * emulation/crisp.el (crisp-mode-map): Move initialization
18146 into declaration.
18147 (crisp-mode): Use define-minor-mode.
18148
18149 * progmodes/xscheme.el (xscheme-evaluation-commands):
18150 Put a :advertised-binding property rather than using
18151 advertised-xscheme-send-previous-expression.
18152 (advertised-xscheme-send-previous-expression): Declare obsolete.
18153 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18154 `advertised-undo'.
18155 (crisp-mode): Add corresponding bindings to
18156 undo's :advertised-binding instead.
18157 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18158 than using dired-advertised-find-file.
18159 (dired-advertised-find-file):
18160 * simple.el (advertised-undo):
18161 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18162 (widget-keymap): Put a :advertised-binding property rather
18163 than using advertised-widget-backward.
18164 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18165 than using advertised-undo.
18166 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18167
18168 2009-09-10 Simon South <ssouth@slowcomputing.org>
18169
18170 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18171 Mark mode is enabled and region is active; otherwise indent or
18172 insert TAB as usual.
18173 (delphi-mode): Update description of TAB-key binding.
18174
18175 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18176
18177 * subr.el (define-key-rebound-commands): Mark obsolete.
18178 * startup.el (precompute-menubar-bindings): Remove.
18179 (normal-top-level): Remove obsolete code that tried to precompute
18180 menubar bindings.
18181 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18182 define-key-rebound-commands and precompute-menubar-bindings.
18183
18184 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18185
18186 * net/imap.el (imap-interactive-login): Better messages.
18187 (imap-open): Fix bug with renamed buffer on reconnect.
18188 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18189 for easier debugging and cleaner code. On successful (guessed based on
18190 server capabilities) secondary authentication, set imap-state
18191 correctly.
18192 (imap-last-authenticator): Define imap-last-authenticator as a variable
18193 to avoid warnings.
18194
18195 2009-09-10 Glenn Morris <rgm@gnu.org>
18196
18197 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18198
18199 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18200 (byte-compile-file-form-autoload): Don't warn about unknown functions
18201 where the autoload statement comes after the use.
18202 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18203 that any handlers inside the body (eg require) are in turn respected.
18204
18205 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18206 effects.
18207
18208 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18209 and syntax and abbrev tables basic docs, if they don't have any.
18210
18211 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18212
18213 * international/mule-cmds.el (top-level): Require cl when compiling.
18214 (view-hello-file): Use default-value rather than
18215 default-enable-multibyte-characters.
18216
18217 * progmodes/fortran.el: Move all safe and risky properties into the
18218 defcustoms.
18219
18220 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18221 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18222 * mail/undigest.el:
18223 Put autoloads in rmail.el rather than loaddefs.el.
18224 * mail/rmail.el: Regenerate with extracted autoloads.
18225
18226 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18227 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18228
18229 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18230
18231 Reported in thread for Bug#4375.
18232 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18233 "-data-evaluate-expression" instead of print.
18234 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18235 (gdb-tooltip-print): Parse output from above MI command.
18236 (gdb): Revert 2009-08-11 change. User should detach inferior
18237 manually.
18238
18239 Remove the word "separate" from IO functions as inferior
18240 output is now never displayed in the GUD buffer.
18241
18242 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18243
18244 * startup.el (command-line-normalize-file-name): On Windows and
18245 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18246
18247 2009-09-10 Juri Linkov <juri@jurta.org>
18248
18249 * isearch.el (isearch-text-char-description): Propertize escape
18250 character sequences with the `escape-glyph' face. (Bug#4344)
18251
18252 * simple.el (shell-command): Set asynchronous process filter to
18253 `comint-output-filter'. (Bug#4343)
18254
18255 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18256 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18257 the list. Move "asm" to the bottom.
18258 (grep-find-ignored-directories): Add `choice' with nil value
18259 to empty the list easily.
18260 (grep-find-ignored-files): New option.
18261 (grep-files-history): Set to nil by default instead of '("ch" "el").
18262 (grep-compute-defaults): Add "<X>" to `grep-template'.
18263 (grep-read-files): Bind new local variables `default-alias' and
18264 `default-extension'. Use a list of default values for the file prompt.
18265 (lgrep): Add `--exclude=' command line options composed from
18266 `grep-find-ignored-files'.
18267 (rgrep): Add `-name' command line options composed from
18268 `grep-find-ignored-files'. (Bug#4301)
18269
18270 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18271
18272 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18273 (bug#4368).
18274
18275 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18276
18277 * calendar/time-date.el (autoload):
18278 Expand define-obsolete-function-alias into defalias and make-obsolete
18279 for old Emacsen that Gnus supports.
18280 (with-no-warnings): Define it for old Emacsen.
18281 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18282 is available.
18283 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18284 float-time is available; suppress compile warning for time-to-seconds.
18285
18286 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18287
18288 * net/imap.el (imap-message-map): Docstring fix.
18289
18290 2009-09-09 Glenn Morris <rgm@gnu.org>
18291
18292 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18293 line numbers too. (Bug#4374)
18294
18295 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18296
18297 * smerge-mode.el (smerge-remove-props, smerge-refine):
18298 Use with-silent-modifications (bug#4342).
18299
18300 * subr.el (with-silent-modifications): New macro.
18301
18302 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18303
18304 * files.el (top-level): Require `cl' when compiling.
18305
18306 2009-09-07 Glenn Morris <rgm@gnu.org>
18307
18308 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18309
18310 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18311 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18312
18313 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18314
18315 * vc-git.el (vc-git-annotate-command): Use separator to parse
18316 arguments correctly.
18317
18318 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18319
18320 * proced.el (proced-mode): Doc fix.
18321
18322 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18323
18324 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18325 lstat fails.
18326 (tramp-do-file-attributes-with-ls): Check for file existence at
18327 remote end.
18328 (tramp-do-file-attributes-with-stat): Likewise.
18329 (tramp-convert-file-attributes): Return nil when attr is nil.
18330
18331 2009-09-05 Glenn Morris <rgm@gnu.org>
18332
18333 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18334 properties to this button.
18335 (diary-fancy-display): Don't extend the button to the final newline.
18336 (diary-fancy-display-mode): Continue to define "q" as a local key.
18337
18338 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18339 efficient.
18340
18341 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18342
18343 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18344 (byte-compile-dest-file-function): New option.
18345 (byte-compile-dest-file): Doc fix.
18346 Obey byte-compile-dest-file-function.
18347 (byte-compile-cl-file-p): New function.
18348 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18349 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18350 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18351 than for file being previously loaded.
18352 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18353 (byte-compile-file-form-require): Handle the case where requiring a file
18354 indirectly causes CL to be loaded.
18355
18356 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18357
18358 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18359 before killing the old buffer, since by the time `kill-buffer' is
18360 run so many buffer variables have been set to nil that it may not
18361 behave as expected. (Bug#4061)
18362
18363 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18364
18365 * files.el (find-alternate-file): If the old buffer is modified
18366 and visiting a file, behave similarly to `kill-buffer' when
18367 killing it, thus reverting to the pre-1.878 behavior; see
18368 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18369 for discussion. Also, consult `buffer-file-name' as a variable
18370 not as a function, for consistency with the rest of the code.
18371
18372 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18373
18374 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18375 also when adding a new directory.
18376
18377 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18378 New defun.
18379
18380 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18381
18382 * files.el (locate-file-completion-table): Make it provide boundary
18383 information, so partial-completion works better.
18384
18385 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18386
18387 * mail/footnote.el (Footnote-text-under-cursor):
18388 Check footnote-text-marker-alist before using it (bug#4324).
18389
18390 2009-09-04 Glenn Morris <rgm@gnu.org>
18391
18392 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18393 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18394 * play/solitaire.el, play/tetris.el:
18395 Remove leading * from defcustom and defface docs.
18396
18397 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18398 necessary.
18399 (diary-fancy-overriding-map): New variable.
18400 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18401 Use view-mode.
18402
18403 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18404 goto-line.
18405
18406 2009-09-03 Glenn Morris <rgm@gnu.org>
18407
18408 * arc-mode.el (archive-mode):
18409 * dos-fns.el (set-default-process-coding-system):
18410 * man.el (Man-getpage-in-background):
18411 * menu-bar.el (menu-bar-describe-menu):
18412 * server.el (server-process-filter):
18413 * startup.el (command-line):
18414 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18415 * w32-fns.el (set-default-process-coding-system):
18416 * x-dnd.el (x-dnd-handle-file-name):
18417 * international/mule-cmds.el (mule-menu-keymap)
18418 (set-default-coding-systems, language-info-alist, set-language-info)
18419 (set-language-environment, standard-display-european-internal)
18420 (set-locale-environment):
18421 * international/mule-diag.el (mule-diag):
18422 * mail/emacsbug.el (report-emacs-bug):
18423 * mail/rmail.el (rmail-mode):
18424 * mail/sendmail.el (mail-setup):
18425 Use default-value rather than default-enable-multibyte-characters.
18426
18427 * progmodes/f90.el: Move all safe properties into the defcustoms.
18428 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18429
18430 * calendar/appt.el (appt-check):
18431 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18432 (diary-check-diary-file, diary-list-entries)
18433 (diary-include-other-diary-files, diary-simple-display)
18434 (diary-fancy-display, diary-print-entries)
18435 (diary-mark-included-diary-files, diary-make-entry):
18436 Don't call substitute-in-file-name on diary-file.
18437
18438 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18439 Stefan Monnier <monnier@iro.umontreal.ca>
18440
18441 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18442 (footnote-mode-map): Move initialization into the declaration.
18443 (footnote-minor-mode-map): Define it rather than changing global-map.
18444 (footnote-mode): Use define-minor-mode.
18445
18446 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18447
18448 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18449 (tramp-do-file-attributes-with-perl)
18450 (tramp-do-file-attributes-with-stat): Rename from
18451 `tramp-handle-file-attributes-with-*'.
18452 (tramp-handle-file-attributes): Use them.
18453 (tramp-do-directory-files-and-attributes-with-perl)
18454 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18455 `tramp-handle-directory-files-and-attributes-with-*'.
18456 (tramp-handle-directory-files-and-attributes): Use them.
18457 (tramp-method-out-of-band-p): Additional parameter SIZE.
18458 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18459 (tramp-handle-write-region): Use it.
18460 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18461 (tramp-handle-vc-registered): Check, whether the first run did
18462 return files to be tested.
18463 (tramp-advice-make-auto-save-file-name): Do not call directly
18464 `tramp-handle-make-auto-save-file-name', because this would bypass
18465 the locking mechanism.
18466
18467 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18468 (file-remote-p, process-file, start-file-process, set-file-times)
18469 (tramp-compat-file-attributes): Compatibility functions shall not
18470 call directly `tramp-handle-*', because this would bypass the
18471 locking mechanism.
18472 (tramp-compat-number-sequence): New defun.
18473
18474 2009-09-02 Glenn Morris <rgm@gnu.org>
18475
18476 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18477 alias for float-time.
18478 (time-to-number-of-days): In Emacs, use float-time.
18479 * net/newst-backend.el (time-add): Suppress warnings from compat
18480 function.
18481 * time.el (emacs-uptime, emacs-init-time):
18482 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18483 Use float-time rather than time-to-seconds.
18484
18485 * minibuffer.el (completion-initials-expand): Fix typo.
18486
18487 * faces.el (modeline, modeline-inactive, modeline-highlight)
18488 (modeline-buffer-id):
18489 * info.el (info-menu-5): Mark these face aliases as obsolete.
18490
18491 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18492
18493 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18494 space ...
18495 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18496 no "--thread" option.
18497 (gdb-stopped): Don't print "Switched to thread" message when it is
18498 unchanged.
18499
18500 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18501
18502 * minibuffer.el (completion-try-completion)
18503 (completion-all-completions): Remove ill-defined (and
18504 mistakenly installed and luckily never used nor documented)
18505 `completion-styles' property.
18506 (completion-initials-expand, completion-initials-all-completions)
18507 (completion-initials-try-completion): New functions.
18508 (completion-styles-alist): Add doc to each entry.
18509 Add new `initials' entry.
18510
18511 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18512
18513 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18514 MI command -var-evaluate-expression.
18515 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18516 and tweak for case of string child.
18517 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18518
18519 2009-09-01 Glenn Morris <rgm@gnu.org>
18520
18521 * add-log.el (change-log-date-face, change-log-name-face)
18522 (change-log-email-face, change-log-file-face, change-log-list-face)
18523 (change-log-conditionals-face, change-log-function-face)
18524 (change-log-acknowledgement-face):
18525 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18526 (custom-modified-face, custom-set-face, custom-changed-face)
18527 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18528 (custom-documentation-face, custom-state-face, custom-comment-face)
18529 (custom-comment-tag-face, custom-variable-tag-face)
18530 (custom-variable-button-face, custom-face-tag-face)
18531 (custom-group-tag-face-1, custom-group-tag-face):
18532 * diff-mode.el (diff-header-face, diff-file-header-face)
18533 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18534 (diff-added-face, diff-changed-face, diff-function-face)
18535 (diff-context-face, diff-nonexistent-face):
18536 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18537 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18538 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18539 (Info-title-4-face):
18540 * isearch.el (isearch-lazy-highlight-face):
18541 * log-view.el (log-view-file-face, log-view-message-face):
18542 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18543 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18544 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18545 (cvs-msg-face):
18546 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18547 (smerge-base-face, smerge-markers-face):
18548 * wid-edit.el (widget-documentation-face, widget-button-face)
18549 (widget-field-face, widget-single-line-field-face)
18550 (widget-inactive-face, widget-button-pressed-face):
18551 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18552 (woman-addition-face):
18553 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18554 (eshell-ls-executable-face, eshell-ls-readonly-face)
18555 (eshell-ls-unreadable-face, eshell-ls-special-face)
18556 (eshell-ls-missing-face, eshell-ls-archive-face)
18557 (eshell-ls-backup-face, eshell-ls-product-face)
18558 (eshell-ls-clutter-face):
18559 * eshell/em-prompt.el (eshell-prompt-face):
18560 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18561 * obsolete/old-whitespace.el (whitespace-highlight-face):
18562 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18563 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18564 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18565 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18566 (antlr-font-lock-literal-face):
18567 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18568 (ebrowse-root-class-face, ebrowse-file-name-face)
18569 (ebrowse-default-face, ebrowse-member-attribute-face)
18570 (ebrowse-member-class-face, ebrowse-progress-face):
18571 * progmodes/make-mode.el (makefile-space-face):
18572 * progmodes/sh-script.el (sh-heredoc-face):
18573 * textmodes/flyspell.el (flyspell-incorrect-face)
18574 (flyspell-duplicate-face):
18575 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18576 * textmodes/texinfo.el (texinfo-heading-face):
18577 Mark face aliases with "-face" suffix as obsolete.
18578
18579 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18580 compiler.
18581
18582 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18583 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18584 easy-menu-define wants to modify these.
18585
18586 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18587
18588 * net/browse-url.el (browse-url-file-url):
18589 * term/internal.el (dos-codepage-setup):
18590 Use default-value rather than default-enable-multibyte-characters.
18591
18592 * progmodes/etags.el (etags-goto-tag-location):
18593 * progmodes/flymake.el (flymake-highlight-line)
18594 (flymake-goto-file-and-line, flymake-goto-line):
18595 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18596 (gdb-goto-breakpoint):
18597 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18598 * progmodes/python.el (python-find-function)
18599 (python-pdbtrack-track-stack-file):
18600 * progmodes/verilog-mode.el (verilog-surelint-off):
18601 * term/ns-win.el (ns-open-file-select-line):
18602 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18603 Use forward-line rather than goto-line.
18604
18605 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18606 * textmodes/reftex-index.el (reftex-display-index):
18607 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18608 * textmodes/reftex-toc.el (reftex-toc):
18609 Remove unnecessary bindings of default-major-mode (all are followed by
18610 major-mode check and possible mode switch).
18611
18612 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18613
18614 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18615 Handle watchpoints (bug#4282).
18616 (def-gdb-thread-buffer-command): Enable thread to be selected by
18617 clicking without selecting threads buffer first.
18618 (gdb-current-context-command): Use selected frame so that "up",
18619 "down" etc work in the GUD buffer.
18620 (gdb-update): Find selected frame before rendering stack buffer.
18621 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18622
18623 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18624
18625 * progmodes/sym-comp.el (displayed-completions): Remove.
18626 (symbol-complete): Use minibuffer-complete.
18627
18628 2009-08-31 Glenn Morris <rgm@gnu.org>
18629
18630 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18631
18632 * apropos.el (apropos-symbols-internal):
18633 Handle (obsolete) face aliases.
18634
18635 * faces.el (describe-face): Adjust the output format to be more like
18636 describe-variable, and to mention (obsolete) face aliases.
18637 Adjust the whitespace so that help-setup-xref works.
18638
18639 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18640 * calendar/diary-lib.el (diary-button-face):
18641 Mark these face aliases as obsolete.
18642
18643 * calendar/calendar.el (calendar-today): Doc fix.
18644
18645 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18646
18647 * progmodes/gdb-mi.el (gdb-control-all-threads)
18648 (gdb-control-current-thread): Force tool bar update.
18649 (gdb-non-stop-handler): New function.
18650 (gdb-init-1): Use it to test if non-stop mode is supported.
18651 Remove unused gdbmi buffer type.
18652
18653 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18654
18655 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18656 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18657
18658 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18659
18660 * comint.el (comint-exec-1): Check command is non-null first.
18661 Part of gdb-mi.el change (2009-08-28).
18662
18663 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18664
18665 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18666
18667 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18668
18669 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18670 instead of `dolist' to avoid a recursive require when bootstrapping.
18671
18672 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18673
18674 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18675
18676 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18677
18678 * net/imap.el (imap-send-command): Simplify.
18679 (imap-wait-for-tag): point-max -> buffer-size.
18680
18681 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18682
18683 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18684 with constant argument.
18685
18686 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18687
18688 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18689
18690 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18691 Change default, since most of our files don't have a history.
18692 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18693 the user.
18694
18695 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18696 Add comint-run.
18697
18698 * calc/calc.el: Improve commenting convention.
18699 (calc-digit-map, toplevel): Simplify.
18700
18701 * comint.el (comint-insert-input): Be careful to only set point if we
18702 don't delegate to some other command.
18703
18704 * proced.el (proced-signal-list): Make it an alist.
18705 (proced-grammar-alist): Capitalize names.
18706 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18707 Disable undo manually and make it read-only.
18708 Use completion-annotate-function.
18709
18710 * minibuffer.el (minibuffer-message): If the current buffer is not
18711 a minibuffer, insert the message in the echo area rather than at the
18712 end of the buffer.
18713 (completion-annotate-function): New variable.
18714 (minibuffer-completion-help): Use it.
18715 (completion--embedded-envvar-table): Environment vars are
18716 always case-sensitive.
18717
18718 2009-08-30 Glenn Morris <rgm@gnu.org>
18719
18720 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18721 from fortran-current-defun.
18722 (fortran-beginning-of-subprogram): Be more precise about finding the
18723 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18724 (fortran-end-of-subprogram): Simplify.
18725 (fortran-current-defun): Use fortran-start-prog-re.
18726
18727 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18728
18729 * subr.el (do-after-load-evaluation): Simplify.
18730
18731 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18732
18733 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18734
18735 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18736 (vc-rcs-print-log): Use it.
18737
18738 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18739
18740 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18741
18742 * paths.el (abbrev-file-name): Move to abbrev.el.
18743 * abbrev.el (abbrev-file-name): Move from paths.el.
18744 Obey user-emacs-directory.
18745 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18746 user-emacs-directory.
18747 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18748 abbrev-file-name and calc-settings-file any more.
18749 * startup.el (command-line): Recompute abbrev-file-name and
18750 abbreviated-home-dir.
18751 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18752 of the special code for when C-h bindings haven't been changed.
18753 (display-startup-echo-area-message): Use with-current-buffer.
18754 (command-line-1): Use a list of strings, rather than a list of lists
18755 of strings for longopts.
18756
18757 * files.el (get-free-disk-space): Use / for default-directory.
18758
18759 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18760 Use with-current-buffer.
18761
18762 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18763 Recognize immutable variables like most-positive-fixnum.
18764 (byte-compile-setq-default): Check and warn if trying to assign
18765 to an immutable variable, or a non-variable.
18766
18767 * progmodes/cc-vars.el (c-comment-continuation-stars):
18768 * progmodes/cc-engine.el (c-looking-at-bos):
18769 * progmodes/cc-cmds.el (c-toggle-auto-state)
18770 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18771 (c-comment-line-break-function): Add version of obsolescence.
18772
18773 2009-08-28 Juri Linkov <juri@jurta.org>
18774
18775 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18776 associated with `archive-mode'.
18777
18778 * image.el (image-type-header-regexps): Use only JPEG magic number
18779 to determine JPEG images, and don't use `image-jpeg-p' because
18780 Emacs can display non-JFIF non-Exif JPEG images.
18781
18782 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18783
18784 * arc-mode.el (archive-mode):
18785 * emacs-lisp/re-builder.el (re-builder-unload-function):
18786 Protect against the default value of `major-mode' being nil.
18787
18788 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18789
18790 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18791 Fix typos in docstrings.
18792
18793 * progmodes/js.el (js--macro-decl-re): Doc fix.
18794 (js--plain-method-re, js--split-name): Refloc docstring.
18795 (js--class-styles, js--make-merged-item, js--splice-into-items):
18796 Fix typos in docstrings; reflow docstrings.
18797 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18798 (js--variable-decl-matcher, js--inside-pitem-p)
18799 (js--parse-state-at-point, js--get-all-known-symbols)
18800 (js--symbol-history, js-find-symbol, js--js-references)
18801 (js--moz-interactor, js--js-encode-value, js--read-tab):
18802 Fix typos in docstrings.
18803
18804 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18805
18806 * textmodes/reftex.el (reftex-get-file-buffer-force):
18807 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18808 * emulation/viper.el (viper-go-away, viper-set-hooks):
18809 * emacs-lisp/re-builder.el (re-builder-unload-function):
18810 * emacs-lisp/bytecomp.el (byte-compile-file):
18811 * ses.el (ses-unload-function):
18812 * hexl.el (hexl-find-file):
18813 * files.el (normal-mode):
18814 * ehelp.el (with-electric-help):
18815 * autoinsert.el (auto-insert-alist):
18816 * arc-mode.el (archive-mode):
18817 Use (default-value 'major-mode) instead of default-major-mode.
18818
18819 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18820 * international/mule.el (load-with-code-conversion):
18821 * emacs-lisp/debug.el (debug):
18822 * ediff-vers.el (ediff-rcs-get-output-buffer):
18823 * dired.el (dired-internal-noselect): Don't let-bind
18824 default-major-mode around code that doesn't use it.
18825 E.g. buffer creation via get-buffer-create doesn't use it.
18826
18827 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18828
18829 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18830 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18831 when writing the temp file. Otherwise, epa-file gets confused.
18832 (tramp-register-file-name-handlers): Make it a defun. Move also
18833 `epa-file-handler' to the front of `file-name-handler-alist'.
18834
18835 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18836
18837 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18838 start right after a ^M.
18839 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18840 (tramp-completion-file-name-regexp-separate)
18841 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18842 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18843 Don't modify last-coding-system-used by accident.
18844 (tramp-completion-file-name-handler): Apply the checks here,
18845 instead during registration.
18846 (tramp-register-file-name-handlers): Rename from
18847 `tramp-register-file-name-handler'. Register both
18848 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18849 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18850
18851 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18852
18853 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18854 Remove variable ...
18855 (gdb-init-1, gdb-display-separate-io-buffer)
18856 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18857 references to it.
18858 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18859 (gdb-inferior-filter): Use comint-output-filter to stop
18860 echoing and remove ^M characters.
18861
18862 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18863
18864 * emulation/viper-init.el (viper-restore-cursor-type):
18865 * emulation/cua-base.el (cua--update-indications):
18866 Replace default-cursor-type with (default-value 'cursor-type).
18867
18868 * mail/sendmail.el (mail-recover-1):
18869 * international/mule-diag.el (describe-current-coding-system-briefly)
18870 (describe-current-coding-system):
18871 * international/mule-cmds.el (select-safe-coding-system)
18872 (select-message-coding-system)
18873 (set-language-environment-coding-systems, set-locale-environment):
18874 * hexl.el (hexl-insert-multibyte-char):
18875 * dos-w32.el (find-buffer-file-type-coding-system):
18876 * simple.el (what-cursor-position):
18877 Replace uses of default-buffer-file-coding-system
18878 with (default-value 'buffer-file-coding-system).
18879
18880 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18881 Replace uses of default-cursor-in-non-selected-windows
18882 with (default-value 'cursor-in-non-selected-windows).
18883 Use with-current-buffer.
18884
18885 * mail/feedmail.el: Use CL macros.
18886 (feedmail-run-the-queue, feedmail-send-it-immediately):
18887 * dos-w32.el (find-buffer-file-type): Replace uses of
18888 default-buffer-file-type with (default-value 'buffer-file-type).
18889
18890 2009-08-28 Glenn Morris <rgm@gnu.org>
18891
18892 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18893 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18894 Use default-value of major-mode rather than default-major-mode.
18895
18896 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18897
18898 * Makefile.in (update-elcfiles): Report left over elc files.
18899
18900 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18901 expand-file-name and with-current-buffer.
18902 (mail-get-names, mail-directory): Use with-current-buffer.
18903
18904 * vc.el (vc-read-revision): New function.
18905 (vc-version-diff, vc-merge): Use it.
18906
18907 2009-08-27 Sam Steingold <sds@gnu.org>
18908
18909 * simple.el (kill-do-not-save-duplicates): New user option.
18910 (kill-new): When it is non-nil, and the new string is the same as
18911 the latest kill, set replace to t to avoid duplicates in kill-ring.
18912
18913 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18914
18915 * net/tramp.el (tramp-handle-process-file): Do not flush all
18916 caches when `process-file-side-effects' is set.
18917 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18918 instead of `tramp-find-file-exists-command'.
18919 Unset `process-file-side-effects'.
18920
18921 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18922
18923 * net/tramp.el (tramp-methods): New method "rsyncc".
18924 (top): Add completion function for "rsyncc".
18925 (tramp-message-show-message): New defvar.
18926 (tramp-message, tramp-error): Use it.
18927 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18928 remote copying.
18929 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18930 `tramp-methods' entry `copy-env' of "rsyncc".
18931 (tramp-vc-registered-read-file-names): New defconst.
18932 (tramp-vc-registered-file-names): New defvar.
18933 (tramp-handle-vc-registered): Implement optimization strategy.
18934 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18935 (tramp-vc-file-name-handler): New defun.
18936 (tramp-get-ls-command, tramp-get-test-command)
18937 (tramp-get-file-exists-command, tramp-get-remote-ln)
18938 (tramp-get-remote-perl, tramp-get-remote-stat)
18939 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18940
18941 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18942 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18943 timestamps.
18944 (tramp-get-file-property): Check for timestamps in
18945 `tramp-cache-inhibit-cache'.
18946 (tramp-set-file-property): Write timestamp.
18947
18948 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18949
18950 * language/japan-util.el (japanese-symbol-table): Add entries for
18951 cp932-2-byte.
18952
18953 * international/characters.el: Add category `j' to cp932-2-byte.
18954
18955 2009-08-27 Kenichi Handa <handa@m17n.org>
18956
18957 * international/fontset.el (build-default-fontset-data): New macro.
18958 (setup-default-fontset): Use build-default-fontset-data for CJK,
18959 tibetan, ethiopic, and ipa.
18960
18961 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18962
18963 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18964 (enable-multibyte-characters): Not customizable any more.
18965
18966 * subr.el (default-mode-line-format, default-header-line-format)
18967 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18968 (default-direction-reversed, default-truncate-lines)
18969 (default-left-margin, default-tab-width, default-case-fold-search)
18970 (default-left-margin-width, default-right-margin-width)
18971 (default-left-fringe-width, default-right-fringe-width)
18972 (default-fringes-outside-margins, default-scroll-bar-width)
18973 (default-vertical-scroll-bar, default-indicate-empty-lines)
18974 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18975 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18976 (default-scroll-down-aggressively, default-fill-column)
18977 (default-cursor-type, default-buffer-file-type)
18978 (default-cursor-in-non-selected-windows)
18979 (default-buffer-file-coding-system, default-major-mode)
18980 (default-enable-multibyte-characters): Mark as obsolete.
18981
18982 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18983
18984 * vc-dir.el (vc-dir-update): Remove debug helper.
18985
18986 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18987
18988 2009-08-26 Sam Steingold <sds@gnu.org>
18989
18990 * simple.el (save-interprogram-paste-before-kill): New user option.
18991 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18992 save the interprogram-paste into kill-ring before overriding it
18993 with the Emacs kill.
18994
18995 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18996
18997 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18998 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18999 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19000 and move to vc-rcs.el.
19001 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19002 move to vc-rcs.el.
19003 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19004 (vc-rcs-update-changelog): Remove.
19005 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19006 and move to vc-rcs.el.
19007
19008 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19009 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19010 renaming.
19011 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19012 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19013 vc.el, renamed to be RCS specific.
19014
19015 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19016 New functions.
19017 (vc-cvs-update-changelog): Move here from vc.el.
19018
19019 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19020 New functions.
19021
19022 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19023
19024 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19025
19026 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19027
19028 * vc-git.el (vc-git-register): Use "git add" for directories.
19029 (vc-git-stash, vc-git-stash-show): New functions.
19030 (vc-git-extra-menu-map): Bind them.
19031
19032 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19033 directory correctly in case the item is a directory itself.
19034
19035 * vc.el: Document the desired behavior for reverted files in the
19036 `added' state.
19037 (vc-default-prettify-state-info): Remove function, unused.
19038
19039 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19040
19041 2009-08-26 Glenn Morris <rgm@gnu.org>
19042
19043 * bindings.el (standard-mode-line-format): Reposition dashes in
19044 which-func entry. (Bug#4217)
19045
19046 * files.el (enable-local-variables, enable-local-eval)
19047 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19048 the defcustoms.
19049 (auto-mode-alist, ignored-local-variables)
19050 (save-some-buffers-action-alist): Move risky declarations to the
19051 definitions.
19052 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19053 (font-lock-defaults, format-alist, imenu--index-alist)
19054 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19055 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19056 (mode-line-modified, mode-line-mule-info, mode-line-position)
19057 (mode-line-process, mode-line-remote, outline-level)
19058 (parse-time-rules, rmail-output-file-alist)
19059 (special-display-buffer-names, vc-mode):
19060 Move risky declarations to the relevant files.
19061 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19062 (mode-line-modified, mode-line-process, mode-line-position)
19063 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19064 * font-core.el (font-lock-defaults):
19065 * format.el (format-alist):
19066 * vc-hooks.el (vc-mode):
19067 * window.el (special-display-buffer-names):
19068 * international/mule-cmds.el (input-method-alist):
19069 Define riskiness here (dumped file) rather than in files.el.
19070 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19071 * imenu.el (imenu-generic-expression, imenu--index-alist):
19072 * outline.el (outline-level):
19073 * time.el (display-time-string):
19074 * calendar/parse-time.el (parse-time-rules):
19075 * mail/rmailout.el (rmail-output-file-alist):
19076 Autoload riskiness here, rather than placing in files.el.
19077
19078 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19079
19080 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19081
19082 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19083
19084 * simple.el (process-file-side-effects): New defvar.
19085
19086 * dired-aux.el (dired-show-file-type):
19087 * vc.el (vc-diff-internal):
19088 * vc-arch.el (vc-arch-diff):
19089 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19090 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19091 * vc-git.el (vc-git-registered, vc-git-working-revision)
19092 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19093 (vc-git--empty-db-p):
19094 * vc-hooks.el (vc-user-login-name):
19095 * vc-svn.el (vc-svn-registered, vc-svn-state)
19096 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19097 * progmodes/grep.el (grep-probe): Let-bind
19098 `process-file-side-effects' with nil.
19099
19100 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19101
19102 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19103 daemon. Replace ping by checking for running service for bluez
19104 and zeroconf. (Bug#4239)
19105
19106 2009-08-25 Kevin Ryde <user42@zip.com.au>
19107
19108 * net/dig.el (dig): Add autoload cookie.
19109
19110 2009-08-25 Glenn Morris <rgm@gnu.org>
19111
19112 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19113 load-history for absolute file-names.
19114 (byte-compile-file-form-require): Warn about use of the cl package.
19115
19116 * format.el (format-alist): Doc fix.
19117
19118 * play/bubbles.el (top-level): Don't require cl at run-time.
19119
19120 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19121 run-time cl).
19122
19123 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19124
19125 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19126 from cl package.
19127 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19128
19129 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19130
19131 * calc/calc-alg.el (math-trig-rewrite)
19132 (math-hyperbolic-trig-rewrite): New functions.
19133 (calc-simplify): Simplify trig functions when asked.
19134
19135 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19136
19137 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19138
19139 2009-08-24 Kenichi Handa <handa@m17n.org>
19140
19141 * language/ind-util.el (mapthread): Delete it.
19142 (combinatorial): New function.
19143 (indian--puthash-cv): Use combinatorial instead of mapthread.
19144
19145 2009-08-22 Kevin Ryde <user42@zip.com.au>
19146
19147 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19148 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19149 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19150 Clarify docstring that the value is strings not symbols.
19151 (checkdoc-list-of-strings-p): New function.
19152
19153 2009-08-22 Glenn Morris <rgm@gnu.org>
19154
19155 * files.el (auto-mode-alist):
19156 * hippie-exp.el (he-concat-directory-file-name):
19157 * lpr.el (lpr-windows-system, printer-name):
19158 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19159 * ps-print.el (ps-windows-system):
19160 * startup.el (command-line):
19161 * emulation/viper-ex.el (viper-glob-function):
19162 * international/mule-cmds.el (set-language-environment-coding-systems):
19163 * net/ange-ftp.el (ange-ftp-write-region):
19164 * obsolete/fast-lock.el (fast-lock-cache-name):
19165 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19166 unisoft-unix, vax-vms, win32, w32.
19167
19168 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19169 given name if the pattern is not more specific.
19170
19171 * calendar/lunar.el (lunar-phase-names): New option.
19172 (lunar-phase): Doc fix.
19173 (lunar-cycles-per-year): New constant.
19174 (lunar-index): New function.
19175 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19176 (lunar-phase-name): Use lunar-phase-names.
19177 (calendar-lunar-phases): Use format.
19178 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19179
19180 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19181 Copy imenu-example--name-and-position function here for own use.
19182 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19183
19184 * bs.el (bs--redisplay):
19185 * cus-edit.el (custom-redraw):
19186 * ibuffer.el (ibuffer-bury-buffer):
19187 * server.el (server-goto-line-column):
19188 * startup.el (command-line-1):
19189 * strokes.el (strokes-xpm-for-stroke):
19190 * term.el (term-display-buffer-line):
19191 * view.el (View-goto-line):
19192 * calc/calc.el (calc-do, calc-trail-buffer):
19193 * play/gamegrid.el (gamegrid-add-score-insecure):
19194 * progmodes/ada-mode.el (ada-compile-goto-error):
19195 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19196 (ebrowse-select-1st-to-9nth):
19197 * progmodes/cperl-mode.el (cperl-time-fontification):
19198 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19199 * progmodes/gud.el (gud-display-line):
19200 (idlwave-shell-display-line):
19201 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19202 * progmodes/make-mode.el (makefile-browser-toggle):
19203 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19204 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19205 * textmodes/picture.el (picture-draw-rectangle):
19206 * textmodes/reftex-index.el (reftex-index-goto-letter):
19207 (reftex-select-jump-to-previous):
19208 * textmodes/reftex-sel.el (reftex-find-start-point)
19209 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19210 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19211 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19212 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19213 * textmodes/two-column.el (2C-associated-buffer):
19214 Use forward-line rather than goto-line.
19215
19216 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19217 goto-line.
19218
19219 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19220 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19221 (quick-check-list-to-regexp): Declare.
19222
19223 * progmodes/make-mode.el (makefile-browser-insert-selection):
19224 Use goto-char rather than goto-line.
19225
19226 * progmodes/prolog.el (compilation-error-regexp-alist)
19227 (compilation-forget-errors): Declare.
19228
19229 2009-08-22 Juri Linkov <juri@jurta.org>
19230
19231 * progmodes/grep.el (lgrep, rgrep): At the beginning
19232 set `dir' to `default-directory' unless `dir' is a non-nil
19233 readable directory. (Bug#4052)
19234 (lgrep, rgrep): Change a weird way to report an error
19235 from using `read-string' to using `error'.
19236 Instead of using interactive arguments in the function body,
19237 add new argument `confirm'.
19238
19239 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19240
19241 * textmodes/remember.el (remember-buffer):
19242 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19243 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19244 (icalendar-extract-ical-from-buffer):
19245 * net/newst-treeview.el (newsticker-groups-filename):
19246 * net/newst-backend.el (newsticker-cache-filename):
19247 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19248 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19249 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19250 (speedbar-buffers-line-path, speedbar-path-line)
19251 (speedbar-buffers-line-path):
19252 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19253 (epg-sign-keys):
19254 * epa.el (epa-display-verify-result):
19255 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19256
19257 2009-08-21 Glenn Morris <rgm@gnu.org>
19258
19259 * progmodes/js.el (inferior-moz-process): Fix declaration.
19260
19261 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19262
19263 * obsolete/rnewspost.el (news-mail-reply):
19264 Use goto-char rather than goto-line.
19265
19266 * term/ns-win.el (ns-open-file-select-line):
19267 Use line-beginning-position rather than goto-line.
19268
19269 * apropos.el (apropos-command):
19270 * ehelp.el (electric-helpify):
19271 * printing.el (pr-show-setup):
19272 * strokes.el (strokes-help):
19273 * tutorial.el (tutorial--describe-nonstandard-key)
19274 (tutorial--detailed-help):
19275 * woman.el (woman-mini-help, woman-display-extended-fonts):
19276 * calc/calc-help.el (calc-describe-key):
19277 * emulation/edt.el (edt-electric-helpify):
19278 * international/mule-diag.el (mule-diag):
19279 * play/yow.el (apropos-zippy):
19280 * progmodes/python.el (python-describe-symbol):
19281 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19282 * textmodes/table.el (*table--cell-describe-mode)
19283 (*table--cell-describe-bindings):
19284 Use help-print-return-message rather than the now obsolete alias.
19285
19286 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19287 (calendar-cursor-to-visible-date):
19288 * play/5x5.el (5x5-position-cursor):
19289 * play/decipher.el (decipher):
19290 * play/gomoku.el (gomoku-goto-xy):
19291 * play/landmark.el (lm-goto-xy):
19292 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19293 (mpuz-paint-digit):
19294 Use forward-line, not goto-line.
19295
19296 * mail/rmail.el (rmail-obsolete): Delete custom group.
19297 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19298 (rmail-remote-password, rmail-remote-password-required):
19299 Remove unneeded :set-after and :set properties.
19300
19301 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19302
19303 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19304
19305 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19306
19307 * loadup.el: Remove leftover macos code.
19308
19309 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19310 Explicitly pass the date format to git blame so that user local
19311 so that the output format can be parsed.
19312
19313 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19314
19315 * net/dbus.el (top): Don't check for (getenv
19316 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19317
19318 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19319
19320 * log-edit.el (log-edit-strip-single-file-name): New var.
19321 (log-edit-insert-changelog): Use it. Bug#3571
19322
19323 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19324
19325 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19326 Bug#3287
19327
19328 * help.el (help-print-return-message): Rename from
19329 print-help-return-message.
19330
19331 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19332 cvs-mode-map parent hack.
19333 (log-view-mode): Derive from special-mode.
19334
19335 * linum.el (linum-mode): window-size-change-functions is redundant.
19336 Adapt to new window-configuration-change-hook behavior.
19337 (linum-after-size, linum-after-config): Remove.
19338
19339 * imenu.el (imenu-example--name-and-position)
19340 (imenu-example--lisp-extract-index-name)
19341 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19342 Mark as obsolete.
19343
19344 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19345 (inferior-prolog-mode): Use it.
19346 (inferior-prolog-load-file): Reset list of errors.
19347
19348 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19349
19350 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19351
19352 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19353
19354 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19355
19356 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19357 is running already.
19358
19359 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19360
19361 * subr.el (listify-key-sequence-1): Use normal syntax since those
19362 integers are nowadays always represented by the same (positive) number
19363 on all platforms.
19364 (read-key-empty-map): New const.
19365 (read-key-delay): New var.
19366 (read-key): New function.
19367 (force-mode-line-update): Use with-current-buffer.
19368 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19369 (start-process-shell-command, start-file-process-shell-command):
19370 Discourage the use of command-args.
19371
19372 2009-08-19 Glenn Morris <rgm@gnu.org>
19373
19374 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19375
19376 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19377
19378 * simple.el (choose-completion-string): Don't rely on
19379 minibuffer-completing-file-name and ad-hoc checks to decide whether
19380 to continue completion or not.
19381
19382 * minibuffer.el (minibuffer-hide-completions): New function.
19383 (completion--do-completion): Use it.
19384 (completions-annotations): New face.
19385 (completion--insert-strings): Use it.
19386 (completion-pcm--delim-wild-regex): Add docstring.
19387 (completion-pcm--string->pattern): Add support for 0-width delimiters
19388 in completion-pcm--delim-wild-regex.
19389
19390 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19391
19392 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19393 Remove unused var `buffer-modified-p'.
19394
19395 * minibuffer.el (completion--do-completion): Move point for the #b001
19396 case as well (bug#4176).
19397 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19398
19399 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19400
19401 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19402 and :session buses.
19403
19404 2009-08-18 Kenichi Handa <handa@m17n.org>
19405
19406 * international/ucs-normalize.el (ucs-normalize-version):
19407 Change to 1.1.
19408 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19409 (utf-8-hfs): Make it perform normalization on encoding too.
19410
19411 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19412 (sentence-end-without-space): Delete duplicated chars.
19413 (sentence-end-base): Likewise.
19414
19415 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19416 (html-mode): Delete duplicated chars from sentence-end-base.
19417
19418 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19419 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19420
19421 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19422
19423 * files.el (hack-one-local-variable): If the mode function is for
19424 a minor mode, pass it an argument (Bug#4148).
19425
19426 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19427
19428 * net/tramp.el (tramp-register-completion-file-name-handler):
19429 Check also for (member 'partial-completion completion-styles).
19430
19431 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19432
19433 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19434 abbrev (Bug#3943).
19435
19436 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19437
19438 * progmodes/cperl-mode.el: Merge upstream 6.2.
19439 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19440 (cperl-forward-re): Check cperl-brace-recursing.
19441 (cperl-highlight-charclass): New function.
19442 (cperl-find-pods-heres): Use it.
19443 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19444 (cperl-beautify-regexp-piece): Fix column calculation.
19445 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19446 (cperl-beautify-level): Don't process entire regexp.
19447 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19448 calling man.
19449 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19450 (cperl-init-faces): Build a list in the normal way.
19451
19452 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19453
19454 * calendar/parse-time.el (parse-time-string-chars): Save match
19455 data.
19456
19457 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19458
19459 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19460 (sql-product): Use it.
19461 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19462 (sql-set-product): Add completion.
19463 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19464 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19465 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19466 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19467 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19468 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19469 (sql-highlight-db2-keywords): Remove.
19470 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19471 (sql-highlight-product): Use derived-mode-p.
19472 (sql-set-sqli-buffer): Use with-current-buffer.
19473 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19474 Simplify.
19475
19476 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19477
19478 * term.el: Fix commenting convention, turn comments into docstrings.
19479
19480 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19481
19482 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19483
19484 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19485
19486 * calendar/parse-time.el (parse-time-string-chars): Compute using
19487 character classes, to handle non-ascii characters (Bug#3190).
19488
19489 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19490
19491 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19492 another heredoc if the user adds another < (Bug#3226).
19493
19494 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19495 Don't initialize based on window-system (Bug#4124).
19496
19497 * facemenu.el (facemenu-read-color): Use a completion function
19498 that accepts any defined color, such as RGB triplets (Bug#3677).
19499
19500 * files.el (get-free-disk-space): Change fallback default
19501 directory to /. Expand DIR argument before switching to fallback.
19502 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19503
19504 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19505
19506 * files.el (load-library): Doc fix.
19507
19508 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19509
19510 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19511 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19512 incremental search string.
19513
19514 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19515 XEmacs.
19516
19517 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19518 (ediff-merge-region-is-non-clash)
19519 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19520 Also check if the job is really a merge job.
19521
19522 * ediff.el (ediff-current-file): New function.
19523
19524 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19525
19526 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19527 conventions.
19528 (js-insert-and-indent): Delete function.
19529 (js-mode-map): Don't bind keys to js-insert-and-indent.
19530 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19531 (js-end-of-defun): Rename from js--end-of-defun.
19532 (js-auto-indent-flag): Delete variable.
19533
19534 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19535
19536 * progmodes/js.el: Remove proclaim statement.
19537 Defvar which-func-imenu-joiner-function to silence compiler.
19538
19539 * files.el (auto-mode-alist): Use js-mode for .js files.
19540
19541 * progmodes/js2-mode.el: Remove file.
19542
19543 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19544
19545 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19546
19547 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19548
19549 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19550 Karl Landstrom <karl.landstrom@brgeight.se>
19551
19552 * progmodes/js.el: New file.
19553
19554 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19555
19556 * timezone.el (timezone-parse-date): Add ability to understand ISO
19557 basic format (minimal separators) dates in addition to the
19558 already-supported extended format dates.
19559
19560 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19561
19562 * international/ucs-normalize.el: Add a `coding' file variable.
19563
19564 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19565
19566 2009-08-14 Sam Steingold <sds@gnu.org>
19567
19568 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19569
19570 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19571
19572 * faces.el (help-argument-name): Define it here instead of
19573 help-fns.el, because in daemon mode help-fns.el may be loaded when
19574 faces are still uninitialized (Bug#1078).
19575
19576 * help-fns.el (help-argument-name): Move defface to faces.el.
19577
19578 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19579
19580 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19581 create buffer with a pty but no process so that GDB can make the
19582 inferior the controlling process.
19583
19584 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19585
19586 * international/ucs-normalize.el: New file.
19587
19588 2009-08-13 Richard Stallman <rms@gnu.org>
19589
19590 * mail/rmail.el (rmail-get-attr-names):
19591 Accept an attribute header that is too short.
19592
19593 * mail/rmail.el (rmail-forget-messages):
19594 Ignore nil elt in rmail-message-vector. Use dotimes.
19595
19596 * progmodes/compile.el (compilation-goto-locus):
19597 Use next-error-move-function.
19598
19599 * simple.el (next-error-move-function): New variable.
19600
19601 2009-08-12 Juri Linkov <juri@jurta.org>
19602
19603 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19604 always non-nil. (Bug#4052)
19605
19606 * replace.el (read-regexp): Return empty string when
19607 `default-value' is nil.
19608 (keep-lines-read-args): Don't use empty string as the
19609 default value for `read-regexp'. (Bug#2495)
19610
19611 2009-08-12 Juri Linkov <juri@jurta.org>
19612
19613 * international/mule-cmds.el (ucs-insert): Change arguments
19614 from `arg' to `character', `count', `inherit' to be the same
19615 as in `insert-char'. Doc fix. (Bug#4039)
19616
19617 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19618
19619 2009-08-12 Juri Linkov <juri@jurta.org>
19620
19621 * files-x.el: New file.
19622
19623 * files.el: Move code that deals with adding/deleting
19624 file/directory-local variables to files-x.el.
19625
19626 * Makefile.in (ELCFILES): Add files-x.elc.
19627
19628 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19629
19630 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19631 to use `goto-line'.
19632 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19633 `goto-line'.
19634 (gdb-invalidate-disassembly): Do not refresh upon receiving
19635 'update signal. Instead, update all disassembly buffers only after
19636 threads list.
19637 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19638 (gdb-starting): Move -data-list-register-names...
19639 (gdb-stopped): ...here so it's sent when first thread stops.
19640 (gdb-registers-handler-custom): Do nothing if register names are
19641 unknown yet.
19642
19643 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19644 from `gdb-mi.el' to avoid extra tangling.
19645
19646 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19647 change which breaks `gud-def' definitions used in `gdb'.
19648 (gdb-update-gud-running): No extra fuss for updating frame number.
19649
19650 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19651
19652 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19653 (describe-language-environment-map, setup-language-environment-map)
19654 (set-coding-system-map): Move initialization into declaration.
19655 (set-language-info-alist): Last arg to define-key-after can be skipped.
19656
19657 * international/quail.el (quail-completion-1): Simplify.
19658 (quail-define-rules): Use slightly more compact code.
19659 (quail-insert-decode-map): Propertize keys, compact columns.
19660
19661 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19662 Add goto-line.
19663
19664 2009-08-10 Miles Bader <miles@gnu.org>
19665
19666 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19667 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19668 (js2-instance-member, js2-private-member, js2-private-function-call)
19669 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19670 (js2-magic-paren, js2-external-variable):
19671 Remove "-face" suffix from face names.
19672 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19673 (js2-highlight-undeclared-vars, js2-peek-token)
19674 (js2-parse-function-params, js2-mode-show-errors)
19675 (js2-mode-show-warnings, js2-make-magic-delimiter)
19676 (js2-mode-highlight-magic-parens): Update to use new face names.
19677
19678 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19679
19680 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19681 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19682
19683 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19684
19685 * subr.el: Provide hashtable-print-readable.
19686
19687 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19688 hs-c-like-adjust-block-beginning.
19689 (hs-hide-block-at-point): Stop hiding at the beginning of
19690 hs-block-end-regexp (Bug#700).
19691
19692 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19693
19694 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19695 a macro.
19696 (gdb-registers-handler-custom): Do not fail when register names
19697 are unavailable.
19698
19699 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19700
19701 * progmodes/gdb-mi.el (gdb-control-all-threads)
19702 (gdb-control-current-thread): Interactive setters for
19703 `gdb-gud-control-all-threads' to use in menu.
19704 (gdb-show-run-p): Show «Go» when process is not active.
19705 (gud-tool-bar-map): Add non-stop/A,T indicator.
19706 Uses gud/thread.xpm and gud/all.xpm.
19707
19708 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19709
19710 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19711 (nslookup-font-lock-keywords): Make it a variable.
19712 (net-utils-mode): New mode for viewing diagnostic network output.
19713 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19714 (net-utils-run-simple): New function.
19715 (ifconfig, iwconfig, netstat, arp, route): Use it.
19716
19717 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19718
19719 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19720 (gdb-memory-set-address, def-gdb-set-positive-number)
19721 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19722 after changing settings.
19723 (gdb-invalidate-disassembly): Update when first shown.
19724 (gdb-edit-locals-value): Fixed.
19725 (gdb-registers-handler-custom): Print registers in right order and
19726 allow changing register values (only for current thread yet).
19727 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19728 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19729 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19730 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19731 Thread info in mode name.
19732 (gdb-registers-mode-map): TAB to switch to locals.
19733
19734 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19735
19736 * mail/rmail.el (rmail-add-mbox-headers)
19737 (rmail-set-message-counters-counter): Search for
19738 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19739
19740 2009-08-08 Glenn Morris <rgm@gnu.org>
19741
19742 * Makefile.in (ELCFILES): Update.
19743
19744 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19745
19746 * mail/sendmail.el (mail-yank-original):
19747 Set buffer-file-coding-system from the one used by the message whose
19748 text is yanked.
19749
19750 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19751 to "windows" when "pgnuplot" is used.
19752 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19753 Don't call accept-process-output if "pgnuplot" is used.
19754 (calc-graph-init): Don't send -display and -geometry to
19755 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19756 running "pgnuplot -V" with shell-command-to-string.
19757
19758 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19759 the default.
19760
19761 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19762
19763 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19764 org/org-latex.elc.
19765
19766 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19767
19768 * vc-dispatcher.el (vc-resynch-window): Update comment.
19769
19770 * term.el (term-handle-ansi-escape): Add comments with the
19771 terminfo capabilities implemented.
19772
19773 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19774
19775 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19776 (gdb-var-create-handler): Rewritten using JSON parser.
19777 (gdb-propertize-header): Move earlier.
19778 (gdb-set-header): Remove to avoid duplication.
19779 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19780 Refresh disassembly buffers only after threads list have been
19781 update.
19782 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19783 variables.
19784
19785 2009-08-04 Juri Linkov <juri@jurta.org>
19786
19787 * files.el: Commands to add/delete file/directory-local variables.
19788 (read-file-local-variable, read-file-local-variable-value)
19789 (read-file-local-variable-mode, modify-file-local-variable)
19790 (modify-file-local-variable-prop-line)
19791 (modify-dir-local-variable): New functions.
19792 (add-file-local-variable, delete-file-local-variable)
19793 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19794 (add-dir-local-variable, delete-dir-local-variable)
19795 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19796 (copy-dir-locals-to-file-locals-prop-line): New commands.
19797
19798 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19799
19800 * abbrev.el (insert-abbrev-table-description): Prettify output.
19801 Suggested by Karl Chen.
19802
19803 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19804
19805 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19806 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19807 (gdb-overlay-arrow-position, gdb-thread-position)
19808 (gdb-disassembly-position): Declare variables.
19809 (gdb-wait-for-pending): Function now.
19810 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19811 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19812 compilation goes smoothly.
19813 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19814 (gdb-non-stop-setting): New customization setting which replaces
19815 `gdb-non-stop' so changing it doesn't break active GDB session.
19816 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19817 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19818 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19819 (gdb-show-threads-by-default): New customization options.
19820 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19821 routines.
19822 (gdb-get-buffer-create): Send buffers update signal when they are
19823 created.
19824 (gdb-invalidate-locals, gdb-invalidate-registers)
19825 (gdb-invalidate-breakpoints)
19826 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19827 (gdb-invalidate-memory): Accept update signal.
19828 (gdb-current-context-command): Use --frame option.
19829 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19830 Implement `gdb-frame-number' selection logic.
19831 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19832 whether to show GUD toolbar buttons.
19833 (gdb-thread-exited): Unselect current thread when it exits.
19834 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19835 (gdb-mark-line): Routine which sets overlay arrow or inverses
19836 video on fringeless displays.
19837 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19838 to build aligned columns of data in GDB buffers and set text
19839 properties line-by-line.
19840 (gdb-invalidate-breakpoints)
19841 (gdb-breakpoints-list-handler-custom)
19842 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19843 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19844 (gdb-registers-handler-custom): Align data columns.
19845 (gdb-locals-handler-custom): Now prints data like in variable
19846 declarations.
19847 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19848 Remove confusing buttons.
19849 (gdb-invalidate-threads): Append --frame.
19850 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19851 between breakpoints/threads buffers.
19852 (gdb-set-window-buffer): Now can ignore dedicated windows.
19853 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19854 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19855 (def-gdb-thread-buffer-gud-command): Replaces
19856 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19857 for fine thread control.
19858 (gdb-preempt-existing-or-display-buffer): New function used to
19859 display bound buffers without breaking window layout.
19860 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19861 (gdb-select-frame): New version of `gdb-frames-select' which now
19862 sets `gdb-frame-number' so commands may use --frame option instead
19863 of inner debugger state.
19864 (gdb-frame-handler): Do not set `gdb-frame-number'.
19865 (gdb-threads-mode-map): Select threads with mouse.
19866
19867 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19868 avoid compilation warning.
19869 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19870 `gdb-show-stop-p`.
19871
19872 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19873 Argument `key' renamed to `buffer-type'.
19874 (gdb-current-context-buffer-name): Do not add thread info to
19875 buffer name when no thread is selected.
19876 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19877 command (bug 3794).
19878 (gdb-thread-selected): Handle `=thread-selected' notification.
19879 (gdb-wait-for-pending): New macro to deal with congestion problems.
19880 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19881 breakpoints.
19882 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19883 This fixes problem similar to one described in bug 3947.
19884 (gud-menu-map): More menu items.
19885 (gdb-init-1): Reset `gdb-thread-number' to nil.
19886
19887 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19888 non-stop settings.
19889
19890 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19891 (gdb-current-context-command): Do not append --thread if
19892 `gdb-thread-number' is nil.
19893 (gdb-running-threads-count, gdb-stopped-threads-count):
19894 New variables.
19895 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19896 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19897 New customization options.
19898 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19899 GUD commands.
19900 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19901 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19902 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19903 set `gdb-thread-number' and update `gud-running' properly.
19904 (gdb-running): Update threads list when new threads appear.
19905 (gdb-stopped): Support non-stop operation and new thread switching
19906 logic.
19907 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19908 (gdb-json-partial-output): New set of JSON routines.
19909 (def-gdb-auto-update-trigger): New `signal-list' optional
19910 argument.
19911 (gdb-thread-list-handler-custom): Update `gud-running',
19912 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19913 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19914 (gdb-continue-thread, gdb-step-thread): New commands for fine
19915 thread execution control.
19916 (gud-menu-map): New menu items to switch non-stop options.
19917 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19918 (gdb-send): Mimic RET properly (bug 3794).
19919
19920 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19921 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19922 gdb-buffer-rules.
19923 (def-gdb-auto-update-handler): New nopreserve optional argument.
19924 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19925
19926 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19927 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19928 (gdb-parent-mode): New mode to derive other GDB modes from.
19929 (gdb-display-disassembly-for-thread)
19930 (gdb-frame-disassembly-for-thread): New commands for threads
19931 buffer.
19932
19933 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19934 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19935 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19936 (gdb-update): We now store all GDB buffers in a list so that they
19937 can be updated by traversing a list instead of calling invalidate
19938 triggers explicitly.
19939 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19940 pair for GDB buffer.
19941 (gdb-stack-buffer-name): Add thread information.
19942 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19943 handle pending triggers.
19944 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19945 (def-gdb-thread-buffer-simple-command)
19946 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19947 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19948 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19949 New commands which show buffers bound to thread.
19950 (gdb-stack-list-locals-regexp): Remove unused regexp.
19951
19952 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19953 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19954 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19955 to (gud-comint-buffer) in *-buffer-name functions
19956 because (gdb-get-target-string) already does that.
19957 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19958 (gdb-changed-registers-handler): Rewritten without regexps.
19959
19960 * progmodes/gdb-mi.el: Basic thread selection support.
19961 (gdb-thread-number): New variable.
19962 (gdb-current-context-command): New macro which adds --thread
19963 option to command.
19964 (gdb-threads-mode-map): Select thread with SPC.
19965 (gdb-thread-list-handler-custom): Mark current thread with overlay
19966 arrow. Synchronize GDB thread and Emacs thread.
19967 (gdb-select-thread): New command which selects current thread.
19968 (gdb-invalidate-frames, gdb-invalidate-locals)
19969 (gdb-invalidate-registers): Use --thread option.
19970
19971 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19972
19973 * net/tramp.el (top): Make check for tramp-gvfs loading more
19974 robust. (Bug#3977)
19975 (tramp-handle-insert-file-contents): `unwind-protect' must be
19976 inside `with-parsed-tramp-file-name'.
19977
19978 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19979 fails.
19980
19981 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19982
19983 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19984 directory if CLASSPATH is not set.
19985
19986 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19987
19988 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19989 New defconst.
19990 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19991
19992 2009-08-02 Kevin Ryde <user42@zip.com.au>
19993
19994 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19995 Update freshmeat link. Delete newsforge.com as it seems gone.
19996
19997 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19998
19999 * select.el (x-set-selection): Doc fix (Bug#4021).
20000
20001 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20002
20003 * help-fns.el (describe-variable): Treat list return values from
20004 dir-locals-find-file properly (Bug#4005).
20005
20006 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20007
20008 * net/tramp.el (tramp-debug-message): Print also microseconds.
20009
20010 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20011
20012 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20013 or END is non-nil.
20014 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20015 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20016 format.
20017
20018 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20019 (tramp-get-file-property): Use it.
20020
20021 * autorevert.el (auto-revert-handler):
20022 Allow `auto-revert-tail-mode' for remote files.
20023
20024 2009-08-02 Jason Rumney <jasonr@gnu.org>
20025
20026 * minibuffer.el (read-file-name): Treat confirm options to
20027 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20028
20029 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20030
20031 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20032 (font-lock-variable-name-face, font-lock-constant-face):
20033 Darken the colors for light backgrounds.
20034
20035 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20036
20037 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20038 month names. (Bug#3987)
20039
20040 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20041
20042 * simple.el (line-move-finish): Pass whole number to
20043 line-move-to-column.
20044 (line-move-visual): Perform hscroll to the recorded position.
20045
20046 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20047
20048 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20049
20050 2009-07-29 Alan Mackenzie <acm@muc.de>
20051
20052 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20053
20054 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20055
20056 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20057 (gdb-place-breakpoints): Use full path when setting breakpoints.
20058
20059 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20060
20061 * calc/calc.el (calc-mode-map): Add keybinding for
20062 `calc-transpose-lines'.
20063
20064 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20065
20066 * calc/calc-misc.el (calc-transpose-lines): New function.
20067
20068 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20069
20070 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20071 Simplify check for out-of-band methods.
20072 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20073 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20074
20075 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20076
20077 * vc-git.el (vc-git-checkin): Fix typo.
20078
20079 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20080
20081 * progmodes/js2-mode.el: New file.
20082
20083 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20084
20085 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20086 (gud-menu-map): Adjust tooltip accordingly.
20087
20088 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20089
20090 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20091 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20092
20093 * add-log.el (change-log-mode-map): Add a menu.
20094
20095 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20096
20097 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20098 function returns nil.
20099 (dbus-handle-event): Handle special return value :ignore.
20100 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20101
20102 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20103
20104 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20105 it's not needed.
20106
20107 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20108
20109 Fix Bug#3888:
20110
20111 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20112
20113 * term/pc-win.el (x-display-name, x-colors)
20114 (x-select-enable-clipboard, x-select-text): Doc fix.
20115
20116 * term/common-win.el (x-display-name, x-colors): Doc fix.
20117
20118 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20119 (xw-defined-colors): Doc fix.
20120
20121 * w32-fns.el (x-select-text, x-setup-function-keys)
20122 (x-get-selection, x-set-selection): Doc fix.
20123
20124 * term/x-win.el (x-select-text, x-setup-function-keys)
20125 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20126
20127 * select.el (x-set-selection): Doc fix.
20128
20129 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20130
20131 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20132 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20133 "IsNSSSupportAvailable" method is not available.
20134 Reported by Steve Youngs <steve@sxemacs.org>.
20135
20136 2009-07-24 Kenichi Handa <handa@m17n.org>
20137
20138 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20139 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20140 (build-unicode-category-table): Fix range checks.
20141
20142 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20143
20144 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20145 the buffer we try to sync is current when calling
20146 vc-resynch-buffer.
20147
20148 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20149 not show up to date files.
20150
20151 2009-07-24 Glenn Morris <rgm@gnu.org>
20152
20153 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20154 Add autoload cookies. If necessary, initialize.
20155 (elint-log): Handle non-file buffers.
20156 (elint-initialize): Add optional argument to reinitialize.
20157 (elint-find-builtin-variables): Save excursion.
20158
20159 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20160
20161 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20162 for Lint.
20163
20164 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20165
20166 * vc.el (vc-print-log-internal): New function, split out from ...
20167 (vc-print-log): ... here.
20168 (vc-dir-move-to-goal-column): Declare.
20169
20170 * vc-git.el (vc-git-add-signoff): New variable.
20171 (vc-git-checkin): Use it.
20172 (vc-git-toggle-signoff): New function.
20173 (vc-git-extra-menu-map): Bind it to menu.
20174 (vc-git--run-command-string): Accept a nil FILE argument.
20175 (vc-git-stash-list): New function.
20176 (vc-git-dir-extra-headers): Use it.
20177
20178 2009-07-23 Glenn Morris <rgm@gnu.org>
20179
20180 * help-fns.el (describe-variable): Describe ignored and risky local
20181 variables in a similar way to that in which we describe safe ones.
20182
20183 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20184 (byte-compile-output-file-form, byte-compile-output-docform)
20185 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20186 Give some more local variables with common names a "bytecomp-" prefix,
20187 so as not to shadow things during compilation.
20188 * emacs-lisp/cl-macs.el (load-time-value)
20189 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20190 `outbuffer' to `bytecomp-outbuffer'.
20191
20192 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20193 since the next two variables cover them automatically now.
20194 (elint-builtin-variables, elint-autoloaded-variables): New.
20195 (elint-unknown-builtin-args): Remove all members, since they can be
20196 parsed automatically now.
20197 (elint-extra-errors): New.
20198 (elint-env-add-env, elint-env-add-macro): Use cadr.
20199 (elint-current-buffer): Use or. Change final message.
20200 (elint-get-top-forms): Use line-end-position.
20201 (elint-init-env): Use cadr. Handle autoload, declare-function,
20202 and defalias.
20203 (elint-add-required-env): Doc fix. Use or. Standardize error.
20204 (regexp-assoc): Remove unused function.
20205 (elint-top-form): Set elint-current-pos, to record the start of the
20206 top-level form, for compilation-mode.
20207 (elint-form): Trap errors in macro expansion. Use dolist.
20208 (elint-unbound-variable): Use elint-builtin-variables and
20209 elint-autoloaded-variables.
20210 (elint-get-args): Use cadr, or.
20211 (elint-check-cond-form): Use dolist, cadr.
20212 (elint-check-condition-case-form): Doc fix. Use cadr.
20213 Use elint-extra-errors.
20214 (elint-log): New function.
20215 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20216 Distinguish errors and warnings.
20217 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20218 Use a bytecomp-style format.
20219 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20220 (elint-get-log-buffer): Use compilation mode. Disable undo.
20221 Don't truncate lines.
20222 (elint-initialize): Set builtin and autoloaded variable lists.
20223 Only process elint-unknown-builtin-args if non-nil.
20224 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20225 New functions.
20226 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20227
20228 2009-07-22 Kevin Ryde <user42@zip.com.au>
20229
20230 * net/newst-backend.el (newsticker--parse-atom-1.0)
20231 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20232 (newsticker--parse-rss-1.0):
20233 * progmodes/idlwave.el (idlwave-mode):
20234 * progmodes/idlw-shell.el (idlwave-shell-mode):
20235 * progmodes/vera-mode.el (vera-mode):
20236 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20237 * progmodes/vhdl-mode.el (vhdl-mode):
20238 * textmodes/table.el (table-generate-source)
20239 (table--warn-incompatibility):
20240 Hyperlink urls in docstrings with URL `...'.
20241
20242 2009-07-22 Glenn Morris <rgm@gnu.org>
20243
20244 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20245 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20246 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20247 Remove leading * from defcustom docs.
20248
20249 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20250
20251 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20252 defcustom doc.
20253 (list-load-path-shadows): Optionally, just return shadows as a string.
20254
20255 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20256
20257 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20258
20259 * mail/rmailedit.el (rmail-edit-mode):
20260 Use auto-save-include-big-deletions.
20261
20262 * mail/rmail.el (rmail-variables):
20263 Use auto-save-include-big-deletions.
20264
20265 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20266 changes.
20267
20268 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20269
20270 * calc/calc.el (calc-undo-length): New variable.
20271 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20272
20273 2009-07-21 Richard Stallman <rms@gnu.org>
20274
20275 * files.el (auto-save-mode): Handle buffer-save-size = -2
20276 for toggling mode.
20277
20278 2009-07-21 Glenn Morris <rgm@gnu.org>
20279
20280 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20281
20282 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20283
20284 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20285 silence compiler. Instead...
20286 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20287 (ps-print-ensure-fontified): Update for above function name changes.
20288
20289 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20290 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20291 silence compiler. Instead...
20292 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20293 (mh-show-buffer): Only define for compiler.
20294 (pr-mh-current-message): Update for above function name changes.
20295
20296 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20297 as an argument.
20298 (find-file-noselect, insert-file-1): Update for above change.
20299
20300 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20301
20302 * mail/mailclient.el (mailclient-send-it): Fix message.
20303
20304 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20305 (edebug-eval): Check cl-debug-env is bound.
20306 (print-level, print-circle): Don't redefine built-in variables.
20307
20308 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20309 (custom-print-vectors): Remove old comments from doc.
20310
20311 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20312 (emerge-version): Make the variable an obsolete alias for the
20313 emacs-version variable. Make the function obsolete.
20314 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20315 Emerge options, rather than merging in into the main Options menu.
20316 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20317 and auto advance modes. Disable edit/fast items when not relevant.
20318
20319 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20320
20321 * term/vt420.el (terminal-init-vt420): Fix typo.
20322
20323 2009-07-20 Sam Steingold <sds@gnu.org>
20324
20325 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20326 variable (removed from compile.el on 2004-03-11).
20327
20328 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20329
20330 * files.el (hack-local-variables-filter): Fix last change.
20331
20332 2009-07-19 Juri Linkov <juri@jurta.org>
20333
20334 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20335 (dir-local-variables-alist): New buffer-local variable.
20336 (hack-local-variables-filter): If variable is not dir-local,
20337 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20338 because file-local overrides dir-local.
20339 (c-postprocess-file-styles) <declare-function>:
20340 Remove obsolete declaration.
20341 (hack-dir-local-variables): Add dir-local variable/value pair to
20342 `dir-local-variables-alist' and remove duplicates. Doc fix.
20343
20344 * help-fns.el (describe-variable): Add information about
20345 file-local and dir-local variables.
20346
20347 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20348
20349 * files.el (hack-local-variables-filter): Rewrite.
20350
20351 2009-07-19 Glenn Morris <rgm@gnu.org>
20352
20353 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20354 Silence compiler by only defining on XEmacs.
20355
20356 * international/mule.el (auto-coding-regexp-alist): Only match
20357 BABYL... at the start of buffer, not of lines. (Bug#3790)
20358
20359 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20360 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20361 (cal-menu-context-mouse-menu): Doc fix.
20362
20363 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20364
20365 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20366
20367 2009-07-18 Juri Linkov <juri@jurta.org>
20368
20369 * info.el: Virtual Info keyword finder.
20370 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20371 (Info-finder-file): New variable.
20372 (Info-finder-find-file): New function.
20373 (finder-known-keywords, finder-package-info)
20374 (find-library-name, lm-commentary): Use defvar and
20375 declare-function to silence compiler warnings.
20376 (Info-finder-find-node): New function.
20377 (info-finder): New command.
20378
20379 * subr.el (process-kill-buffer-query-function): New function.
20380 (add-hook)<kill-buffer-query-functions>: Add hook
20381 `process-kill-buffer-query-function'.
20382
20383 2009-07-18 Alan Mackenzie <acm@muc.de>
20384
20385 * progmodes/cc-mode.el (c-before-hack-hook)
20386 (c-postprocess-file-styles): Give invocation of `c-set-style'
20387 DONT-OVERRIDE parameter of t. Already set style variables will
20388 thus not be overridden by style settings given by `c-file-syle'.
20389
20390 * files.el (hack-local-variables-filter): Remove entries with
20391 duplicate keys from `file-local-variables-alist'.
20392
20393 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20394
20395 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20396 x-set-selection if display-selections-p returns nil for the
20397 current frame.
20398
20399 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20400
20401 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20402
20403 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20404
20405 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20406 Accept nil in addition to a regexp.
20407 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20408 Accept nil in addition to a regexp.
20409 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20410 buffers that have an associated file. Handle nil values of
20411 desktop-buffers-not-to-save and desktop-files-not-to-save.
20412 (Bug#3833)
20413
20414 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20415 (x-disown-selection-internal): New functions.
20416
20417 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20418
20419 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20420 warning.
20421 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20422 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20423
20424 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20425
20426 * simple.el (set-mark): Revert last change.
20427
20428 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20429
20430 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20431 rendering of pngs is not possible instead of messaging a long
20432 description.
20433
20434 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20435
20436 * w32-fns.el (x-selection-owner-p): New function.
20437
20438 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20439 (mouse-yank-at-click, mouse-yank-primary):
20440 If select-active-regions is non-nil, deactivate the mark before
20441 insertion.
20442
20443 * simple.el (deactivate-mark, set-mark): Only save selection if we
20444 own it.
20445
20446 2009-07-17 Kenichi Handa <handa@m17n.org>
20447
20448 * case-table.el (describe-buffer-case-table): Fix for the case
20449 that KEY is a cons.
20450
20451 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20452
20453 * vc-rcs.el (vc-rcs-find-file-hook):
20454 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20455
20456 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20457
20458 * net/tramp.el (tramp-wait-for-output): Handle the case when
20459 commands do not return a newline but a null byte before the shell
20460 prompt. (Bug#3858)
20461
20462 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20463
20464 * term/ns-win.el (ns-set-alpha): Don't declare.
20465 (ns-set-background-alpha): Remove function.
20466
20467 2009-07-16 Kevin Ryde <user42@zip.com.au>
20468
20469 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20470 y-or-n-p, for safety.
20471
20472 2009-07-16 Richard Stallman <rms@gnu.org>
20473
20474 * files.el (auto-save-mode): If buffer-saved-size is -2,
20475 don't clobber it.
20476
20477 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20478 (rmail-retry-ignored-headers): Add more uninteresting fields.
20479
20480 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20481
20482 * net/rcirc.el (rcirc): Use history variables.
20483 (rcirc-server-name-history, rcirc-nick-name-history)
20484 (rcirc-server-port-history): New variables.
20485
20486 2009-07-15 Kenichi Handa <handa@m17n.org>
20487
20488 * international/mule-cmds.el (set-language-environment-charset):
20489 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20490 ignore them.
20491
20492 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20493 Delete unibyte-display.
20494
20495 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20496
20497 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20498
20499 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20500
20501 * simple.el (deactivate-mark): Optional argument FORCE.
20502 (set-mark): Use deactivate-mark.
20503
20504 * info.el (Info-search): No need to check transient-mark-mode
20505 before calling deactivate-mark.
20506
20507 * select.el (x-set-selection): Doc fix.
20508 (x-valid-simple-selection-p): Allow buffer values.
20509 (xselect--selection-bounds): Handle buffer values.
20510 Suggested by David De La Harpe Golden.
20511
20512 * mouse.el (mouse-set-region, mouse-drag-track):
20513 Call copy-region-as-kill before setting the mark, to let
20514 select-active-regions work.
20515
20516 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20517
20518 * simple.el (deactivate-mark): If select-active-regions is
20519 non-nil, copy the selection data into a string.
20520 (activate-mark): If select-active-regions is non-nil, set the
20521 selection to the current buffer.
20522 (set-mark): Update selection if select-active-regions is non-nil.
20523
20524 * select.el (x-valid-simple-selection-p): Allow buffer values.
20525
20526 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20527
20528 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20529 and more featureful message-mode.
20530
20531 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20532
20533 * select.el (x-set-selection): Doc fix.
20534 (x-valid-simple-selection-p): Disallow selection data consisting
20535 of a list or cons of integers, since that is not used.
20536 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20537 (xselect-convert-to-string, xselect-convert-to-length)
20538 (xselect-convert-to-filename, xselect-convert-to-charpos)
20539 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20540
20541 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20542
20543 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20544 output in -break-info command (Emacs bug #3794).
20545
20546 2009-07-14 Glenn Morris <rgm@gnu.org>
20547
20548 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20549 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20550 (edebug-print-length, edebug-print-level, edebug-print-circle)
20551 (edebug-sit-for-seconds, edebug-view-outside)
20552 (edebug-bounce-point, edebug-set-global-break-condition)
20553 (edebug-Go-nonstop-mode, edebug-trace-mode)
20554 (edebug-Trace-fast-mode, edebug-continue-mode)
20555 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20556 (edebug-visit-eval-list): Doc fixes.
20557
20558 * subr.el (def-edebug-spec): Doc fix.
20559
20560 2009-07-14 Kenichi Handa <handa@m17n.org>
20561
20562 * international/characters.el: Fix setting of category ?C.
20563
20564 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20565
20566 * term/ns-win.el (x-select-font): defalias x-select-font to
20567 ns-popup-font-panel instead of generate-fontset-menu.
20568
20569 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20570
20571 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20572
20573 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20574
20575 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20576 the PK\003\004 header (Bug#3770).
20577
20578 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20579
20580 * pcomplete.el (pcomplete-comint-setup): Check for
20581 shell-dynamic-complete-filename too.
20582
20583 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20584
20585 * simple.el (temporary-goal-column): Change the value for
20586 line-move-visual to a cons cell.
20587 (line-move-visual): Record or set the window hscroll, if
20588 necessary (Bug#3494).
20589 (line-move-1): Handle cons value of temporary-goal-column.
20590
20591 2009-07-11 Kenichi Handa <handa@m17n.org>
20592
20593 * international/mule-diag.el (describe-character-set): Don't show
20594 width.
20595
20596 2009-07-10 Sam Steingold <sds@gnu.org>
20597
20598 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20599 Omake sometimes indents the errors it prints, so allow all
20600 regexps to start with spaces.
20601
20602 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20603
20604 * cus-edit.el (customize-changed-options-previous-release):
20605 Bump value to 22.1. (Bug#3804)
20606
20607 2009-07-08 Sam Steingold <sds@gnu.org>
20608
20609 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20610 to be a cons cell (test . ignored-directory) to selectively ignore
20611 some directories depending on the location of the search.
20612
20613 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20614
20615 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20616 remote user is root, on the local host.
20617 (tramp-local-host-p): Either the local user or the remote user
20618 must be root. (Bug#3771)
20619
20620 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20621
20622 * progmodes/gdb-mi.el (gdb): Remove description of
20623 gdb-use-separate-io-buffer.
20624 (menu): Don't allow toggling of or enable
20625 gdb-use-separate-io-buffer from menubar.
20626
20627 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20628
20629 * mail/unrmail.el (unrmail): Make sure the message ends with two
20630 newlines (Bug#3769).
20631
20632 2009-07-08 Glenn Morris <rgm@gnu.org>
20633
20634 * calendar/calendar.el (calendar-current-date): Rework previous change.
20635
20636 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20637
20638 * calendar/calendar.el (calendar-current-date):
20639 Add an optional argument giving an offset from today.
20640
20641 2009-07-08 Glenn Morris <rgm@gnu.org>
20642
20643 * tutorial.el (tutorial--describe-nonstandard-key):
20644 Adjust the message for when a key has been unbound.
20645 (help-with-tutorial): Hide the arch-tag.
20646
20647 2009-07-08 Kenichi Handa <handa@m17n.org>
20648
20649 * international/fontset.el (setup-default-fontset): For each
20650 script, append (not set) font-specs.
20651
20652 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20653 docstring.
20654
20655 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20656
20657 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20658 -data-list-register-names to ...
20659 (gdb-starting): ... here because GDB 7.0 requires execution to
20660 have started when using this MI command.
20661 (gdb-set-header): New function to distinguish select and
20662 unselected tabs in gdb buffers.
20663 (gdb-propertize-header): New macro that uses gdb-set-header.
20664 (gdb-breakpoints-header, gdb-locals-header): Use it.
20665 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20666
20667 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20668
20669 * Makefile.in (ELCFILES): Remove fadr.elc.
20670
20671 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20672
20673 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20674 may contain frame information, so `string-match' should be used.
20675 (gdb-update): Disassembly is invalidated through
20676 `gdb-get-selected-frame'.
20677 (gdb-pad-string): New function to pad string with spaces.
20678 (gdb-invalidate-disassembly): Invalidate only if the buffer
20679 exists.
20680 (gdb-disassembly-handler-custom): Column alignment.
20681 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20682 placing new ones.
20683 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20684 end of line, too.
20685 (gdb-frame-handler): Match convention to for disassembly buffer
20686 mode name.
20687 (gdb-stack-list-frames-handler): Rewritten without regexps.
20688 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20689 not highlight breakpoints without line information.
20690 (gdb-input): Add trailing newline to command.
20691
20692 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20693 buffer properly.
20694 (gdb-breakpoints-list-handler-custom): Replacement for
20695 `gdb-break-list-handler'. Using real parser instead of regexps
20696 now.
20697 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20698 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20699 to place breakpoints.
20700 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20701 functions.
20702 (gdb-disassembly-handler-custom): Show overlay arrow.
20703 (gdb-disassembly-place-breakpoints): Show breakpoints in
20704 disassembly buffer.
20705 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20706 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20707 instead of parsing breakpoints buffer. Fixed old menu references
20708 in `gud-menu-map'.
20709
20710 * fadr.el: Remove.
20711
20712 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20713 (gdb-memory-address): New variable which holds top address of
20714 memory page shown in memory buffer.
20715 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20716 New customization variables.
20717 New functions:
20718 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20719 display the memory buffer.
20720 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20721 buffer display parameters.
20722 (def-gdb-memory-format, gdb-memory-format-binary)
20723 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20724 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20725 Functions for setting memory buffer format.
20726 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20727 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20728 unit size used in memory buffer.
20729 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20730 Switch to next/previous page of memory buffer.
20731 Now using (bindat-get-field) instead of fadr functions.
20732
20733 2009-07-07 Sam Steingold <sds@gnu.org>
20734
20735 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20736 non-top-level files.
20737
20738 2009-07-07 Kenichi Handa <handa@m17n.org>
20739
20740 * international/mule-cmds.el (reset-language-environment):
20741 Put the highset priority to the charset iso-8859-1.
20742
20743 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20744
20745 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20746 to the end of the line when locating the block (Bug#700).
20747
20748 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20749
20750 * net/tramp.el (tramp-handle-write-region): Flush file properties
20751 in case of short track.
20752
20753 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20754
20755 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20756 Coded custom representation of verilog error regular expressions
20757 to work with Emacs-22's new format.
20758 (verilog-error-regexp-xemacs-alist): Coded custom representation
20759 of verilog error regular expressions to work with XEmacs format.
20760 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20761 error recognition into XEmacs.
20762 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20763 error recognition into Emacs-22.
20764
20765 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20766
20767 * woman.el: Remove stand-alone closing parentheses.
20768 (woman-file-name, woman2-format-paragraphs)
20769 (woman-leave-blank-lines): Code cleanup.
20770 (woman-use-own-frame): Change default to nil.
20771 (woman-italic, woman-bold, woman-unknown, woman-addition):
20772 Change defaults to inherit from default faces.
20773 (woman2-process-escapes): Consume the newline after a stand-alone
20774 filler character (Bug#3651).
20775
20776 2009-07-06 Glenn Morris <rgm@gnu.org>
20777
20778 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20779 (top-level): Move provide to the end.
20780 (ffap): Remove defunct URL from custom group.
20781
20782 * subr.el (eval-after-load): Doc fix.
20783
20784 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20785
20786 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20787 `calc-embedded-word' is called twice.
20788
20789 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20790
20791 * files.el (find-alternate-file-other-window, find-alternate-file):
20792 Obey confirm-nonexistent-file-or-buffer.
20793
20794 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20795
20796 * dired-aux.el (dired-show-file-type): Handle remote files.
20797
20798 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20799
20800 * desktop.el (desktop-globals-to-save):
20801 Add file-name-history (Bug#2750).
20802
20803 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20804
20805 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20806
20807 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20808
20809 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20810 property on entire argument since this is what eshell-lisp-command
20811 expects.
20812
20813 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20814
20815 * net/tramp-gvfs.el (tramp-gvfs-methods)
20816 (tramp-gvfs-zeroconf-domain)
20817 (tramp-bluez-discover-devices-timeout): Add version flag.
20818 (tramp-gvfs-handler-mounted-unmounted)
20819 (tramp-gvfs-connection-mounted-p): Polish handling of
20820 incompatibilities between GVFS 0.2 and 1.0.
20821
20822 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20823
20824 * cus-start.el (all): Add make-pointer-invisible.
20825
20826 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20827
20828 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20829 formatted correctly.
20830
20831 2009-07-02 Juri Linkov <juri@jurta.org>
20832
20833 * info.el: Virtual Info files and nodes.
20834 (Info-virtual-files, Info-virtual-nodes): New variables.
20835 (Info-current-node-virtual): New variable.
20836 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20837 New functions.
20838 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20839 to check for a virtual file instead of checking a fixed list
20840 of node names.
20841 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20842 instead of ad-hoc processing of "dir" and (apropos history toc).
20843 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20844 instead of ad-hoc processing of "dir" and (apropos history toc).
20845 Reread a file when moving from a virtual node.
20846 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20847 (Info-directory-toc-nodes, Info-directory-find-file)
20848 (Info-directory-find-node): New functions.
20849 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20850 (Info-history): Move part of code to
20851 `Info-history-find-node'.
20852 (Info-history-toc-nodes, Info-history-find-file)
20853 (Info-history-find-node): New functions.
20854 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20855 (Info-toc): Move part of code to `Info-toc-find-node'.
20856 (Info-toc-find-node): New function.
20857 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20858 the current Info file name to references because now the node
20859 "*TOC*" belongs to the same Info manual.
20860 (Info-toc-build): Rename from `Info-build-toc'.
20861 (Info-toc-nodes): Rename input argument `file' to `filename'.
20862 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20863 instead of ad-hoc processing of ("dir" apropos history toc).
20864 (Info-index-nodes): Use Info-virtual-file-p
20865 to check for a virtual file instead of checking a fixed list
20866 of node names.
20867 (Info-index-node): Add check for `Info-current-node-virtual'.
20868 Raise `save-match-data' higher up the tree to contain
20869 `search-forward' too (bug fix).
20870 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20871 (Info-virtual-index-nodes): New variable.
20872 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20873 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20874 (Info-apropos-file, Info-apropos-nodes): New variables.
20875 (Info-apropos-toc-nodes, Info-apropos-find-file)
20876 (Info-apropos-find-node, Info-apropos-matches): New functions.
20877 (info-apropos): Move part of code to `Info-apropos-find-node' and
20878 `Info-apropos-matches'.
20879 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20880 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20881 for a virtual file instead of checking a fixed list of node names.
20882
20883 * simple.el (async-shell-command): New command.
20884
20885 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20886
20887 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20888 instead of `mount-info'.
20889
20890 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20891
20892 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20893 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20894
20895 2009-07-02 Kenichi Handa <handa@m17n.org>
20896
20897 * international/mule.el (set-keyboard-coding-system): Force *-unix
20898 coding-system to avoid eol conversion.
20899
20900 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20901
20902 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20903 Add handler for `process-file', `shell-command' and
20904 `start-file-process'.
20905 (tramp-gvfs-handle-shell-command)
20906 (tramp-gvfs-handle-start-file-process)
20907 (tramp-gvfs-handle-process-file): New defuns.
20908 (tramp-synce-list-devices): Simplify check for existence of property.
20909
20910 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20911
20912 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20913
20914 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20915
20916 * language/korean.el (set-language-info-alist): Add korean-cp949,
20917 cp949 to spec.
20918
20919 2009-07-01 Kenichi Handa <handa@m17n.org>
20920
20921 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20922
20923 * international/encoded-kb.el: Deleted.
20924
20925 * international/mule.el (set-keyboard-coding-system): Perform the
20926 necessary setup here instead of calling encoded-kbd-setup-display.
20927
20928 2009-07-01 Glenn Morris <rgm@gnu.org>
20929
20930 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20931
20932 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20933
20934 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20935
20936 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20937
20938 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20939 Handle also the 'rename case, when setting file modes. (Bug#3712)
20940 (tramp-default-file-modes): Remove execute permissions.
20941
20942 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20943 (top): Add a default for "synce" in `tramp-default-user-alist'.
20944 Add completion function for "synce" method.
20945 (tramp-hal-service, tramp-hal-path-manager)
20946 (tramp-hal-interface-manager, tramp-hal-interface-device):
20947 New defconst.
20948 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20949 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20950 New defuns.
20951
20952 * net/trampver.el: Update release number.
20953
20954 2009-06-30 Kenichi Handa <handa@m17n.org>
20955
20956 * international/fontset.el (setup-default-fontset): Add CJK fonts
20957 for symbols and the other miscellaneous characters.
20958
20959 * language/korea-util.el (setup-korean-environment-internal):
20960 Make char-width-table suitable for Korean environments.
20961 (exit-korean-environment): Cancel above.
20962
20963 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20964 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20965 setup-function to make char-width-table suitable for respective
20966 environments, and an exit-function to cancel that.
20967
20968 * language/japan-util.el (setup-japanese-environment-internal):
20969 Call use-cjk-char-width-table with arg `ja_JP'.
20970
20971 * international/characters.el (cjk-char-width-table): Delete it.
20972 (cjk-char-width-table-list): New variable.
20973 (use-cjk-char-width-table): New arg local-name.
20974 (use-default-char-width-table): Fix for the case that Emacs is
20975 already using the default char-width-table.
20976
20977 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20978
20979 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20980 modes mandatory. (Bug#3712)
20981
20982 2009-06-29 Alan Mackenzie <acm@muc.de>
20983
20984 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20985 correction between the visible width of TABs and their number of bytes.
20986
20987 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20988
20989 * server.el (server-buffer-done): Prevent kill-buffer from
20990 prompting by clearing the buffer modification flag (Bug#3696).
20991
20992 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20993
20994 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20995 (verilog-endcomment-reason-re): Support unique case and priority case.
20996 (verilog-basic-complete-re): Support localparam lineup.
20997 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20998 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20999 commenting.
21000 (verilog-leap-to-case-head): Now support *nested* unique &
21001 priority case statements.
21002 (verilog-auto-lineup): Make just declarations the default (as it
21003 had been).
21004 (verilog-leap-to-case-head): Support priority/unique case statements.
21005 (verilog-auto-lineup): Rework to give users radio buttons to
21006 select the various styles of automatic lineup.
21007 (verilog-error-regexp-alist): Rework to support the XEmacs style
21008 of error regular expressions from compilers, lint tools &
21009 simulators. Note that GNU Emacs has made it impossible for a mode
21010 to load such things.
21011 (electric-verilog-terminate-line, verilog-indent-declaration)
21012 (verilog-auto-wiure): Rework for radio button selection of
21013 auto-lineup selection of specification of auto lineup.
21014 (verilog-beg-of-statement-1): Redesign to support proper operation
21015 in additional code, based on testing with auto-lineup.
21016 (verilog-calculate-indent, assignments & declarations)
21017 (verilog-backward-token): Enhance to support auto-lineup of
21018 assignments & declarations.
21019 (verilog-in-directive-p, verilog-at-struct-p): New function for
21020 easy test of whether we are.
21021 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21022 to support safe execution at almost anyline.
21023 (verilog-calc-1): Properly support indenting deep inside generate
21024 blocks.
21025 (verilog-init-font): Remove definition & use of verilog-init-font,
21026 as it is redundant with font-lock-defaults.
21027 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21028 to avoid circular calls if syntax-ppss is a function (as is the
21029 case now in 22.x GNU Emacs) as that function would sometimes call
21030 itself, leading to (nearly) infinite recursion.
21031 (verilog-ovm-begin-re, verilog-ovm-end-re)
21032 (verilog-ovm-statement-re, verilog-leap-to-head)
21033 (verilog-backward-token): Add support for OVM macros. Some are
21034 complete statements, and others open and close scopes like begin
21035 and end.
21036 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21037 (verilog-defun-level-generate-only-re): Really fix the defun-list
21038 compilation issue.
21039 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21040 coverpoint, constraint and cross statements.
21041 (verilog-defun-level-list, verilog-generate-defun-level-list)
21042 (verilog-all-defun-level-list): Redo these specifications - it is
21043 too hard to support eval-when compile aggregation of lists also
21044 built at when-compile time.
21045 (verilog-defun-level-list): Place defconsts of variables used in
21046 building regular expressions which are built in eval-when-compile
21047 bodies in the same eval-when-compile body to facilitate compile
21048 without load.
21049 (verilog-beg-block-re-ordered): Support indenting
21050 virtual/protected tasks and functions.
21051 (verilog-defun-level-list, verilog-in-generate-region-p)
21052 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21053 indentation of some module items (generate items).
21054 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21055 across virtual/protected tasks and functions.
21056
21057 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21058
21059 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21060 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21061 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21062 in concatenations. Reported by Yishay Belkind.
21063 (verilog-auto-ascii-enum): Support one-hot state machines in
21064 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21065 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21066 modport in AUTOINST and add vl-modport for users.
21067 Reported by David Rogoff.
21068 (verilog-auto-inout-module, verilog-auto-inst)
21069 (verilog-decls-get-interfaces, verilog-insert-definition)
21070 (verilog-insert-one-definition, verilog-read-decls)
21071 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21072 (verilog-sig-modport, verilog-signals-combine-bus)
21073 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21074 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21075 Suggested by David Rogoff.
21076 (verilog-repair-open-comma): Fix non-insertion of comma when
21077 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21078 (verilog-make-width-expression): Simplify [A-1:0] expression
21079 widths to just {A{1'b0}}.
21080 (verilog-mode): Cleanup checkdoc warnings.
21081 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21082 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21083 inputs/outputs or data type. Suggested by Vasu Kandadi.
21084 (next-error-last-buffer): Fix byte-compiler warning.
21085 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21086 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21087 or shell command text during AUTO expansion. Suggested by Tad Truex.
21088 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21089 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21090 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21091 in AUTOINOUT. Reported by Matthew Lovell.
21092 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21093 causing use of <= assignments. Reported by Alex Reed.
21094 (verilog-read-decls): Fix triand, trior, wand, wor to be
21095 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21096 (verilog-extended-complete-re): Support import "DPI-C" functions.
21097 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21098 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21099 (verilog-insert-date, verilog-insert-year)
21100 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21101 Windows systems. Reported by Michael Potts.
21102 (verilog-read-module-name): Fix AUTOINST when the child module
21103 declaration's name is a tick define. Reported by Elliot Mednick.
21104 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21105 passed to next parameter's definition. Reported by Bruce T.
21106 (verilog-read-decls): Fix detecting "parameter int" when using
21107 AUTOINSTPARAM. Reported by Bruce T.
21108 (verilog-goto-defun): Fix goto not finding modules unless first
21109 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21110 (verilog-mode): Expand -f flag arguments on entry to mode so
21111 verilog-goto-defun will work. Reported by Lawrence Butcher.
21112 (verilog-getopt): Expand environment variables in -f file
21113 arguments. Suggested by Lawrence Butcher.
21114 (verilog-set-define): Fix "Symbol's value as variable is void"
21115 when reading enumerations.
21116 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21117 Suggested by Stephen Peltan.
21118 (verilog-read-defines): Fix reading of enumerations in include
21119 files. Reported by Steve Peltan.
21120
21121 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21122
21123 * files.el (trash-directory): Fix defcustom type.
21124
21125 2009-06-28 Juri Linkov <juri@jurta.org>
21126
21127 * help-fns.el (describe-function-1): Correctly locate adviced
21128 functions in hyperlink (Bug#2438).
21129
21130 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21131
21132 * files.el (trash-directory): Change default to nil.
21133 (move-file-to-trash): If trash-directory is nil and
21134 system-move-file-to-trash is unbound, perform freedesktop-style
21135 trashing.
21136
21137 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21138
21139 * files.el (move-file-to-trash): Add freedesktop trash
21140 support (Bug#973).
21141
21142 2009-06-28 Glenn Morris <rgm@gnu.org>
21143
21144 * autorevert.el (global-auto-revert-non-file-buffers)
21145 (global-auto-revert-mode): Doc fixes.
21146
21147 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21148
21149 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21150
21151 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21152
21153 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21154 opened an X connection before calling x-get-resource (Bug#3194).
21155
21156 * play/doctor.el: Remove reference to obsolete website.
21157 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21158
21159 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21160
21161 Remove find-file-not-found-hook VC method. (Bug#2757)
21162 * vc-hooks.el (vc-file-not-found-hook)
21163 (vc-default-find-file-not-found-hook): Remove functions.
21164 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21165 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21166 * vc.el:
21167 * vc-hg.el:
21168 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21169
21170 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21171
21172 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21173 compatibility function for `looking-back'.
21174
21175 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21176 Use `ispell-looking-back'.
21177
21178 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21179
21180 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21181 rather than `filename'.
21182
21183 2009-06-23 Miles Bader <miles@gnu.org>
21184
21185 * face-remap.el (text-scale-set): New function.
21186
21187 2009-06-23 Glenn Morris <rgm@gnu.org>
21188
21189 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21190
21191 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21192
21193 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21194
21195 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21196
21197 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21198 Simplify Persian conditionals.
21199
21200 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21201 variable `filename'.
21202
21203 * comint.el (comint-insert-input): Doc fix.
21204
21205 * Makefile.in (ELCFILES): Fix typo in previous change.
21206
21207 2009-06-23 Miles Bader <miles@gnu.org>
21208
21209 * cus-start.el: Add entry for `recenter-redisplay'.
21210
21211 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21212
21213 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21214 Add an optional argument for the backend, use it instead of
21215 calling vc-backend.
21216 (vc-mode-line): Add an optional argument for the backend.
21217 Pass the backend to vc-state and vc-working-revision. Move code for
21218 special handling for vc-state being a buffer to ...
21219
21220 * vc-rcs.el (vc-rcs-find-file-hook):
21221 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21222
21223 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21224 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21225 vc-stay-local-p and vc-mode-line calls.
21226
21227 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21228 (vc-cvs-diff, vc-cvs-annotate-command)
21229 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21230 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21231 vc-mode-line calls.
21232
21233 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21234 direct comparison.
21235 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21236 backend when calling vc-mode-line.
21237 (vc-register): Do not create a closure for calling the vc register
21238 function, call it directly.
21239
21240 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21241
21242 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21243 to make it obvious item can be clicked.
21244
21245 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21246
21247 2009-06-23 Kenichi Handa <handa@m17n.org>
21248
21249 * language/korea-util.el (korean-key-bindings): Change the binding
21250 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21251 same command.
21252
21253 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21254
21255 Sync with Tramp 2.1.16.
21256
21257 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21258
21259 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21260 when a loading of a package fails. Completion function for rsync
21261 is `tramp-completion-function-alist-ssh'.
21262 (all): Replace all calls of `split-string' and
21263 `tramp-split-string' by `tramp-compat-split-string'.
21264 (tramp-default-method): Use `tramp-compat-process-running-p'.
21265 (tramp-default-proxies-alist): Allow also Lisp forms.
21266 (tramp-remote-path): Add choice "Private Directories".
21267 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21268 (tramp-domain-regexp): Allow also "-", "_" and ".".
21269 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21270 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21271 (tramp-debug-message): Insert header line in debug buffer.
21272 (tramp-handle-directory-files-and-attributes-with-stat):
21273 Care about filenames with spaces, or starting with "-".
21274 (tramp-handle-dired-uncache): New defun.
21275 (tramp-handle-insert-directory): Don't flush the directory from
21276 cache, this is handled by `dired-uncache' now.
21277 (tramp-handle-insert-file-contents): Improve error handling.
21278 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21279 Quote `tramp-end-of-output'.
21280 (tramp-action-password): Improve trace message.
21281 (tramp-check-for-regexp): Both echoes must be present, before removing.
21282 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21283 (tramp-compute-multi-hops): Eval cons cells of
21284 `tramp-default-proxies-alist'.
21285 (tramp-maybe-open-connection): Use the same command pattern for
21286 first hop and further hops.
21287 (tramp-wait-for-output): Remove handling of newlines.
21288 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21289 (tramp-split-string): Remove function. It is handled in
21290 tramp-compat now.
21291
21292 * net/tramp-cmds.el (tramp-bug):
21293 Recommend `tramp-cleanup-all-connections' in the bug mail.
21294
21295 * net/tramp-compat.el (tramp-compat-split-string)
21296 (tramp-compat-process-running-p): New defuns.
21297
21298 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21299 for `dired-uncache'.
21300
21301 * net/tramp-gvfs.el: New package.
21302
21303 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21304 Add handler for `dired-uncache'.
21305 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21306
21307 * net/trampver.el: Update release number. Make version check fit
21308 for SXEmacs 22.
21309
21310 2009-06-22 Jim Meyering <meyering@redhat.com>
21311
21312 Automatically handle .xz suffix (XZ-compressed files), too.
21313 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21314 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21315
21316 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21317 Nick Roberts <nickrob@snap.net.nz>
21318
21319 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21320 repository (http://sphinx.net.ru/hg/gdb-mi/).
21321
21322 2009-06-22 Glenn Morris <rgm@gnu.org>
21323
21324 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21325 `mode' and `eval' entries. (Bug#3430)
21326
21327 * Makefile.in (ELCFILES): Add fadr.elc.
21328
21329 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21330 differing behavior of \n and ^ in strings. (Bug#3385)
21331
21332 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21333
21334 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21335 property.
21336 (lisp-indent-function): Make it a defcustom.
21337
21338 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21339
21340 * progmodes/gdb-ui.el: Replace with ...
21341 * progmodes/gdb-mi.el: ... this file.
21342 * progmodes/gud.el: Modify for gdb-mi.el.
21343
21344 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21345
21346 * fadr.el: New file.
21347
21348 See ChangeLog.14 for earlier changes.
21349
21350 ;; Local Variables:
21351 ;; coding: utf-8
21352 ;; End:
21353
21354 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21355
21356 This file is part of GNU Emacs.
21357
21358 GNU Emacs is free software: you can redistribute it and/or modify
21359 it under the terms of the GNU General Public License as published by
21360 the Free Software Foundation, either version 3 of the License, or
21361 (at your option) any later version.
21362
21363 GNU Emacs is distributed in the hope that it will be useful,
21364 but WITHOUT ANY WARRANTY; without even the implied warranty of
21365 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21366 GNU General Public License for more details.
21367
21368 You should have received a copy of the GNU General Public License
21369 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.