]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-23
[gnu-emacs] / lisp / ChangeLog
1 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2
3 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
4 "Case sensitive" menu item.
5
6 2011-01-22 Roland McGrath <roland@frob.com>
7
8 * comint.el (comint-replace-by-expanded-history-before-point): Fix
9 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
10
11 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
14
15 2011-01-22 Jari Aalto <jari.aalto@cante.net>
16
17 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
18 Assume foo(bar) is a manpage reference rather than some unquoted
19 symbol (bug#7705).
20
21 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
24 Suggested by Flo <sensorflo@gmail.com>.
25
26 2011-01-22 Glenn Morris <rgm@gnu.org>
27
28 * progmodes/compile.el (compilation-error-regexp-alist):
29 Fix custom type. (Bug#7812)
30
31 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
32
33 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
34 allout-number-siblings, in keeping with what obtained due to
35 (now-defunct) allout-keybindings-list. Ditch repeat binding to
36 (prefixed) ?i.
37 (allout-before-change-handler): Better expose spots affected by
38 undo.
39
40 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
41
42 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
43
44 2011-01-22 Phil Hagelberg <phil@evri.com>
45
46 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
47 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
48 (pcmpl-ssh-config-hosts): New function.
49 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
50 pcmpl-ssh-known-hosts.
51
52 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
53
54 * calc/calc-undo.el (calc-undo): Autoload it.
55 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
56 and autoload for `calc-undo'.
57 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
58 * calc/calc-prog.el:
59 * calc/calc-graph.el:
60 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
61
62 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
63
64 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
65 keybindings to `calc-undo'.
66
67 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 Don't mess with *temp*.
70 * obsolete/spell.el: Move from textmodes/spell.el.
71 (spell-string):
72 * term.el (term-read-input-ring):
73 * startup.el (display-startup-echo-area-message):
74 * progmodes/antlr-mode.el (antlr-directory-dependencies):
75 * comint.el (comint-read-input-ring): Use with-temp-buffer.
76 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
77 point-min==1.
78
79 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
80
81 * allout.el: (allout-institute-keymap): Use fset instead of
82 reapplying defalias.
83
84 (allout-hotspot-key-handler): Check for non-control-modified
85 bindings for hotspot characters if there are no control-modified
86 versions.
87
88 * allout.el: Summary - migrate to defining allout mode using
89 define-minor-mode instead of defun. Significantly clean-up
90 internal keymap provisions, refactoring and, in the process,
91 removing a lot of accumulated cruft.
92
93 allout-mode-map is now a keymap by virtue of being a defalias to
94 allout-mode-map-value, which contains the actual keymap structure.
95
96 (allout-mode): Use define-minor-mode rather than defun.
97 Remove now-unnecessary minor-mode setup activities from the body.
98 Specify :keymap as allout-mode-map so the minor-mode-map-alist
99 entry will be '(allout-mode . allout-mode-map) - see
100 allout-mode-map-value, below. Adjust docstring to track changes.
101 (allout-minor-mode): Remove this defalias, now that we're using
102 define-minor-mode.
103 (allout-mode-map): Set value to be 'allout-mode-map. The actual
104 keymap is allout-mode-map-value, via defalias.
105 (allout-mode-map-value): The variable holding the actual mode
106 keymap structure, by virtue of defalias from allout-mode-map.
107 (allout-compose-and-institute-keymap): Rename from
108 allout-bind-keys, and including the binding-composition
109 functionality of the former produce-allout-mode-map and
110 allout-setup-mode-map.
111 (allout-institute-keymap): Take over the "setup" part of the former
112 allout-setup-mode-map. Reassign allout-mode-map-value value and
113 update the defalias.
114 (allout-command-prefix) (allout-prefixed-keybindings)
115 (allout-unprefixed-keybindings):
116 Use allout-compose-and-institute-keymap to process the bindings.
117 (allout-unprefixed-keybindings): Remove extraneous '?' question
118 marks.
119 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
120 user can customize if they want to use that binding.
121 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
122 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
123 elided that, previously, instead of the one for \C-h.)
124 (allout-hotspot-key-handler): Remove attempt to resolve the key
125 through the literal key-string lookup on allout-keybindings-list.
126 That probably hasn't worked for a Long Time, and removal of
127 allout-keybindings-list further simplifies the keybindings
128 situation.
129 (allout-pre-command-business): Use allout-mode-map-value instead
130 of allout-mode-map.
131 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
132 the bindings if they want to use a keybinding having a trailing
133 \C-h. No deprecation needed since this feature was never in a
134 release.
135 (allout-keybindings-list): Remove. It's not been useful for a
136 while. (See allout-hotspot-key-handler changes, above.)
137 (produce-allout-mode-map): Remove. Consolidate into
138 allout-compose-and-institute-keymap.
139 (allout-mode-map-adjustments): Remove. No longer necessary with
140 removal of allout-preempt-trailing-ctrl-h.
141 (allout-setup-mode-map): Remove. Consolidate into
142 allout-compose-and-institute-keymap and allout-institute-keymap.
143
144 2011-01-20 Glenn Morris <rgm@gnu.org>
145
146 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
147
148 * simple.el (read-expression-history): Remove, it's in minibuf.c.
149
150 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
151
152 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
153
154 * files.el (find-alternate-file, basic-save-buffer)
155 (basic-save-buffer-2, revert-buffer, recover-file)
156 (kill-buffer-ask, abort-if-file-too-large)
157 (set-visited-file-name, write-file, backup-buffer)
158 (basic-save-buffer, save-some-buffers):
159 * dired-aux.el (dired-compress-file): Callers changed.
160
161 2011-01-19 Glenn Morris <rgm@gnu.org>
162
163 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
164 Also check the property status. (Bug#7861)
165
166 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
167
168 * net/tramp.el (tramp-debug-message): Extend function exclude
169 list. Use `regexp-opt'.
170
171 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
174 highlighting doesn't spill over subsequent lines.
175
176 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
177 keymap expression. Improve docstring.
178
179 * electric.el (electric-indent-post-self-insert-function):
180 Don't auto-indent for indent-to-left-margin, it's too often
181 counter-productive.
182
183 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
184
185 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
186 spaces if the frame was resized, so that the full visible buffer
187 serves as canvas for strokes.
188
189 2011-01-16 Glenn Morris <rgm@gnu.org>
190
191 * info-xref.el (info-xref-docstrings): Replace cl function.
192 Also skip directories.
193
194 2011-01-16 Kevin Ryde <user42@zip.com.au>
195
196 * info-xref.el: Version 3.
197 (info-xref-check, info-xref-check-all): Move commentary details
198 into docstrings for better visibility.
199 Use compilation-mode for the results buffer.
200 (info-xref-output, info-xref-output-error, info-xref-with-output)
201 (info-xref-filename, info-xref-in-progress):
202 New internals for this.
203 (info-xref-check-list, info-xref-check-buffer)
204 (info-xref-check-all-custom): Use those.
205 (info-xref-output-buffer): Rename from info-xref-results-buffer.
206 (info-xref-output-heading): Rename from info-xref-filename-heading.
207 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
208 (info-xref-filename-heading): Move to output managing section.
209 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
210 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
211 (info-xref-subfile-p): Move to generic section with those two.
212 (info-xref-check-node): New function split from
213 info-xref-check-buffer, shared by info-xref-docstrings.
214 (info-xref-goto-node-p): Move to a checking section with that func.
215 (info-xref-unavail): New counter.
216 (info-xref-check-node): Use it.
217 (info-xref-with-output): Show count of unavailables at end of output.
218 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
219 symlinks. Exclude .texi files. Exclude Emacs backup files.
220 (info-xref-check-all-custom): Fix quietening viper-mode and
221 gnus-registry-install -- use setq not let so as not to unbind
222 after load.
223
224 2011-01-16 Juri Linkov <juri@jurta.org>
225
226 * isearch.el (isearch-abort): Don't quit if search has
227 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
228
229 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
230
231 * files.el (backup-buffer): Make last-resort backup file in
232 .emacs.d (Bug#6953).
233
234 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
235 make it with permission 700.
236
237 2011-01-15 Kenichi Handa <handa@m17n.org>
238
239 * mail/rmailmm.el (rmail-mime-insert-header):
240 Set rmail-mime-coding-system to a cons whose car is the last coding
241 system used to decode the header.
242 (rmail-mime-find-header-encoding): New function.
243 (rmail-mime-insert-decoded-text):
244 Override rmail-mime-coding-system if it is a cons.
245 (rmail-show-mime): If only a header part was decoded, find the
246 coding system while ignoring mm-charset-override-alist.
247
248 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
249
250 * subr.el (event-start, event-end): Doc fix (Bug#7826).
251
252 2011-01-15 Kenichi Handa <handa@m17n.org>
253
254 * mail/rmailmm.el (rmail-mime-next-item)
255 (rmail-mime-previous-item): Delete them.
256 (rmail-mime-shown-mode): Recursively call for children.
257 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
258 Callers changed.
259 (rmail-mime-raw-mode): Recursively call for children.
260 (rmail-mode-map): Change mapping of tab and backtab to
261 forward-button and backward-button respectively.
262 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
263 button.
264 (rmail-mime-update-tagline): New function.
265 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
266 body display is changed.
267 (rmail-mime-toggle-button): Rename from rmail-mime-image.
268 (rmail-mime-image): Delete this button type.
269 (rmail-mime-toggle): New button type.
270 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
271 body display is changed. Change the save button label to "Save".
272 Don't process show/hide button here.
273 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
274 the body display is changed. Unconditionally call
275 rmail-mime-insert for children.
276 (rmail-mime-handle): Update `display' vector of the just inserted
277 entity.
278 (rmail-mime-process): If mail-header-parse-content-type returns
279 nil, use "text/plain" as the fallback type.
280 (rmail-mime-insert): For raw-mode, recursively call
281 rmail-mim-insert for children.
282 (rmail-mime): Handle the case that the current buffer is not rmail
283 buffer (e.g. in summary buffer).
284
285 2011-01-15 Kenichi Handa <handa@m17n.org>
286
287 * mail/rmailmm.el (rmail-mime-next-item)
288 (rmail-mime-previous-item): Skip the body of a non-multipart
289 entity if a tagline is shown.
290
291 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
294 (tmm-prompt): Simplify.
295 (tmm-add-prompt): Remove unused var `win'.
296
297 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
298 to minor mode which used nil accidentally to mean "turn off".
299
300 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
301
302 * net/tramp-sh.el (tramp-find-inline-compress)
303 (tramp-get-inline-coding): Quote command after pipe symbol for
304 local calls under W32. (Bug#6784)
305
306 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
307
308 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
309 only when running under W32.
310
311 2011-01-15 Eli Zaretskii <eliz@gnu.org>
312
313 * progmodes/grep.el (grep-compute-defaults): Quote the program
314 file name after the pipe symbol in Grep templates. (Bug#6784)
315 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
316
317 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
318
319 * buff-menu.el (Buffer-menu-buffer-list): New var.
320 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
321 restricted buffer list is not lost on revert (Bug#7749).
322
323 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
324
325 * net/ldap.el (ldap-search-internal): Discard stderr output.
326
327 2011-01-15 Eli Zaretskii <eliz@gnu.org>
328
329 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
330
331 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
334
335 2011-01-15 Kenichi Handa <handa@m17n.org>
336
337 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
338 part as a plain text.
339 (rmail-mime-process-multipart): Set the default content-type to
340 nil for unknown multipart subtypes (bug#7651).
341
342 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
343
344 * hexl.el (hexl-mode-old-*): Remove.
345 (hexl-mode--old-var-vals): New var to replace them.
346 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
347 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
348 Use them to set local vars (bug#7846).
349 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
350 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
351 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
352
353 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
354 (smerge-resolve--normalize-re): New var.
355 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
356 (smerge-resolve): Use them.
357 * newcomment.el (comment-only-p): New function.
358 (comment-or-uncomment-region): Use it.
359
360 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
361
362 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
363 table, get the value before switching to the output buffer. (Bug#7733)
364
365 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
368
369 2011-01-14 Kim F. Storm <storm@cua.dk>
370
371 * emulation/cua-base.el (cua--init-keymaps):
372 Remap exchange-point-and-mark in cua-global-keymap.
373
374 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
375
376 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
377 loop keyword.
378
379 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
382 Require CL.
383 (easy-menu-create-menu, easy-menu-convert-item-1):
384 Use :label rather than nil for labels. Use `case'.
385 Add :enable as alias for :active.
386 (easy-menu-binding): Obey :label.
387
388 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 Use run-mode-hooks for major mode hooks (bug#513).
391 * textmodes/reftex-toc.el (reftex-toc-mode-map):
392 Rename from reftex-toc-map.
393 (reftex-toc-mode): Use define-derived-mode.
394 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
395 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
396 Rename from reftex-select-(label|bib)-map. Move init into declaration.
397 (reftex-select-label-mode, reftex-select-bib-mode):
398 Use define-derived-mode.
399 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
400 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
401 Move init into delcaration.
402 (reftex-index-mode, reftex-index-phrases-mode):
403 Use define-derived-mode.
404 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
405 speedbar-syntax-table. Move init into declaration.
406 (speedbar-mode-map): Rename from speedbar-key-map.
407 Move init into declaration.
408 (speedbar-file-key-map): Move init into declaration.
409 (speedbar-mode): Use define-derived-mode.
410 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
411 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
412 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
413 (chart-face-list): Move initialization into declaration.
414 (chart-mode): Use define-derived-mode.
415 * calculator.el (calculator-mode-map): Move init into declaration.
416 (calculator-mode): Use define-derived-mode.
417
418 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
419 work for nested comments.
420
421 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
422 (prolog-use-prolog-tokenizer-flag): Change default when
423 syntax-propertize can be used.
424 (prolog-syntax-propertize-function): New var.
425 (prolog-mode-variables): Move make-local-variable into `set'.
426 Don't make comment-column local since we don't set it.
427 Set comment-add (as it was in previous prolog.el). Use dolist.
428 Set syntax-propertize-function.
429 (prolog-mode, prolog-inferior-mode):
430 Call prolog(-inferior)-menu directly, not through the mode-hook.
431 (prolog-buffer-module, prolog-indent-level)
432 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
433 (prolog-comment-limits, prolog-goto-comment-column):
434 Use line-(end|beginning)-position.
435 (prolog-build-prolog-command): Tighten up regexp.
436 (prolog-consult-compile): Move make-local-variable into `set'.
437 (prolog-consult-compile-filter, prolog-goto-next-paren)
438 (prolog-help-on-predicate, prolog-clause-info)
439 (prolog-mark-predicate): Don't let+setq.
440 (prolog-indent-line): Use indent-line-to.
441 Only call prolog-goto-comment-column if necessary.
442 (prolog-indent-level): Use bobp.
443 (prolog-first-pos-on-line): Remove, not used any more.
444 (prolog-in-string-or-comment): Use syntax-ppss if available.
445 (prolog-help-on-predicate): Use read-string.
446 (prolog-goto-predicate-info): Simplify.
447 (prolog-read-predicate): Use `default' rather than `initial'.
448 (prolog-temporary-file): Use make-temp-file to close a security hole.
449 (prolog-toggle-sicstus-sd): New command.
450 (prolog-electric-underscore, prolog-variables-to-anonymous):
451 Use dynamic-scoping as it was meant.
452 (prolog-menu): Move menu definitions to top-level.
453 Use a toggle-button for Sicstus's source debugger.
454 Change "Code" to the more usual "Prolog", and hence change "Prolog"
455 to "System".
456 (prolog-inferior-menu): Reuse prolog-menu's help menu.
457 Move other menu definition to top-level.
458
459 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
460
461 * doc-view.el (doc-view-open-text): Use meaningful text buffer
462 name. Keep original document's directory as default-directory
463 (bug#6446).
464 (doc-view-initiate-display): Fall back to normal mode when
465 doc-view-mode cannot be enabled, also when extracting the document
466 text into a separate buffer (bug#6446).
467
468 * simple.el (shell-command): Don't error out if shell command
469 buffer contains text with non-nil read-only property when erasing
470 the buffer.
471
472 2011-01-13 Kim F. Storm <storm@cua.dk>
473
474 * ido.el (ido-may-cache-directory): Move "too-big" check later.
475 (ido-next-match, ido-prev-match): Fix stray reordering of matching
476 items when cycling through the matches.
477
478 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
479
480 * dired-x.el (dired-omit-verbose): New defcustom that allows
481 disabling the omit messages.
482 (dired-omit-expunge): Use it.
483
484 2011-01-13 Christian Ohler <ohler@gnu.org>
485
486 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
487
488 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
489
490 * font-lock.el (font-lock-verbose): Default to nil.
491
492 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
493
494 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
495 (compose-mail): New arg RETURN-ACTION.
496 (compose-mail-other-window, compose-mail-other-frame): Likewise.
497
498 * mail/sendmail.el (mail-return-action): New var.
499 (mail-mode): Make it buffer-local.
500 (mail-bury): Obey it. Move special Rmail window handling to
501 rmail-mail-return.
502 (mail, mail-setup): New arg RETURN-ACTION.
503 (sendmail-user-agent-compose): Move from simple.el.
504
505 * mail/rmail.el (rmail-mail-return): New function.
506 (rmail-start-mail): Pass it to compose-mail.
507
508 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
509
510 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
511 menus. Add menu item for customize-themes.
512
513 * cus-theme.el (customize-themes):
514 * emacs-lisp/package.el (package--list-packages):
515 Use switch-to-buffer.
516
517 2011-01-11 Johan Bockgård <bojohan@gnu.org>
518
519 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
520
521 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * progmodes/prolog.el: Fix up coding convention and such.
524 (prolog-indent-width): Use the same default as in
525 previous prolog.el rather than tab-width which depends on which buffer
526 is current when the file is loaded.
527 (prolog-electric-newline-flag): Only enable if electric-indent-mode
528 is not available.
529 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
530 (prolog-known-systems): Remove.
531 (prolog-mode-syntax-table, prolog-inferior-mode-map):
532 Move initialization into declaration.
533 (prolog-mode-map): Move initialization into declaration.
534 Remove system-specific mode-map vars, since they referred to the same
535 keymap anyway.
536 (prolog-mode-variables): Obey the user's preference w.r.t
537 adaptive-fill-mode. Prefer symbol-value to `eval'.
538 (prolog-mode-keybindings-edit): Add compatibility bindings.
539 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
540 (mercury-mode-map): New var.
541 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
542 (prolog-ensure-process, prolog-process-insert-string)
543 (prolog-consult-compile): Use with-current-buffer.
544 (prolog-guess-fill-prefix): Simplify data flow.
545 (prolog-replace-in-string): New function to use instead of
546 replace-in-string.
547 (prolog-enable-sicstus-sd): Don't abuse `eval'.
548 (prolog-uncomment-region): Use `uncomment-region' when available.
549 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
550 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
551 of int-to-char and char-to-int.
552 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
553
554 2011-01-11 Stefan Bruda <stefan@bruda.ca>
555
556 * progmodes/prolog.el: Replace by a whole new file.
557
558 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * subr.el (eval-after-load): Fix timing for features (bug#7769).
561 (declare-function, undefined, insert-for-yank)
562 (replace-regexp-in-string): Follow checkdoc's recommendations.
563
564 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
567 refreshing the diary buffer.
568
569 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
570
571 * allout.el: Add 2011 to the file copyright.
572 (allout-encrypt-string): Prevent encryption from adding an extra
573 newline at the end of the topic body.
574 (allout-version): Increment to 2.3.
575
576 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
577
578 * net/dbus.el (dbus-unregister-service): Complete doc.
579 Fix call of dbus-error signal.
580 (dbus-register-property): Use `dont-register' keyword.
581
582 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
583
584 * net/dbus.el (dbus-unregister-service): Translate returned
585 integer into a symbol.
586 (dbus-register-property): Use `dbus-register-service' to do the
587 name registration.
588
589 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
590
591 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
592 Suggested by Joakim Verona.
593
594 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
595
596 * wid-edit.el (visibility): Replace :on-image and :off-image
597 widget properties with :on-glyph and :off-glyph, for consistency
598 with the `visibility' widget.
599 (widget-toggle-value-create, widget-visibility-value-create):
600 Merge into a single function `widget-toggle-value-create'.
601
602 * cus-edit.el (custom-variable-value-create, custom-visibility)
603 (custom-face-edit-value-create, custom-face-value-create):
604 Replace :on-image and :off-image widget properties with :on-glyph and
605 :off-glyph, for consistency with the `visibility' widget.
606
607 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
608
609 * net/ldap.el (ldap-search-internal): Don't use eval.
610
611 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
612
613 * subr.el (read-char-choice): Use read-key.
614
615 * custom.el (custom-safe-themes): Rename from
616 custom-safe-theme-files. Add :risky tag.
617 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
618 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
619
620 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
621
622 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
623 from Search and add a label to Undo.
624
625 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
626 inappropriate buttons and adding :vert-only tags.
627
628 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
629 removal of Help tool-bar button. Remove Undo button for space.
630
631 * info.el (info-tool-bar-map): Add :vert-only tags.
632
633 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
634
635 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
636 image backend support. Either of them is fine.
637
638 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
639
640 * subr.el (y-or-n-p): Doc fix.
641
642 * custom.el (custom-safe-theme-files): New defcustom.
643 (custom-theme-load-confirm): New function.
644 (load-theme): Load theme using `load', confirming with
645 custom-theme-load-confirm if necessary.
646
647 * subr.el (read-char-choice): New function, factored out from
648 dired-query and hack-local-variables-confirm.
649
650 * dired-aux.el (dired-query):
651 * files.el (hack-local-variables-confirm): Use it.
652
653 * dired-aux.el (dired-compress-file):
654 * files.el (abort-if-file-too-large, find-alternate-file)
655 (set-visited-file-name, write-file, backup-buffer)
656 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
657 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
658 Use new format string args for y-or-n-p and yes-or-no-p.
659
660 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
661
662 * progmodes/compile.el (compilation-error-regexp-alist-alist)
663 [gcc-include]: Tighten file name match, add match for column
664 number. (Bug#7806)
665 [gnu]: Remove unused group.
666
667 2011-01-08 Glenn Morris <rgm@gnu.org>
668
669 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
670
671 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
672
673 2011-01-07 Sam Steingold <sds@gnu.org>
674
675 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
676 the `explicit-shell-file-name' because that is the
677 non-interactive shell.
678
679 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
680
681 * subr.el (y-or-n-p): Accept format string args.
682
683 2011-01-07 Glenn Morris <rgm@gnu.org>
684
685 * Makefile.in (EMACSOPT): Add --no-site-lisp.
686
687 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
688
689 * allout.el (allout-back-to-current-heading): Ensure return to
690 the visible containing topic, rather than a collapsed one.
691 (allout-view-change-hook): Remove hook that was deprecated long ago.
692 (allout-exposure-change-hook): Remove documentation remarks
693 concerning removed allout-view-change-hook.
694 (allout-flag-region): Remove invocation of and documentation
695 remarks concerning allout-view-change-hook.
696
697 2011-01-06 Glenn Morris <rgm@gnu.org>
698
699 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
700 (vc-bzr-annotate-extract-revision-at-line):
701 Handle authors with embedded spaces. (Bug#7792)
702
703 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
704
705 * doc-view.el (doc-view-image-width): New variable.
706 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
707 backend for PNG images, and do dynamic rescaling instead of
708 reconverting the whole doc.
709
710 2011-01-05 Glenn Morris <rgm@gnu.org>
711
712 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
713
714 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
715
716 * allout.el: Reconcile with changes in line movement behavior for
717 long text lines that cross more than a single physical window
718 line, ie when truncate-lines is nil.
719 (allout-next-visible-heading): Provide for change in line-move
720 behavior on long lines when truncate-lines is nil. In that case,
721 line-move can wind up on the same textual line when it moves to
722 the next window line, and moving to the bullet position after the
723 move yields zero advancement. Add logic to detect and compensate
724 for the lack of progress.
725 (allout-current-topic-collapsed-p): move-end-of-line respect for
726 field boundaries is different when operating with body lines
727 shorter than window width versus ones greater than window width,
728 which can yield false negatives in this function. Avoid
729 difference by applying move-end-of-line while field-text-motion is
730 inhibited.
731
732 2011-01-04 Glenn Morris <rgm@gnu.org>
733
734 * textmodes/rst.el (rst-compile-toolsets):
735 Add pdf and s5 to option alist.
736
737 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
738
739 * net/dbus.el (dbus-register-property): Add optional parameter
740 dont-register-service. Updated docstring accordingly.
741
742 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
743
744 * textmodes/rst.el (rst-compile-pdf-preview)
745 (rst-compile-slides-preview): Remove extra line.
746
747 2011-01-04 Glenn Morris <rgm@gnu.org>
748
749 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
750 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
751 default to `prog' without a .py extension.
752 (rst-compile-pdf-preview, rst-compile-slides-preview):
753 Use program names from rst-compile-toolsets, rather than hard-coding.
754 (rst-portable-mark-active-p): Fix presumed typo.
755
756 2011-01-02 Eli Zaretskii <eliz@gnu.org>
757
758 * term/w32-win.el (dynamic-library-alist): Set up correctly for
759 libpng versions both before and after 1.4.0. (Bug#7716)
760
761 2011-01-02 Eli Zaretskii <eliz@gnu.org>
762
763 * time.el (display-time-mode): Mention display-time-interval in
764 the doc string. (Bug#7713)
765
766 2011-01-02 Kenichi Handa <handa@m17n.org>
767
768 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
769 condition-case and return an error message string if something
770 goes wrong.
771 (rmail-show-mime): Adjust for the above change. Insert the
772 header by rmail-mime-insert-header.
773
774 2011-01-02 Kenichi Handa <handa@m17n.org>
775
776 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
777 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
778 (rmail-mime-mbox-buffer)
779 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
780 (rmail-mime-entity): Argument changed. All codes handling an
781 entity object are changed.
782 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
783 the above change.
784 (rmail-mime-entity-children, rmail-mime-entity-handler)
785 (rmail-mime-entity-tagline): New functions.
786 (rmail-mime-message-p): New function.
787 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
788 (rmail-mime-entity-segment, rmail-mime-next-item)
789 (rmail-mime-previous-item, rmail-mime-shown-mode)
790 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
791 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
792 (rmail-mime-insert-tagline, rmail-mime-insert-header):
793 New functions.
794 (rmail-mime-text-handler): Call rmail-mime-insert-text.
795 (rmail-mime-insert-decoded-text): New function.
796 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
797 (rmail-mime-insert-image): Argument changed. Caller changed.
798 (rmail-mime-image): Call rmail-mime-toggle-hidden.
799 (rmail-mime-set-bulk-data): New funciton.
800 (rmail-mime-insert-bulk): Argument changed.
801 (rmail-mime-multipart-handler): Return t.
802 (rmail-mime-process-multipart): Argument changed.
803 Handle "multipart/alternative" here.
804 (rmail-mime-process): Argument changed.
805 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
806 (rmail-mime-insert): Argument changed. Handle raw display mode.
807 (rmail-mime): Argument changed. Handle toggling of raw display
808 mode.
809 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
810 rmail-mime-view-buffer.
811 (rmail-insert-mime-forwarded-message): Likewise.
812 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
813
814 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
815 non-nil, handle the header in rmail-show-mime-function.
816
817 2011-01-02 Leo <sdl.web@gmail.com>
818
819 * help-fns.el (describe-variable): Fix previous change.
820
821 2011-01-02 Juri Linkov <juri@jurta.org>
822
823 * isearch.el (isearch-lazy-highlight-error): New variable.
824 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
825 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
826 to the current value of `isearch-error' (Bug#7468).
827
828 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
829
830 * help-fns.el (describe-variable): Don't emit trailing whitespace
831 (Bug#7511).
832
833 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
834
835 * textmodes/rst.el (rst-compile-pdf-preview)
836 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
837
838 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
839
840 * emulation/edt-mapper.el: Override mapping of function keys so
841 that the later call to read-key-sequence works.
842
843 2011-01-02 Eli Zaretskii <eliz@gnu.org>
844
845 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
846 Unix EOLs. (Bug#7589)
847
848 2011-01-02 Leo <sdl.web@gmail.com>
849
850 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
851 if point is not behind eshell-last-output-end (Bug#7585).
852
853 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
854
855 * files.el (file-local-variables-alist):
856 Make permanent-local (bug#7767).
857
858 2011-01-02 Glenn Morris <rgm@gnu.org>
859
860 * version.el (emacs-copyright): Set short copyright year to 2011.
861
862 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
863
864 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
865 an existing temp buffer. (Bug#7746)
866
867 2011-01-02 Glenn Morris <rgm@gnu.org>
868
869 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
870 multiple addresses. (Bug#7760)
871
872 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
873
874 * allout.el (allout-auto-fill): Do not infinitely recurse - use
875 do-auto-fill if everything points back to allout-auto-fill.
876 (allout-mode-deactivate-hook): Declare obsolete, in favor of
877 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
878
879 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
880
881 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
882 and "scpx".
883
884 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
885
886 * doc-view.el (doc-view-set-doc-type): New function refactored
887 from doc-view-mode.
888 (doc-view-fallback-mode): New function.
889 (doc-view-mode): Use it.
890 (doc-view-mode-maybe): New function that checks if doc-view-mode
891 can be used and falls back to the next best mode otherwise.
892
893 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
894 DVI, OpenDocument, and MS Office files.
895
896 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
897
898 * emacs-lisp/rx.el (rx-syntax): Fix typo.
899
900 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
901
902 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
903 on a copy of auto-mode-alist, because that deletes with side
904 effects.
905
906 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
907
908 * doc-view.el (doc-view-mode, doc-view-toggle-display):
909 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
910 fallback instead of hard coding fundamental mode.
911
912 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
913
914 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
915 Office) files also for searching.
916
917 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
918
919 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
920 Office) files. Not yet enabled via auto-mode-list.
921 (doc-view-unoconv-program): New custom variable.
922 (doc-view-mode-p): Handle new odf document type.
923 (doc-view-odf->pdf): New conversion function.
924 (doc-view-convert-current-doc): Call it for odf files.
925 (doc-view-mode): Recognize newly supported file extensions.
926
927 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
928
929 * net/tramp.el (tramp-default-method-alist)
930 (tramp-default-user-alist)
931 (tramp-local-host-regexp, tramp-prefix-domain-format)
932 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
933
934 * net/tramp-ftp.el:
935 * net/tramp-gvfs.el:
936 * net/tramp-gw.el:
937 * net/tramp-imap.el:
938 * net/tramp-sh.el:
939 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
940 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
941
942 2010-12-29 Karl Fogel <kfogel@red-bean.com>
943
944 * saveplace.el (save-place-alist-to-file): Save list sorted and
945 pretty-printed, so that it is mergeable by line-based text merging,
946 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
947
948 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
949
950 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
951 (allout-mode): Argument "toggle" => "force".
952 Refine the docstring.
953 Remove special provisions for reactivation, besides the 'force'
954 argument.
955 Consolidate layout provisions coce directly into the activation
956 condition branch, now that we've removed those provisions.
957 (allout-unload-function): Explicitly activate the mode before
958 deactivating, if it's initially deactivated.
959 (allout-set-buffer-multibyte): Properly prevent byte-compiler
960 warnings for version of function used only where
961 set-buffer-multibyte is unavailable.
962
963 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
964
965 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
966 are handled by the menu-bar entries. As before, don't use
967 :visibile to avoid changing the tool-bar.
968
969 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
970
971 * net/secrets.el (secrets-delete-alias): New defun.
972
973 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
974
975 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
976 methods, otherwise ~/.ssh/config would be ignored.
977
978 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * emacs-lisp/rx.el: Make it a superset of sregex.
981 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
982 of args, add `regex' alias.
983 (rx-info): Add arg to distinguish head and standalone forms.
984 (rx-check, rx-form): Pass the corresponding arg.
985 (rx-**): Simplify.
986 (rx-repeat): Make it work for any number of args.
987 (rx-syntax): Make it accept syntax chars as is.
988 * obsolete/sregex.el: Move from emacs-lisp/.
989 * emacs-lisp/re-builder.el: Remove sregex support.
990 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
991
992 2010-12-25 Eli Zaretskii <eliz@gnu.org>
993
994 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
995 PRIMARY first, then the clipboard. (Bug#7699)
996
997 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1000 print-number-table.
1001
1002 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1003
1004 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1005 .emacs.elc (Bug#7530).
1006
1007 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1008 image spec (Bug#7480).
1009
1010 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1011
1012 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1013 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1014 Move from lisp/.
1015
1016 2010-12-20 Leo <sdl.web@gmail.com>
1017
1018 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1019 always be performed (Bug#7680).
1020
1021 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1022
1023 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1024 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1025 mouse-region-match.
1026
1027 * color.el: Move from gnus/.
1028
1029 * vc/diff.el (diff-better-file-name): Function deleted.
1030 abbreviating file names causes problems with shell-quote-argument.
1031 (diff-no-select): Just use expand-file-name.
1032
1033 * tool-bar.el (tool-bar--image-expression): New function.
1034 (tool-bar-local-item, tool-bar--image-exp): Use it.
1035 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1036 Use :enable instead of :visible to avoid changing the tool-bar
1037 configuration unnecessarily.
1038
1039 * info.el (info-tool-bar-map): Add separators.
1040
1041 2010-12-17 Ken Brown <kbrown@cornell.edu>
1042
1043 * loadup.el: Use version numbers in Cygwin build.
1044
1045 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1046
1047 * ido.el (ido-file-internal): Ask for confirmation before
1048 overwriting an existing file (Bug#1238).
1049
1050 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1051
1052 * tool-bar.el (tool-bar-setup): Add separators.
1053
1054 * menu-bar.el (featurep): Use menu-bar-separator.
1055
1056 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1057
1058 Migrate allout encryption provisions from pgg to epg.
1059
1060 * allout.el (allout-toggle-current-subtree-encryption)
1061 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1062 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1063 for simpler universal argument interpretation.
1064 (allout-toggle-subtree-encryption): Adjust docstring to describe
1065 changed encryption provisions. Change fetch-pass to keymode-cue, for
1066 simpler universal argument interpretation. Remove provisions for
1067 handling key type and identity - they'll all be within
1068 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1069 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1070 for keypair recipients (universal argument > 1) and, in addition,
1071 associating the specified recipients with the outline (universal
1072 argument > 4) using a file local variable setting for
1073 'epa-file-encrypt-to'.
1074 Require epa, for recipients handling.
1075 Change how regexp filtering elements are named.
1076 Describe the problem with caching of incorrect symmetric-decryption
1077 keys.
1078 Use the epa-passphrase-callback-function, in case the user is using
1079 GnuPG v1.
1080 Support saving of the selected keypair recipients when invoked with a
1081 keymode-cue > 4.
1082 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1083 Require 'epa.
1084 Establish epg-context with armoring and default epg-protocol.
1085 Remove all passphrase cache, verification, and hinting code.
1086 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1087 No longer used, delete.
1088 (allout-mode): Adjust docstring to describe changed encryption
1089 provisions. Describe the problem with caching of incorrect
1090 symmetric-decryption keys.
1091 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1092 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1093 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1094 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1095 Obsolete, remove.
1096
1097 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1098
1099 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1100 key selection prompt; make 'silent as default (Bug#7487).
1101
1102 2010-12-16 Leo <sdl.web@gmail.com>
1103
1104 * eshell/eshell.el (eshell-directory-name):
1105 Use locate-user-emacs-file (Bug#7578).
1106
1107 2010-12-15 Glenn Morris <rgm@gnu.org>
1108
1109 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1110
1111 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1112 Scott Evans <gse@antisleep.com>
1113
1114 * rect.el (rectange--default-line-number-format)
1115 (rectangle-number-line-callback): New functions.
1116 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1117
1118 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1119
1120 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1121 Delete unused variables.
1122 (move-to-column-force): Remove function obsolete since 21.2.
1123
1124 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1125
1126 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1127 (tramp-handle-insert-file-contents): Do not set permanent-local
1128 property.
1129
1130 * net/tramp-cache.el (tramp-persistency-file-name):
1131 Use `locate-user-emacs-file' if fboundp.
1132
1133 * net/tramp-sh.el (tramp-methods): Add "ksu".
1134 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1135 method list.
1136
1137 2010-12-14 Glenn Morris <rgm@gnu.org>
1138
1139 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1140 (find-tag-marker-ring): Declare.
1141 (js-find-symbol): Require etags.
1142
1143 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1144 Require mail-utils.
1145 (mail-alias-file): Don't autoload. Doc fix.
1146 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1147 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1148 Mark as obsolete, and risky.
1149 (mail-setup): Simplify.
1150
1151 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1152 * mail/sendmail.el (build-mail-aliases): Update autoload.
1153
1154 * dired.el (dired-trivial-filenames, dired-chown-program)
1155 (dired-auto-revert-buffer): Remove autoload cookies.
1156 * mail/sendmail.el (mail-recover-1): Require 'dired.
1157
1158 * dired.el (dired-subdir-switches, dired-chown-program)
1159 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1160 Make into defcustoms.
1161 (dired-chown-program): Simplify initialization.
1162
1163 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1164
1165 2010-12-13 Romain Francoise <romain@orebokech.com>
1166
1167 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1168
1169 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1170
1171 * net/netrc.el (netrc-point-at-eol): Remove the unused
1172 netrc-point-at-old and netrc-bound-and-true-p bindings.
1173 (netrc-parse): Cache the netrc contents.
1174
1175 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1176
1177 * subr.el (posn-col-row): Evaluate header-line-format in the
1178 context of the POSITION window's buffer.
1179
1180 2010-12-13 Glenn Morris <rgm@gnu.org>
1181
1182 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1183 (with-silent-modifications): Doc fixes.
1184
1185 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1186
1187 * net/tramp.el (tramp-action-password, tramp-process-actions):
1188 Revert previous from. Use `save-restriction'.
1189
1190 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1191
1192 * calendar/diary-lib.el (diary-list-sexp-entries):
1193 Handle case of no newline at end of file. (Bug#7536)
1194
1195 2010-12-13 Glenn Morris <rgm@gnu.org>
1196
1197 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1198
1199 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1200
1201 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1202 (tramp-process-actions): Do not widen.
1203
1204 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1205 Protect buffer-modified value. (Bug#7557)
1206
1207 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1208
1209 * log-edit.el (log-edit-changelog-entries):
1210 Regexp quote filename. (Bug#7505)
1211
1212 2010-12-13 Tom Breton <tehom@panix.com>
1213
1214 * cus-edit.el (custom-save-all):
1215 Bind print-length and print-level to nil. (Bug#7581)
1216
1217 2010-12-13 Glenn Morris <rgm@gnu.org>
1218
1219 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1220 Run hooks to update menu contents. (Bug#7586)
1221
1222 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1223 file names, for the sake of MS Windows. (Bug#7588)
1224
1225 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1228 empty lines without a leading space.
1229
1230 2010-12-13 Leo <sdl.web@gmail.com>
1231
1232 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1233 while mapping over marks (Bug#6810).
1234
1235 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1236
1237 * image-dired.el (image-dired-db-file)
1238 (image-dired-temp-image-file, image-dired-gallery-dir)
1239 (image-dired-temp-rotate-image-file): Set default values relative
1240 to image-dired-dir (Bug#7518).
1241
1242 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1243
1244 * format.el (format-decode-run-method): Pass args FROM and TO, not
1245 point-min and point-max, to shell-command-on-region (Bug#7488).
1246
1247 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1248
1249 * frame.el (blink-cursor-mode): Make default t for ns.
1250
1251 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1252
1253 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1254
1255 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1256
1257 * comint.el (comint-dynamic-list-input-ring)
1258 (comint-dynamic-complete-filename)
1259 (comint-replace-by-expanded-filename)
1260 (comint-dynamic-simple-complete)
1261 (comint-dynamic-list-filename-completions)
1262 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1263
1264 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1265 Doc fix (Bug#7471).
1266
1267 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1268
1269 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1270 (Bug#7533).
1271
1272 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1273
1274 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1275 (Bug#7491).
1276
1277 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1278
1279 * files.el (file-relative-name): Handle UNC file names on
1280 DOS/Windows. (Bug#4674)
1281
1282 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1283
1284 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1285 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1286 (epg-context-set-passphrase-callback): Mention that the callback
1287 is not called when used with GnuPG 2.x.
1288
1289 2010-12-13 Glenn Morris <rgm@gnu.org>
1290
1291 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1292 Ensure ps-footer-font-size-internal is initialized.
1293 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1294
1295 2010-12-13 Kenichi Handa <handa@m17n.org>
1296
1297 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1298 within condition-case.
1299 (rmail-show-mime): Don't use condition-case.
1300 (rmail-search-mime-message): New function.
1301 (rmail-search-mime-message-function): Set to
1302 rmail-search-mime-message.
1303
1304 2010-12-13 Leo <sdl.web@gmail.com>
1305
1306 * ido.el (ido-common-initialization): New function. (bug#3274)
1307 (ido-mode): Use it.
1308 (ido-completing-read): Call it.
1309
1310 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1311
1312 * bookmark.el (bookmark-name-from-full-record): Rename back to
1313 this original name from `bookmark-name-from-record' reverting part
1314 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1315 As Drew Adams pointed out, there was no reason to cause churn for
1316 third-party callers.
1317
1318 2010-12-12 Alan Mackenzie <acm@muc.de>
1319
1320 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1321 template arglist, check that the current language supports this.
1322
1323 2010-12-11 Glenn Morris <rgm@gnu.org>
1324
1325 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1326 state of the file matches. (Bug#7544)
1327 (vc-bzr-register, vc-bzr-checkin)
1328 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1329 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1330
1331 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1332
1333 2010-12-11 Karel Klíč <kklic@redhat.com>
1334
1335 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1336
1337 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 Derive from prog-mode, use derived-mode-p, and fix up various
1340 minor style issues in lisp/progmodes.
1341
1342 * progmodes/vhdl-mode.el (vhdl-mode):
1343 * progmodes/verilog-mode.el (verilog-mode):
1344 * progmodes/vera-mode.el (vera-mode):
1345 * progmodes/sql.el (sql-mode):
1346 * progmodes/scheme.el (scheme-mode):
1347 * progmodes/perl-mode.el (perl-mode):
1348 * progmodes/octave-inf.el (inferior-octave-mode):
1349 * progmodes/autoconf.el (autoconf-mode):
1350 * progmodes/m4-mode.el (m4-mode):
1351 * progmodes/inf-lisp.el (inferior-lisp-mode):
1352 * progmodes/idlwave.el (idlwave-mode):
1353 * progmodes/icon.el (icon-mode):
1354 * progmodes/idlw-help.el (idlwave-help-mode):
1355 * progmodes/dcl-mode.el (dcl-mode):
1356 * progmodes/idlw-shell.el (idlwave-shell-mode):
1357 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1358 (ebrowse-member-mode, ebrowse-electric-position-mode):
1359 Use define-derived-mode.
1360
1361 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1362 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1363 (xscheme-debugger-mode-p, xscheme-send-string-1):
1364 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1365 (tcl-load-file, tcl-restart-with-file):
1366 * progmodes/ps-mode.el (ps-run-running):
1367 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1368 * progmodes/js.el (js--get-all-known-symbols):
1369 * progmodes/inf-lisp.el (inferior-lisp-proc):
1370 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1371 (idlwave-template, idlwave-update-buffer-routine-info)
1372 (idlwave-update-current-buffer-info)
1373 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1374 (idlwave-scan-class-info, idlwave-fix-keywords)
1375 (idlwave-list-buffer-load-path-shadows):
1376 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1377 (idlwave-toolbar-remove):
1378 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1379 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1380 (idlwave-shell-menu-def):
1381 * progmodes/idlw-complete-structtag.el
1382 (idlwave-prepare-structure-tag-completion):
1383 * progmodes/gud.el (gud-set-buffer):
1384 * progmodes/f90.el (f90-backslash-not-special):
1385 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1386
1387 * progmodes/xscheme.el (xscheme-start)
1388 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1389 * progmodes/which-func.el (which-function):
1390 * progmodes/vhdl-mode.el (vhdl-set-style):
1391 * progmodes/verilog-mode.el (verilog-set-compile-command)
1392 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1393 (verilog-set-define, verilog-auto-reeval-locals):
1394 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1395 * progmodes/simula.el (simula-mode):
1396 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1397 * progmodes/python.el (python-check, python-mode):
1398 * progmodes/prolog.el (prolog-mode-variables):
1399 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1400 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1401 * progmodes/delphi.el (delphi-mode):
1402 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1403 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1404 (c-font-lock-init): Move make-local-variable to their setq.
1405
1406 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1407 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1408 make-local-hook.
1409 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1410 (sh-set-shell): Don't set require-final-newline since it's already done
1411 by prog-mode.
1412 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1413 since we never set it.
1414 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1415 Use read-string and standard prompt.
1416 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1417 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1418 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1419 (meta-common-mode-map): Rename from meta-mode-map.
1420 Remove C-m binding, which is a user preference, not mode specific.
1421 (meta-common-mode): New major mode; replace meta-common-initialization.
1422 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1423 around with font-lock.
1424 * progmodes/etags.el (select-tags-table-mode):
1425 Derive from special-mode.
1426 * progmodes/octave-mod.el (octave-mode):
1427 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1428 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1429 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1430 Let define-derived-mode do its job.
1431 * progmodes/cpp.el (cpp-edit-mode-map):
1432 Move initialization into declaration.
1433 (cpp-edit-mode): Use define-derived-mode.
1434 (cpp-edit-load): Use derived-mode-p.
1435 * progmodes/mixal-mode.el (mixal-mode):
1436 * progmodes/f90.el (f90-mode):
1437 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1438 require-final-newline since prog-mode does it already.
1439 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1440 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1441 * progmodes/antlr-mode.el: Require cc-mode upfront.
1442 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1443 the declaration.
1444 (antlr-directory-dependencies, antlr-show-makefile-rules):
1445 Use derived-mode-p.
1446 (antlr-language-option): Don't assume point-min==1.
1447 (antlr-mode): Use define-derived-mode.
1448 * progmodes/ada-mode.el: Use derived-mode-p.
1449 (ada-mode): Use define-derived-mode.
1450 Use hack-local-variables-hook.
1451
1452 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1455 (texinfo-mode): Don't disable adaptive-fill-mode.
1456 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1457 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1458 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1459 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1460 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1461 (texinfo-insert-@quotation, texinfo-insert-@samp)
1462 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1463 (texinfo-insert-@uref): Use define-skeleton.
1464 (texinfo-insert-@-with-arg): Delete.
1465
1466 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1467
1468 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1469 nil, do quote archive member names. (Bug#6144)
1470
1471 2010-12-10 Glenn Morris <rgm@gnu.org>
1472
1473 * files.el (diff-no-select): Declare.
1474
1475 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1476 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1477
1478 * comint.el (comint-input-ring-file-name): Doc fix.
1479
1480 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1481
1482 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1483 New functions.
1484 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1485 Use them instead of `nil' and `>', respectively.
1486 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1487 instead of `nil'.
1488 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1489 and menu-bar-positive-p instead of `nil' and `>', respectively.
1490 (Bug#1077)
1491
1492 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1493
1494 * whitespace.el (whitespace-newline-mode): Code fix.
1495
1496 2010-12-09 Glenn Morris <rgm@gnu.org>
1497
1498 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1499 Rename functions without commas, update callers.
1500
1501 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1502
1503 * whitespace.el (whitespace-cleanup-region):
1504 Clean up spaces before tabs. (Bug#7582)
1505
1506 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1507
1508 * bookmark.el: Adjust parameter names and doc strings to resolve
1509 confusion over whether "bookmark" meant a bookmark name or a
1510 bookmark record. Along the way, shorten one function's name for
1511 similar reasons. (Issue #7548)
1512 (bookmark-name-from-record): New name for
1513 `bookmark-name-from-full-record'. All callers changed.
1514 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1515 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1516 (bookmark-get-annotation, bookmark-set-annotation)
1517 (bookmark-get-filename, bookmark-set-filename)
1518 (bookmark-get-position, bookmark-set-position)
1519 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1520 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1521 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1522 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1523 Rename `bookmark' parameter to `bookmark-name-or-record', to
1524 clearly show its role, and shorten or adjust doc strings accordingly.
1525 (bookmark-set-name): Same, and pass the parameter directly to
1526 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1527 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1528 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1529 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1530 and in some cases shorten doc string accordingly.
1531 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1532 and `new-name', and adjust an internal variable to avoid confusion.
1533 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1534 parameter in doc string.
1535
1536 2010-12-08 Glenn Morris <rgm@gnu.org>
1537
1538 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1539 from gdb's history file. (Bug#7575)
1540
1541 * mail/emacsbug.el (report-emacs-bug):
1542 Try to handle some other mail clients.
1543
1544 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1545
1546 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1547 Use string-prefix-p.
1548 (file-name-version-regexp): New var.
1549 (file-name-sans-versions):
1550 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1551 (jka-compr-get-compression-info): Use dolist.
1552 (jka-compr-compression-info-list): Don't bother specifying
1553 version/backup regexps.
1554
1555 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1556
1557 * simple.el (just-one-space): Make argument n default to 1 if
1558 omitted.
1559
1560 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1561
1562 * electric.el (electric-indent-post-self-insert-function):
1563 Delete trailing newlines even if we don't reindent.
1564
1565 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * minibuffer.el (completion-at-point): Remove the `arg'.
1568 * bindings.el (complete-symbol): Move back from minibuffer.el.
1569
1570 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1571
1572 * simple.el (just-one-space): Delete newlines for negative arg.
1573
1574 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1577 (ansi-color-filter-apply): Simplify.
1578 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1579
1580 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1581
1582 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1583
1584 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1585
1586 * dired.el (dired-use-ls-dired): Set default to a special
1587 "unspecified" value.
1588 (dired-insert-directory): When called the first time, check
1589 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1590
1591 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1592
1593 * replace.el: Add "collect" feature to occur.
1594 (occur-collect-regexp-history): New var.
1595 (occur-read-primary-args): Return a replace string for nlines,
1596 if needed.
1597 (occur): Extend the meaning of nlines.
1598
1599 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1602 (which-func-update-1): Distinguish symbols from strings.
1603 (which-function): Stay within 80 columns.
1604
1605 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1608
1609 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1610 Improve docstring.
1611 (comment-style): Use comment-styles's docs to describe values.
1612
1613 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1614
1615 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1616 and ns-show-prefs (Bug#7535).
1617
1618 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1619 bindings (Bug#7535).
1620
1621 2010-12-03 Glenn Morris <rgm@gnu.org>
1622
1623 * nxml/nxml-mode.el: Require rng-nxml.
1624 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1625 Remove declarations.
1626
1627 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1628 * nxml/rng-nxml.el, nxml/rng-valid.el:
1629 Remove leading `*' from defcustom docs.
1630
1631 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1632 (normal-top-level-add-to-load-path, tty-handle-args):
1633 Convert comments to basic doc-strings.
1634
1635 * net/browse-url.el (browse-url-url-at-point)
1636 (browse-url-default-browser): Remove autoload cookies.
1637
1638 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1639 Remove more undefined cl functions.
1640
1641 * vc/diff.el (diff-sentinel): Make new arguments optional.
1642 * ibuf-ext.el (diff-sentinel): Update declaration.
1643
1644 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1645
1646 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1647 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1648 (epg-context-set-passphrase-callback): Mention that the callback
1649 is not called when used with GnuPG 2.x.
1650
1651 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1652
1653 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1654 (tramp-file-name-port): Check also for `tramp-default-port'.
1655 (tramp-get-connection-name): New defun.
1656 (tramp-get-connection-process): Use it.
1657 (tramp-debug-message): Extend function exclude list.
1658 (tramp-drop-volume-letter): Fix doc string.
1659
1660 * net/tramp-cmds.el: Remove solved todo item.
1661
1662 * net/tramp-efs.el:
1663 * net/tramp-ftp.el:
1664 * net/tramp-gvfs.el:
1665 * net/tramp-gw.el:
1666 * net/tramp-imap.el:
1667 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1668 and `tramp-default-user-alist', respectively.
1669
1670 * net/tramp-gw.el (tramp-gw-open-connection):
1671 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1672
1673 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1674 `tramp-file-name-port'.
1675
1676 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1677 and "psftp". Exchange "%k" marker with options.
1678 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1679 Compute size of link target.
1680 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1681 `tramp-current-*' up due to gateway methods. Optimze computing of
1682 copy arguments. Use `tramp-get-connection-name' and
1683 `tramp-get-connection-buffer'. Improve debug messages.
1684 (tramp-compute-multi-hops): Remove port determination.
1685 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1686
1687 * net/trampver.el: Update release number.
1688
1689 2010-12-02 Glenn Morris <rgm@gnu.org>
1690
1691 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1692 Avoid infinite loop over windows. (Bug#7492)
1693
1694 * progmodes/flymake.el (flymake-check-file-limit):
1695 Allow nil to mean "no limit".
1696 (flymake-check-patch-master-file-buffer): Update for above change.
1697 Allow a .tex file-name extension to be optional.
1698 (flymake-master-tex-init): Also match \include statements.
1699
1700 2010-11-30 Sam Steingold <sds@gnu.org>
1701
1702 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1703 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1704 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1705 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1706 define-derived-mode').
1707 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1708 users who want to call `nxml-parent-document-set'.
1709
1710 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1711
1712 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1713 stand-alone lines, since that is handled by log-edit-match-to-eoh
1714 (Bug#6465).
1715
1716 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1717
1718 * dired.el (dired-get-filename): Replace backslashes with slashes
1719 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1720 * locate.el (locate-default-make-command-line): Don't consider
1721 drive letter and root directory part of
1722 `directory-listing-before-filename-regexp'. (Bug#7308)
1723 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1724
1725 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1726
1727 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1728 of :smie-open/close-alist.
1729 (smie-next-sexp): Make it accept a "start token" as argument.
1730 (smie-indent-keyword): Be careful not to misidentify tokens that span
1731 more than one line, as empty lines. Add argument `token'.
1732
1733 2010-11-27 Kenichi Handa <handa@m17n.org>
1734
1735 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1736 multipart subtypes, insert all as usual.
1737
1738 * mail/rmail.el: Require rfc2047.
1739
1740 2010-11-27 Kenichi Handa <handa@m17n.org>
1741
1742 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1743 (rmail-mime-entity-disposition)
1744 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1745 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1746 (rmail-mime-save): Handle the case that the button's `data' is a
1747 MIME entity.
1748 (rmail-mime-insert-text): New function.
1749 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1750 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1751 (rmail-mime-insert-bulk): New function mostly copied from the old
1752 rmail-mime-bulk-handler.
1753 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1754 (rmail-mime-process-multipart): New function mostly copied from
1755 the old rmail-mime-multipart-handler.
1756 (rmail-mime-show): Just call rmail-mime-process.
1757 (rmail-mime-process): New function mostly copied from the old
1758 rmail-mime-show.
1759 (rmail-mime-insert-multipart, rmail-mime-parse)
1760 (rmail-mime-insert, rmail-show-mime)
1761 (rmail-insert-mime-forwarded-message)
1762 (rmail-insert-mime-resent-message): New functions.
1763 (rmail-insert-mime-forwarded-message-function): Set to
1764 rmail-insert-mime-forwarded-message.
1765 (rmail-insert-mime-resent-message-function): Set to
1766 rmail-insert-mime-resent-message.
1767
1768 * mail/rmailsum.el: Require rfc2047.
1769 (rmail-header-summary): Handle multiline Subject: field.
1770 (rmail-summary-line-decoder): Change the default to
1771 rfc2047-decode-string.
1772
1773 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1774 (rmail-mime-feature): Change the default to `rmailmm'.
1775 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1776 (rmail-display-labels): Likewise.
1777 (rmail-show-message-1): Check rmail-enable-mime, and use
1778 rmail-show-mime-function for a MIME message. Decode the headers
1779 according to RFC2047.
1780
1781 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * progmodes/which-func.el (which-func-imenu-joiner-function):
1784 Return a string, as expected.
1785 (which-function-mode): Make sure we stop any previous timer before
1786 starting a new one.
1787
1788 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1789
1790 * net/tramp.el (tramp-default-method-alist)
1791 (tramp-default-user-alist, tramp-default-proxies-alist):
1792 Adapt custom options type. (Bug#7445)
1793
1794 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1795
1796 * progmodes/python.el: Add Ipython support (Bug#5390).
1797 (python-shell-prompt-alist)
1798 (python-shell-continuation-prompt-alist): New options.
1799 (python--set-prompt-regexp): New function.
1800 (inferior-python-mode, run-python, python-shell):
1801 Require ansi-color. Use python--set-prompt-regexp to set the comint
1802 prompt based on the Python interpreter.
1803 (python--prompt-regexp): New var.
1804 (python-check-comint-prompt)
1805 (python-comint-output-filter-function): Use it.
1806 (run-python): Use a pipe (Bug#5694).
1807
1808 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1809
1810 * progmodes/python.el (run-python): Doc fix.
1811 (python-keep-current-directory-in-path): New var (Bug#7454).
1812
1813 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1814
1815 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1816 Prompt user before actually printing.
1817
1818 2010-11-27 Glenn Morris <rgm@gnu.org>
1819
1820 * startup.el (package-enable-at-startup, package-initialize):
1821 Remove unnecessary declarations.
1822
1823 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1824
1825 * international/characters.el (glyphless-char-display-control):
1826 Exclude newline and TAB from the c0-control group.
1827
1828 2010-11-27 Glenn Morris <rgm@gnu.org>
1829
1830 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1831 (expand-mail-aliases): Remove unnecessary autoload.
1832
1833 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1834
1835 * shell.el (shell-dir-cookie-re): Move definition before use.
1836
1837 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1838 Replace undefined CL functions.
1839
1840 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1841
1842 * simple.el (prog-mode): Set bidi-paragraph-direction to
1843 left-to-right.
1844
1845 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1846
1847 2010-11-26 Glenn Morris <rgm@gnu.org>
1848
1849 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1850 diary-outlook-formats can be sensitive to calendar-date-style.
1851 (diary-outlook-formats): Simplify the default setting.
1852 (diary-from-outlook-internal): Pass subject and body as arguments.
1853 Use dolist rather than dotimes. Don't save the diary buffer.
1854 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1855 Pass subject and body as explicit arguments to the -internal function.
1856
1857 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1858
1859 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1860 parsing them. This makes mailto:...?subject=foo\nbar work.
1861
1862 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * vc/diff.el (diff): Fix last change.
1865
1866 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1867
1868 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1869 (pcase--dontcare-upats): New var.
1870 (pcase-let, pcase-let*): Generate better code.
1871 Accept the same bodies as `let'.
1872 (pcase-dolist): New macro.
1873 (pcase--trivial-upat-p): New helper function.
1874 (pcase--expand): Strip leading "(let nil" if any.
1875
1876 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1877
1878 * mail/mailclient.el (browse-url): Require.
1879 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1880 use the external browser function to send the mail (bug#7469).
1881
1882 * net/browse-url.el (browse-url-browser-function): Revert the
1883 default back to the previous value, since the new value broke
1884 mailclient.el.
1885 (browse-url-mailto-function): New variable for mailto: URLs.
1886 (browse-url): Use the new variable for mailto: URLs.
1887
1888 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1889
1890 * eshell/esh-cmd.el (eshell-parse-command):
1891 * eshell/esh-arg.el (eshell-parse-arguments):
1892 * eshell/em-script.el (eshell-source-file):
1893 Use with-silent-modifications.
1894
1895 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1896
1897 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1898 for a merge location.
1899
1900 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1901 (vc-bzr-merge-branch): Always prompt.
1902 (vc-bzr-async-command): Use the full branch filename.
1903
1904 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1905
1906 * shell.el (shell): Use current-buffer by default if it's already
1907 a shell mode buffer and its process is dead.
1908 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1909
1910 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1911
1912 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1913 Mention that the keywords should be comma separated.
1914
1915 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1916
1917 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1918 Accept optional prefix arg meaning to prompt for a command.
1919 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1920 prefix arg meaning to prompt for a command.
1921 (vc-pull): Alias for vc-update.
1922
1923 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1924 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1925 (vc-bzr-merge-branch): New functions, implementing merge-branch
1926 and pull operations.
1927
1928 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1929
1930 * Makefile.in: Fix up last merge.
1931
1932 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1933 (diff-sentinel): Get them as arguments instead.
1934 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1935 (diff-file-local-copy, diff-better-file-name): New funs.
1936 (diff-no-select): Rename from diff-into-buffer.
1937 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1938 Prefer closures to buffer-local variables.
1939 (diff): Adjust accordingly.
1940 (diff-buffer-with-file): Move from files.el.
1941 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1942 (diff-buffer-internal): Remove.
1943 (diff-buffer-buffer): Remove.
1944 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1945 the buffer name used, and so as not to mess up windows and frames.
1946
1947 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1948
1949 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1950 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1951 (diff-buffer-with-file): Use it.
1952 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1953 (diff): Use it.
1954
1955 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1956
1957 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1958 \ref's or \pageref's value as default instead of initial input.
1959
1960 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1961
1962 * files.el (backup-by-copying-when-mismatch): The default value is
1963 now t.
1964
1965 * startup.el (normal-top-level):
1966 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1967 `backup-by-copying-when-mismatch'.
1968
1969 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1970
1971 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1972
1973 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1974
1975 * progmodes/python.el (python-font-lock-keywords):
1976 Highlight top-level augmented assignments (Bug#6445).
1977
1978 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1979
1980 * term/ns-win.el (ns-right-control-modifier)
1981 (ns-right-command-modifier): Defvar them.
1982
1983 * cus-start.el (all): Add ns-right-control-modifier and
1984 ns-right-command-modifier (Bug#7458).
1985
1986 2010-11-20 Glenn Morris <rgm@gnu.org>
1987
1988 * emacs-lisp/authors.el (authors-ignored-files)
1989 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1990
1991 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1992
1993 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1994 (report-emacs-bug-parse-query-results)
1995 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1996 keywords used for querying the bug database to show them in the
1997 existing bugs buffer.
1998
1999 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2000
2001 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2002
2003 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2004
2005 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2006
2007 * international/characters.el (glyphless-char-display-control):
2008 Make it a defcustom, with update-glyphless-char-display as its
2009 :set attribute.
2010 (top level): Don't call update-glyphless-char-display.
2011
2012 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2013
2014 Sync with Tramp 2.2.0.
2015
2016 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2017 `file-remote-p' (due to compatibility).
2018
2019 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2020 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2021
2022 * net/trampver.el: Update release number.
2023
2024 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2025
2026 * faces.el (glyphless-char): Define value for `pc'.
2027
2028 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2029
2030 Implemented a bug querying mechanism.
2031 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2032 (report-emacs-bug-create-existing-bugs-buffer)
2033 (report-emacs-bug-parse-query-results)
2034 (report-emacs-bug-query-existing-bugs): New functions.
2035
2036 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2037
2038 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2039 a \ref{} or \pageref{} macro, then use its value as initial input.
2040
2041 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2042
2043 * calc/calc-units.el (math-build-units-table-buffer):
2044 calc/README: Mention that the TeX specific units won't use the
2045 `tex' prefix in TeX mode.
2046 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2047 prefix for units in TeX mode.
2048
2049 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2050
2051 * simple.el (kill-new, kill-append, kill-region):
2052 * comint.el (comint-kill-region): Make the yank-handler argument
2053 obsolete.
2054
2055 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2058 that are both openers (resp. closers) and something else.
2059 (smie-grammar): Loosen definition of valid values.
2060 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2061 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2062 (smie-indent-after-keyword): Adjust users.
2063 (smie-indent-keyword): Don't indent empty lines.
2064
2065 * vc-hg.el (vc-hg-program): New var.
2066 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2067 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2068
2069 2010-11-18 Glenn Morris <rgm@gnu.org>
2070
2071 * emacs-lisp/autoload.el (autoload-find-destination): The function
2072 coding-system-eol-type may return non-numeric values. (Bug#7414)
2073
2074 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2075
2076 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2077
2078 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2079
2080 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2081
2082 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2083
2084 * textmodes/picture.el (picture-mouse-set-point): Don't use
2085 posn-col-row; explicitly compute the motion based on the posn at
2086 the window-start (Bug#7390).
2087
2088 2010-11-18 Glenn Morris <rgm@gnu.org>
2089
2090 * novice.el (disabled-command-function):
2091 Fix 2009-11-15 change. (Bug#7384)
2092
2093 2010-11-18 Glenn Morris <rgm@gnu.org>
2094
2095 * calendar/calendar.el (diary-iso-date-forms): Make elements
2096 mutually exclusive. (Bug#7377)
2097
2098 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2099
2100 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2101 when filling the remaining "unconstrained" values.
2102
2103 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2104
2105 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2106 safety predicate.
2107
2108 * files.el (safe-local-variable-p): Gracefully handle errors.
2109
2110 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2111 Use smie-indent-virtual when indenting relative to an opener.
2112 (smie-rule-separator): Use smie-rule-parent.
2113 (smie-indent-keyword): Consult rules, even for openers at bol.
2114 (smie-indent-comment-close): Try to align closer's content.
2115
2116 2010-11-18 Glenn Morris <rgm@gnu.org>
2117
2118 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2119
2120 2010-11-18 Glenn Morris <rgm@gnu.org>
2121
2122 * printing.el (pr-menu-bind): Doc fix.
2123
2124 * speedbar.el (speedbar-toggle-images): Doc fix.
2125
2126 * progmodes/python.el (python-shell): Doc fix.
2127
2128 * wid-edit.el (widget-field-use-before-change)
2129 (widget-use-overlay-change): Doc fixes.
2130
2131 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 Minor cleanup to improve style.
2134 * textmodes/rst.el (rst-update-section): Use point-marker.
2135 (rst-get-decoration): Eliminate unneeded assignment.
2136 (rst-promote-region, rst-straighten-decorations)
2137 (rst-section-tree, rst-adjust): Use point-marker.
2138 (rst-toc-mode-mouse-goto): Avoid setq.
2139 (rst-shift-region-guts, rst-shift-region-left)
2140 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2141 (rst-convert-bullets-to-enumeration): Use copy-marker.
2142
2143 * minibuffer.el (completion-fail-discreetly): New var.
2144 (completion--do-completion): Use it.
2145
2146 * electric.el (electric-pair-pairs): New var.
2147 (electric-pair-post-self-insert-function): Use it.
2148 (electric-layout-post-self-insert-function): Don't insert a before
2149 newline unless it's actually needed.
2150
2151 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * progmodes/python.el (run-python): Explain why we remove the current
2154 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2155
2156 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2157
2158 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2161 (octave-mode-map): Don't bind ;, SPC, and LF.
2162 (octave-auto-indent, octave-auto-newline): Remove.
2163 (electric-layout-rules): Declare.
2164 (octave-mode): Set electric-layout-rules.
2165 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2166 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2167 (octave-electric-space): Remove.
2168
2169 * electric.el (electric-layout-mode): New minor mode.
2170 (electric--after-char-pos): New function.
2171 (electric-indent-post-self-insert-function): Use it.
2172 (electric-layout-rules): New var.
2173 (electric-layout-post-self-insert-function): New function.
2174 (electric-indent-mode): Make them interact better.
2175
2176 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2179 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2180 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2181
2182 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2183
2184 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2185 Make sure to check inside the word (Bug#6761).
2186
2187 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2188
2189 * startup.el (command-line): If the cursorColor resource is set,
2190 change the cursor face-spec (Bug#7392).
2191
2192 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2193
2194 The main features of the following allout.el changes are:
2195 - implement user customization for the allout key bindings
2196 - add a customization control by which the user can inhibit use of
2197 a trailing Ctrl-H, so by default it's reserved for use with
2198 describe-prefix-bindings
2199 - adapt to new version of called-interactively-p, while
2200 maintaining backwards compatibility with old version
2201 - fix hotspot navigation so i works properly with meta-modified keys
2202
2203 * allout.el (allout-keybindings, allout-bind-keys)
2204 (allout-keybindings-binding, allout-prefixed-keybindings)
2205 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2206 (allout-keybindings-list, allout-mode-map-adjustments)
2207 (allout-setup-mode-map): Establish allout-mode keymaps as user
2208 customizable settings, and also establish a customizable setting which
2209 regulates whether or not a trailing control-h is reserved for use with
2210 describe-prefix-bindings - and inhibit it by default, so that control-h
2211 *is* reserved for describe-prefix-bindings unless the user changes it.
2212
2213 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2214 and accurately between modified and unmodified events, and handle
2215 modified events more comprehensively.
2216
2217 * allout.el (allout-substring-no-properties):
2218 Alias to use or provide version of `substring-no-properties'.
2219 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2220
2221 * allout.el (allout-next-single-char-property-change):
2222 Alias to use or provide version of `next-single-char-property-change'.
2223 (allout-annotate-hidden, allout-hide-by-annotation):
2224 Use `allout-next-single-char-property-change'.
2225
2226 * allout.el (allout-select-safe-coding-system):
2227 Alias to use or provide version of `select-safe-coding-system'.
2228 (allout-toggle-subtree-encryption):
2229 Use `allout-select-safe-coding-system'.
2230
2231 * allout.el (allout-set-buffer-multibyte):
2232 Alias to use or provide version of `set-buffer-multibyte'.
2233 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2234
2235 * allout.el (allout-called-interactively-p): Macro for using the
2236 different versions of called-interactively-p identically, depending on
2237 the subroutine's argument signature.
2238 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2239 Use `(interactive "p")' instead of `(called-interactively-p)'.
2240
2241 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2242 (allout-previous-visible-heading, allout-forward-current-level)
2243 (allout-backward-current-level, allout-show-children):
2244 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2245
2246 * allout.el (allout-before-change-handler):
2247 Exempt edits to the (overlaid) character after the allout outline
2248 bullet from edit confirmation prompt.
2249
2250 * allout.el (allout-add-resumptions):
2251 Ensure that it respects correct buffer for keybindings.
2252
2253 * allout.el (allout-beginning-of-line):
2254 Use `allout-previous-single-char-property-change' alias for the sake of
2255 diverse compatibility.
2256
2257 * allout.el (allout-end-of-line):
2258 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2259
2260 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2261
2262 * frame.el (frame-notice-user-settings): Don't clobber other
2263 user-set parameters when calling face-set-after-frame-default in
2264 response to background-color parameter (Bug#7373).
2265
2266 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2267
2268 * international/characters.el (glyphless-char-display-control):
2269 Rename from glyphless-char-control; all users changed. Doc fix.
2270 Signal an error if display method is not one of the recognized
2271 symbols.
2272
2273 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2274
2275 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2276 (tramp-compat-line-end-position): Remove them.
2277
2278 * net/tramp.el (tramp-parse-rhosts-group)
2279 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2280 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2281 (tramp-parse-netrc-group, tramp-parse-putty-group)
2282 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2283 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2284 (tramp-sh-handle-file-selinux-context)
2285 (tramp-sh-handle-file-name-all-completions)
2286 (tramp-sh-handle-insert-directory)
2287 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2288 (tramp-wait-for-output, tramp-send-command-and-read)
2289 * net/tramp-smb.el (tramp-smb-read-file-entry)
2290 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2291
2292 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2293 `point-at-bol'.
2294 (tramp-remote-coding-commands): Add an alternative using "base64
2295 -d -i". This is needed for older base64 versions from GNU
2296 coreutils. Reported by Klaus Reichl
2297 <Klaus.Reichl@thalesgroup.com>.
2298
2299 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2300
2301 * simple.el (count-words-region): New function.
2302
2303 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * shell.el (shell-dir-cookie-re): New custom variable.
2306 (shell-dir-cookie-watcher): New function.
2307
2308 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2309 and compilation-mode (bug#7350).
2310
2311 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2312 highlight when one of them is empty.
2313
2314 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2315 trailing space.
2316 (skeleton-newline): New function.
2317 (skeleton-internal-1): Use it.
2318
2319 * simple.el (open-line): `newline' may strip trailing space.
2320
2321 2010-11-12 Kevin Ryde <user42@zip.com.au>
2322
2323 * international/mule-cmds.el (princ-list): Use mapc.
2324
2325 2010-11-12 Glenn Morris <rgm@gnu.org>
2326
2327 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2328 Use it to replace all instances of "*Compile-Log*"
2329
2330 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2333 indentation specs.
2334
2335 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * progmodes/modula2.el: Use SMIE and skeleton.
2338 (m2-mode-syntax-table): (*..*) can be nested.
2339 Add //...\n. Fix paren syntax.
2340 (m2-mode-map): Remove LF and TAB bindings.
2341 (m2-indent): Add safety property.
2342 (m2-smie-grammar): New var.
2343 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2344 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2345 (m2-mode): Use define-derived-mode.
2346 (m2-newline, m2-tab): Remove.
2347 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2348 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2349 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2350 (m2-import): Use define-skeleton.
2351
2352 2010-11-11 Glenn Morris <rgm@gnu.org>
2353
2354 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2355
2356 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2357 (ls-lisp-verbosity): Add custom :set-after property.
2358 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2359 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2360 (ls-lisp-insert-directory): Update caller.
2361 (ls-lisp-set-options): New function.
2362 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2363 Doc fix.
2364
2365 * play/landmark.el (lm-prompt-for-move):
2366 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2367
2368 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2369
2370 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2371 (idlwave-study-twins): Prefix dynamic local variable `name'.
2372 (idlwave-routine-twin-compare): Update for above change.
2373
2374 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2375 Prefix dynamic local variables `name', `kwd', and `link'.
2376 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2377 * progmodes/idlw-complete-structtag.el
2378 (idlwave-complete-structure-tag-help):
2379 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2380 (idlwave-complete-sysvar-tag-help)
2381 (idlwave-complete-class-structure-tag-help):
2382 Update for above name changes.
2383
2384 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2385
2386 * net/browse-url.el (browse-url-browser-function): Change the
2387 default to use `browse-url-mail' on mailto: URLs.
2388
2389 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2390
2391 * emacs-lisp/package.el (package-read-all-archive-contents):
2392 Reset package-archive-contents to nil before re-reading.
2393
2394 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2395
2396 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2397 already found as misspellings by (flyspell-large-region), just
2398 do highlighting (bug#7322).
2399
2400 2010-11-10 Glenn Morris <rgm@gnu.org>
2401
2402 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2403
2404 * emulation/edt.el (edt-with-position): New macro.
2405 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2406 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2407 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2408
2409 * emulation/tpu-extras.el (tpu-with-position): New macro.
2410 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2411
2412 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2413
2414 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2415 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2416 (texinfo-master-menu, texinfo-insert-node-lines)
2417 (texinfo-multiple-files-update):
2418 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2419 Use line-beginning-position.
2420
2421 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2422 No recent Emacs supports system-type `emx'.
2423
2424 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2425 (ada-command-separator, ada-default-prj-properties)
2426 (ada-find-any-references): Update for above name change.
2427
2428 * dirtrack.el (dirtrack-directory-function)
2429 (dirtrack-canonicalize-function):
2430 * filecache.el (file-cache-completion-ignore-case)
2431 (file-cache-case-fold-search, file-cache-ignore-case):
2432 * term.el (serial-port-is-file-p): Cosmetic change.
2433
2434 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2435 Remove non-existent `windows-95' system-type.
2436 * dired.el (dired-chown-program): Remove non-existent `linux'
2437 system-type.
2438
2439 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2440 (ping-program-options): Remove non-existent `linux' system-type.
2441
2442 * startup.el (package-initialize): Update declaration.
2443
2444 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2445 (ls-lisp-handle-switches): Use time-less-p.
2446 (ls-lisp-format-time): Use float-time.
2447
2448 * textmodes/remember.el (remember-time-to-seconds): Remove.
2449 (remember-store-in-mailbox): Use float-time.
2450
2451 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2452
2453 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2454 never a real function.
2455 (with-no-warnings): Remove compat stub, now unused.
2456 (time-less-p): Doc fix.
2457 (time-to-number-of-days): Simplify.
2458
2459 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2460 Remove.
2461 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2462 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2463 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2464 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2465 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2466
2467 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2468 (eshell-shuffle-files, eshell-shorthand-tar-command)
2469 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2470 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2471 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2472 Prefix dynamic local variable `matches'.
2473
2474 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2475 Prefix dynamic local variable `skeleton'.
2476
2477 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2478
2479 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2480 in mail buffer; make yank-action always a command that yanks original
2481 buffer.
2482
2483 2010-11-09 Glenn Morris <rgm@gnu.org>
2484
2485 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2486
2487 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2490 completion field (bug#7211).
2491
2492 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2493 Fix handling of backslash escapes.
2494 (python-quote-syntax): Adjust accordingly.
2495
2496 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2497
2498 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2499 (vc-mtn-workfile-branch): Adjust to new output format.
2500
2501 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * international/mule-cmds.el (princ-list): Mark as obsolete.
2504
2505 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * emacs-lisp/smie.el: New package.
2508
2509 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2510
2511 * files.el (backup-by-copying-when-mismatch):
2512 Set `permanent-local' property.
2513
2514 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2515 `permanent-local' property for `backup-by-copying-when-mismatch'.
2516
2517 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2518
2519 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2520
2521 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2522
2523 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2524 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2525 AUTOINOUT for SV style multidimensional arrays, bug294.
2526 Reported by Eric Mastromarchi.
2527 (verilog-preprocess): Use with-current-buffer and
2528 font-lock-fontify-buffer to cleanup style issues.
2529
2530 2010-11-09 Glenn Morris <rgm@gnu.org>
2531
2532 * locate.el (locate, locate-mode): Doc fixes.
2533
2534 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2535
2536 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2537 user for confirmation.
2538 (server-force-stop): Use it.
2539 (server-start): Use server-force-stop for kill-emacs-hook, to
2540 avoid user interaction while killing Emacs.
2541
2542 2010-11-09 Glenn Morris <rgm@gnu.org>
2543
2544 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2545 (meta-indent-line): Simplify.
2546
2547 * vc/emerge.el (emerge-line-number-in-buf):
2548 * textmodes/ispell.el (ispell-region):
2549 * textmodes/fill.el (current-fill-column):
2550 * progmodes/xscheme.el (xscheme-send-current-line):
2551 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2552 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2553 * progmodes/sh-script.el (sh-handle-prev-do):
2554 * progmodes/meta-mode.el (meta-indent-line):
2555 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2556 (idlwave-in-quote):
2557 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2558 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2559 * progmodes/fortran.el (fortran-looking-at-if-then):
2560 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2561 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2562 (cperl-find-pods-heres):
2563 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2564 * net/quickurl.el (quickurl-list-insert):
2565 * net/ldap.el (ldap-search-internal):
2566 * net/eudc.el (eudc-expand-inline):
2567 * mail/sendmail.el (sendmail-send-it):
2568 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2569 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2570 (viper-brac-function):
2571 * calc/calc-yank.el (calc-do-grab-region):
2572 * calc/calc-keypd.el (calc-keypad-press):
2573 * term.el (term-move-columns, term-insert-spaces):
2574 * speedbar.el (speedbar-highlight-one-tag-line):
2575 * simple.el (current-word):
2576 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2577 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2578 (Info-scroll-down):
2579 * hippie-exp.el (he-line-beg):
2580 * epa.el (epa--marked-keys):
2581 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2582 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2583 (dired-relist-entry):
2584 * buff-menu.el (Buffer-menu-buffer):
2585 * array.el (current-line):
2586 * allout.el (allout-resolve-xref)
2587 (allout-latex-verbatim-quote-curr-line):
2588 Replace yet more uses of end-of-line etc with line-end-position, etc.
2589
2590 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2593 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2594 (checkdoc-syntax-table): Initialize in the declaration.
2595 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2596 the mode on unconditionally.
2597
2598 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2599 (extent-end-position, extent-start-position): Remove setf method for
2600 non-existing functions (bug#7319).
2601
2602 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2605 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2606 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2607 (smie-prec2->grammar): Rename from smie-prec2-levels.
2608 (smie-grammar): Rename from smie-op-levels.
2609 (smie-indent--hanging-p): Rename from smie-hanging-p.
2610 (smie-rule-hanging-p): New alias.
2611 (smie-indent--bolp): Rename from smie-bolp.
2612 (smie-indent--hanging-p): New alias.
2613 (smie--token): New dynamically bound variable.
2614 (smie-indent--parent): New function.
2615 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2616 (smie-rule-next-p): Rename from smie-next-p.
2617 (smie-rule-prev-p): Rename from smie-prev-p.
2618 (smie-rule-sibling-p, smie-rule-parent)
2619 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2620 (smie-rule-separator-outdent): New var.
2621 (smie-indent--rule): Merge with smie-indent--column.
2622 (smie-indent-forward-token, smie-indent-backward-token):
2623 Also recognize close parens.
2624 (smie-indent-keyword): Don't use smie-indent--column any more.
2625 (smie-indent-after-keyword): Ignore closers by default.
2626 (smie-indent-line): Use with-demoted-errors.
2627 * progmodes/octave-mod.el (octave-smie-grammar):
2628 Rename from octave-smie-op-levels.
2629 (octave-smie-rules): Adjust to new behavior.
2630 * progmodes/prolog.el (prolog-smie-grammar):
2631 Rename from prolog-smie-op-levels.
2632
2633 2010-11-07 Glenn Morris <rgm@gnu.org>
2634
2635 * eshell/esh-util.el (subst-char-in-string)
2636 (directory-files-and-attributes): These compatibility definitions are
2637 not needed on any version of Emacs since at least 21.4.
2638
2639 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2640 (verilog-get-end-of-line): Remove.
2641 (verilog-within-string, verilog-re-search-forward-substr)
2642 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2643 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2644 Use point-at-bol, point-at-eol.
2645 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2646 Remove.
2647 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2648 (electric-pascal-terminate-line, pascal-set-auto-comments)
2649 (pascal-indent-paramlist, pascal-indent-declaration)
2650 (pascal-get-lineup-indent, pascal-func-completion)
2651 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2652 Use point-at-bol, point-at-eol.
2653 * progmodes/flymake.el (flymake-line-beginning-position)
2654 (flymake-line-end-position): Remove.
2655 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2656 * eshell/esh-util.el (line-end-position, line-beginning-position):
2657 Remove compat definitions.
2658
2659 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2660 Use end-of-line N.
2661 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2662 Use line-end-position.
2663
2664 * emacs-lisp/chart.el (chart-zap-chars):
2665 * play/decipher.el (decipher-set-map):
2666 * progmodes/ada-mode.el (ada-get-current-indent)
2667 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2668 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2669 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2670 (ada-get-all-references):
2671 * progmodes/cperl-mode.el (cperl-electric-paren)
2672 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2673 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2674 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2675 (cperl-word-at-point-hard):
2676 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2677 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2678 (idlwave-shell-display-line):
2679 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2680 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2681 * progmodes/js.el (js--re-search-forward-inner)
2682 (js--re-search-backward-inner):
2683 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2684 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2685 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2686 * textmodes/flyspell.el (flyspell-process-localwords):
2687 * textmodes/ispell.el (ispell-buffer-local-parsing)
2688 (ispell-buffer-local-dict, ispell-buffer-local-words):
2689 Use point-at-bol and point-at-eol.
2690
2691 * speedbar.el (speedbar-generic-item-info)
2692 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2693 (speedbar-add-indicator, speedbar-check-vc-this-line)
2694 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2695 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2696 Replace more uses of end-of-line etc with line-end-position.
2697
2698 2010-11-06 Glenn Morris <rgm@gnu.org>
2699
2700 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2701 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2702 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2703 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2704 (texinfo-multiple-files-update):
2705 * textmodes/table.el (table--probe-cell-left-up)
2706 (table--probe-cell-right-bottom):
2707 * textmodes/picture.el (picture-tab-search):
2708 * textmodes/page-ext.el (pages-copy-header-and-position)
2709 (pages-directory-for-addresses):
2710 * progmodes/vera-mode.el (vera-get-offset):
2711 * progmodes/simula.el (simula-calculate-indent):
2712 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2713 * progmodes/prolog.el (end-of-prolog-clause):
2714 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2715 * progmodes/icon.el (indent-icon-exp):
2716 * progmodes/etags.el (tag-re-match-p):
2717 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2718 * progmodes/ebnf2ps.el (ebnf-begin-file):
2719 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2720 (dcl-save-local-variable):
2721 * play/life.el (life-setup):
2722 * play/gametree.el (gametree-looking-at-ply):
2723 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2724 * mail/sendmail.el (mail-mode-auto-fill):
2725 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2726 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2727 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2728 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2729 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2730 * type-break.el (type-break-file-keystroke-count):
2731 * term.el (term-replace-by-expanded-history-before-point)
2732 (term-skip-prompt, term-extract-string):
2733 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2734 (speedbar-contract-line, speedbar-toggle-line-expansion)
2735 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2736 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2737 * sort.el (sort-skip-fields):
2738 * skeleton.el (skeleton-internal-list):
2739 * simple.el (line-move-finish, line-move-to-column):
2740 * shell.el (shell-forward-command):
2741 * misc.el (copy-from-above-command):
2742 * makesum.el (double-column):
2743 * ebuff-menu.el (electric-buffer-update-highlight):
2744 * dired.el (dired-move-to-end-of-filename):
2745 * dframe.el (dframe-popup-kludge):
2746 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2747 * arc-mode.el (archive-get-lineno):
2748 Use line-end-position and line-beginning-position.
2749
2750 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2751 (idlwave-study-twins): Prefix dynamic local `class'.
2752 (idlwave-routine-twin-compare): Update for above name change.
2753
2754 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2755 Use boundp tests to silence compiler. Update for changed name of
2756 bytecomp-filename variable.
2757
2758 * emulation/viper-cmd.el (viper-read-string-with-history):
2759 Prefix dynamic local `initial'.
2760 (viper-minibuffer-standard-hook): Update for above name change.
2761
2762 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2763 (elint-init-form): Update for above name change.
2764
2765 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2766 local variables `cbeg' and `cend' a prefix.
2767 (mail-extr-voodoo): Update for above name change.
2768
2769 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2770 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2771 (reftex-toc-promote-action): Doc fix.
2772
2773 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2774 `prompt', `data' a prefix.
2775 (reftex-select-post-command-hook, reftex-select-callback)
2776 (reftex-select-mouse-accept, reftex-select-read-cite):
2777 Update for above name changes.
2778
2779 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2780 `refstyle' to reftex-refstyle.
2781 (reftex-offer-label-menu): Update for above name change.
2782 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2783 `refstyle' name change.
2784
2785 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2786 with with-current-buffer.
2787 (diff, template): Give dynamic local variables a prefix.
2788 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2789 (emerge-line-number-in-buf): Update for above name change.
2790 (emerge-combine-versions-internal): Rename local `template' to
2791 emerge-combine-template.
2792 (emerge-combine-versions-edit): Update for above name change.
2793
2794 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2795
2796 * textmodes/reftex-cite.el
2797 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2798 entries with whitespace after \bibitem.
2799 (reftex-create-bibtex-file): Match entries containing numbers and
2800 symbol constituents. Make sure that entries with whitespace at
2801 various places are found.
2802
2803 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2804
2805 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2806
2807 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2808
2809 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2810
2811 2010-11-05 Glenn Morris <rgm@gnu.org>
2812
2813 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2814 (woman2-roff-buffer): Give local variable `request' a prefix.
2815 (woman0-macro): Rename argument `request' in the same way.
2816 (woman-request): New name for `request' dynamic variable.
2817 (woman-unquote, woman-forward-arg): Update for above name change.
2818 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2819 (woman1-unquote): New name for `unquote' dynamic variable.
2820 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2821 (woman-translations): Rename from `translations'. No longer global.
2822 (woman2-tr, woman-translate): Update for above name change.
2823 (woman-translate): Check for bound variable.
2824 (woman2-roff-buffer): Give local variable `translations' a prefix.
2825
2826 * play/doctor.el: Give all local variables a prefix. Update callers.
2827 (doc$, doctor-put-meaning): Use backquote.
2828
2829 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2830 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2831
2832 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2833 variables bytes, ptr, op a prefix.
2834 (disassemble-offset): Update for above change.
2835
2836 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2837
2838 * emacs-lisp/package.el (package-unpack): Remove no-op.
2839 (package--builtins, package--dir): Doc fix.
2840 (package-activate-1, package-activate, package-install)
2841 (package-compute-transaction): Fix error message.
2842 (package-delete): Use delete-directory. Omit system packages.
2843 (package-initialize): Set package-alist to nil first.
2844 (package-menu-mark-delete, package-menu-mark-install): Don't add
2845 symbols that are inconsistent with the package state.
2846 (package-menu-execute): Perform deletions and installations as
2847 single batch operations.
2848
2849 2010-11-03 Glenn Morris <rgm@gnu.org>
2850
2851 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2852 (props): Remove unnecessary declaration.
2853
2854 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2855 set-process-query-on-exit-flag.
2856
2857 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2858 (reftex-toc-do-promote): Remove unused local `mpos'.
2859 (reftex-toc-restore-region): Make `mpos' local to this function.
2860
2861 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2862
2863 * play/landmark.el (lm-losing-threshold): Correct spelling.
2864 (lm-human-plays): Use new name.
2865
2866 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2867 (gomoku-human-plays): Use new name.
2868
2869 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2870 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2871 (gomoku-score-trans-table, gomoku-winning-threshold)
2872 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2873
2874 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2875
2876 * emacs-lisp/package.el: Don't put built-in packages in
2877 package-alist, to avoid loading inefficiencies.
2878 (package-built-in-p): Make VERSION optional, and treat it as a
2879 minimum acceptable version.
2880 (package-activate): Search separately for built-in packages.
2881 Emit a warning if a dependency fails.
2882 (define-package): Handle most common case, where there is no
2883 obsolete package, first.
2884 (package-compute-transaction): Print required version in error.
2885 (package--initialized): New variable.
2886 (list-packages): Use it.
2887 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2888 built-in packages in packages-alist; keep it separate.
2889 Set package--initialized.
2890 (describe-package): Avoid activating packages as a side-effect.
2891 Search separately for built-in packages.
2892 (describe-package-1): Handle the case where an elpa package is
2893 simultaneously built-in and available/installed.
2894 (package-installed-p, package--generate-package-list):
2895 Search separately for built-in packages.
2896 (package-load-descriptor): Doc fix.
2897
2898 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2901 Handle __DATA__ and __END__.
2902
2903 2010-11-02 Noah Friedman <friedman@splode.com>
2904
2905 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2906 nil, do not ask to recompile files that are not already compiled,
2907 and do not recompile them.
2908
2909 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2910
2911 * emacs-lisp/package.el (package-initialize): Ensure that
2912 obsoleted built-in packages are not in package-activated-list
2913 during activation.
2914 (describe-package-1): Make the "installed" status override
2915 "built-in".
2916
2917 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2918
2919 * subr.el (version-separator, version-regexp-alist): Remove '*'
2920 from docstring.
2921 (version-list-<=, version<=, version=): Doc fix.
2922
2923 2010-11-01 Kenichi Handa <handa@m17n.org>
2924
2925 * faces.el (glyphless-char): Inherit underline for tty.
2926
2927 2010-11-01 Kenichi Handa <handa@m17n.org>
2928
2929 Implement various display methods for glyphless characters.
2930
2931 * international/characters.el (char-acronym-table): New variable.
2932 (glyphless-char-control): New variable.
2933 (update-glyphless-char-display): New funciton.
2934
2935 * faces.el (glyphless-char): New face.
2936
2937 2010-11-01 Glenn Morris <rgm@gnu.org>
2938
2939 * calendar/holidays.el (general-holidays, oriental-holidays)
2940 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2941 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2942 the definitions of their targets.
2943
2944 * emacs-lisp/smie.el (smie): New custom group.
2945 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2946
2947 * faces.el (xw-defined-colors, x-setup-function-keys):
2948 * mouse-sel.el (x-select-text):
2949 * term/w32console.el (x-setup-function-keys): Update declarations.
2950
2951 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2952
2953 * textmodes/ispell.el (comment-add): Declare.
2954
2955 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2956 Declare.
2957
2958 * info.el (finder-keywords-hash, package-alist): Declare.
2959
2960 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2961
2962 * finder.el (finder-compile-keywords): Don't use intern-soft,
2963 since package names may not yet exist in the obarray.
2964
2965 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2966
2967 * vc/vc-arch.el (vc-arch-checkin):
2968 * vc/vc-cvs.el (vc-cvs-checkin):
2969 * vc/vc-mtn.el (vc-mtn-checkin):
2970 * vc/vc-rcs.el (vc-rcs-checkin):
2971 * vc/vc-sccs.el (vc-sccs-checkin):
2972 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2973 since 2010-04-21 commit by Stefan Monnier.
2974
2975 2010-11-01 Glenn Morris <rgm@gnu.org>
2976
2977 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2978
2979 * startup.el (package-enable-at-startup, package-initialize):
2980 Silence compiler.
2981
2982 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2983 Silence compiler.
2984
2985 2010-10-31 Julien Danjou <julien@danjou.info>
2986
2987 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2988 (byte-recompile-directory):
2989 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2990 Use `byte-recompile-file'.
2991
2992 2010-10-31 Glenn Morris <rgm@gnu.org>
2993
2994 * cus-start.el: Handle standard values via a keyword.
2995 Only set version property if specified.
2996 (cursor-in-non-selected-windows, menu-bar-mode)
2997 (tool-bar-mode, show-trailing-whitespace):
2998 Do not specify standard values.
2999 (transient-mark-mode, temporary-file-directory): Use :standard.
3000
3001 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3002
3003 * term/x-win.el (x-get-selection-value): New function that gets
3004 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3005
3006 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3007
3008 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3009 preserve owner and group when editing files. (Bug#7289)
3010
3011 2010-10-31 Glenn Morris <rgm@gnu.org>
3012
3013 * speedbar.el (speedbar-mode):
3014 * play/fortune.el (fortune-in-buffer, fortune):
3015 * play/gomoku.el (gomoku-mode):
3016 * play/landmark.el (lm-mode):
3017 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3018 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3019
3020 * select.el (x-selection): Mark it as an obsolete alias.
3021
3022 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3023
3024 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3025 major-mode (bug#7284).
3026
3027 2010-10-31 Glenn Morris <rgm@gnu.org>
3028
3029 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3030 rather than just an unused variable that inherits from the real one.
3031
3032 2010-10-31 Alan Mackenzie <acm@muc.de>
3033
3034 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3035 This fixes bug #7185.
3036
3037 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3038
3039 * startup.el (command-line): Search for package directories, and
3040 don't load package.el if none are found.
3041
3042 * emacs-lisp/package.el (describe-package, list-packages):
3043 Call package-initialize if it has not been called yet.
3044
3045 2010-10-30 Alan Mackenzie <acm@muc.de>
3046
3047 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3048 which fontifies the tail of an enum.
3049 (c-basic-matchers-after): Insert a call to the above new function.
3050 This fixes bug #7264.
3051
3052 2010-10-30 Glenn Morris <rgm@gnu.org>
3053
3054 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3055 tool-bar-mode, transient-mark-mode. (Bug#7306)
3056 Include the :set property in the dumped Emacs.
3057
3058 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 SMIE: change indent rules format, improve smie-setup.
3061 * emacs-lisp/smie.el (smie-precs-precedence-table)
3062 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3063 Mark them pure so the tables gets built at compile time.
3064 (smie-bnf-precedence-table): Store the closer-alist in the table.
3065 (smie-prec2-levels): Preserve the closer-alist.
3066 (smie-blink-matching-open): Be more forgiving in case of indentation.
3067 (smie-hanging-p): Rename from smie-indent--hanging-p.
3068 (smie-bolp): Rename from smie-indent--bolp.
3069 (smie--parent, smie--after): New dynamic vars.
3070 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3071 (smie-indent-rules): Remove.
3072 (smie-indent--offset-rule): Remove fun.
3073 (smie-rules-function): New var.
3074 (smie-indent--rule): New fun.
3075 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3076 (smie-indent-exps): Use it.
3077 (smie-setup): Setup paren blinking; add keyword args for token
3078 functions; extract closer-alist from op-levels.
3079 (smie-indent-debug-log): Remove var.
3080 (smie-indent-debug): Remove fun.
3081 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3082 (prolog-smie-rules): New fun to replace it.
3083 (prolog-mode-variables): Simplify.
3084 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3085 it's setup automatically.
3086 (octave-smie-indent-rules): Remove.
3087 (octave-smie-rules): New fun to replace it.
3088 (octave-mode): Simplify.
3089
3090 2010-10-29 Glenn Morris <rgm@gnu.org>
3091
3092 * files.el (temporary-file-directory): Remove (already defined in C).
3093 * cus-start.el: Add temporary-file-directory.
3094
3095 * abbrev.el (abbrev-mode):
3096 * composite.el (auto-composition-mode):
3097 * menu-bar.el (menu-bar-mode):
3098 * simple.el (transient-mark-mode):
3099 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3100 that they do not define the associated variables twice.
3101 * simple.el (transient-mark-mode): Remove defvar.
3102 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3103 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3104 Handle multiple groups, and also custom-delayed-init-variables.
3105 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3106
3107 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3110 (pcase-if): Add one minor optimization.
3111 (pcase-split-equal): Rename from pcase-split-eq.
3112 (pcase-split-member): Rename from pcase-split-memq.
3113 (pcase-u1): Add strings to the member optimization.
3114 Add `guard' variant of predicates.
3115 (pcase-q1): Add string patterns.
3116
3117 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3120
3121 2010-10-28 Glenn Morris <rgm@gnu.org>
3122
3123 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3124 Move menu-bar related settings to ../menu-bar.el.
3125 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3126 Move ns-specific settings here from term/ns-win.el.
3127
3128 * simple.el (x-selection-owner-p): Remove unused declaration.
3129
3130 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3131
3132 * minibuffer.el (completion-cycling): New var (bug#7266).
3133 (minibuffer-complete, completion--do-completion):
3134 Use completion--flush-all-sorted-completions.
3135 (minibuffer-complete): Only cycle if completion-cycling is set.
3136 (completion--flush-all-sorted-completions): Unset completion-cycling.
3137 (minibuffer-force-complete): Set completion-cycling.
3138 (completion-all-sorted-completions): Move declaration before first use.
3139
3140 2010-10-28 Leo <sdl.web@gmail.com>
3141
3142 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3143 which changes the order of matches seen by users (bug#7231).
3144
3145 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3146
3147 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3148 Don't confuse -omega as "-o mega".
3149
3150 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3151
3152 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3153 (log-edit-author): New dynamic var.
3154 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3155 to return the author if different from committer.
3156 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3157
3158 * play/landmark.el: Adjust commenting convention.
3159 (lm-nil-score): Rename from nil-score.
3160 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3161 (OOOOscore): Move into a let in lm-score-trans-table.
3162 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3163
3164 * electric.el (electric-indent-chars): Autoload.
3165 * progmodes/octave-mod.el (octave-mode):
3166 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3167 (ruby-mode-abbrev-table): Merge initialization and declaration.
3168
3169 2010-10-27 Glenn Morris <rgm@gnu.org>
3170
3171 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3172 variable.
3173
3174 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3175
3176 * term/ns-win.el: Restore require of cl when compiling.
3177 (menu-bar-final-items): Remove non-existent `windows' menu.
3178 (ns-handle-nxopen): Optionally handle the temp-case.
3179 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3180 (ns-insert-file, ns-find-file): Use `pop'.
3181
3182 2010-10-26 Glenn Morris <rgm@gnu.org>
3183
3184 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3185
3186 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3187
3188 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3189 global map.
3190 * term/common-win.el (x-setup-function-keys): Remove most of the
3191 keymappings. Comment on the remaining ones.
3192
3193 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3194
3195 * server.el (server-port): New option. (Bug#854)
3196 (server-start): Use server-port.
3197
3198 2010-10-26 Glenn Morris <rgm@gnu.org>
3199
3200 * term/ns-win.el (ns-version-string): Remove unused declaration.
3201 (ns-invocation-args): Change to x-invocation-args.
3202 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3203 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3204 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3205 Use x-invocation-args instead of ns-invocation-args.
3206 (ns-initialize-window-system, handle-args-function-alist):
3207 Use x-handle-args instead of ns-handle-args.
3208 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3209 * startup.el (command-line-ns-option-alist): Replace
3210 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3211 ns-handle-iconic with the x- equivalents.
3212
3213 * term/common-win.el (x-select-enable-clipboard):
3214 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3215
3216 * term/ns-win.el: No need to require cl when compiling.
3217 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3218 (xw-defined-colors): Use the common-win definitions.
3219 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3220 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3221 * term/common-win.el (x-select-text, x-alternatives-map)
3222 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3223 * loadup.el [ns]: Load common-win.
3224
3225 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3226
3227 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3228 recipients; expand mail aliases (Bug#7280).
3229
3230 2010-10-25 Glenn Morris <rgm@gnu.org>
3231
3232 * term/common-win.el (x-handle-switch): Simplify with pop.
3233 Optionally handle numeric switches.
3234 (x-handle-numeric-switch): Just call x-handle-switch.
3235 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3236 (x-handle-name-switch, x-handle-display, x-handle-args):
3237 Simplify with pop.
3238
3239 * term/ns-win.el: Do not require easymenu.
3240 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3241 <spell>: Move adjustments to menu-bar.el.
3242 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3243 <separator-undo, spell>: Move ns-win's adjustments here.
3244 * loadup.el [ns]: Do not load easymenu.
3245
3246 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3247
3248 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3249 Delete (Bug#7222).
3250
3251 * startup.el (fancy-startup-tail): Instead of using inline images,
3252 refer to image files from etc/.
3253
3254 * wid-edit.el (checkbox): Likewise.
3255 (widget-image-find): Center image specs.
3256
3257 2010-10-24 Glenn Morris <rgm@gnu.org>
3258
3259 * term/ns-win.el (x-select-text): Doc fix.
3260 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3261 (x-select-text): Move to term/common-win.
3262 * term/w32-win.el (xw-defined-colors): Move to common-win.
3263 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3264 (x-setup-function-keys, x-select-text): Move to common-win.
3265 * term/common-win.el (x-select-text, x-alternatives-map)
3266 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3267 definitions here.
3268
3269 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3270
3271 * net/mairix.el (mairix-searches-mode-map):
3272 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3273
3274 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3275
3276 * verilog-mode.el (verilog-directive-re): Make this variable
3277 auto-built for efficiency of execution and updating.
3278 (verilog-extended-complete-re): Support 'pure' fucntion & task
3279 declarations (these have no bodies).
3280 (verilog-beg-of-statement): General cleanup to enable support of
3281 'pure' fucntion & task declarations (these have no bodies).
3282 These efforts together fix Verilog bug210 from veripool; which was also
3283 noticed by Steve Pearlmutter.
3284 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3285 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3286 Support `elsif. Reported by Shankar Giri.
3287 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3288 attribute handling for lining up declarations and assignments.
3289 (verilog-beg-of-statement-1): Fix issue where continued declaration
3290 is indented differently if it is after a begin..end clock.
3291 (verilog-in-attribute-p, verilog-skip-backward-comments)
3292 (verilog-skip-forward-comment-p): Support proper treatment of
3293 attributes by indent code. Reported by Jeff Steele.
3294 (verilog-in-directive-p): Fix comment to correctly describe function.
3295 (verilog-backward-up-list, verilog-in-struct-region-p)
3296 (verilog-backward-token, verilog-in-struct-p)
3297 (verilog-in-coverage-p, verilog-do-indent)
3298 (verilog-pretty-declarations): Use verilog-backward-up-list as
3299 wrapper around backward-up-list inorder to properly skip comments.
3300 Reported by David Rogoff.
3301 (verilog-property-re, verilog-endcomment-reason-re)
3302 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3303 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3304 of if). Reported by Max Bjurling and
3305 (verilog-calc-1): Fix for clocking block in modport
3306 declaration. Reported by Brian Hunter.
3307
3308 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3309
3310 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3311 (verilog-gate-keywords, verilog-read-sub-decls)
3312 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3313 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3314 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3315 (verilog-read-decls): Fix spaces in V2K module parameters causing
3316 mis-identification as interfaces, bug287.
3317 (verilog-read-decls): Fix not treating "parameter string" as a
3318 parameter in AUTOINSTPARAM.
3319 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3320 treating `elsif similar to `endif inside AUTOSENSE.
3321 (verilog-do-indent): Implement correct automatic or static task or
3322 function end comment highlight. Reported by Steve Pearlmutter.
3323 (verilog-font-lock-keywords-2): Fix highlighting of single
3324 character pins, bug264. Reported by Michael Laajanen.
3325 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3326 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3327 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3328 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3329 (verilog-pretty-expr): Fix interactive arguments, bug272.
3330 Reported by Mark Johnson.
3331 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3332 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3333 bug269. Suggested by Gary Delp.
3334 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3335 (verilog-preprocessor, verilog-set-compile-command):
3336 Create verilog-preprocess and verilog-preprocessor to show
3337 preprocessed output.
3338 (verilog-get-beg-of-line, verilog-get-end-of-line)
3339 (verilog-modi-file-or-buffer, verilog-modi-name)
3340 (verilog-modi-point, verilog-within-string): Move defmacro's
3341 before first use to avoid warning. Reported by Steve Pearlmutter.
3342 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3343 (verilog-colorize-region, verilog-highlight-buffer)
3344 (verilog-highlight-includes, verilog-highlight-modules)
3345 (verilog-highlight-region, verilog-mode): Rename colorize to
3346 highlight to match other packages. Disable module highlighting,
3347 as received speed complaints, reenable for experimentation only
3348 using new verilog-highlight-modules.
3349 (verilog-read-decls): Fix regexp stack overflow in very large
3350 AUTO_TEMPLATEs, bug250.
3351 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3352 (verilog-scan): Create verilog-save-buffer-state to standardize
3353 making insignificant changes that shouldn't call hooks.
3354 (verilog-save-no-change-functions, verilog-save-scan-cache)
3355 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3356 Create verilog-save-no-change-functions to wrap verilog-scan
3357 preservation, and fix to work with nested preserved calls.
3358 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3359 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3360 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3361 (verilog-submit-bug-report): Update variable list to be complete.
3362 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3363 breaking on-the-fly font-locking.
3364 (verilog-colorize-buffer, verilog-colorize-include-files)
3365 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3366 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3367 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3368 AUTOINST cell instance name, middle mouse button now finds-file on
3369 it. Suggested by Brad Dobbie.
3370 (verilog-alw-get-temps, verilog-auto-reset)
3371 (verilog-auto-sense-sigs, verilog-read-always-signals)
3372 (verilog-read-always-signals-recurse): Fix loop indexes being
3373 AUTORESET. AUTORESET now assumes any variables in the
3374 initialization section of a for() should be ignored.
3375 Reported by Dan Dever.
3376 (verilog-error-font-lock-keywords)
3377 (verilog-error-regexp-emacs-alist)
3378 (verilog-error-regexp-xemacs-alist): Fix error detection of
3379 Cadence HAL, reported by David Asher. Repair drift between the
3380 three similar error variables.
3381 (verilog-modi-lookup, verilog-modi-lookup-cache)
3382 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3383 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3384 Fix slow verilog-auto expansion on very large files.
3385 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3386 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3387 "{1*2{...". Broke in last revision.
3388 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3389 submodule connections with replications "{#{a},#{b}}".
3390
3391 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3392
3393 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3394 Fix typo in docstring.
3395
3396 2010-10-24 Kenichi Handa <handa@m17n.org>
3397
3398 * face-remap.el (text-scale-adjust): Call read-event with a proper
3399 prompt.
3400
3401 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3402
3403 * emacs-lisp/unsafep.el: Don't mark functions that display
3404 messages as safe. Suggested by Johan Bockgård.
3405
3406 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3409 Turn comments into docstrings.
3410
3411 * minibuffer.el (completion--replace): Move point where it belongs
3412 when there's a common suffix (bug#7215).
3413
3414 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3415
3416 Merge read-color and facemenu-read-color (Bug#7242).
3417
3418 * faces.el (read-color): Use the completion code from
3419 facemenu-read-color. Require match in completion. Doc fix.
3420
3421 * facemenu.el (facemenu-read-color): Alias for read-color.
3422 (facemenu-set-foreground, facemenu-set-background):
3423 Use read-color.
3424
3425 * frame.el (set-background-color, set-foreground-color)
3426 (set-cursor-color, set-mouse-color, set-border-color):
3427 Use read-color.
3428
3429 2010-10-24 Leo <sdl.web@gmail.com>
3430
3431 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3432 argument of delete-file and delete-directory (Bug#7011).
3433
3434 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3435
3436 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3437 button-buffer-map.
3438
3439 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3440
3441 * emacs-lisp/package.el (package--generate-package-list): Make the
3442 *Packages* buffer read-only.
3443
3444 2010-10-24 Alan Mackenzie <acm@muc.de>
3445
3446 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3447 result of `c-beginning-of-decl-1' between invocations of a lambda
3448 function (Bug #7265).
3449
3450 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3451
3452 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3453 executable is not available on the system (Bug#7268).
3454
3455 2010-10-24 Glenn Morris <rgm@gnu.org>
3456
3457 * select.el (selection-coding-system, next-selection-coding-system):
3458 Sync doc with C versions.
3459
3460 * w32-vars.el (x-select-enable-clipboard):
3461 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3462 * term/common-win.el (x-select-enable-clipboard): Move here.
3463
3464 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3465 definition of C variable.
3466
3467 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3468 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3469 Don't redefine things that are defined in C.
3470 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3471 (show-trailing-whitespace, auto-hscroll-mode)
3472 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3473 Set up the appropriate custom properties.
3474
3475 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3476
3477 Bind "C-c ]" to ...
3478 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3479 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3480 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3481 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3482
3483 2010-10-23 Glenn Morris <rgm@gnu.org>
3484
3485 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3486 say what it was.
3487
3488 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3489 Sync docs with C version.
3490
3491 * term/ns-win.el (xw-defined-colors):
3492 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3493
3494 * term/pc-win.el (x-select-enable-clipboard):
3495 * term/x-win.el (x-select-enable-clipboard):
3496 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3497
3498 * comint.el (comint-password-prompt-regexp): Make it less vague.
3499 Bump version.
3500
3501 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3502
3503 * help.el (finder-by-keyword): Remove unnecessary autoload.
3504
3505 2010-10-22 Glenn Morris <rgm@gnu.org>
3506
3507 * loadup.el: Unconditionally load float-sup.
3508 * paren.el (show-paren-delay):
3509 * emacs-lisp/float-sup.el:
3510 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3511 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3512 (lazy-lock-stealth-verbose): Assume float support.
3513 * ps-print.el: Assume float support on Emacs.
3514 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3515 Remove non-float branch.
3516
3517 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3518 src/Makefile no longer being pre-processed.
3519
3520 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3521
3522 * emacs-lisp/find-func.el (find-library): Use test-completion.
3523
3524 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3525
3526 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3527
3528 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3529
3530 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3531 space in stat format string.
3532 (tramp-send-command): Unset $PS1 when using here documents, in
3533 order not to get several prompts.
3534 (tramp-get-inline-coding): Return `nil' in case of errors.
3535
3536 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3537
3538 * hexl.el (hexl-mode, hexl-mode-exit):
3539 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3540 (hexl-revert-buffer-function): New function.
3541 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3542
3543 2010-10-19 Alan Mackenzie <acm@muc.de>
3544
3545 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3546 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3547 that these keywords aren't wrongly matched as identifiers.
3548
3549 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3550 setting of c-new-BEG and c-new-END from c-before-change to
3551 c-after-change. (Bug#7181)
3552
3553 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3554
3555 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3556 Don't mark as safe.
3557
3558 * custom.el (custom-theme-set-variables): Likewise.
3559 (load-theme): Add custom-theme-set-faces and
3560 custom-theme-set-variables to safe-functions while loading.
3561 (custom-enabled-themes): Mark as risky.
3562
3563 2010-10-18 Julien Danjou <julien@danjou.info>
3564
3565 * bindings.el: Remove end dashes in default mode-line-format.
3566
3567 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3568
3569 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3570 to delete-forward-char.
3571
3572 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3573 deletechar, and hence delete-forward-char.
3574
3575 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * repeat.el (repeat): Use read-key (bug#6256).
3578
3579 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3580
3581 * emacs-lisp/unsafep.el: Don't mark functions that display
3582 messages as safe. Suggested by Johan Bockgård.
3583
3584 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3585
3586 * minibuffer.el (completion--replace): Move point where it belongs
3587 when there's a common suffix (bug#7215).
3588
3589 2010-10-19 Kenichi Handa <handa@m17n.org>
3590
3591 * international/characters.el: Add category '|' (word breakable)
3592 to fullwidth characters.
3593
3594 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3595
3596 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3597 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3598 order to make stat results a float. Patch by Andreas Schwab
3599 <schwab@linux-m68k.org>.
3600
3601 2010-10-18 Julien Danjou <julien@danjou.info>
3602
3603 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3604 hidden by `make-pointer-invisible'.
3605
3606 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3607
3608 * files.el (locate-file-completion-table): Strip non-matching elements
3609 before checking length of list (bug#7238).
3610
3611 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3612
3613 * custom.el (custom-theme-set-variables): Mark as a safe function.
3614 (load-theme): Check forms using unsafep.
3615
3616 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3617
3618 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3619
3620 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3621 Fix aspell data file searching (bug#7230).
3622
3623 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3624
3625 * cus-theme.el (custom-theme--migrate-settings): New var.
3626 (customize-create-theme): Allow editing the `user' theme.
3627 (custom-theme-add-variable, custom-theme-add-var-1)
3628 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3629 to the front of each variable or face widget.
3630 (custom-theme-write): Save theme settings in the correct order.
3631 Optionally, remove saved settings from user customizations.
3632 (custom-theme-write-variables, custom-theme-write-faces):
3633 Save only the checked widgets.
3634 (customize-themes): Add a link for migrating custom settings.
3635
3636 * custom.el (custom-declare-theme, provide-theme):
3637 Use custom-theme-name-valid-p.
3638 (custom-theme-name-valid-p): Remove checks that are now
3639 unnecessary since themes no longer obey load-path.
3640
3641 * cus-edit.el (custom-variable-value-create): For the simple
3642 style, hide documentation string when hidden.
3643
3644 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3645
3646 * cus-edit.el (custom-variable, custom-face): Combine the
3647 :inhibit-magic and :display-style properties into a single
3648 :custom-style property.
3649 (custom-toggle-hide-variable, custom-toggle-hide-face):
3650 New functions. If hiding an edited value, save it to :shown-value.
3651 (custom-variable-value-create, custom-face-value-create): Use them.
3652 (custom-magic-reset): Allow magic property to be unset.
3653
3654 * custom.el: Custom themes no longer use load-path.
3655 (custom-theme-load-path): New option. Change built-in theme
3656 directory to etc/.
3657 (custom-enabled-themes): Add custom-theme-load-path dependency.
3658 (custom-theme--load-path): New function.
3659 (load-theme, custom-available-themes): Use it.
3660
3661 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3662 (customize-themes): Link to custom-theme-load-path variable.
3663 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3664 :custom-style property.
3665
3666 * themes/*.el: Moved to etc/.
3667
3668 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3669
3670 * textmodes/reftex-cite.el
3671 (reftex-extract-bib-entries-from-thebibliography): Do not move
3672 point when searching for \bibitem entries. Match entries with
3673 spaces or tabs in front of arguments.
3674
3675 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3676
3677 * cus-theme.el (customize-create-theme): Delete overlays after
3678 erasing. If given a THEME arg, display only the faces of that arg
3679 instead of custom-theme--listed-faces.
3680 (custom-theme-variable-menu, custom-theme-variable-action)
3681 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3682 (custom-theme-add-variable, custom-theme-add-face): Apply value
3683 from the theme settings, instead of the current value.
3684 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3685 (custom-theme-visit-theme): Allow calling outside theme buffers.
3686 (custom-theme-merge-theme): Don't enable the theme when merging.
3687 (custom-theme-write-variables, custom-theme-write-faces): Use the
3688 :shown-value properties to save buffer values, not global ones.
3689 (customize-themes): Display a warning about user customizations.
3690
3691 * cus-edit.el (custom-variable-value-create)
3692 (custom-face-value-create): Obey new special properties
3693 :shown-value and :inhibit-magic.
3694
3695 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3698 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3699 <dale@codefu.org>.
3700
3701 2010-10-14 Kenichi Handa <handa@m17n.org>
3702
3703 * mail/rmail.el (rmail-show-message-1): Catch an error of
3704 base64-decode-region and just show an error message (bug#7165).
3705
3706 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3707 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3708 a font-spec (bug#7197).
3709
3710 2010-10-14 Glenn Morris <rgm@gnu.org>
3711
3712 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3713
3714 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3715
3716 * international/mule.el (define-coding-system):
3717 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3718 * composite.el (compose-region): Fix typo in docstring.
3719
3720 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3721
3722 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3723 only after checking the theme-face property.
3724
3725 * faces.el (face-spec-reset-face): Reset all attributes in one
3726 single call to set-face-attribute.
3727 (face-spec-match-p): Make it a defsubst.
3728 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3729 (x-create-frame-with-faces, tty-create-frame-with-faces)
3730 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3731 frame-set-background-mode, since they are recomputed immediately
3732 afterwards in face-set-after-frame-default.
3733 (face-set-after-frame-default): Minor optimization.
3734 (cursor): Provide non-trivial defface spec.
3735
3736 * custom.el (custom-theme-recalc-face): Simplify.
3737
3738 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3739
3740 * calc/calc-alg.el (math-var): Rename from `var'.
3741 (math-is-polynomial, math-is-poly-rec): Replace `var'
3742 with `math-var'.
3743
3744 * calc/calcalg2.el (math-var): Rename from `var'.
3745 (calcFunc-table, math-scan-for-limits): Replace `var'
3746 with `math-var'.
3747
3748 2010-10-13 Glenn Morris <rgm@gnu.org>
3749
3750 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3751
3752 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3753
3754 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3755
3756 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3757
3758 * net/tls.el (tls-program): Remove spurious %s from openssl.
3759 (tls-starttls-switches): Remove starttls hack.
3760 (open-tls-stream): Ditto.
3761 (tls-find-starttls-argument): Ditto.
3762
3763 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3764
3765 * image.el (image-library-alist): Declare as obsolete alias.
3766 (image-type-available-p): Use `dynamic-library-alist'.
3767
3768 * term/w32-win.el (dynamic-library-alist):
3769 Use instead of `image-library-alist'.
3770
3771 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3772
3773 * subr.el (last): Make it faster. (Bug#7174)
3774
3775 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3776
3777 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3778
3779 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3780
3781 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3782 (describe-theme-1): Extract doc from unloaded themes.
3783
3784 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3785
3786 * themes/tango-theme.el:
3787 * themes/tango-dark-theme.el:
3788 * themes/wheatgrass-theme.el: New files.
3789
3790 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3791
3792 * cus-theme.el (describe-theme, customize-themes)
3793 (custom-theme-save): New commands.
3794 (custom-new-theme-mode-map): Bind C-x C-s.
3795 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3796 (customize-create-theme): New optional arg THEME.
3797 (custom-theme-revert): Use it.
3798 (custom-theme-visit-theme): Remove dead code.
3799 (custom-theme-merge-theme): Use custom-available-themes.
3800 (custom-theme-write): Make interactive.
3801 (custom-theme-write): Use custom-theme-name-valid-p.
3802 (describe-theme-1, custom-theme-choose-revert)
3803 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3804 New funs.
3805 (custom-theme-allow-multiple-selections): New option.
3806 (custom-theme-choose-mode): New major mode.
3807
3808 * custom.el (custom-theme-set-variables): Remove dead code.
3809 Obey custom--inhibit-theme-enable.
3810 (custom--inhibit-theme-enable): New var.
3811 (provide-theme): Obey it.
3812 (load-theme): Replace load with manual read/eval, in order to
3813 check for correctness. Use custom-theme-name-valid-p.
3814 (custom-theme-name-valid-p): New function.
3815 (custom-available-themes): Use it.
3816
3817 * cus-edit.el (custom--initialize-widget-variables): New function.
3818 (Custom-mode): Use it.
3819
3820 * cus-face.el (custom-theme-set-faces): Remove dead code.
3821 Obey custom--inhibit-theme-enable.
3822
3823 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3824
3825 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3826
3827 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3828
3829 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3830
3831 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3832 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3833 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3834
3835 * cus-start.el (all): ns-right-alternate-modifier is new.
3836
3837 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * emacs-lisp/lisp.el (lisp-completion-at-point):
3840 Use emacs-lisp-mode-syntax-table for the whole function.
3841
3842 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3843
3844 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3845 instead of font-lock-mode before adding keywords.
3846 Remove hi-lock-mode off code. Remove inhibit hack.
3847 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3848 non-nil; removed hook inhibit hack.
3849
3850 2010-10-12 Glenn Morris <rgm@gnu.org>
3851
3852 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3853 (load-path-shadows-find): ... to this.
3854 (list-load-path-shadows): Update for above change.
3855
3856 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3857
3858 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3859
3860 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3861 Fix comment for declare-function.
3862
3863 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3864
3865 * custom.el (custom-fix-face-spec): New function; code moved from
3866 custom-face-edit-fix-value.
3867 (custom-push-theme): Use it when checking if a face has been
3868 changed outside customize.
3869 (custom-available-themes): New function.
3870 (load-theme): Use it.
3871
3872 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3873
3874 * custom.el (custom-push-theme): Cleanup (use cond).
3875 (disable-theme): Recompute the saved-face property.
3876 (custom-theme-recalc-face): Follow face alias before setting prop.
3877
3878 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3879 New variables, containing checkbox images.
3880
3881 * startup.el (fancy-startup-tail):
3882 * wid-edit.el (checkbox): Use them.
3883
3884 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3885
3886 * shell.el (shell-mode-map):
3887 * progmodes/modula2.el (m2-mode-map):
3888 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3889 * play/mpuz.el (mpuz-mode-map):
3890 * play/landmark.el (lm-mode-map):
3891 * play/decipher.el (decipher-mode-map):
3892 * play/5x5.el (5x5-mode-map):
3893 * net/telnet.el (telnet-mode-map):
3894 * net/quickurl.el (quickurl-list-mode-map):
3895 * net/mairix.el (mairix-searches-mode-map):
3896 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3897 * net/dig.el (dig-mode-map):
3898 * mail/mspools.el (mspools-mode-map):
3899 * hexl.el (hexl-mode-map):
3900 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3901 (wordstar-C-o-map, wordstar-C-q-map):
3902 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3903 * emacs-lisp/chart.el (chart-map):
3904 * edmacro.el (edmacro-mode-map):
3905 * erc/erc-list.el (erc-list-menu-mode-map):
3906 * array.el (array-mode-map): Declare and define in one step.
3907
3908 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3909
3910 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3911
3912 * epa.el (epa-passphrase-callback-function): Display filename
3913 passed as the 3rd arg.
3914 * epa-file.el (epa-file-passphrase-callback-function):
3915 Pass filename to epa-passphrase-callback-function.
3916
3917 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3918
3919 * cus-edit.el (custom-face-widget-to-spec)
3920 (custom-face-get-current-spec, custom-face-state): New functions.
3921 (custom-face-set, custom-face-mark-to-save)
3922 (custom-face-value-create, custom-face-state-set): Use them.
3923
3924 * cus-theme.el (custom-theme--listed-faces): New var.
3925 (customize-create-theme): Use *Custom Theme* as the buffer name.
3926 Set revert-buffer-function. Optional arg BUFFER. Insert all
3927 faces listed in custom-theme--listed-faces.
3928 (custom-theme-revert): New function.
3929 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3930 bottom of the list.
3931 (custom-theme-write): Prompt for theme name if empty.
3932 (custom-theme-write-variables): Use dolist.
3933 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3934
3935 2010-10-09 Alan Mackenzie <acm@muc.de>
3936
3937 Enhance fontification of declarators to take account of the
3938 presence/absence of "typedef".
3939
3940 * cc-engine.el (c-forward-type): New &optional param
3941 "brace-block-too".
3942 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3943 presence of either or both of a "struct"-like keyword and "typedef".
3944
3945 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3946 fontification of declarators which follow a "}".
3947 (c-font-lock-declarations): Fontify declarators according to the
3948 presence/absence of "typedef".
3949
3950 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3951 for "typedef".
3952 (c-typedef-decl-key): New lang variable built from
3953 c-typedef-decl-kwds.
3954
3955 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3956
3957 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3958 since that's too annoying. Move the filter groups commands to
3959 TAB/backtab.
3960
3961 * epa.el (epa-passphrase-callback-function): Say what we're
3962 querying the password for.
3963
3964 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3965 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3966
3967 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3968
3969 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3970 (custom-magic-value-create): Pad button tags with spaces.
3971 (custom-face-edit): New variable.
3972 (custom-face-value-create): Determine whether to use the usual
3973 face editor here, instead of using custom-face-selected.
3974 Pass face defaults to custom-face-edit widget.
3975 (custom-face-selected, custom-display-unselected): Delete widgets.
3976 (custom-display-unselected-match): Function removed.
3977 (custom-face-set, custom-face-mark-to-save):
3978 Accept custom-face-edit widgets as the direct widget child.
3979
3980 * wid-edit.el (widget--completing-widget): New var.
3981 (widget-default-complete): Bind it when doing completion.
3982 (widget-string-complete, widget-file-complete): Use it.
3983
3984 2010-10-09 Glenn Morris <rgm@gnu.org>
3985
3986 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3987 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3988 (holiday-hebrew-misc): Small simplifications.
3989
3990 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3991
3992 * net/browse-url.el: Don't require thingatpt, term, dired,
3993 executable, or w3-auto when compiling.
3994 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3995 Declare.
3996 (browse-url-text-emacs): Require term.
3997
3998 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3999
4000 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4001
4002 2010-10-08 Glenn Morris <rgm@gnu.org>
4003
4004 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4005
4006 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4007 (shadows-compare-text-p): Make it an obsolete alias for...
4008 (load-path-shadows-compare-text): ... new name.
4009 (find-emacs-lisp-shadows): Update for above name change.
4010 (load-path-shadows-same-file-or-nonexistent): New name for the old
4011 shadow-same-file-or-nonexistent.
4012
4013 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4014
4015 * minibuffer.el (completion--some, completion--do-completion)
4016 (minibuffer-complete-and-exit, minibuffer-completion-help)
4017 (completion-basic-try-completion)
4018 (completion-basic-all-completions)
4019 (completion-pcm--find-all-completions): Use lexical-let to
4020 avoid some false matches in variable completion (Bug#7056)
4021
4022 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4023
4024 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4025
4026 2010-10-08 Leo <sdl.web@gmail.com>
4027
4028 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4029 return non-nil if the file exists (Bug#7090).
4030
4031 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 * minibuffer.el (completion--replace):
4034 Better preserve markers (bug#7138).
4035
4036 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4037
4038 * server.el (server-process-filter): Doc fix.
4039
4040 2010-10-08 Drew Adams <drew.adams@oracle.com>
4041
4042 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4043
4044 2010-10-08 Glenn Morris <rgm@gnu.org>
4045
4046 * vc/ediff-wind.el (ediff-setup-control-frame):
4047 * vc/ediff-ptch.el (ediff-default-backup-extension):
4048 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4049 (ediff-exec-process): Remove system-types emx, windows-95.
4050
4051 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4052
4053 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4054
4055 * cus-edit.el (custom-variable, custom-face): Doc fix.
4056 (custom-face-edit): Add value-create attribute.
4057 (custom-face-edit-value-create)
4058 (custom-face-edit-value-visibility-action): New functions.
4059 Hide unused face attributes by default, and add a visibility toggle.
4060 (custom-face-edit-deactivate): Show empty values with shadow face.
4061 (custom-face-selected): Only use this for face specs with default
4062 attributes.
4063 (custom-face-value-create): Cleanup.
4064
4065 * wid-edit.el (widget-checklist-value-create): Use dolist.
4066 (widget-checklist-match-find): Make second arg optional.
4067
4068 2010-10-07 Glenn Morris <rgm@gnu.org>
4069
4070 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4071 Prefix things.
4072
4073 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4074 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4075 load-path-shadows-mode, update references.
4076 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4077 Rename variable and button.
4078 (list-load-path-shadows): Update button caller.
4079
4080 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4083 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4084 (smie-merge-prec2s): Handle those new entries.
4085 (smie-prec2-levels): Only set precedence to nil for actual
4086 openers/closers.
4087 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4088 that is now unnecessary.
4089
4090 2010-10-07 Miles Bader <miles@gnu.org>
4091
4092 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4093
4094 2010-10-07 Glenn Morris <rgm@gnu.org>
4095
4096 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4097 (mail-position-on-field): Remove declarations.
4098 (mail-position-on-field): Autoload it.
4099 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4100 and mail-header-end. Don't require sendmail.
4101
4102 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4103 (shadow-mode): New mode.
4104 (shadow-find-file): New button.
4105 (list-load-path-shadows): Use shadow-mode and buttons.
4106
4107 * iimage.el (iimage-version): Remove.
4108 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4109 Turn into defcustoms.
4110 (iimage-mode-map): Give it a doc string.
4111
4112 * calendar/appt.el (appt-activate): Give a warning rather than an error
4113 if there is no diary-file.
4114
4115 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4116
4117 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4118 Use `tramp-handle-find-backup-file-name'.
4119
4120 2010-10-06 Glenn Morris <rgm@gnu.org>
4121
4122 * font-core.el (font-lock-defaults-alist): Remove variable.
4123 (font-lock-mode): Doc fix.
4124 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4125 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4126 (font-lock-set-defaults): Doc fix.
4127 Do not consult font-lock-defaults-alist.
4128
4129 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4130
4131 * emacs-lisp/cl.el: No longer provide cl-19.
4132
4133 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4134
4135 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4136 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4137 New defuns, taken from tramp-smb.el.
4138 (tramp-coding-system-change-eol-conversion)
4139 (tramp-set-process-query-on-exit-flag): Remove.
4140
4141 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4142 (tramp-compat-coding-system-change-eol-conversion)
4143 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4144 from tramp.el.
4145
4146 * net/tramp-gvfs.el:
4147 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4148 by `tramp-compat-set-process-query-on-exit-flag'.
4149
4150 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4151 Use `tramp-handle-directory-files-and-attributes',
4152 `tramp-handle-file-exists-p' and
4153 `tramp-handle-file-newer-than-file-p'.
4154 (tramp-imap-handle-file-exists-p)
4155 (tramp-imap-handle-file-executable-p)
4156 (tramp-imap-handle-file-readable-p)
4157 (tramp-imap-handle-directory-files-and-attributes)
4158 (tramp-imap-handle-file-newer-than-file-p): Remove.
4159
4160 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4161 by `tramp-compat-set-process-query-on-exit-flag' and
4162 `tramp-coding-system-change-eol-conversion' by
4163 `tramp-compat-coding-system-change-eol-conversion'.
4164
4165 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4166 Use `tramp-handle-directory-files-and-attributes',
4167 `tramp-handle-file-exists-p' and
4168 `tramp-handle-file-newer-than-file-p'.
4169 (tramp-smb-handle-directory-files-and-attributes)
4170 (tramp-smb-handle-file-exists-p)
4171 (tramp-smb-handle-file-newer-than-file-p): Remove.
4172 (tramp-smb-maybe-open-connection):
4173 Replace `tramp-set-process-query-on-exit-flag' by
4174 `tramp-compat-set-process-query-on-exit-flag'.
4175
4176 2010-10-05 Glenn Morris <rgm@gnu.org>
4177
4178 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4179
4180 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4181
4182 Continue reorganization of load dependencies. (Bug#7156)
4183
4184 * net/tramp.el (tramp-handle-file-local-copy-hook)
4185 (tramp-delete-temp-file-function): Move down.
4186 (tramp-exists-file-name-handler): Move up.
4187 (tramp-register-file-name-handlers): Simplify autoload.
4188 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4189 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4190 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4191 (tramp-handle-file-name-completion)
4192 (tramp-handle-file-name-directory)
4193 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4194 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4195 (tramp-handle-find-backup-file-name)
4196 (tramp-handle-insert-file-contents, tramp-handle-load)
4197 (tramp-handle-substitute-in-file-name)
4198 (tramp-handle-unhandled-file-name-directory)
4199 (tramp-mode-string-to-int, tramp-local-host-p)
4200 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4201
4202 * net/tramp-gvfs.el (top):
4203 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4204
4205 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4206 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4207
4208 2010-10-04 Glenn Morris <rgm@gnu.org>
4209
4210 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4211 (appt-activate): Give status messages.
4212
4213 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4214
4215 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4216 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4217 `gnutls-negotiate' (formerly `starttls-negotiate').
4218 Remove trivial wrapper `starttls-open-stream'.
4219
4220 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4221
4222 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4223 log-outgoing commands.
4224 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4225 to create a buffer local revert-buffer-function variable.
4226 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4227 revert-buffer-function lambda.
4228
4229 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4230
4231 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4232 `gnutls-boot'. Make TYPE the only required parameter.
4233 Allow TRUSTFILES and KEYFILES to be lists.
4234 (open-ssl-stream): Use it.
4235
4236 2010-10-03 Glenn Morris <rgm@gnu.org>
4237
4238 * subr.el (directory-sep-char): Remove obsolete variable.
4239 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4240 it is "necessary".
4241
4242 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4243 * vc/vc.el (vc-static-header-alist): Doc fix.
4244 * vc/vc-cvs.el (vc-cvs-header):
4245 * vc/vc-rcs.el (vc-rcs-header):
4246 * vc/vc-sccs.el (vc-sccs-header):
4247 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4248 * obsolete/vc-mcvs.el (vc-mcvs-header):
4249 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4250 on XEmacs.
4251
4252 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4253
4254 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4255 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4256
4257 2010-10-03 Glenn Morris <rgm@gnu.org>
4258
4259 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4260
4261 * textmodes/rst.el (rst-font-lock-keywords-function):
4262 Drop Emacs 20 code.
4263
4264 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4265
4266 * printing.el: Drop Emacs 20 code.
4267
4268 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4269 without having used appt.el already).
4270
4271 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4272 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4273 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4274 XEmacs.
4275 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4276 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4277
4278 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4279 (charset-width, find-charset-region, chars-in-region, forward-point)
4280 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4281 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4282 Remove compatibility cruft (none of these are used by ps*.el).
4283
4284 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4285
4286 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4287
4288 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4289
4290 * server.el (server-process-filter, server-return-error):
4291 Give emacsclient time to shut down after receiving an error string.
4292
4293 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4294
4295 * files.el (remote-file-name-inhibit-cache): New defcustom.
4296
4297 * time.el (display-time-file-nonempty-p):
4298 Use `remote-file-name-inhibit-cache'.
4299
4300 * net/tramp.el (tramp-completion-reread-directory-timeout):
4301 Fix docstring.
4302
4303 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4304 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4305 `remote-file-name-inhibit-cache'. Check also for an integer
4306 value. Add/increase counter when `tramp-verbose' >= 10.
4307 (tramp-set-file-property): Add/increase counter when
4308 `tramp-verbose' >= 10.
4309
4310 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4311 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4312 (tramp-bug): Set tramp-autoload cookie. Report all interned
4313 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4314 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4315 characters only in strings.
4316
4317 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4318 to backward compatibility.
4319
4320 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4321 (tramp-handle-file-name-all-completions)
4322 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4323 (tramp-open-connection-setup-interactive-shell):
4324 Call `tramp-cleanup-connection' directly.
4325
4326 2010-10-02 Glenn Morris <rgm@gnu.org>
4327
4328 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4329
4330 * subr.el (char-bytes): Remove obsolete function.
4331
4332 * isearch.el (isearch-return-char): Remove obsolete function.
4333
4334 * mouse.el: No longer provide mldrag.
4335 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4336 Remove obsolete aliases.
4337
4338 * comint.el (comint-kill-output): Remove obsolete alias.
4339
4340 * composite.el (decompose-composite-char): Remove obsolete function.
4341 * ps-def.el (decompose-composite-char): Remove unused function.
4342
4343 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4344
4345 * outline.el (outline-visible): Remove obsolete function.
4346
4347 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4348 * faces.el (internal-find-face, internal-get-face)
4349 (frame-update-faces, frame-update-face-colors)
4350 (x-frob-font-weight, x-frob-font-slant)
4351 (internal-frob-font-weight, internal-frob-font-slant)
4352 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4353 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4354 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4355 since Emacs 21.1.
4356 * emulation/viper-util.el (viper-get-face):
4357 * obsolete/lucid.el (find-face, get-face): Use facep.
4358 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4359 Remove unused functions.
4360 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4361
4362 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4363 delete tempfile if interrupted during compilation.
4364
4365 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4366
4367 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4368 gnutls-cli.
4369 (tls-program): Add --insecure to be consistent with the defaults from
4370 openssl s_client. Now all three commands are insecure.
4371
4372 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4373
4374 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4375 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4376 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4377
4378 2010-10-01 Glenn Morris <rgm@gnu.org>
4379
4380 * obsolete/sc.el: Remove file.
4381
4382 * files.el (temporary-file-directory): On darwin, also try
4383 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4384
4385 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4386
4387 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4388 Let's not break compatibility gratuitously, shall we?
4389
4390 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4391
4392 * net/tls.el (tls-starttls-switches): New variable.
4393 (tls-find-starttls-argument): Use it.
4394 (open-tls-stream): Ditto.
4395
4396 * net/netrc.el (netrc-credentials): Return the value of the "default"
4397 entry.
4398 (netrc-machine): Ditto.
4399
4400 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4401
4402 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4403
4404 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4405
4406 * server.el (server-start): Don't write pid to the authentication file.
4407 (server-create-tty-frame): Don't send pid.
4408 (server-process-filter): Send pid at the start of every connection.
4409
4410 2010-09-30 Glenn Morris <rgm@gnu.org>
4411
4412 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4413 (show-all-diary-entries): Remove obsolete function aliases.
4414
4415 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4416 Remove options, obsolete since 22.1.
4417 (appt-display-format, appt-display-message):
4418 Remove backwards-compatibility code.
4419 (appt-check): No longer check appt-issue-message.
4420 (appt-make-list): No longer autoload it. Doc fix. No longer
4421 activate the package.
4422
4423 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4424
4425 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4426 (starttls-negotiate): Just call boot, and let the handshake be
4427 triggered from the read loop.
4428
4429 2010-09-29 Glenn Morris <rgm@gnu.org>
4430
4431 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4432 not displaying the diary.
4433 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4434 * calendar/appt.el (appt-check): No longer need to kill diary.
4435
4436 * calendar/diary-lib.el (diary-list-entries): Move the
4437 "Preparing..." message entirely here.
4438 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4439 messages to diary-list-entries.
4440 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4441 diary-display-function.
4442
4443 * calendar/diary-lib.el (diary-include-other-diary-files):
4444 Trap some recursive includes.
4445
4446 * calendar/appt.el (appt-activate): Check diary file.
4447
4448 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4449
4450 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4451 construction.
4452
4453 * calendar/time-date.el: No need to require cl for Emacs 21.
4454
4455 2010-09-28 Glenn Morris <rgm@gnu.org>
4456
4457 * calendar/appt.el (appt-check): Minor simplification.
4458
4459 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4460
4461 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4462 citation prefix.
4463
4464 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4465
4466 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4467 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4468
4469 2010-09-27 Kenichi Handa <handa@m17n.org>
4470
4471 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4472 "ustar" format.
4473
4474 2010-09-27 Kenichi Handa <handa@m17n.org>
4475
4476 * international/mule.el (define-coding-system): Docstring fixed.
4477
4478 * international/mule-diag.el (describe-character-set): Use princ
4479 with proper print-length and print-level instead of insert.
4480
4481 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4482
4483 * window.el (walk-windows): Doc fix (bug#7105).
4484
4485 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * emacs-lisp/float-sup.el (e): Remove.
4488
4489 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4490
4491 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4492 variable.
4493 (starttls-negotiate): Use it.
4494
4495 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4496
4497 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4498 back.
4499
4500 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4503
4504 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4505
4506 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4507
4508 * net/netrc.el (netrc-store-data): New function.
4509
4510 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4511
4512 * net/gnutls.el: GnuTLS glue code to set up a connection.
4513
4514 2010-09-25 Julien Danjou <julien@danjou.info>
4515
4516 * notifications.el: Call dbus-register-signal only if it is bound.
4517
4518 2010-09-25 Glenn Morris <rgm@gnu.org>
4519
4520 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4521 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4522 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4523 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4524 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4525 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4526 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4527 * eshell/esh-util.el, eshell/esh-var.el:
4528 Remove leading `*' from docs of faces and defcustoms.
4529
4530 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4531
4532 * eshell/em-ls.el (eshell-ls-archive-regexp):
4533 * eshell/esh-util.el (eshell-tar-regexp):
4534 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4535 * info.el (Info-suffix-list):
4536 * international/mule.el (auto-coding-alist):
4537 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4538 * progmodes/etags.el (tags-compression-info-list):
4539 Support xz compression.
4540
4541 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4542
4543 * files.el (get-free-disk-space): Don't assume the "df" output
4544 columns line up (Bug#6995).
4545
4546 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4547
4548 * finder.el (finder-unknown-keywords):
4549 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4550 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4551
4552 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4553
4554 * server.el (server-start): Revert part of 2010-08-08 change. Using
4555 address 127.0.0.1 for local host is now done in Fmake_network_process.
4556
4557 2010-09-24 Glenn Morris <rgm@gnu.org>
4558
4559 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4560 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4561 * textmodes/css-mode.el, textmodes/dns-mode.el:
4562 Move autoloaded auto-mode-alist entries to files.el.
4563 * files.el (auto-mode-alist): Move entries here.
4564
4565 2010-09-23 Glenn Morris <rgm@gnu.org>
4566
4567 * isearch.el (isearch-lazy-highlight-cleanup)
4568 (isearch-lazy-highlight-initial-delay)
4569 (isearch-lazy-highlight-interval)
4570 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4571 * net/net-utils.el (ipconfig-program-options):
4572 Move aliases to options before the associated definitions.
4573
4574 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * newcomment.el (comment-normalize-vars): Better test validity of
4577 comment-end-skip.
4578
4579 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4580
4581 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4582 (float-e): New name for `e'.
4583 (degrees-to-radians, radians-to-degrees):
4584 * calendar/solar.el (solar-longitude):
4585 * calculator.el (calculator-registers, calculator-funcall):
4586 * textmodes/artist.el (artist-spray-random-points):
4587 * play/bubbles.el (bubbles--initialize-images): Use new names.
4588
4589 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4590
4591 Update to CEDET 1.0's version of EIEIO.
4592
4593 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4594 New function.
4595 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4596 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4597 (class-precedence-list): If class is nil, return nil.
4598 (eieio-generic-call): If class of first input arg is nil, don't
4599 look up static methods, and do check for primary methods.
4600 (initialize-instance): See if the default needs to be evaluated
4601 during the constructor.
4602 (eieio-perform-slot-validation-for-default): Don't do the check
4603 for values that will eventually be evaluated.
4604 (eieio-eval-default-p): New function.
4605 (eieio-default-eval-maybe): Use it.
4606
4607 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4608
4609 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4610 method-invocation-order.
4611 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4612 (eieio-class-precedence-dfs): Compute class precedence list using
4613 dfs algorithm.
4614 (eieio-class-precedence-bfs): Compute class precedence list using
4615 bfs algorithm.
4616 (eieio-class-precedence-c3): Compute class precedence list using
4617 c3 algorithm.
4618 (class-precedence-list): New function.
4619 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4620 (inconsistent-class-hierarchy): New error symbol.
4621 (call-next-method): Stow the replacement argument list for future
4622 call-next-method invocations.
4623
4624 2010-09-23 Glenn Morris <rgm@gnu.org>
4625
4626 * calendar/appt.el (appt-check): If not displaying the diary,
4627 use (diary 1) to only get the entries we need.
4628 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4629 that it is in day order. (Bug#7019)
4630
4631 * calendar/appt.el (appt-check): Rather than showing the diary,
4632 just turn off invisible display, and only if needed.
4633
4634 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4635
4636 2010-09-23 Glenn Morris <rgm@gnu.org>
4637
4638 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4639 (byte-compile-defvar, byte-compile-cl-warn):
4640 Start warnings with lower-case, like the majority.
4641
4642 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4643
4644 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4645
4646 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4647 * files.el (auto-mode-alist): Move ld-script entries here, further down
4648 the list.
4649
4650 * vc/add-log.el: Don't require timezone when compiling.
4651 (timezone-make-date-sortable): Autoload it.
4652 (change-log-sortable-date-at): Don't require timezone.
4653 Use `ignore-errors'.
4654
4655 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4656 Move alias before definition, so it does not need autoloading.
4657
4658 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4659 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4660 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4661 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4662 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4663 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4664 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4665 * textmodes/tex-mode.el, textmodes/two-column.el:
4666 Remove leading `*' from docs of defcustoms etc.
4667
4668 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4669
4670 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4671
4672 2010-09-22 Dan Christensen <jdc@uwo.ca>
4673
4674 * calendar/time-date.el (date-to-time): Try using parse-time-string
4675 first before using the slower timezone-make-date-arpa-standard.
4676
4677 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4678
4679 * calendar/time-date.el (format-seconds): Comment fix.
4680
4681 2010-09-22 Glenn Morris <rgm@gnu.org>
4682
4683 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4684 is not automatically buffer-local.
4685
4686 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4687
4688 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4689 (smie-indent-comment): Be more careful with comment-start-skip.
4690 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4691 (smie-indent-functions): Use them.
4692
4693 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4694
4695 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4696
4697 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4698
4699 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4700 tool-bar-position. Don't modify frame parameters here.
4701 (menu-bar-options-save): Add tool-bar-position.
4702
4703 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4704
4705 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * textmodes/reftex-parse.el (reftex-what-macro)
4708 (reftex-context-substring): Let-bind forward-sexp-function to nil
4709 since we don't need/want to treat \begin...\end as a block (bug#7053).
4710
4711 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4712
4713 * simple.el (blink-matching-open): Use syntax-class.
4714
4715 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4716 Set invisibility spec for pascal's outline mode.
4717 (pascal-outline-change): Clean up calling convention.
4718 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4719
4720 * progmodes/prolog.el (prolog-smie-forward-token)
4721 (prolog-smie-backward-token): New functions.
4722 (prolog-mode-variables): Use them to parse "!," correctly.
4723 Set up smie-blink-matching for ".".
4724
4725 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4726 and `end'.
4727 (ispell-region, ispell-process-line): Update users.
4728
4729 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4730 point-min==1.
4731
4732 * textmodes/ispell.el: Fix commenting convention.
4733 (ispell-parse-output): Simplify, use push.
4734 (ispell-region): Use match-string-no-properties.
4735 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4736 (ispell-minor-mode): Use define-minor-mode.
4737 (ispell-message): Remove unused var `skip-regexp'.
4738 (ispell-add-per-file-word-list): Use dynamic let-binding.
4739 Try and use the proper comment marker.
4740
4741 * mail/sendmail.el: Fix commenting convention.
4742 (sendmail-send-it): Use line-beginning-position.
4743
4744 * help-fns.el (describe-variable): Add original value, if applicable.
4745
4746 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4747
4748 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4749
4750 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4751
4752 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4755 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4756 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4757 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4758 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4759 something like "." can also be a closer.
4760 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4761 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4762 Rename internal functions to use "--". Update callers.
4763
4764 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4765
4766 * fringe.el (fringe-styles): New var.
4767 (fringe-mode, fringe-query-style): Use it.
4768
4769 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4770
4771 * progmodes/sql.el: Version 2.8
4772 (sql-login-params): Update widget structure; changes still needed.
4773 (sql-product-alist): Add :list-all and :list-table features for
4774 SQLite, Postgres and MySQL products.
4775 (sql-redirect): Handle default value.
4776 (sql-execute, sql-execute-feature): New functions.
4777 (sql-read-table-name): New function.
4778 (sql-list-all, sql-list-table): New functions. User API.
4779 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4780 for above functions.
4781 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4782 for above functions.
4783 (sql-postgres-login-params): Add user and database defaults.
4784 (sql-buffer-live-p): Bug fix.
4785 (sql-product-history): New variable.
4786 (sql-read-product): New function. Use it.
4787 (sql-set-product, sql-product-interactive): Use it.
4788 (sql-connection-history): New variable.
4789 (sql-read-connection): New function. Use it.
4790 (sql-connect): New function.
4791 (sql-for-each-login): Redesign function interface.
4792 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4793 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4794 (sql-comint): Check for program. Existing live buffer.
4795 (sql-comint-postgres): Add port parameter.
4796
4797 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4798
4799 * emacs-lisp/warnings.el: Fix commenting convention.
4800 (display-warning): Use special mode and make the buffer read-only.
4801
4802 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4803
4804 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4805 empty string when it follows a repeated or optional pattern.
4806
4807 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4808
4809 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4810 (indent-region): Use indent-according-to-mode.
4811
4812 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4813
4814 * fringe.el (fringe-mode): Doc fix.
4815
4816 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4817
4818 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4819 refreshing the preview buffer.
4820
4821 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4824 (latex-syntax-propertize-rules): New consts; replace
4825 tex-font-lock-syntactic-keywords.
4826 (tex-env-mark, latex-env-before-change): New functions.
4827 (latex-electric-env-pair-mode): New minor mode.
4828 (tex-font-lock-verb): Change arguments; do move point.
4829 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4830 representation as a form of comment.
4831 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4832 (doctex-syntax-propertize-rules): New const; replaces
4833 doctex-font-lock-syntactic-keywords.
4834 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4835
4836 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4837 (fortran-make-syntax-propertize-function): New function; replaces
4838 fortran-font-lock-syntactic-keywords.
4839 (fortran-mode): Use it.
4840 (fortran-line-length): Use it. Improve interactive spec.
4841
4842 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4843 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4844 when adding surrounding \(..\).
4845
4846 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4847
4848 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4849
4850 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4851 Use with-current-buffer.
4852
4853 * isearch.el (isearch-face): Rename from `isearch'.
4854 (isearch-highlight): Use new name.
4855
4856 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4857
4858 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4859 5, for `half' width fringes. (Bug#6933)
4860
4861 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4864 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4865
4866 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4867
4868 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4869
4870 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4871 in calculating new frame position. Add more space between new and
4872 parent on the left (Bug#7048).
4873
4874 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4875
4876 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4877 defmacro.
4878
4879 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4880
4881 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4882
4883 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4884 obsolete alias for x-selection-value.
4885
4886 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4887
4888 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4889
4890 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4891 cookie.
4892
4893 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4894
4895 * net/tramp-compat.el (tramp-compat-with-temp-message)
4896 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4897 (tramp-compat-process-put): New defuns.
4898
4899 * net/tramp.el (top):
4900 * net/tramp-gvfs.el (top):
4901 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4902
4903 * net/tramp.el (tramp-progress-reporter-update):
4904 Use `tramp-compat-funcall'.
4905
4906 * net/tramp.el (tramp-process-actions):
4907 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4908 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4909 (tramp-get-remote-stat, tramp-get-remote-readlink):
4910 Use `tramp-compat-with-temp-message'.
4911
4912 * net/tramp-sh.el (top): Require 'cl.
4913 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4914 (tramp-open-connection-setup-interactive-shell):
4915 Use `tramp-compat-process-put'.
4916
4917 2010-09-15 Alan Mackenzie <acm@muc.de>
4918
4919 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4920 indentation.
4921 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4922
4923 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4926 `lexical' for warnings related to lexical scoping.
4927 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4928 global vars which don't have a prefix and could hence affect lexical
4929 scoping in unrelated files.
4930
4931 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4932
4933 * net/imap.el: Revert back to version
4934 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4935 seem problematic.
4936
4937 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4938
4939 * obsolete/old-whitespace.el (whitespace-unload-function):
4940 Explicitly pass `obarray' to `unintern' to avoid a warning.
4941
4942 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4943
4944 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4945 Add `when' argument. Update callers.
4946
4947 * subr.el (unintern): Declare the obarray arg mandatory.
4948
4949 2010-09-14 Glenn Morris <rgm@gnu.org>
4950
4951 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4952 Doc fixes.
4953
4954 * calendar/diary-lib.el (diary-included-files): New variable.
4955 (diary-list-entries): Maybe initialize diary-included-files.
4956 (diary-include-other-diary-files): Append to diary-included-files.
4957 * calendar/appt.el (appt-update-list): Also check the members of
4958 diary-included-files. (Bug#6999)
4959 (appt-check): Doc fix.
4960
4961 2010-09-14 David Reitter <david.reitter@gmail.com>
4962
4963 * simple.el (line-move-visual): Do not truncate goal column to
4964 integer size. (Bug#7020)
4965
4966 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * repeat.el (repeat): Allow repeating when the last event is a click.
4969 Suggested by Drew Adams (bug#6256).
4970
4971 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4972
4973 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4974 Replace setting HGRCPATH to "" by some less invasive --config options.
4975
4976 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * font-lock.el (font-lock-beginning-of-syntax-function):
4979 Mark as obsolete.
4980
4981 2010-09-14 Glenn Morris <rgm@gnu.org>
4982
4983 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4984 and tool-bar modes. (Bug#6211)
4985 (menu-bar-mode): Move setting of standard-value after the
4986 minor-mode definition, otherwise it seems to have no effect.
4987
4988 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4989
4990 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4991 Fix typo. (Bug#6976)
4992
4993 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4994
4995 * whitespace.el: Allow cleaning up blanks without blank
4996 visualization (Bug#6651). Adjust help window for
4997 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4998 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4999 (whitespace-style): Add new value 'face. Adjust docstring.
5000 (whitespace-space, whitespace-hspace, whitespace-tab):
5001 Adjust foreground property face.
5002 (whitespace-line-column): Adjust docstring and type declaration.
5003 (whitespace-style-value-list, whitespace-toggle-option-alist)
5004 (whitespace-help-text): Adjust const initialization.
5005 (whitespace-toggle-options, global-whitespace-toggle-options):
5006 Adjust docstring.
5007 (whitespace-display-window, whitespace-interactive-char)
5008 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5009 (whitespace-help-scroll): New fun.
5010
5011 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5012
5013 * calendar/time-date.el (format-seconds): Comment fix.
5014
5015 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5016
5017 * progmodes/sql.el: Version 2.7.
5018 (sql-buffer-live-p): Improve detection.
5019 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5020 (sql-set-sqli-buffer): Use it.
5021 (sql-product-interactive): Run `sql-set-sqli-hook'.
5022 (sql-rename-buffer): Code cleanup.
5023 (sql-redirect, sql-redirect-value): New functions. More to come.
5024
5025 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5026
5027 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.
5028 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5029 (TRAMP_SRC): New macro.
5030 ($(lisp)/net/tramp-loaddefs.el): New target.
5031
5032 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5033
5034 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5035
5036 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5037
5038 * net/tramp.el (top): Don't show loading message. Require just
5039 'tramp-compat, everything else is required there.
5040 Use `ignore-errors' where appropriate.
5041 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5042 (tramp-terminal-type, tramp-end-of-output)
5043 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5044 (tramp-completion-function-alist-ssh)
5045 (tramp-completion-function-alist-telnet)
5046 (tramp-completion-function-alist-su)
5047 (tramp-completion-function-alist-putty, tramp-remote-path)
5048 (tramp-remote-process-environment, tramp-sh-extra-args)
5049 (tramp-actions-before-shell, tramp-uudecode)
5050 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5051 (tramp-perl-file-attributes)
5052 (tramp-perl-directory-files-and-attributes)
5053 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5054 (tramp-perl-encode, tramp-perl-decode)
5055 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5056 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5057 (tramp-handle-make-symbolic-link, tramp-handle-load)
5058 (tramp-handle-file-name-as-directory)
5059 (tramp-handle-file-name-directory)
5060 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5061 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5062 (tramp-do-file-attributes-with-ls)
5063 (tramp-do-file-attributes-with-perl)
5064 (tramp-do-file-attributes-with-stat)
5065 (tramp-handle-set-visited-file-modtime)
5066 (tramp-handle-verify-visited-file-modtime)
5067 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5068 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5069 (tramp-handle-file-selinux-context)
5070 (tramp-handle-set-file-selinux-context)
5071 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5072 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5073 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5074 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5075 (tramp-handle-file-ownership-preserved-p)
5076 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5077 (tramp-handle-directory-files-and-attributes)
5078 (tramp-do-directory-files-and-attributes-with-perl)
5079 (tramp-do-directory-files-and-attributes-with-stat)
5080 (tramp-handle-file-name-all-completions)
5081 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5082 (tramp-handle-copy-file, tramp-handle-copy-directory)
5083 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5084 (tramp-do-copy-or-rename-file-via-buffer)
5085 (tramp-do-copy-or-rename-file-directly)
5086 (tramp-do-copy-or-rename-file-out-of-band)
5087 (tramp-handle-make-directory, tramp-handle-delete-directory)
5088 (tramp-handle-delete-file)
5089 (tramp-handle-dired-recursive-delete-directory)
5090 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5091 (tramp-handle-insert-directory)
5092 (tramp-handle-unhandled-file-name-directory)
5093 (tramp-handle-expand-file-name)
5094 (tramp-handle-substitute-in-file-name)
5095 (tramp-handle-executable-find, tramp-process-sentinel)
5096 (tramp-handle-start-file-process, tramp-handle-process-file)
5097 (tramp-handle-call-process-region, tramp-handle-shell-command)
5098 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5099 (tramp-handle-insert-file-contents)
5100 (tramp-handle-insert-file-contents-literally)
5101 (tramp-handle-find-backup-file-name)
5102 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5103 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5104 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5105 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5106 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5107 (tramp-find-file-exists-command, tramp-open-shell)
5108 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5109 (tramp-open-connection-setup-interactive-shell)
5110 (tramp-local-coding-commands, tramp-remote-coding-commands)
5111 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5112 (tramp-inline-compress-commands, tramp-find-inline-compress)
5113 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5114 (tramp-send-command, tramp-wait-for-output)
5115 (tramp-send-command-and-check, tramp-barf-unless-okay)
5116 (tramp-send-command-and-read, tramp-mode-string-to-int)
5117 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5118 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5119 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5120 (tramp-method-out-of-band-p, tramp-local-host-p)
5121 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5122 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5123 (tramp-get-test-command, tramp-get-test-nt-command)
5124 (tramp-get-file-exists-command, tramp-get-remote-ln)
5125 (tramp-get-remote-perl, tramp-get-remote-stat)
5126 (tramp-get-remote-readlink, tramp-get-remote-trash)
5127 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5128 (tramp-get-local-uid, tramp-get-local-gid)
5129 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5130 tramp-sh.el.
5131 (tramp-methods, tramp-default-method-alist)
5132 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5133 Move initialization to tramp-sh.el.
5134 (tramp-temp-name-prefix): Make it a defconst.
5135 (tramp-dissect-file-name): Don't check anymore for multi-hop
5136 methods.
5137 (tramp-debug-outline-regexp): Add a docstring.
5138 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5139 (tramp-get-debug-buffer): Use it.
5140
5141 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5142 initialization forms.
5143 (tramp-set-connection-property): Don't protect `tramp-message'
5144 call, it isn't necessary any longer.
5145 (tramp-dump-connection-properties): Use `ignore-errors'.
5146
5147 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5148 'password-cache and 'auth-source.
5149
5150 * net/tramp-gvfs.el (top):
5151 * net/tramp-smb.el (top): Require 'tramp-sh.
5152
5153 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5154
5155 * net/tramp-sh.el: New file, derived from tramp.el.
5156 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5157 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5158 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5159 Use `ignore-errors' where appropriate.
5160 (tramp-sh-file-name-handler-alist): Rename from
5161 `tramp-file-name-handler-alist'.
5162 (tramp-send-command-and-check): Return t or nil. Remove all
5163 `zerop' checks, where called.
5164 (tramp-handle-set-file-modes)
5165 (tramp-do-copy-or-rename-file-directly)
5166 (tramp-handle-delete-directory, tramp-handle-delete-file)
5167 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5168 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5169 (tramp-get-remote-ln): Set tramp-autoload cookie.
5170
5171 * net/tramp-fish.el: Remove file.
5172
5173 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5174
5175 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5176 buffer-file-name to avoid file-locking. (Bug#7026)
5177
5178 2010-09-13 Julien Danjou <julien@danjou.info>
5179
5180 * notifications.el (notifications-notify): Add support for
5181 image-path and sound-name.
5182 (notifications-specification-version): Add this variable.
5183
5184 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5187
5188 2010-09-12 Leo <sdl.web@gmail.com>
5189
5190 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5191 (rcirc-completion-start): New variables.
5192 (rcirc-nick-completions): Rename to rcirc-completions.
5193 (rcirc-nick-completion-start-offset): Delete.
5194 (rcirc-completion-at-point): New function for constructing
5195 completion data for both nicks and irc commands. Add to
5196 completion-at-point-functions in rcirc mode.
5197 (rcirc-complete): Rename from rcirc-nick-complete; use
5198 rcirc-completion-at-point.
5199 (defun-rcirc-command): Update rcirc-client-commands.
5200
5201 2010-09-11 Glenn Morris <rgm@gnu.org>
5202
5203 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5204 atomically, to avoid parallel build errors. (Bug#4196)
5205
5206 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5207
5208 * progmodes/sql.el: Version 2.6
5209 (sql-dialect): Synonym for "sql-product".
5210 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5211 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5212 Set "sql-buffer" to buffer name not buffer object so multiple sql
5213 interactive buffers work properly. Reverts misguided changes in
5214 earlier work.
5215 (sql-comint): Make sure different buffer name is used if "*SQL*"
5216 buffer is for a different product.
5217 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5218 login param.
5219 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5220 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5221 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5222 Accept new buffer name or prompt for one.
5223 (sql-port): Default to zero.
5224 (sql-comint-mysql): Handle "sql-port" as a numeric.
5225 (sql-port-history): Delete unused variable.
5226 (sql-get-login): Default "sql-port" to a number.
5227 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5228 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5229 "sqlite3" executables.
5230 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5231 (sql-buffer-live-p): New function.
5232 (sql-mode-menu, sql-send-string): Use it.
5233 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5234 syntax pattern.
5235 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5236 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5237
5238 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5239
5240 * net/netrc.el (netrc-credentials): New convenience function.
5241
5242 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5245 to replace texinfo-font-lock-syntactic-keywords.
5246 (texinfo-mode): Use it.
5247
5248 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5249 Use syntax-propertize-function.
5250
5251 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5252 replace sgml-font-lock-syntactic-keywords.
5253 (sgml-mode): Use it.
5254
5255 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5256 since we don't use it.
5257
5258 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5259
5260 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5261 if available.
5262 (vhdl-fontify-buffer): Adjust.
5263
5264 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5265 replace tcl-font-lock-syntactic-keywords.
5266 (tcl-mode): Use it.
5267
5268 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5269 replace simula-font-lock-syntactic-keywords.
5270 (simula-mode): Use it.
5271
5272 * progmodes/sh-script.el (sh-st-symbol): Remove.
5273 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5274 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5275 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5276 (sh-font-lock-paren): Set syntax-multiline.
5277 (sh-font-lock-syntactic-keywords): Remove.
5278 (sh-syntax-propertize-function): New function to replace it.
5279 (sh-mode): Use it.
5280
5281 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5282 Define while compiling.
5283 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5284 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5285 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5286 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5287 (ruby-here-doc-end-syntax): Only define when
5288 syntax-propertize is not available.
5289 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5290 New functions.
5291 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5292 (electric-indent-chars): Silence bytecompiler.
5293 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5294 electric-indent-chars.
5295
5296 * progmodes/python.el (python-syntax-propertize-function): New var to
5297 replace python-font-lock-syntactic-keywords.
5298 (python-mode): Use it.
5299 (python-quote-syntax): Simplify and adjust to new use.
5300
5301 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5302 replace perl-font-lock-syntactic-keywords.
5303 (perl-syntax-propertize-special-constructs): New fun to replace
5304 perl-font-lock-special-syntactic-constructs.
5305 (perl-font-lock-syntactic-face-function): New fun.
5306 (perl-mode): Use it.
5307
5308 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5309 to replace octave-font-lock-close-quotes.
5310 (octave-syntax-propertize-function): New function to replace
5311 octave-font-lock-syntactic-keywords.
5312 (octave-mode): Use it.
5313
5314 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5315 replaces mixal-font-lock-syntactic-keywords.
5316 (mixal-mode): Use it.
5317
5318 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5319 New var; replaces makefile-font-lock-syntactic-keywords.
5320 (makefile-mode): Use it.
5321 (makefile-imake-mode): Adjust.
5322
5323 * progmodes/js.el (js--regexp-literal): Define while compiling.
5324 (js-syntax-propertize-function): New var; replaces
5325 js-font-lock-syntactic-keywords.
5326 (js-mode): Use it.
5327
5328 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5329 replaces gdb-script-font-lock-syntactic-keywords.
5330 (gdb-script-mode): Use it.
5331
5332 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5333 (fortran--font-lock-syntactic-keywords): New var.
5334 (fortran-line-length): Update syntax-propertize-function and
5335 fortran--font-lock-syntactic-keywords.
5336
5337 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5338
5339 * progmodes/cfengine.el (cfengine-mode):
5340 Use syntax-propertize-function.
5341 (cfengine-font-lock-syntactic-keywords): Remove.
5342
5343 * progmodes/autoconf.el (autoconf-mode):
5344 Use syntax-propertize-function.
5345 (autoconf-font-lock-syntactic-keywords): Remove.
5346
5347 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5348 (ada-after-change-function, ada-initialize-syntax-table-properties)
5349 (ada-handle-syntax-table-properties): Only define when
5350 syntax-propertize is not available.
5351 (ada-mode): Use syntax-propertize-function.
5352
5353 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5354 (font-lock-fontify-syntactic-keywords-region): Move handling of
5355 font-lock-syntactically-fontified to...
5356 (font-lock-default-fontify-region): ...here.
5357 Let syntax-propertize-function take precedence.
5358 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5359
5360 * emacs-lisp/syntax.el (syntax-propertize-function)
5361 (syntax-propertize-chunk-size, syntax-propertize--done)
5362 (syntax-propertize-extend-region-functions): New vars.
5363 (syntax-propertize-wholelines, syntax-propertize-multiline)
5364 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5365 (syntax-propertize): New functions.
5366 (syntax-propertize-rules): New macro.
5367 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5368 (syntax-ppss): Call syntax-propertize.
5369
5370 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5371
5372 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5373
5374 * textmodes/ispell.el (ispell-init-process): Improve comments.
5375 XEmacs compatibility changes regarding (add-hook) 'local option
5376 and (set-process-query-on-exit-flag).
5377
5378 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5379
5380 * net/tramp-cache.el (tramp-parse-connection-properties):
5381 Set tramp-autoload cookie.
5382
5383 2010-09-09 Glenn Morris <rgm@gnu.org>
5384
5385 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5386 (imagemagick-register-types): Doc fix.
5387
5388 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5391
5392 * progmodes/js.el (require): Require is already "eval-and-compile".
5393 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5394 (js--re-search-backward): Use js--re-search-forward.
5395
5396 * progmodes/fortran.el (fortran-line-length): Don't recompute
5397 syntactic keywords redundantly a second time.
5398
5399 * progmodes/ada-mode.el: Replace "(set '" with setq.
5400 (ada-mode): Simplify.
5401 (ada-create-case-exception, ada-adjust-case-interactive)
5402 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5403 (ada-search-ignore-string-comment, ada-move-to-start)
5404 (ada-move-to-end): Use with-syntax-table.
5405
5406 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5407 (font-lock-unfontify-region, font-lock-default-fontify-region):
5408 Update usage correspondingly.
5409 (font-lock-fontify-syntactic-keywords-region):
5410 Set parse-sexp-lookup-properties buffer-locally here.
5411 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5412
5413 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5414
5415 2010-09-08 Glenn Morris <rgm@gnu.org>
5416
5417 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5418 Error if not compiled with -DBYTE_CODE_METER.
5419
5420 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5421 Ignore dir-locals-file.
5422
5423 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5426 Not a const.
5427 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5428 for the `gnu' messages.
5429 (compilation-set-skip-threshold): New command.
5430 (compilation-start): Use \' rather than $.
5431 (compilation-forget-errors): Use clrhash.
5432
5433 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5434
5435 * textmodes/ispell.el (ispell-valid-dictionary-list):
5436 Simplify logic.
5437
5438 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5439
5440 Migrate to Tramp 2.2. Rearrange load dependencies.
5441 (Bug#1529, Bug#5448, Bug#5705)
5442
5443 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5444 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5445 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5446
5447 * net/tramp.el (top): Remove all other tramp-* loads except
5448 tramp-compat.el. Remove all changes to tramp-unload-hook for
5449 other tramp-* packages. Rearrange defun order. Change calls of
5450 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5451 `tramp-compat-octal-to-decimal' to new function names.
5452 (tramp-terminal-type, tramp-initial-end-of-output)
5453 (tramp-methods, tramp-foreign-file-name-handler-alist)
5454 (tramp-tramp-file-p, tramp-completion-mode-p)
5455 (tramp-send-command-and-check, tramp-get-remote-path)
5456 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5457 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5458 (with-file-property, with-connection-property): Move to
5459 tramp-cache.el.
5460 (tramp-local-call-process, tramp-decimal-to-octal)
5461 (tramp-octal-to-decimal): Move to tramp-compat.el.
5462 (tramp-handle-shell-command): Do not require 'shell.
5463 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5464 symbols.
5465 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5466
5467 * net/tramp-cache.el (top): Require 'tramp. Add to
5468 `tramp-unload-hook'.
5469 (tramp-cache-data, tramp-get-file-property)
5470 (tramp-set-file-property, tramp-flush-file-property)
5471 (tramp-flush-directory-property, tramp-get-connection-property)
5472 (tramp-set-connection-property, tramp-flush-connection-property)
5473 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5474 cookie.
5475 (with-file-property, with-connection-property): New defuns, moved
5476 from tramp.el.
5477 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5478 macro.
5479
5480 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5481 (tramp-version): Set tramp-autoload cookie.
5482
5483 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5484 changes to tramp-unload-hook for other tramp-* packages. Add to
5485 `tramp-unload-hook'.
5486 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5487 (tramp-compat-call-process): New defuns, moved from tramp.el.
5488
5489 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5490 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5491 Add to `tramp-unload-hook'. Change call of
5492 `tramp-compat-decimal-to-octal' to new function name.
5493 (tramp-fish-method): Make it a defconst.
5494 (tramp-fish-file-name-p): Make it a defsubst.
5495 (tramp-fish-method, tramp-fish-file-name-handler)
5496 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5497
5498 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5499 `tramp-foreign-file-name-handler-alist'. Add to
5500 `tramp-unload-hook'.
5501 (tramp-ftp-method): Make it a defconst.
5502 (tramp-ftp-file-name-p): Make it a defsubst.
5503 (tramp-ftp-method, tramp-ftp-file-name-handler)
5504 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5505
5506 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5507 `tramp-foreign-file-name-handler-alist'. Add to
5508 `tramp-unload-hook'. Change checks, whether package can be
5509 loaded.
5510 (tramp-gvfs-file-name-p): Make it a defsubst.
5511 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5512 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5513 (tramp-gvfs-handle-file-directory-p): New defun.
5514 (tramp-gvfs-file-name-handler-alist): Use it.
5515
5516 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5517 `tramp-foreign-file-name-handler-alist'. Add to
5518 `tramp-unload-hook'.
5519 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5520 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5521 defconst.
5522 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5523 (tramp-gw-open-connection): Set tramp-autoload cookie.
5524
5525 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5526 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5527 Add to `tramp-unload-hook'. Change checks, whether package can be
5528 loaded.
5529 (tramp-imap-file-name-p): Make it a defsubst.
5530 (tramp-imap-method, tramp-imaps-method)
5531 (tramp-imap-file-name-handler)
5532 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5533
5534 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5535 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5536 Add to `tramp-unload-hook'. Change checks, whether package can be
5537 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5538 function name.
5539 (tramp-smb-tunnel-method): Make it a defconst.
5540 (tramp-smb-file-name-p): Make it a defsubst.
5541 (tramp-smb-method, tramp-smb-file-name-handler)
5542 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5543
5544 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5545 (tramp-uuencode-region): Set tramp-autoload cookie.
5546
5547 * net/trampver.el (top) Add to `tramp-unload-hook'.
5548 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5549 cookie. Update release number.
5550
5551 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5552
5553 * textmodes/ispell.el (ispell-start-process): Make sure original
5554 arg list is properly initialized (Bug#6993, Bug#6994).
5555
5556 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5557
5558 * files.el (directory-abbrev-alist): Use \` as default regexp.
5559
5560 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5561 chars like - or ] (bug#6984).
5562 (rx-any-condense-range): Explode 2-char ranges.
5563
5564 2010-09-06 Glenn Morris <rgm@gnu.org>
5565
5566 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5567
5568 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * textmodes/bibtex.el:
5571 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5572
5573 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5574
5575 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5576 since no callers use it.
5577 (imap-message-get): Ditto.
5578 (imap-message-put): Ditto.
5579 (imap-mailbox-map): Ditto.
5580 (imap-mailbox-put): Ditto.
5581 (imap-mailbox-get): Ditto.
5582 (imap-mailbox-get): Revert last change for this function.
5583
5584 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5585
5586 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5587 callers to use `imap-fetch' instead. According to the comments, this
5588 should be safe, since all other IMAP clients use the 1:* syntax.
5589 (imap-enable-exchange-bug-workaround): Remove.
5590 (imap-debug): Remove -- doesn't seem very useful.
5591
5592 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5593
5594 * net/imap.el (imap-log): New convenience function used throughout
5595 instead of repeating the same code all over the place.
5596
5597 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5598
5599 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5600 when mouse-drag-copy-region is non-nil (Bug#6956).
5601
5602 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5603
5604 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5605 Improve regexps (Bug#6987).
5606 (dired-sort-toggle): Search more robustly for -t flag.
5607
5608 * files.el (get-free-disk-space): Search more robustly for
5609 "available" column. Suggested by Ehud Karni
5610 <ehud@unix.mvs.co.il>.
5611
5612 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5613
5614 * international/uni-bidi.el:
5615 * international/uni-category.el:
5616 * international/uni-combining.el:
5617 * international/uni-decimal.el:
5618 * international/uni-mirrored.el:
5619 * international/uni-name.el: Regenerate.
5620
5621 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * electric.el (electric-indent-post-self-insert-function):
5624 Don't reindent with a sloppy indentation function.
5625
5626 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5627 border case in change-log-mode.
5628
5629 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5630
5631 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5632 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5633 Recognize leading tab in gcc-include regexp. Ignore names with
5634 leading "from" or "in" in gnu regexp (Bug#6937).
5635
5636 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5639 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5640 (ispell-start-process): Avoid setq and simplify logic.
5641 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5642 (kill-buffer-hook): Don't use it globally with code that uses
5643 expand-file-name since that may call kill-buffer via
5644 code_conversion_restore.
5645
5646 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5647
5648 * emacs-lisp/package.el (package-directory-list): Only call
5649 file-name-nondirectory on a string.
5650
5651 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5652
5653 * emacs-lisp/package.el (package--download-one-archive):
5654 Ensure that archive-contents is valid before saving it.
5655 (package-activate-1, package-mark-obsolete, define-package)
5656 (package-compute-transaction, package-list-maybe-add): Use push.
5657
5658 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 Use SMIE's blink-paren for octave-mode.
5661 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5662 Backslashes do not escape single-quotes, single-quotes do.
5663 (octave-block-else-regexp, octave-block-end-regexp)
5664 (octave-block-match-alist): Remove.
5665 (octave-smie-bnf-table): New var, with old content.
5666 (octave-smie-op-levels): Use it.
5667 (octave-smie-closer-alist): New var.
5668 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5669 (octave-blink-matching-block-open): Remove.
5670 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5671 (octave-electric-space): Let self-insert-command run expand-abbrev and
5672 blink parens.
5673
5674 * electric.el (electricity): New group.
5675 (electric-indent-chars): New var.
5676 (electric-indent-post-self-insert-function): New fun.
5677 (electric-indent-mode): New minor mode.
5678 (electric-pair-skip-self): New custom.
5679 (electric-pair-post-self-insert-function): New function.
5680 (electric-pair-mode): New minor mode.
5681
5682 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5683 calcAlg-blink-matching-open.
5684 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5685 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5686 Use the new blink-matching-check-function.
5687
5688 Provide blink-matching support to SMIE.
5689 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5690 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5691 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5692
5693 * simple.el (newline): Fix last change to properly remove itself from
5694 the hook.
5695
5696 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * simple.el (newline): Eliminate optimization.
5699 Use post-self-insert-hook to set hard-newline and things before
5700 running post-self-insert-hook.
5701 (blink-matching-check-mismatch): New function.
5702 (blink-matching-check-function): New variable.
5703 (blink-matching-open): Use them.
5704 Skip back forward over prefix chars skipped by forward-sexp.
5705 Don't check if the parens are backslash escaped.
5706 (blink-paren-post-self-insert-function): Check backslash escaping here.
5707
5708 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5709
5710 * emacs-lisp/package.el (package-menu-mode-map):
5711 Change package-menu-revert bindings to revert-buffer.
5712 (package-menu-mode): Set revert-buffer-function.
5713 (package-menu-revert): Doc fix.
5714
5715 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5716
5717 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5718 `default-directory' unless using Ispell per-directory personal
5719 dictionaries and not in a mini-buffer under XEmacs.
5720 (kill-buffer-hook): Do not kill ispell process on exit when
5721 `ispell-process-directory' is "~/". (Bug#6143)
5722
5723 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5724
5725 * simple.el (kill-new): Call interprogram-cut-function with only
5726 one argument.
5727
5728 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5729 Remove cut buffer from error message.
5730
5731 * term/x-win.el (x-select-text):
5732 * term/pc-win.el (x-selection-value):
5733 * term/ns-win.el (x-selection-value):
5734 * eshell/em-term.el:
5735 * w32-fns.el (x-get-selection-value):
5736 * mouse-sel.el (mouse-sel-set-selection-function):
5737 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5738
5739 * term/x-win.el: Update documentation for x-last-selected-text-*.
5740 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5741 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5742 (x-select-text): Remove argument PUSH, update documentation.
5743 Remove cut-buffer code.
5744 (x-selection-value-internal): Was previously x-selection-value.
5745 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5746 Update documentation, remove cut-buffer code.
5747 Call x-selection-value-internal.
5748 (x-clipboard-yank): Call x-selection-value-internal.
5749 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5750
5751 * term/pc-win.el (x-last-selected-text):
5752 x-cut-buffer-or-selection-value renamed to x-selection-value
5753 (x-select-text): Remove argument PUSH, update documentation.
5754
5755 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5756 x-cut-buffer-or-selection-value renamed to x-selection-value
5757 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5758 (x-select-text): Remove argument PUSH, update documentation.
5759
5760 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5761
5762 * w32-fns.el (x-last-selected-text):
5763 x-cut-buffer-or-selection-value renamed to x-selection-value.
5764 (x-cut-buffer-max): Remove.
5765 (x-select-text): Remove argument PUSH, update documentation.
5766
5767 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5768
5769 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5770
5771 * mouse-sel.el (mouse-sel-get-selection-function):
5772 x-cut-buffer-or-selection-value renamed to x-selection-value.
5773 (x-select-text): Remove optional push.
5774
5775 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * simple.el (blink-paren-function): Move from C to here.
5778 (blink-paren-post-self-insert-function): New function.
5779 (post-self-insert-hook): Use it.
5780
5781 * emacs-lisp/pcase.el (pcase-split-memq):
5782 Fix overenthusiastic optimisation.
5783 (pcase-u1): Handle the case of a lambda pred.
5784
5785 2010-08-31 Kenichi Handa <handa@m17n.org>
5786
5787 * international/mule-cmds.el (standard-display-european-internal):
5788 Setup standard-display-table for 8-bit characters by storing 8-bit
5789 characters in the element vector.
5790
5791 * disp-table.el (standard-display-8bit):
5792 Setup standard-display-table for 8-bit characters by storing 8-bit
5793 characters in the element vector.
5794 (standard-display-european): Likewise.
5795
5796 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5797
5798 * textmodes/nroff-mode.el (nroff-view): New command.
5799 (nroff-mode-map): Bind it to C-c C-c.
5800
5801 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * emacs-lisp/smie.el (smie-down-list): New command.
5804
5805 Remove old indentation and navigation code on octave-mode.
5806 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5807 smie-down-list rather than add a binding for octave-down-block.
5808 (octave-mark-block, octave-blink-matching-block-open):
5809 Rely on forward-sexp-function.
5810 (octave-fill-paragraph): Don't narrow, so you can use
5811 indent-according-to-mode.
5812 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5813 (octave-in-block-p, octave-re-search-forward-kw)
5814 (octave-re-search-backward-kw, octave-indent-calculate)
5815 (octave-end-as-array-index-p, octave-block-end-offset)
5816 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5817 (octave-down-block, octave-backward-up-block, octave-up-block)
5818 (octave-before-magic-comment-p, octave-indent-line): Remove.
5819
5820 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5821
5822 * emacs-lisp/package.el (package--read-archive-file): Just use
5823 `read', to avoid copying an additional string.
5824 (package-menu-mode): Set header-line-format here.
5825 (package-menu-refresh, package-menu-revert): Signal an error if
5826 not in the Package Menu.
5827 (package-menu-package-list): New var.
5828 (package--generate-package-list): Operate on the current buffer;
5829 don't assume that it is *Packages*, since the user may rename it.
5830 Allow persistent package listings and sort keys using
5831 package-menu-package-list and package-menu-package-sort-key.
5832 (package-menu--version-predicate): Fix version calculation.
5833 (package-menu-sort-by-column): Don't select the window.
5834 (package--list-packages): Create the *Packages* buffer.
5835 Set package-menu-package-list-key.
5836 (list-packages): Sorting by status is now the default.
5837 (package-buffer-info): Use match-string-no-properties.
5838 (define-package): Add a &rest argument for future proofing, but
5839 don't use it yet.
5840 (package-install-from-buffer, package-install-buffer-internal):
5841 Merge into a single function, package-install-from-buffer.
5842 (package-install-file): Change caller.
5843
5844 * finder.el: Load finder-inf using `require'.
5845 (finder-list-matches): Sorting by status is now the default.
5846 (finder-compile-keywords): Simpify printing.
5847
5848 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5851 (octave-mode-map): Remove special bindings for forward/backward-block
5852 and octave-backward-up-block. Use smie-close-block.
5853 (octave-continuation-marker-regexp): New var.
5854 (octave-continuation-regexp): Use it.
5855 (octave-operator-table, octave-smie-op-levels)
5856 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5857 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5858 (octave-mode): Use SMIE.
5859 (octave-close-block): Delete.
5860
5861 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5862
5863 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5864 CLIPBOARD, not in PRIMARY. (Bug#6944)
5865
5866 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5869 a list of parents.
5870 (smie-indent-column): Allow indirection through variables.
5871
5872 * composite.el (save-buffer-state): Delete, unused.
5873 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5874 (font-lock-default-fontify-region): Use with-syntax-table.
5875 * jit-lock.el (with-buffer-unmodified): Remove.
5876 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5877
5878 Use `declare' in defmacros.
5879 * window.el (save-selected-window):
5880 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5881 * progmodes/python.el (def-python-skeleton):
5882 * net/dbus.el (dbus-ignore-errors):
5883 * jka-cmpr-hook.el (with-auto-compression-mode):
5884 * international/mule.el (with-category-table):
5885 * emacs-lisp/timer.el (with-timeout):
5886 * emacs-lisp/lisp-mnt.el (lm-with-file):
5887 * emacs-lisp/eieio.el (with-slots):
5888 * emacs-lisp/easymenu.el (easy-menu-define):
5889 * emacs-lisp/debug.el (debugger-env-macro):
5890 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5891 (Multiple-value-call, Multiple-value-prog1):
5892 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5893 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5894 edebug rule to definition.
5895 * emacs-lisp/lisp-mode.el (save-selected-window)
5896 (with-current-buffer, combine-after-change-calls)
5897 (with-output-to-string, with-temp-file, with-temp-buffer)
5898 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5899 (dolist, dotimes, when, unless):
5900 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5901
5902 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5903
5904 * finder.el: Require `package'.
5905 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5906 (finder-package-info): Var deleted.
5907 (finder-keywords-hash, finder--builtins-alist): New vars.
5908 (finder-compile-keywords): Compute package--builtins and
5909 finder-keywords-hash instead of finder-keywords-hash, respecting
5910 the "Package" header.
5911 (finder-unknown-keywords, finder-list-matches):
5912 Use finder-keywords-hash and package--list-packages.
5913 (finder-mode): Don't set font-lock-defaults.
5914 (finder-exit): We don't use "*Finder-package*" and "*Finder
5915 Category*" buffers anymore.
5916
5917 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5918 (package--builtins): Set default value to nil.
5919 (package-initialize): Load precomputed value of package--builtins
5920 from finder-inf.el.
5921 (package-alist, package-compute-transaction)
5922 (package-download-transaction): Improve docstring.
5923 (package-read-all-archive-contents): Do not change
5924 package--builtins here.
5925 (list-packages): Make package-list-packages an alias for this.
5926 Sort by status by default.
5927 (package--list-packages): Add optional PACKAGES arg.
5928 (describe-package-1): Use font-lock-face property. For built-in
5929 packages, insert file commentary.
5930 (package--generate-package-list): Rename from
5931 package-list-packages-internal; all callers changed. Add optional
5932 PACKAGES arg. Add alphabetical sort fallbacks.
5933 (package-menu--version-predicate, package-menu--status-predicate)
5934 (package-menu--description-predicate)
5935 (package-menu--name-predicate): New functions.
5936
5937 * info.el (Info-finder-find-node): Search package-alist instead of
5938 finder-package-info.
5939
5940 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5941
5942 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5943 "alpha" and "beta".
5944 (version-to-list): Handle versions like "10.3d".
5945
5946 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5947
5948 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5949 (macroexp-accumulate): Use `declare'.
5950
5951 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5952
5953 * whitespace.el (whitespace-style): Adjust type declaration.
5954
5955 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5956
5957 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5958 empty argument to gvfs-copy.
5959
5960 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5961
5962 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5963 handle new TRASH arg of `delete-file'.
5964
5965 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5966
5967 * net/tramp.el (tramp-handle-insert-directory): Don't use
5968 `forward-word', its default syntax could be changed.
5969
5970 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5971 Michael Albinus <michael.albinus@gmx.de>
5972
5973 Implement compression for inline methods.
5974
5975 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5976 (tramp-copy-size-limit): Allow also nil.
5977 (tramp-inline-compress-commands): New defconst.
5978 (tramp-find-inline-compress, tramp-get-inline-compress)
5979 (tramp-get-inline-coding): New defuns.
5980 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5981 replaced by `tramp-get-inline-coding'.
5982 (tramp-handle-file-local-copy, tramp-handle-write-region)
5983 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5984
5985 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5986
5987 Detect ssh 'ControlMaster' argument automatically in some cases.
5988
5989 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5990 (tramp-default-method): Use it.
5991
5992 2010-08-26 Karel Klíč <kklic@redhat.com>
5993
5994 * net/tramp.el (tramp-file-name-for-operation):
5995 Add file-selinux-context.
5996
5997 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5998
5999 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6000
6001 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6002
6003 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6004 (Bug#6907).
6005
6006 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6007
6008 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6009 (js-paren-indent-offset, js-square-indent-offset)
6010 (js-curly-indent-offset): New options.
6011 (js--proper-indentation): Use them.
6012
6013 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6014
6015 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6016 instead of inspecting font-lock properties (Bug#6916).
6017
6018 2010-08-26 David Reitter <david.reitter@gmail.com>
6019
6020 * server.el (server-visit-files): Run pre-command-hook and
6021 post-command-hook for each buffer while it is current (Bug#6910).
6022 (server-execute): Do not run hooks here.
6023
6024 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6025
6026 Sync with Tramp 2.1.19.
6027
6028 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6029 (tramp-reporter-dump-variable, tramp-load-report-modules)
6030 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6031 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6032
6033 * net/tramp-compat.el (top): Do not autoload
6034 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6035 only when `start-file-process' is not bound.
6036 (byte-compile-not-obsolete-vars): Define if not bound.
6037 (tramp-compat-funcall): New defmacro.
6038 (tramp-compat-line-beginning-position)
6039 (tramp-compat-line-end-position)
6040 (tramp-compat-temporary-file-directory)
6041 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6042 (tramp-compat-copy-file, tramp-compat-copy-directory)
6043 (tramp-compat-delete-file, tramp-compat-delete-directory)
6044 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6045 Use it.
6046 (tramp-advice-file-expand-wildcards): Do not use
6047 `tramp-handle-file-remote-p'.
6048 (tramp-compat-make-temp-file): Simplify fallback implementation.
6049 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6050 (tramp-compat-copy-tree): Remove function.
6051 (tramp-compat-delete-file): New defun.
6052 (tramp-compat-delete-directory): Provide implementation for older
6053 Emacsen.
6054 (tramp-compat-file-attributes): Handle only
6055 `wrong-number-of-arguments' error.
6056
6057 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6058 Add PRESERVE_SELINUX_CONTEXT.
6059 (tramp-fish-handle-delete-file): Add TRASH arg.
6060 (tramp-fish-handle-directory-files-and-attributes):
6061 Do not use `tramp-fish-handle-file-attributes.
6062 (tramp-fish-handle-file-local-copy)
6063 (tramp-fish-handle-insert-file-contents)
6064 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6065
6066 * net/tramp-gvfs.el (top): Require url-util.
6067 (tramp-gvfs-mount-point): Remove.
6068 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6069 and `set-file-selinux-context'.
6070 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6071 (tramp-gvfs-handle-file-selinux-context)
6072 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6073 (with-tramp-dbus-call-method): Format trace message.
6074 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6075 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6076 Implement backup call, when operation on local files fails.
6077 Use progress reporter. Flush properties of changed files.
6078 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6079 Use `tramp-compat-delete-file'.
6080 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6081 (tramp-gvfs-handle-make-directory): Make more traces.
6082 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6083 (tramp-gvfs-url-file-name): Hexify file name in url.
6084 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6085 into account for the resulting file name.
6086 (tramp-gvfs-handler-askquestion): Preserve current message, in
6087 order to let progress reporter continue afterwards. (Bug#6257)
6088 Return dummy mountpoint, when the answer is "no".
6089 See `tramp-gvfs-maybe-open-connection'.
6090 (tramp-gvfs-handler-mounted-unmounted)
6091 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6092 attribute "default_location". Set "prefix" property.
6093 Handle default-location.
6094 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6095 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6096 exists. Raise an error, if not (due to a corresponding answer
6097 "no" in interactive questions, for example).
6098 Use `tramp-compat-funcall'.
6099
6100 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6101 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6102 (tramp-imap-do-copy-or-rename-file)
6103 (tramp-imap-handle-insert-file-contents)
6104 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6105 (tramp-imap-handle-delete-file): Add TRASH arg.
6106
6107 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6108 Add PRESERVE-SELINUX-CONTEXT.
6109 (tramp-smb-handle-copy-file)
6110 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6111 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6112 Use `with-progress-reporter'.
6113 (tramp-smb-handle-delete-file): Add TRASH arg.
6114
6115 * net/tramp.el (tramp-methods): Move hostname to the end in all
6116 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6117 appropriate.
6118 (tramp-verbose): Describe verbose level 9.
6119 (tramp-completion-function-alist)
6120 (tramp-file-name-regexp, tramp-chunksize)
6121 (tramp-local-coding-commands, tramp-remote-coding-commands)
6122 (with-connection-property, tramp-completion-mode-p)
6123 (tramp-action-process-alive, tramp-action-out-of-band)
6124 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6125 (tramp-exists-file-name-handler): Fix docstring.
6126 (tramp-remote-process-environment): Use `format' instead of
6127 `concat'. Protect version string by apostroph.
6128 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6129 XEmacs.
6130 (tramp-file-name-regexp-unified)
6131 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6132 not regard the volume letter as remote filename. (Bug#5447)
6133 (tramp-perl-file-attributes)
6134 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6135 (tramp-vc-registered-read-file-names): Read input as
6136 here-document, otherwise the command could exceed maximum length
6137 of command line.
6138 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6139 `set-file-selinux-context'.
6140 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6141 backtrace functions.
6142 (tramp-error-with-buffer): Don't show the connection buffer when
6143 we are in completion mode.
6144 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6145 (tramp-handle-file-selinux-context)
6146 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6147 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6148 New defuns.
6149 (with-progress-reporter): New defmacro.
6150 (tramp-debug-outline-regexp): New defconst.
6151 (top, tramp-rfn-eshadow-setup-minibuffer)
6152 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6153 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6154 (tramp-completion-mode-p, tramp-check-for-regexp)
6155 (tramp-open-connection-setup-interactive-shell)
6156 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6157 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6158 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6159 Use `tramp-compat-funcall'.
6160 (tramp-handle-make-symbolic-link): Flush file properties.
6161 (tramp-handle-load, tramp-handle-file-local-copy)
6162 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6163 (tramp-handle-vc-registered, tramp-maybe-send-script)
6164 (tramp-find-shell): Use `with-progress-reporter'.
6165 (tramp-do-file-attributes-with-stat): Add space in format string,
6166 in order to work around a bug in pdksh. Reported by Gilles Pion
6167 <gpion@lfdj.com>.
6168 (tramp-handle-verify-visited-file-modtime): Do not send a command
6169 when the connection is not established.
6170 (tramp-handle-set-file-times): Simplify the check for utc.
6171 (tramp-handle-directory-files-and-attributes)
6172 (tramp-get-remote-path): Use `copy-tree'.
6173 (tramp-completion-handle-file-name-all-completions): Ensure, that
6174 non remote files are still checked. Oops.
6175 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6176 Handle PRESERVE-SELINUX-CONTEXT.
6177 (tramp-do-copy-or-rename-file): Add progress reporter.
6178 (tramp-do-copy-or-rename-file-directly): Do not use
6179 `tramp-handle-file-remote-p'.
6180 (tramp-do-copy-or-rename-file-out-of-band):
6181 Use `tramp-compat-delete-directory'.
6182 (tramp-do-copy-or-rename-file-out-of-band)
6183 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6184 Use `format-spec-make'.
6185 (tramp-handle-delete-file): Add TRASH arg.
6186 (tramp-handle-dired-uncache): Flush directory cache, not only file
6187 cache.
6188 (tramp-handle-expand-file-name)
6189 (tramp-completion-handle-file-name-all-completions)
6190 (tramp-completion-handle-file-name-completion):
6191 Use `tramp-connectable-p'.
6192 (tramp-handle-start-file-process): Set connection property "vec".
6193 Use it, in order to invalidate file caches. Check only for
6194 `remote-tty' process property.
6195 Implement tty setting. (Bug#4604, Bug#6360)
6196 (tramp-file-name-for-operation): Add `call-process-region' and
6197 `set-file-selinux-context'.
6198 (tramp-find-foreign-file-name-handler)
6199 (tramp-advice-make-auto-save-file-name)
6200 (tramp-set-auto-save-file-modes): Remove superfluous check for
6201 `stringp'. This is done inside `tramp-tramp-file-p'.
6202 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6203 operations when we are in completion mode. This gives the user
6204 the chance to correct the file name in the minibuffer.
6205 (tramp-completion-mode-p): Use `non-essential'.
6206 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6207 compatibility: Use `completion-ignore-case' if
6208 `read-file-name-completion-ignore-case' does not exist.
6209 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6210 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6211 `tramp-open-shell'.
6212 (tramp-action-password): Hide password prompt before next run.
6213 (tramp-process-actions): Widen connection buffer for the trace.
6214 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6215 process property. Trace stty settings if `tramp-verbose' >= 9.
6216 Apply workaround for IRIX64 bug. Move argument of last
6217 `tramp-send-command' where it belongs to.
6218 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6219 front of `login-args'.
6220 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6221 on "/dev/null" instead of "/".
6222 (tramp-get-ls-command-with-dired): Make test for "--dired"
6223 stronger.
6224 (tramp-set-auto-save-file-modes): Adapt version check.
6225 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6226 (tramp-handle-process-file): Call the program in a subshell, in
6227 order to preserve working directory.
6228 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6229 `tramp-remote-sh' from `tramp-methods'.
6230 (tramp-get-ls-command): Make test for "--color=never" stronger.
6231 (tramp-check-for-regexp): Use (forward-line 1).
6232
6233 * net/trampver.el: Update release number.
6234
6235 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6236
6237 * help.el (help-map): Bind `C-h P' to describe-package.
6238
6239 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6240
6241 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6242 when downloading archives.
6243 (describe-package-1): Add package commentary.
6244 (package-install-button-action): New function.
6245 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6246 (package-menu-view-commentary): Function removed.
6247 (package-list-packages-internal): Hide the `package' package too.
6248
6249 2010-08-25 Kenichi Handa <handa@m17n.org>
6250
6251 * language/misc-lang.el ("Arabic"): New language environment.
6252 Setup composition-function-table for Arabic characters.
6253
6254 * international/fontset.el (setup-default-fontset): Fix typo for
6255 arabic OTF spec (fini->fina).
6256
6257 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6258
6259 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6260 on all frames.
6261
6262 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6263
6264 * whitespace.el: Allow cleaning up blanks without blank
6265 visualization (Bug#6651). Adjust help window for
6266 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6267 instead of whitespace-line-column (from EmacsWiki). New version
6268 13.1.
6269 (whitespace-style): Add new value 'face. Adjust docstring.
6270 (whitespace-space, whitespace-hspace, whitespace-tab):
6271 Adjust foreground property face.
6272 (whitespace-line-column): Adjust docstring and type declaration.
6273 (whitespace-style-value-list, whitespace-toggle-option-alist)
6274 (whitespace-help-text): Adjust const initialization.
6275 (whitespace-toggle-options, global-whitespace-toggle-options):
6276 Adjust docstring.
6277 (whitespace-display-window, whitespace-interactive-char)
6278 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6279 (whitespace-help-scroll): New fun.
6280
6281 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6282
6283 * emacs-lisp/package.el (list-packages): Alias for
6284 package-list-packages.
6285
6286 2010-08-24 Kevin Ryde <user42@zip.com.au>
6287
6288 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6289 (Bug#5651).
6290
6291 * progmodes/ruby-mode.el (ruby): Add defgroup.
6292
6293 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6294
6295 * progmodes/python.el: Add Ipython support (Bug#5390).
6296 (python-shell-prompt-alist)
6297 (python-shell-continuation-prompt-alist): New options.
6298 (python--set-prompt-regexp): New function.
6299 (inferior-python-mode, run-python, python-shell):
6300 Require ansi-color. Use python--set-prompt-regexp to set the comint
6301 prompt based on the Python interpreter.
6302 (python--prompt-regexp): New var.
6303 (python-check-comint-prompt)
6304 (python-comint-output-filter-function): Use it.
6305 (run-python): Use a pipe (Bug#5694).
6306
6307 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6308
6309 * progmodes/python.el (python-send-region): Send a different
6310 Python command if Ipython is in use.
6311 (python-check-version): Use a Python command to find the version.
6312
6313 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6314
6315 * mouse.el (mouse-yank-primary): Avoid setting primary when
6316 deactivating the mark (Bug#6872).
6317
6318 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6319
6320 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6321 with "else" (Bug#3991).
6322
6323 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6324
6325 * net/dbus.el: Accept UNIX domain sockets as bus address.
6326 (top): Don't initialize `dbus-registered-objects-table' anymore,
6327 this is done in dbusbind,c.
6328 (dbus-check-event): Adapt test for bus.
6329 (dbus-return-values-table, dbus-unregister-service)
6330 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6331 Adapt doc string.
6332
6333 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6334
6335 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6336
6337 2010-08-22 Juri Linkov <juri@jurta.org>
6338
6339 * simple.el (read-extended-command): New function with the logic
6340 for `completing-read' moved to Elisp from `execute-extended-command'.
6341 Use `function-called-at-point' in `minibuffer-default-add-function'
6342 to get a command name for M-n (bug#5364, bug#5214).
6343
6344 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6345
6346 * startup.el (command-line-1): Issue warning for ignored arguments
6347 --unibyte, etc (Bug#6886).
6348
6349 2010-08-22 Leo <sdl.web@gmail.com>
6350
6351 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6352 (ignore, bright, dim, keyword): Split list of nicknames before
6353 passing to rcirc-add-or-remove (Bug#6894).
6354
6355 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6356
6357 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6358
6359 2010-08-22 Leo <sdl.web@gmail.com>
6360
6361 Fix buffer-list rename&refresh after killing a buffer in ido.
6362 * ido.el: Revert Óscar's.
6363 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6364 Remember the buffers at head, rather than their name.
6365 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6366
6367 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6368 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6371 extra backslash added to each line (bug#6890).
6372
6373 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6376
6377 2010-08-22 Glenn Morris <rgm@gnu.org>
6378
6379 * menu-bar.el (menu-bar-games-menu): Add landmark.
6380
6381 2010-08-22 Glenn Morris <rgm@gnu.org>
6382
6383 * align.el (align-regexp): Make group and spacing arguments
6384 use the interactive defaults when non-interactive. (Bug#6698)
6385
6386 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6387 expansion, so as not to need sendmail.
6388 (mail-text-start): Remove declaration.
6389 (rmail-retry-failure): Require sendmail.
6390
6391 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6392
6393 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6394
6395 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6396
6397 * progmodes/flymake.el (flymake-start-syntax-check-process):
6398 Use `start-file-process' in order to let it run also on remote hosts.
6399
6400 2010-08-22 Kenichi Handa <handa@m17n.org>
6401
6402 * files.el: Add `word-wrap' as safe local variable.
6403
6404 2010-08-22 Glenn Morris <rgm@gnu.org>
6405
6406 * woman.el (woman-translate): Case matters. (Bug#6849)
6407
6408 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6409
6410 * simple.el (kill-region): Doc fix (Bug#6787).
6411
6412 2010-08-22 Glenn Morris <rgm@gnu.org>
6413
6414 * calendar/diary-lib.el (diary-header-line-format):
6415 Fit it to the window, not the frame.
6416
6417 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6418
6419 * subr.el (ignore-errors): Add debug declaration.
6420
6421 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6422
6423 * whitespace.el (whitespace-color-off): Remove post-command-hook
6424 locally.
6425
6426 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6429
6430 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6431
6432 * cus-edit.el (custom-group-value-create): Add extra newline
6433 before end line (Bug#6876).
6434
6435 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6436
6437 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6438 when extending it. Before killing on the second click, check if
6439 the buffer is the correct one. Doc fix.
6440 (mouse-secondary-save-then-kill): Allow usage without first
6441 calling mouse-start-secondary, by defaulting to point. Don't save
6442 an empty secondary selection. Doc fix.
6443
6444 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6445
6446 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6447 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6448 New version 13.0.
6449 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6450 Adjust initialization.
6451 (whitespace-bob-marker, whitespace-eob-marker)
6452 (whitespace-buffer-changed): New vars.
6453 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6454 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6455 (whitespace-post-command-hook, whitespace-display-char-on):
6456 Adjust code.
6457 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6458 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6459
6460 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * files.el (locate-file-completion-table): Only list the .el and .elc
6463 extensions if there's no other choice (bug#5955).
6464
6465 * facemenu.el (facemenu-self-insert-data): New var.
6466 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6467 New functions.
6468 (facemenu-add-face): Use them.
6469
6470 * simple.el (blink-matching-open): Obey forward-sexp-function.
6471
6472 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * simple.el (prog-mode-map): New var.
6475 (prog-indent-sexp): New command.
6476
6477 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6478
6479 * progmodes/prolog.el (smie): Require.
6480
6481 * emacs-lisp/smie.el (smie-default-backward-token)
6482 (smie-default-forward-token): Strip properties.
6483 (smie-next-sexp): Be more careful with associative operators.
6484 (smie-forward-sexp-command): Generalize.
6485 (smie-backward-sexp-command): Simplify.
6486 (smie-closer-alist): New var.
6487 (smie-close-block): New command.
6488 (smie-indent-debug-log): New var.
6489 (smie-indent-offset-rule): Add a few more cases.
6490 (smie-indent-column): New function.
6491 (smie-indent-after-keyword): Use it.
6492 (smie-indent-keyword): Use it.
6493 Fix up the opener code's point position.
6494 (smie-indent-comment): Only applies at BOL.
6495 (smie-indent-debug): New command.
6496
6497 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6498 declarations that are useful before running the macro.
6499
6500 2010-08-18 Joakim Verona <joakim@verona.se>
6501
6502 * image.el (imagemagick-types-inhibit): New variable.
6503 (imagemagick-register-types): New function.
6504 * image-mode.el (image-transform-properties): New function.
6505 (image-transform-set-scale, image-transform-fit-to-height)
6506 (image-transform-set-rotation, image-transform-set-resize)
6507 (image-transform-fit-to-width, image-transform-fit-to-height):
6508 New functions.
6509 (image-toggle-display-image): Support image transforms.
6510
6511 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6512
6513 * image.el (create-animated-image): Don't add heuristic mask to image
6514 (Bug#6839).
6515
6516 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6517
6518 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6519 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6520
6521 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6524
6525 Font-lock '...' strings, plus various simplifications and fixes.
6526 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6527 (octave-font-lock-close-quotes): New function.
6528 (octave-font-lock-syntactic-keywords): New var.
6529 (octave-mode): Use it. Set beginning-of-defun-function.
6530 (octave-mode-map): Don't override the <foo>-defun commands.
6531 (octave-mode-menu): Pass it directly to easy-menu-define;
6532 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6533 (octave-block-match-alist): Fix up last change so that
6534 octave-close-block uses the more specific keyword.
6535 (info-lookup-mode): Silence byte-compiler.
6536 (octave-beginning-of-defun): Not interactive any more.
6537 Optimize slightly.
6538 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6539 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6540 (octave-completion-at-point-function): Make sure point is within
6541 beg..end.
6542 (octave-reindent-then-newline-and-indent):
6543 Use reindent-then-newline-and-indent.
6544 (octave-add-octave-menu): Remove.
6545
6546 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6547
6548 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6549 (report-emacs-bug-can-use-xdg-email): New functions.
6550 (report-emacs-bug): Set can-xdg-email to result of
6551 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6552 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6553 about it.
6554
6555 * net/browse-url.el (browse-url-default-browser): Add cond
6556 for browse-url-xdg-open.
6557 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6558
6559 2010-08-17 Glenn Morris <rgm@gnu.org>
6560
6561 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6562 (c-fontify-recorded-types-and-refs): Define for compiler.
6563 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6564 before use.
6565
6566 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6567 Fix format call.
6568
6569 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6570
6571 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6572 properties.
6573 (tramp-handle-process-file): Call the program in a subshell, in
6574 order to preserve working directory.
6575 (tramp-action-password): Hide password prompt before next run.
6576 (tramp-process-actions): Widen connection buffer for the trace.
6577
6578 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6579
6580 * net/rcirc.el (rcirc-log-process-buffers): New option.
6581 (rcirc-print): Use it.
6582 (rcirc-generate-log-filename): New function.
6583 (rcirc-log-filename-function): Change default to
6584 rcirc-generate-log-filename (Bug#6828).
6585
6586 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6587
6588 * simple.el (deactivate-mark): If select-active-regions is `only',
6589 only set selection for temporarily active regions.
6590
6591 * cus-start.el: Change defcustom for select-active-regions.
6592
6593 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6594
6595 * mouse.el (mouse--drag-set-mark-and-point): New function.
6596 (mouse-drag-track): Use LOCATION arg to push-mark.
6597 Use mouse--drag-set-mark-and-point to take click-count into
6598 consideration when updating point and mark (Bug#6840).
6599
6600 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6601
6602 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6603 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6604
6605 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6606
6607 * font-lock.el (lisp-font-lock-keywords-2):
6608 Add combine-after-change-calls, condition-case-no-debug,
6609 with-demoted-errors, and with-silent-modifications (Bug#6025).
6610
6611 2010-08-14 Kevin Ryde <user42@zip.com.au>
6612
6613 * emacs-lisp/copyright.el (copyright-update-year)
6614 (copyright-update): Temporary switch-to-buffer to ensure the
6615 buffer change being queried is visible (Bug#5394).
6616
6617 2010-08-14 Tom Tromey <tromey@redhat.com>
6618
6619 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6620 (Bug#6733).
6621
6622 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6623
6624 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6625 MS-DOS. (Bug#6689)
6626
6627 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6628
6629 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6630 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6631 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6632 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6633 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6634 Call menu-bar-set-tool-bar-position.
6635
6636 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6639 comment style (bug#6834).
6640 * progmodes/scheme.el (scheme-mode-syntax-table):
6641 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6642 "b" flag in "' 14b" syntax.
6643
6644 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6645 for (un)commenting the region and performing completion.
6646 (octave-mode-menu): Use standard commands for help and completion.
6647 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6648 (octave-mode): Use define-derived-mode.
6649 Set completion-at-point-functions and don't set columns.
6650 Don't disable adaptive-fill-regexp.
6651 (octave-describe-major-mode, octave-comment-region)
6652 (octave-uncomment-region, octave-comment-indent)
6653 (octave-indent-for-comment): Remove.
6654 (octave-indent-calculate): Rename from calculate-octave-indent.
6655 (octave-indent-line, octave-fill-paragraph): Update caller.
6656 (octave-initialize-completions): No need to make an alist.
6657 (octave-completion-at-point-function): New function.
6658 (octave-complete-symbol): Use it.
6659 (octave-insert-defun): Use define-skeleton.
6660
6661 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6662 (octave-mode-map): Use comment-dwim (bug#6829).
6663
6664 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6665
6666 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6667 indentation of inserted comment.
6668
6669 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6670
6671 * faces.el (region): Add type gtk that uses gtk colors.
6672
6673 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6674 Handle theme-name change.
6675
6676 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6677
6678 * progmodes/sql.el: Version 2.5
6679 (sql-product-alist): Add :prompt-cont-regexp property for several
6680 database products.
6681 (sql-prompt-cont-regexp): New variable.
6682 (sql-output-newline-count, sql-output-by-send):
6683 New variables. Record number of newlines in input text.
6684 (sql-send-string): Handle multiple filters and count newlines.
6685 (sql-send-magic-terminator): Count terminator newline.
6686 (sql-interactive-remove-continuation-prompt): Filters output to
6687 remove continuation prompts; one for each newline.
6688 (sql-interactive-mode): Set up new variables, prompt regexp and
6689 output filter.
6690 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6691 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6692
6693 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6694
6695 * emacs-lisp/pcase.el: New file.
6696
6697 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6698
6699 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6700 as here-document, otherwise the command could exceed maximum
6701 length of command line.
6702 (tramp-handle-vc-registered): Call script accordingly.
6703 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6704
6705 2010-08-10 Kenichi Handa <handa@m17n.org>
6706
6707 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6708 composable pattern.
6709
6710 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6711
6712 * emacs-lisp/package.el (package-version-split)
6713 (package--version-first-nonzero, package-version-compare):
6714 Functions removed.
6715 (package-directory-list, package-load-all-descriptors)
6716 (package--built-in, package-activate, define-package)
6717 (package-installed-p, package-compute-transaction)
6718 (package-read-all-archive-contents)
6719 (package--add-to-archive-contents, package-buffer-info)
6720 (package-tar-file-info, package-list-packages-internal):
6721 Use version-to-list and version-list-*.
6722
6723 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6724 Use version-to-list.
6725 (package-upload-buffer-internal): Use version-list-<=.
6726
6727 2010-08-09 Kenichi Handa <handa@m17n.org>
6728
6729 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6730 composable pattern.
6731
6732 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6733
6734 * tutorial.el (tutorial--default-keys): C-d is now bound to
6735 delete-forward-char (Bug#6826).
6736
6737 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6738 for `double' value of mouse-1-click-follows-link (Bug#6807).
6739
6740 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6741
6742 * replace.el (replace-highlight): Bind isearch-forward and
6743 isearch-error, ensuring that highlighting is updated if the user
6744 switches the search direction (Bug#6808).
6745
6746 * isearch.el (isearch-lazy-highlight-forward): New var.
6747 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6748 (isearch-lazy-highlight-update): Use it.
6749
6750 2010-08-08 Kenichi Handa <handa@m17n.org>
6751
6752 * international/mule.el (define-charset): Store NAME as :base property.
6753 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6754 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6755 current priority. Force using the designation of the specific
6756 charset by adding `charset' text property. Improve the whole algorithm.
6757
6758 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6759
6760 * emulation/pc-select.el (pc-selection-mode-hook)
6761 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6762 (pc-selection-mode): Fix typos in docstrings.
6763
6764 2010-08-08 Kenichi Handa <handa@m17n.org>
6765
6766 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6767 ctext-non-standard-encodings-alist here.
6768
6769 * international/mule.el (ctext-non-standard-encodings-alist):
6770 Add "koi8-r" and "microsoft-cp1251".
6771 (ctext-standard-encodings): New variable.
6772 (ctext-non-standard-encodings-table): List only elements for
6773 non-standard encodings.
6774 (ctext-pre-write-conversion): Adjust for the above change.
6775 Check ctext-standard-encodings.
6776
6777 * international/mule-conf.el (compound-text): Doc fix.
6778 (ctext-no-compositions): Doc fix.
6779 (compound-text-with-extensions): Doc fix.
6780
6781 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6784
6785 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6786
6787 * progmodes/which-func.el (which-func-format): Split help-echo text
6788 into lines, like other mode-line tooltips.
6789
6790 * server.el (server-start): When using TCP sockets, force IPv4
6791 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6792
6793 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6794
6795 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6796
6797 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6798
6799 * term.el (term-delimiter-argument-list): Reflow docstring.
6800 (term-read-input-ring, term-write-input-ring, term-send-input)
6801 (term-bol, term-erase-in-display, serial-supported-or-barf):
6802 Fix typos in docstrings.
6803
6804 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6807
6808 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6809
6810 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6811
6812 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6813
6814 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6815 Fix typo in docstring (bug#6747).
6816
6817 2010-08-08 Leo <sdl.web@gmail.com>
6818
6819 * eshell/esh-io.el (eshell-get-target): Better detection of
6820 read-only file (Bug#6762).
6821
6822 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6823
6824 * align.el (align-default-spacing): Doc fix.
6825 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6826
6827 2010-08-08 Stephen Peters <speters@itasoftware.com>
6828
6829 * calendar/icalendar.el
6830 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6831 (icalendar--get-weekday-numbers): New.
6832 (icalendar--convert-recurring-to-diary): Handle multiple byday
6833 values in weekly rules. (Bug#6766)
6834
6835 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6836
6837 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6838 (icalendar--create-uid, icalendar-export-region)
6839 (icalendar--parse-summary-and-rest): Code formatting.
6840
6841 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6842
6843 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6844 to italicize headers.
6845 (calc-highlight-selections-with-faces): New variable.
6846 (calc-selected-face, calc-nonselected-face): New faces.
6847
6848 * calc/calccomp.el (math-comp-highlight-string): Use
6849 `calc-highlight-selections-with-faces' to determine how to highlight
6850 sub-formulas.
6851
6852 * calc/calc-sel.el (calc-show-selections): Change message to when
6853 using faces to highlight selections.
6854
6855 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6856
6857 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6858 Add SQLite 3 keywords, functions and datatypes.
6859 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6860 (Bug#6686).
6861
6862 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6863
6864 * simple.el (select-active-regions): Move to keyboard.c.
6865 (deactivate-mark): Used saved-region-selection.
6866 (select-active-region): Function removed.
6867 (activate-mark, set-mark, push-mark-command)
6868 (handle-shift-selection): Don't call it.
6869 (keyboard-quit): Avoid adding the region to the window selection.
6870
6871 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6872 select-active-regions implementation.
6873 (mouse-yank-at-click): Doc fix.
6874
6875 * cus-start.el: Add custom declaration for select-active-regions.
6876
6877 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6878
6879 * simple.el (delete-forward-char): Doc fix.
6880
6881 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6882 after reading the tutorial.
6883
6884 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6885
6886 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6887 Fix for the case that a C style comment has its delimiters alone on
6888 their respective lines.
6889
6890 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6891
6892 * net/tramp.el (tramp-handle-start-file-process): Set connection
6893 property "vec".
6894 (tramp-process-sentinel): Use it for flushing the cache.
6895 We cannot do it via the process buffer, the buffer could be deleted
6896 already when running the sentinel.
6897
6898 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6899
6900 * comint.el (comint-mode): Make directory tracking functions
6901 functional on remote files. (Bug#6764)
6902
6903 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6904
6905 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6906
6907 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6908
6909 * emacs-lisp/find-gc.el (find-gc-source-files):
6910 Rename unexec.c => unexcoff.c.
6911
6912 * emacs-lisp/authors.el (authors-fixed-entries):
6913 Rename unexec.c => unexcoff.c.
6914
6915 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6916
6917 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6918 cache, not only file cache.
6919 (tramp-process-sentinel): New defun.
6920 (tramp-handle-start-file-process): Use it, in order to invalidate
6921 file caches.
6922
6923 2010-08-03 Leo <sdl.web@gmail.com>
6924
6925 * server.el (server-start): Simplify loop.
6926
6927 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * frame.el (screen-height, screen-width, set-screen-width)
6930 (set-screen-height): Remove ancient compatibility aliases.
6931
6932 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6933 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6934
6935 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6936 that change current buffer.
6937
6938 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6939
6940 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6941 beginning of the string. Use `string-match-p'. (Bug#6765)
6942
6943 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6944
6945 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6946
6947 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6948
6949 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6950 (package--builtins): Tweak descriptions.
6951 (package-print-package): Upcase descriptions if necessary.
6952 Show all built-in packages in font-lock-builtin-face.
6953 (package-list-packages-internal): Omit "emacs" package.
6954 Show status of built-in packages as "built-in".
6955
6956 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6957
6958 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6959 before killing to preserve the primary selection (Bug#6701).
6960
6961 * term/x-win.el (x-select-text): Doc fix.
6962
6963 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6964
6965 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6966 (objc-font-lock-extra-types):
6967 * progmodes/cc-mode.el (c-basic-common-init):
6968 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6969 (c++-make-template-syntax-table)
6970 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6971 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6972 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6973 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6974 * progmodes/cc-fonts.el (c-make-inverse-face)
6975 (c-basic-matchers-after):
6976 * progmodes/cc-engine.el (c-forward-keyword-clause)
6977 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6978 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6979 (c-guess-continued-construct, c-guess-basic-syntax):
6980 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6981 The above functions were modified or created.
6982
6983 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6984
6985 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6986
6987 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6988
6989 * files.el (bidi-paragraph-direction): Define safe local values.
6990
6991 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6992 language-info-alist. Remove outdated FIXME in a comment.
6993
6994 2010-07-31 Alan Mackenzie <acm@muc.de>
6995
6996 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6997 Auto-fill broken in C/C++ modes.
6998
6999 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7000
7001 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7002 (menu-bar-showhide-tool-bar-menu-customize-disable)
7003 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7004 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7005 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7006 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7007 make a menu for Options => toolbar that can move it.
7008
7009 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7010
7011 * emacs-lisp/package-x.el (package--make-rss-entry):
7012 (package-maint-add-news-item, package--update-news)
7013 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7014
7015 * emacs-lisp/package.el (package-archive-url): Rename from
7016 package-archive-id.
7017 (package-install): Doc fix.
7018 (package-download-single, package-download-tar, package-install)
7019 (package-menu-view-commentary): Callers changed.
7020
7021 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7022
7023 * net/tramp.el (tramp-handle-start-file-process): Check only for
7024 `remote-tty' process property.
7025 (tramp-open-shell): Don't check for tty.
7026 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7027 process property.
7028
7029 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7030 host.
7031
7032 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7033
7034 * emacs-lisp/package.el (package-load-list, package-archives)
7035 (package-archive-contents, package-user-dir)
7036 (package-directory-list, package--builtins, package-alist)
7037 (package-activated-list, package-obsolete-alist): Mark as risky.
7038
7039 2010-07-28 Phil Hagelberg <phil@evri.com>
7040
7041 Add support for non-default package repositories.
7042 * emacs-lisp/package.el (package-archive-base): Var deleted.
7043 (package-archives): New variable.
7044 (package-archive-contents): Doc fix.
7045 (package-load-descriptor): Do nothing if descriptor file is missing.
7046 (package--write-file-no-coding): New function.
7047 (package-unpack-single): Use it.
7048 (package-archive-id): New function.
7049 (package-download-single, package-download-tar)
7050 (package-menu-view-commentary): Use it.
7051 (package-installed-p): Make second argument optional.
7052 (package-read-all-archive-contents): New function.
7053 (package-initialize): Use it.
7054 (package-read-archive-contents): Add ARCHIVE argument.
7055 (package--add-to-archive-contents): New function.
7056 (package-install): Don't call package-read-archive-contents.
7057 (package--download-one-archive): Store archive file in a
7058 subdirectory of package-user-dir.
7059 (package-menu-execute): Remove spurious line movement.
7060
7061 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7062
7063 * cus-start.el (tool-bar-style): Add text-image-horiz.
7064
7065 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7066
7067 * progmodes/gud.el (gud-common-init): Check for remoteness of
7068 `file', and not of `default-directory'.
7069
7070 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7071
7072 * net/tramp.el (tramp-methods): Move hostname to the end in all
7073 ssh `tramp-login-args'.
7074 (tramp-verbose): Describe verbose level 9.
7075 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7076 (tramp-open-connection-setup-interactive-shell): Trace stty
7077 settings if `tramp-verbose' >= 9.
7078 (tramp-handle-start-file-process): Implement tty setting.
7079 (Bug#4604, Bug#6360)
7080
7081 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7082 `tramp-verbose' to 9.
7083
7084 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7085
7086 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7087 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7088 Remove references to package `lisp-re' (bug#4369).
7089
7090 2010-07-27 Tom Tromey <tromey@redhat.com>
7091
7092 * progmodes/js.el (js-mode):
7093 * progmodes/make-mode.el (makefile-mode):
7094 * progmodes/simula.el (simula-mode):
7095 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7096
7097 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7098
7099 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7100
7101 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7102 (display-time-world-buffer-name, display-time-world-mode-map):
7103 Fix typos in docstrings.
7104
7105 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7106
7107 * image-mode.el (image-display-size): New function.
7108 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7109 (image-mode-fit-frame): Use it (Bug#6639).
7110
7111 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7112
7113 * dired.el (dired-buffers-for-dir): Handle list values of
7114 dired-directory (Bug#6636).
7115
7116 2010-07-26 Sam Steingold <sds@gnu.org>
7117
7118 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7119 Do not call `x-get-selection' the second time, reuse the value.
7120
7121 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7122
7123 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7124 which consist of control chars only. Suggested by Richard Stallman.
7125
7126 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7127
7128 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7129 exists before passing an error to find-file-not-found-functions
7130 (bug#6723).
7131
7132 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7133
7134 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7135 Remove leading nil element, adjust values.
7136 (tetris-shapes, tetris-shape-scores):
7137 Change representation of shapes and remove some redundancy.
7138 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7139 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7140 Adjust for working with new representation of shapes.
7141 (tetris-shape-rotations): New function.
7142 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7143 (tetris-rotate-prev, tetris-rotate-next):
7144 Adjust for working with the new version of tetris-test-shape.
7145
7146 2010-07-23 Markus Triska <markus.triska@gmx.at>
7147
7148 * progmodes/ps-mode.el: Use comint (bug#5954).
7149 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7150 (ps-mode-other-newline): Simplify.
7151 (ps-run-mode): Derive from comint-mode instead of
7152 fundamental-mode, yielding input history etc.
7153 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7154 (ps-run-send-string): Adapt for comint-mode.
7155 (ps-run-newline): Remove now unneeded function.
7156
7157 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7158
7159 * net/tramp.el (tramp-methods): Move hostname to the end in all
7160 plink `tramp-login-args'.
7161
7162 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7163
7164 * net/tramp.el (tramp-open-shell): New defun.
7165 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7166 Use it.
7167
7168 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7169
7170 * net/tramp.el (tramp-file-name-regexp-unified)
7171 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7172 not regard the volume letter as remote filename. (Bug#5447)
7173
7174 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7175
7176 * custom.el (custom-declare-variable): Give a clearer error message
7177 when the docstring is missing (bug#6476).
7178
7179 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7180
7181 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7182 (sql-login-params): New widget definition.
7183 (sql-oracle-login-params, sql-mysql-login-params)
7184 (sql-solid-login-params, sql-sybase-login-params)
7185 (sql-informix-login-params, sql-ingres-login-params)
7186 (sql-ms-login-params, sql-postgres-login-params)
7187 (sql-interbase-login-params, sql-db2-login-params)
7188 (sql-linter-login-params): Use it.
7189 (sql-sqlite-login-params): Use it; Define "database" parameter as
7190 a file name.
7191 (sql-sqlite-program): Change to "sqlite3".
7192 (sql-comint-sqlite): Make sure database name is complete.
7193 (sql-for-each-login): New function.
7194 (sql-connect, sql-save-connection): Use it.
7195 (sql-get-login-ext): New function.
7196 (sql-get-login): Use it.
7197 (sql-make-alternate-buffer-name): Handle :file parameters.
7198
7199 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7200
7201 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7202 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7203
7204 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7205
7206 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7207
7208 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7209
7210 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7211
7212 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7213
7214 * net/tramp.el (tramp-get-ls-command)
7215 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7216 instead of "/".
7217
7218 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7219
7220 * progmodes/sql.el: Version 2.3.
7221 (sql-connection-alist): Change keys from symbols to strings;
7222 enhanced the widget definition.
7223 (sql-mode-menu): Add submenu to select connections.
7224 (sql-interactive-mode-menu): Add "Save Connection" item.
7225 (sql-add-product): Fix menu item.
7226 (sql-get-product-feature): Improved error handling.
7227 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7228 (sql-make-alternate-buffer-name): Simplified.
7229 (sql-product-interactive): Handle missing product.
7230 (sql-connect): Support string keys, minor improvements.
7231 (sql-save-connection): New function.
7232 (sql-connection-menu-filter): New function.
7233
7234 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7235
7236 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7237 (tramp-open-connection-setup-interactive-shell):
7238 Apply workaround for IRIX64 bug. Move argument of last
7239 `tramp-send-command' where it belongs to.
7240
7241 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7242
7243 * net/tramp.el (tramp-perl-file-attributes)
7244 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7245 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7246 front of `login-args'.
7247
7248 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7249
7250 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7251 Set `show-trailing-whitespace' to nil.
7252 (display-time-world-display): Simplify.
7253
7254 2010-07-18 Alan Mackenzie <acm@muc.de>
7255
7256 Enhance `c-file-style' in file/directory local variables.
7257 * progmodes/cc-mode.el (c-count-cfss): New function.
7258 (c-before-hack-hook): Call `c-set-style' differently according to
7259 whether c-file-style was set in file or directory local
7260 variables.
7261
7262 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7263
7264 * progmodes/sql.el: Version 2.2.
7265 (sql-product, sql-user, sql-database, sql-server, sql-port):
7266 Use defcustom :safe keyword rather than putting safe-local-variable
7267 property.
7268 (sql-password): Use defcustom :risky keyword rather than putting
7269 risky-local-variable property.
7270 (sql-oracle-login-params, sql-sqlite-login-params)
7271 (sql-solid-login-params, sql-sybase-login-params)
7272 (sql-informix-login-params, sql-ingres-login-params)
7273 (sql-ms-login-params, sql-postgres-login-params)
7274 (sql-interbase-login-params, sql-db2-login-params)
7275 (sql-linter-login-params): Add `port' option.
7276 (sql-get-product-feature): Add NO-INDIRECT parameter.
7277 (sql-comint-oracle, sql-comint-sybase)
7278 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7279 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7280 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7281 (sql-comint-linter): Rename sql-connect-* functions to
7282 sql-comint-*.
7283 (sql-product-alist, sql-mode-menu): Rename as above and
7284 :sqli-connect-func to :sqli-comint-func.
7285 (sql-connection): New variable.
7286 (sql-interactive-mode): Set it.
7287 (sql-connection-alist): New variable.
7288 (sql-connect): New function.
7289 (sql--alt-buffer-part, sql--alt-if-not-empty)
7290 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7291
7292 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7293
7294 * image-mode.el (image-bookmark-make-record): Do not set context
7295 in an image (Bug#6650).
7296
7297 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7298
7299 * simple.el (select-active-region): New function.
7300 (push-mark-command, set-mark, activate-mark)
7301 (handle-shift-selection): Use it.
7302 (deactivate-mark): Don't check for size of region.
7303
7304 * mouse.el (mouse-drag-track): Use select-active-region.
7305
7306 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7307
7308 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7309 "--dired" stronger.
7310
7311 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7312
7313 * term/x-win.el (x-select-enable-primary): Change default to nil.
7314 (x-select-enable-clipboard): Add :version keyword.
7315
7316 * mouse.el (mouse-drag-copy-region):
7317 * simple.el (select-active-regions): Likewise.
7318
7319 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7320
7321 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7322 (vc-coding-system-for-diff): Use it to decide whether to inherit
7323 from the file the EOL format for reading the diffs of that file.
7324 (Bug#4451)
7325
7326 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7327
7328 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7329 unibyte, so compressed attachments are not compressed again.
7330
7331 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7332
7333 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7334 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7335 (tramp-find-shell): Simplify setting connection property.
7336 (tramp-get-ls-command): Make test for "--color=never" stronger.
7337
7338 2010-07-15 Simon South <ssouth@member.fsf.org>
7339
7340 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7341 blocks within record declarations (i.e. variant parts) correctly.
7342
7343 2010-07-15 Simon South <ssouth@member.fsf.org>
7344
7345 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7346 over literal tokens when parsing so newlines aren't "absorbed" by
7347 single-line comments. Corrects the indentation of case blocks
7348 that have a comment on the first line.
7349
7350 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7351
7352 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7353 by Drew Adams (Bug#5504).
7354
7355 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7356
7357 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7358 now that Unicode is used (Bug#6594).
7359
7360 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7361
7362 * term/x-win.el (x-select-enable-clipboard): Default to t.
7363 (x-initialize-window-system): Don't overwrite Paste menu item.
7364
7365 * simple.el (select-active-regions): Default to t.
7366 (push-mark-command): Don't overwrite primary with empty string.
7367
7368 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7369 (mouse-drag-copy-region): Default to nil.
7370
7371 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7372 Cut/Copy/Paste menu bar items.
7373
7374 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7375
7376 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7377 Patch applied by Karl Fogel.
7378
7379 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7380 and `bookmark-current-buffer' if they have been already set in
7381 another buffer (e.g gnus-art).
7382
7383 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7384 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7385
7386 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7387
7388 * bookmark.el (bookmark-make-record-default): Allow unneeded
7389 information to be omitted from the record.
7390
7391 Adjust declarations and calls:
7392
7393 * info.el (bookmark-make-record-default): Adjust declaration.
7394 (Info-bookmark-make-record): Adjust call.
7395
7396 * woman.el (bookmark-make-record-default): Adjust declaration.
7397 (woman-bookmark-make-record): Adjust call.
7398
7399 * man.el (bookmark-make-record-default): Adjust declaration.
7400 (Man-bookmark-make-record): Adjust call.
7401
7402 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7403
7404 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7405
7406 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7407
7408 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7409 This is also from Thierry Volpiatto's patch in bug #6444. However,
7410 because it was extraneous to the functional change in that patch,
7411 and causes a re-indendation, I am committing it separately.
7412
7413 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7414
7415 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7416 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7417 Patch applied by Karl Fogel (Bug#6444).
7418
7419 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7420
7421 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7422
7423 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7424
7425 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7426 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7427 (ns-alternatives-map): Change S-tab binding to backtab
7428 (bug#6616).
7429
7430 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7431 under ns.
7432
7433 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7434
7435 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7436 (Bug#5806)
7437
7438 * language/tv-util.el (tai-viet-re): Remove format.
7439
7440 2010-07-12 Kenichi Handa <handa@m17n.org>
7441
7442 * language/hebrew.el: Remove no-byte-compile declaration.
7443 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7444 composition-function-table for 3-character looking back.
7445 (hebrew-font-get-precomposed): New function.
7446 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7447
7448 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7449
7450 * mouse.el (mouse-drag-track): Handle select-active-regions
7451 (Bug#6612).
7452
7453 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7454
7455 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7456 empty argument to gvfs-copy.
7457
7458 2010-07-10 Glenn Morris <rgm@gnu.org>
7459
7460 * calendar/calendar.el (calendar-week-end-day): New function.
7461 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7462 Respect calendar-week-start-day. (Bug#6606)
7463 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7464 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7465 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7466 respect calendar-week-start-day.
7467
7468 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7469
7470 * simple.el (use-region-p): Doc fix (Bug#6607).
7471
7472 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7473
7474 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7475 Add regexps for cucumber and ruby.
7476
7477 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7478
7479 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7480 (epa-file-insert-file-contents): Hack to prevent
7481 find-file from opening empty buffer when decryption failed
7482 (bug#6568).
7483
7484 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7485
7486 * textmodes/ispell.el (ispell-alternate-dictionary):
7487 Use file-readable-p.
7488 Return nil if no word-list is found at default locations.
7489 (ispell-complete-word-dict): Default to nil.
7490 (ispell-command-loop): Use 'word-list' when using lookup-words.
7491 (lookup-words): Use ispell-complete-word-dict or
7492 ispell-alternate-dictionary. Check for word-list availability
7493 and handle errors if needed with better messages (Bug#6539).
7494 (ispell-complete-word): Use ispell-complete-word-dict or
7495 ispell-alternate-dictionary.
7496
7497 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7498
7499 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7500 builtins (BufferError, BytesWarning, WindowsError; callables
7501 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7502
7503 2010-07-07 Glenn Morris <rgm@gnu.org>
7504
7505 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7506 (zone-shift-left): Ignore intangibility, and any errors from
7507 forward-char.
7508 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7509 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7510 deleting, and copying text properties.
7511 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7512 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7513 to point-max is hard.
7514 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7515 (zone-fill-out-screen): Ignore intangibility.
7516
7517 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7518
7519 * menu-bar.el (menu-bar-mode):
7520 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7521 if it has been set.
7522
7523 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7524 word/line selection (Bug#6565).
7525
7526 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7527
7528 * net/dbus.el (dbus-send-signal): Declare function.
7529
7530 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7531
7532 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7533 (dbus-register-property): New optional argument EMITS-SIGNAL.
7534 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7535
7536 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7537
7538 * mouse.el (mouse-drag-overlay): Variable deleted.
7539 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7540 (mouse--remap-link-click-p): New function.
7541 (mouse-drag-track): Handle dragging by using temporary Transient
7542 Mark mode, instead of a special overlay.
7543 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7544 mouse-show-mark.
7545
7546 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7547 deleted.
7548
7549 2010-07-02 Juri Linkov <juri@jurta.org>
7550
7551 * autoinsert.el (auto-insert-alist): Fix readability
7552 by using dotted pair notation for lambda.
7553
7554 2010-07-02 Juri Linkov <juri@jurta.org>
7555
7556 * faces.el (read-face-name): Rename arg `string-describing-default'
7557 to `default'. Doc fix. Display the default value in quotes
7558 in the prompt. With empty input, return the `default' arg,
7559 unless the default value is a string (in which case return nil).
7560 (describe-face): Replace the string `default' arg of `read-face-name'
7561 with the symbol `default'.
7562
7563 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7564
7565 * emulation/viper-cmd.el (viper-delete-backward-char)
7566 (viper-del-backward-char-in-insert)
7567 (viper-del-backward-char-in-replace, viper-change)
7568 (viper-backward-indent): Replace delete-backward-char with
7569 delete-char (Bug#6552).
7570
7571 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7572
7573 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7574
7575 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7576
7577 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7578 argument passed to frame-creation-function (Bug#5378).
7579
7580 * faces.el (x-handle-named-frame-geometry)
7581 (x-handle-reverse-video, x-create-frame-with-faces)
7582 (face-set-after-frame-default, tty-create-frame-with-faces):
7583 Don't separately consult default-frame-alist. It is now passed as the
7584 PARAMETER argument.
7585
7586 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7587
7588 * startup.el (command-line): Don't call tool-bar-setup in a
7589 tty-only build.
7590
7591 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7592
7593 * ruler-mode.el (ruler--save-header-line-format): New fun.
7594 (ruler-mode): Use it as a setter function, so as not to overwrite
7595 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7596
7597 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7598
7599 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7600 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7601 (vc-log-outgoing): Use it.
7602 (vc-diff-internal): Set diff-vc-backend.
7603
7604 * vc/diff-mode.el (diff-vc-backend): New var.
7605
7606 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7607
7608 * dynamic-setting.el (font-setting-change-default-font):
7609 Remove call to message.
7610
7611 2010-06-28 Kenichi Handa <handa@m17n.org>
7612
7613 * international/quail.el (quail-insert-kbd-layout): Fix the
7614 showing of untranslated characters.
7615
7616 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7617
7618 * simple.el (delete-active-region): New option.
7619 (delete-backward-char): Implement in Lisp.
7620 (delete-forward-char): New command.
7621
7622 * mouse.el (mouse-region-delete-keys): Deleted.
7623 (mouse-show-mark): Simplify.
7624
7625 * bindings.el (global-map): Bind delete and DEL, the former to
7626 delete-forward-char.
7627
7628 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7629
7630 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7631 (ruby-mode): Bind indent-line-function (Bug#5119).
7632
7633 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7634
7635 * startup.el (command-line): Recognize "0" X resource value.
7636
7637 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7638
7639 * startup.el (command-line): Use X resources to set the value of
7640 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7641
7642 * menu-bar.el (menu-bar-mode):
7643 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7644 Set init-value to t.
7645
7646 * frame.el (frame-notice-user-settings): Don't change
7647 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7648 vice versa (Bug#2249).
7649
7650 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7651
7652 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7653
7654 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7655
7656 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7657 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7658
7659 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7660 default directories are expanded (Bug#6143).
7661
7662 2010-06-24 Juri Linkov <juri@jurta.org>
7663
7664 * minibuffer.el (completions-format): Change default from nil to
7665 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7666
7667 2010-06-24 Juri Linkov <juri@jurta.org>
7668
7669 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7670 buffer-locally to lambda that re-runs the vc diff command.
7671 (Bug#6447)
7672
7673 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7674
7675 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7676 echo area is in use (Bug#3412).
7677
7678 2010-06-22 Glenn Morris <rgm@gnu.org>
7679
7680 * textmodes/texinfmt.el (texinfo-format-region)
7681 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7682 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7683 (texinfo-format-option, texinfo-noindent):
7684 Use line-beginning-position and line-end-position.
7685
7686 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7687 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7688 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7689 utf-8 characters.
7690
7691 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7692
7693 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7694 forward-line fallout.
7695
7696 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7697
7698 * mouse.el (mouse-appearance-menu): Add docstring.
7699
7700 * help.el (describe-key): Print up-event using key-description.
7701
7702 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7703
7704 * net/zeroconf.el (zeroconf-resolve-service)
7705 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7706 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7707
7708 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7709
7710 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7711
7712 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7713
7714 Avoid displaying files with a nil state in vc-dir.
7715 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7716 cases that cause insertion.
7717 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7718 with a nil state.
7719
7720 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7721
7722 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7723
7724 2010-06-29 Leo <sdl.web@gmail.com>
7725
7726 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7727
7728 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7729
7730 * generic-x.el (bat-generic-mode): Fix regexp for command line
7731 switches (Bug#5719).
7732
7733 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7734
7735 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7736 of nconc to avoid pure storage error (Bug#6239).
7737
7738 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7739
7740 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7741 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7742 bindings of bookmark-automatically-show-annotations (Bug#6515).
7743
7744 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7745
7746 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7747 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7748
7749 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7750
7751 * comint.el (make-comint, make-comint-in-buffer): Mention return
7752 value in the docstrings. (Bug#6498)
7753
7754 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7755
7756 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7757 since it is not present when using some non-default switches.
7758
7759 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7760
7761 * simple.el (compose-mail): Fix doc string to refer to
7762 `compose-mail-user-agent-warnings', instead of to the
7763 nonexistent `compose-mail-check-user-agent'.
7764
7765 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7766
7767 Fix an indentation bug:
7768
7769 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7770 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7771 of existing values.
7772
7773 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7774 (c-clear->-pair-props-if-match-before): now return t when they've
7775 cleared properties, nil otherwise.
7776 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7777 by taking account of the existing value.
7778
7779 * progmodes/cc-defs.el
7780 (c-clear-char-property-with-value-function): Fix this to clear the
7781 property rather than overwriting it with nil.
7782
7783 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7784
7785 * emacs-lisp/package.el (package-print-package): Add link to
7786 package description via describe-package.
7787 (describe-package-1): List package requirements. Add button to
7788 perform installation.
7789 (package-menu-describe-package): New command.
7790
7791 * help-mode.el (help-package): New button type.
7792
7793 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7794
7795 * emacs-lisp/package.el: Move package-list-packages binding to
7796 menu-bar.el.
7797 (describe-package, describe-package-1, package--dir): New funs.
7798 (package-activate-1): Use package--dir.
7799
7800 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7801
7802 * help-mode.el (help-package-def): New button type.
7803
7804 * menu-bar.el: Move package-list-packages binding here from
7805 package.el.
7806
7807 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7808
7809 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7810
7811 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7812
7813 * emacs-lisp/edebug.el (edebug-read-list):
7814 Phase out old-style backquotes.
7815
7816 2010-06-17 Juri Linkov <juri@jurta.org>
7817
7818 * help-mode.el (help-mode): Set buffer-local variable
7819 revert-buffer-function to help-mode-revert-buffer.
7820 (help-mode-revert-buffer): New function.
7821
7822 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7823 before popping to "*info*" (like in other Info functions).
7824 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7825 old-history-forward. Pop to old-buffer-name or "*info*" to
7826 recreate the killed buffer. Set Info-history-forward from
7827 old-history-forward.
7828 (Info-breadcrumbs-depth): Add :group and :version.
7829
7830 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7831
7832 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7833
7834 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7835
7836 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7837 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7838
7839 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7840
7841 * emacs-lisp/package.el (package-menu-mode-map):
7842 Move initialization into declaration.
7843
7844 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7845
7846 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7847
7848 * emacs-lisp/package.el (package-archive-base): Point to
7849 elpa.gnu.org.
7850 (package-enable, package-load-list): New defcustoms.
7851 (package-user-dir, package-directory-list): Turn into defcustoms.
7852 Don't include package-user-dir in package-directory-list.
7853 (package--builtins-base): Don't include Emacs as a "package".
7854 (package-subdirectory-regexp): New var.
7855 (package-load-all-descriptors, package-compute-transaction)
7856 (package-download-transaction): Obey package-load-list.
7857 (package-activate-1): Rename from package-do-activate.
7858 (package-list-packages-internal): Check package-load-list.
7859 (package-load-descriptor, package-generate-autoloads)
7860 (package-unpack, package-unpack-single)
7861 (package--read-archive-file, package-delete):
7862 Use expand-file-name.
7863
7864 * emacs-lisp/package-x.el: New file. Package uploading
7865 functionality split out from package.el.
7866
7867 * startup.el (command-line): Load packages after reading init file.
7868
7869 2010-06-17 Tom Tromey <tromey@redhat.com>
7870
7871 * emacs-lisp/package.el: New file.
7872
7873 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7874
7875 Fix vc-annotate for renamed files when using Git.
7876 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7877 ls-files. Doe not pass the object as a file name to cat-file, it
7878 is not a file name.
7879 (vc-git-annotate-command): Pass the file name using -- to avoid
7880 ambiguity with the revision.
7881 (vc-git-previous-revision): Pass a relative file name.
7882
7883 2010-06-22 Glenn Morris <rgm@gnu.org>
7884
7885 * progmodes/js.el (js-mode-map): Use standard capitalization and
7886 ellipses for menu entries.
7887
7888 * wid-edit.el (widget-complete): Doc fix.
7889
7890 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7891
7892 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7893
7894 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7895
7896 Fix annotating other revisions for renamed files in vc-annotate.
7897 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7898 VC backend. Use it when non-nil.
7899 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7900 (Bug#6487).
7901
7902 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7903 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7904 Do not pass the file name to the 'previous-revision call when we
7905 don't want a file diff. (Bug#6489)
7906
7907 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7908
7909 Fix finding revisions for renamed files in vc-annotate.
7910 * vc/vc.el (vc-find-revision): Add an optional argument for
7911 the VC backend. Use it when non-nil.
7912 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7913 backend to vc-find-revision. (Bug#6487)
7914
7915 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7916
7917 Fix reading file names in Git annotate buffers.
7918 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7919 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7920
7921 2010-06-20 Alan Mackenzie <acm@muc.de>
7922
7923 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7924 in file local variables, set it first.
7925
7926 2010-06-19 Glenn Morris <rgm@gnu.org>
7927
7928 * descr-text.el (describe-char-unicode-data): Insert separating
7929 space when needed. (Bug#6422)
7930
7931 * progmodes/idlwave.el (idlwave-action-and-binding):
7932 Fix typo in 2009-12-03 change. (Bug#6450)
7933
7934 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7937 handling for `lambda' (misunderstanding).
7938
7939 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7940
7941 * calc/calc-poly.el (math-accum-factors): Make sure that
7942 constants aren't distributed after they are factored out.
7943
7944 2010-06-16 Juri Linkov <juri@jurta.org>
7945
7946 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7947 `list-colors-print'. (Bug#6332)
7948
7949 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7950
7951 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7952
7953 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7954 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7955
7956 * font-lock.el (font-lock-major-mode): Rename from
7957 font-lock-mode-major-mode to distinguish it from
7958 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7959 (font-lock-set-defaults):
7960 * font-core.el (font-lock-default-function): Adjust users.
7961 (font-lock-mode): Don't set it at all.
7962
7963 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7964
7965 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7966
7967 2010-06-16 Glenn Morris <rgm@gnu.org>
7968
7969 * calendar/appt.el (appt-time-msg-list): Doc fix.
7970 (appt-check): Let-bind appt-warn-time.
7971 (appt-add): Make the 3rd argument optional.
7972 Simplify argument names. Doc fix. Check for integer WARNTIME.
7973 Only add WARNTIME to the output list if non-nil.
7974
7975 2010-06-16 Ivan Kanis <apple@kanis.eu>
7976
7977 * calendar/appt.el (appt-check): Let the 3rd element of
7978 appt-time-msg-list specify the warning time.
7979 (appt-add): Add new argument with the warning time. (Bug#5176)
7980
7981 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7982
7983 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7984 older than version 1.6. (Bug#6361)
7985
7986 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7987
7988 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7989 used by cl-do-arglist. (Bug#6408)
7990
7991 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7992
7993 * textmodes/ispell.el (ispell-dictionary-base-alist):
7994 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7995 Suggested by Rolando Pereira (bug#6434).
7996
7997 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * facemenu.el (list-colors-sort): Doc fix.
8000
8001 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8002
8003 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8004
8005 2010-06-14 Juri Linkov <juri@jurta.org>
8006
8007 Add sort option `list-colors-sort'. (Bug#6332)
8008 * facemenu.el (color-rgb-to-hsv): New function.
8009 (list-colors-sort): New defcustom.
8010 (list-colors-sort-key): New function.
8011 (list-colors-display): Doc fix. Sort list according to the option
8012 `list-colors-sort'.
8013 (list-colors-print): Add HSV values to `help-echo' property of
8014 RGB strings.
8015
8016 2010-06-14 Juri Linkov <juri@jurta.org>
8017
8018 * compare-w.el: Move to the "vc" subdirectory.
8019
8020 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8021
8022 * image-mode.el (image-mode-map): Remap left-char and right-char.
8023
8024 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8025
8026 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8027
8028 * term/common-win.el (x-colors): Add all the color names defined
8029 in rgb.txt (Bug#6332).
8030
8031 * facemenu.el (list-colors-print): Don't print extra names if it
8032 will overflow the window width.
8033
8034 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8035 change (Bug#6343).
8036
8037 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8038
8039 * files.el (make-directory): Doc fix (bug#6396).
8040
8041 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8042
8043 * net/tramp.el (tramp-remote-process-environment): Protect version
8044 string by apostroph.
8045 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8046 XEmacs.
8047 (tramp-file-name-for-operation): Add `call-process-region'.
8048 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8049
8050 * net/tramp-compat.el (top): Do not autoload
8051 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8052 only when `start-file-process' is not bound.
8053 (tramp-advice-file-expand-wildcards): Do not use
8054 `tramp-handle-file-remote-p'.
8055 (tramp-compat-make-temp-file): Handle the case, that
8056 `make-temp-file' has no third argument EXTENSION.
8057
8058 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8059
8060 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8061
8062 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8063
8064 2010-06-11 Juri Linkov <juri@jurta.org>
8065
8066 * finder.el (finder-known-keywords): Add keyword "vc"
8067 for version control.
8068
8069 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8070 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8071 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8072 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8073
8074 2010-06-11 Juri Linkov <juri@jurta.org>
8075
8076 Move version control related files to the "vc" subdirectory.
8077 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8078 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8079 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8080 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8081 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8082 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8083 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8084 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8085 Move files to the "vc" subdirectory.
8086
8087 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8088
8089 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8090 (Bug#6367).
8091
8092 2010-06-11 Stephen Eglen <stephen@gnu.org>
8093
8094 * shell.el: Bind `shell-resync-dirs' to M-RET.
8095
8096 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8097
8098 * notifications.el: Move file from lisp/net, because it is
8099 supposed to talk locally to the user.
8100
8101 2010-06-10 Julien Danjou <julien@danjou.info>
8102
8103 * net/notifications.el (notifications-on-action-signal)
8104 (notifications-on-closed-signal): Pass notification id as first
8105 argument to the callback functions. Add docstrings.
8106 (notifications-notify): Fix docstring.
8107
8108 2010-06-10 Glenn Morris <rgm@gnu.org>
8109
8110 * emacs-lisp/authors.el (authors-ignored-files)
8111 (authors-valid-file-names): Add some files.
8112
8113 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8114
8115 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8116 merge conflict, giving preference to the emacs-23 version of the code.
8117
8118 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8119
8120 * emacs-lisp/advice.el (ad-compile-function):
8121 Define warning-suppress-types before we let-bind it (bug#6275).
8122
8123 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8124 declare it, make it buffer-local and permanent-local (bug#6324).
8125 (vc-resynch-window): Adjust name.
8126 * vc-hooks.el (vc-find-file-hook): Adjust name.
8127
8128 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8129
8130 * net/notifications.el (notifications-notify): Fix docstring.
8131
8132 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8133
8134 Update to Unicode 6.0.0 beta.
8135 * international/charprop.el: Update copyright.
8136 * international/mule-cmds.el (ucs-names): Update character ranges.
8137 * international/uni-bidi.el:
8138 * international/uni-category.el:
8139 * international/uni-combining.el:
8140 * international/uni-comment.el:
8141 * international/uni-decimal.el:
8142 * international/uni-decomposition.el:
8143 * international/uni-digit.el:
8144 * international/uni-lowercase.el:
8145 * international/uni-mirrored.el:
8146 * international/uni-name.el:
8147 * international/uni-numeric.el:
8148 * international/uni-old-name.el:
8149 * international/uni-titlecase.el:
8150 * international/uni-uppercase.el: Regenerate.
8151
8152 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8153
8154 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8155 (smie-precs-precedence-table): Fix typo in docstring.
8156
8157 * vc-mtn.el (log-edit-extract-headers): Declare function.
8158
8159 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8160
8161 * net/notifications.el (dbus-register-signal): Declare function.
8162 (notifications-notify): Fix typos and reflow docstring.
8163
8164 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8165
8166 Improve VC create/retrieve tag/branch.
8167 * vc.el (vc-create-tag): Do not read the directory name for VCs
8168 with repository revision granularity. Adjust the tag/branch
8169 prompt. Reset VC properties.
8170 (vc-retrieve-tag): Do not read the directory name for VCs
8171 with repository revision granularity. Reset VC properties.
8172
8173 2010-06-09 Julien Danjou <julien@danjou.info>
8174
8175 * net/notifications.el: New file.
8176
8177 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8178
8179 Add optional support for resetting VC properties.
8180 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8181 call vc-file-clearprops when true.
8182 (vc-resynch-buffer): Add new optional argument, pass it down.
8183 (vc-resynch-buffers-in-directory): Likewise.
8184
8185 Improve support for special markup in the VC commit message.
8186 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8187 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8188 * vc-git.el (vc-git-checkin):
8189 * vc-bzr.el (vc-bzr-checkin): Likewise.
8190
8191 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8194 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8195
8196 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8197
8198 * iimage.el: Remove images as soon as the underlying text is modified.
8199 (iimage-modification-hook): New function.
8200 (iimage-mode-buffer): Use it.
8201
8202 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8205 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8206 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8207 (smie-indent-keyword): Add handling of open-paren keywords.
8208 (smie-indent-comment-continue): Don't assume comment-continue.
8209
8210 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8211
8212 * window.el (pop-to-buffer): Remove the conditional that
8213 compares new-window and old-window, so it will reselect
8214 the selected window unconditionally.
8215 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8216
8217 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 * emacs-lisp/smie.el (smie-indent-offset-after)
8220 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8221 (smie-indent-after-keyword): Use them.
8222 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8223 (smie-indent-keyword): Tweak the black magic.
8224 (smie-indent-comment-continue): Strip comment-continue before use.
8225 (smie-indent-functions): Indent comments before keywords.
8226
8227 2010-06-06 Juri Linkov <juri@jurta.org>
8228
8229 * isearch.el (isearch-lazy-highlight-search): Fix looping
8230 by checking for empty match. This syncs this loop with the
8231 similar loop in `isearch-search'. (Bug#6362)
8232
8233 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8234
8235 * net/dbus.el (dbus-register-method): Declare function.
8236 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8237 (dbus-introspect): Doc fix.
8238 (dbus-event-bus-name, dbus-introspect-get-interface)
8239 (dbus-introspect-get-argument): Reflow docstrings.
8240
8241 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8242
8243 vc-log-incoming/vc-log-outgoing fixes for Git.
8244 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8245 incoming/outgoing logs.
8246 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8247 instead of vc-git-compute-remote.
8248 (vc-git-compute-remote): Remove.
8249
8250 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8251
8252 * term/common-win.el (x-colors): Add "dark green" and "dark
8253 turquoise" (Bug#6332).
8254
8255 2010-06-04 Juri Linkov <juri@jurta.org>
8256
8257 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8258 Instead of setting `replace' to t and replacing the same string
8259 with itself, don't do certain actions when
8260 kill-do-not-save-duplicates is non-nil and string is equal to car
8261 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8262 interprogram-paste strings to kill-ring, and don't push the input
8263 argument `string' to kill-ring.
8264 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8265
8266 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8267
8268 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8269
8270 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8271
8272 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8273 (tramp-gvfs-handler-mounted-unmounted)
8274 (tramp-gvfs-connection-mounted-p): Handle default-location.
8275
8276 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8277 move files to trash.
8278
8279 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8280
8281 * international/mule-cmds.el (nonascii-insert-offset)
8282 (nonascii-translation-table): Add obsolescence information.
8283
8284 * international/mule.el (make-translation-table-from-vector): Doc fix.
8285
8286 2010-06-03 Glenn Morris <rgm@gnu.org>
8287
8288 * desktop.el (desktop-clear-preserve-buffers):
8289 Add "*Warnings*" buffer. (Bug#6336)
8290
8291 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8292
8293 vc-log-incoming/vc-log-outgoing improvements for Git.
8294 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8295 short log.
8296 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8297
8298 Add bindings for vc-log-incoming and vc-log-outgoing.
8299 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8300 and vc-log-outgoing.
8301 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8302 and vc-log-outgoing.
8303
8304 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8305
8306 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8307 (rcirc-handler-366): Always sort nicknames.
8308
8309 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8310
8311 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8312
8313 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8314
8315 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8316
8317 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8320 (rcirc-sort-nicknames-join): Avoid setq.
8321
8322 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8323
8324 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8325 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8326 (rcirc-handler-366): Use them.
8327
8328 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 Split smie-indent-calculate into more manageable chunks.
8331 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8332 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8333 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8334 (smie-indent-exps): Extract from smie-indent-calculate.
8335 (smie-indent-functions): New var.
8336 (smie-indent-functions): Use them.
8337
8338 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8339
8340 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8341 (smie-indent-calculate): Simplify and cleanup.
8342
8343 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8344
8345 * net/tramp-gvfs.el (top): Require url-util.
8346 (tramp-gvfs-mount-point): Remove.
8347 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8348 New defuns.
8349 (with-tramp-dbus-call-method): Format trace message.
8350 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8351 Implement backup call, when operation on local files fails.
8352 Use progress reporter. Flush properties of changed files.
8353 (tramp-gvfs-handle-make-directory): Make more traces.
8354 (tramp-gvfs-url-file-name): Hexify file name in url.
8355 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8356 into account for the resulting file name.
8357 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8358 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8359 (tramp-gvfs-handler-mounted-unmounted)
8360 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8361 attribute "default_location". Set "prefix" property.
8362 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8363 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8364 exists. Raise an error, if not (due to a corresponding answer
8365 "no" in interactive questions, for example).
8366
8367 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8368
8369 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8370
8371 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8372
8373 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8374 right-*. (Bug#6265)
8375
8376 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8377
8378 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8379 * vc-git.el (vc-git-compute-remote): New function.
8380 (vc-git-log-outgoing): Use it instead of hard coding a value.
8381 (vc-git-log-incoming): New function.
8382
8383 Improve state updating for VC tag commands.
8384 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8385 to update the state of all buffers in the directory.
8386
8387 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8388
8389 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8390
8391 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8392 `file-directory-p' to the filename part rather than to the whole text.
8393
8394 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8397
8398 2010-05-31 Drew Adams <drew.adams@oracle.com>
8399
8400 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8401
8402 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8403
8404 * subr.el (momentary-string-display): Just use read-event to read
8405 the exit event (Bug#6238).
8406
8407 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8408
8409 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8410
8411 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8412
8413 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8414 Suggested by Eli Zaretskii <eliz@gnu.org>.
8415
8416 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * minibuffer.el (completion-file-name-table): Don't return a boundary
8419 past the end of `string' (bug#6299).
8420 (completion--file-name-table): Delegate to completion-file-name-table
8421 for the `boundaries' case.
8422
8423 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8424
8425 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8426 movement commands.
8427
8428 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8429 `path-separator', but maintain compatibility with Emacs 20.2.
8430
8431 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8432
8433 * server.el (server-process-filter): Receive parent-id argument
8434 from emacsclient.
8435 (server-create-window-system-frame): New arg. Pass parent-id as
8436 frame parameter.
8437
8438 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8439
8440 Bidi-sensitive word movement with arrow keys.
8441 * subr.el (right-arrow-command, left-arrow-command): Move to
8442 bindings.el.
8443
8444 * bindings.el (right-char, left-char): Move from subr.el and
8445 rename from right-arrow-command and left-arrow-command.
8446 (right-word, left-word): New functions.
8447 (global-map) <right>: Bind to right-char.
8448 (global-map) <left>: Bind to left-char.
8449 (global-map) <C-right>: Bind to right-word.
8450 (global-map) <C-left>: Bind to left-word.
8451
8452 * ls-lisp.el (ls-lisp-classify-file): New function.
8453 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8454 (ls-lisp-classify): Call ls-lisp-classify-file.
8455 (insert-directory): Remove blanks from switches.
8456
8457 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8458
8459 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8460 (ansi-color-drop-regexp): New constant.
8461 (ansi-color-apply, ansi-color-filter-region)
8462 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8463 (ansi-color-apply): Build string list before calling concat.
8464
8465 2010-05-28 Juri Linkov <juri@jurta.org>
8466
8467 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8468 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8469 (Bug#5270)
8470
8471 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8472
8473 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8474 to ignored backtrace functions.
8475 (with-progress-reporter): Expand docstring.
8476 (tramp-handle-delete-file): Implement TRASH argument.
8477 (tramp-get-remote-trash): New defun.
8478
8479 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8480
8481 * net/tramp-compat.el (tramp-compat-delete-file):
8482 Use `symbol-value' for backward compatibility.
8483
8484 * net/tramp.el (tramp-handle-make-symbolic-link)
8485 (tramp-handle-load)
8486 (tramp-do-copy-or-rename-file-via-buffer)
8487 (tramp-do-copy-or-rename-file-directly)
8488 (tramp-do-copy-or-rename-file-out-of-band)
8489 (tramp-handle-process-file, tramp-handle-call-process-region)
8490 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8491 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8492 (tramp-delete-temp-file-function): Use `delete-file' instead
8493 of `tramp-compat-delete-file'.
8494
8495 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8496 (tramp-fish-handle-make-symbolic-link)
8497 (tramp-fish-handle-process-file): Use `delete-file' instead
8498 of `tramp-compat-delete-file'.
8499
8500 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8501 Use `delete-file' instead of `tramp-compat-delete-file'.
8502
8503 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8504 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8505 `tramp-compat-delete-file'.
8506
8507 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8508 Use `delete-file' instead of `tramp-compat-delete-file'.
8509
8510 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8511 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8512 (tramp-smb-handle-write-region): Use `delete-file' instead of
8513 `tramp-compat-delete-file'.
8514 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8515
8516 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8517
8518 * dired.el (dired-delete-file): New arg TRASH.
8519 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8520 (dired-do-flagged-delete, dired-do-delete): Use trash.
8521
8522 * speedbar.el (speedbar-item-delete): Allow trashing.
8523
8524 * files.el (delete-directory): New arg TRASH.
8525
8526 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8527 (ange-ftp-rename-remote-to-remote)
8528 (ange-ftp-rename-local-to-remote)
8529 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8530 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8531 `delete-file'.
8532 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8533 allow trashing.
8534
8535 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8536 handle new TRASH arg of `delete-file'.
8537
8538 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8539 (tramp-handle-make-symbolic-link, tramp-handle-load)
8540 (tramp-do-copy-or-rename-file-via-buffer)
8541 (tramp-do-copy-or-rename-file-directly)
8542 (tramp-do-copy-or-rename-file-out-of-band)
8543 (tramp-handle-process-file, tramp-handle-call-process-region)
8544 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8545 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8546 (tramp-delete-temp-file-function): Use null TRASH arg in
8547 tramp-compat-delete-file call.
8548
8549 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8550 (tramp-fish-handle-delete-file)
8551 (tramp-fish-handle-make-symbolic-link)
8552 (tramp-fish-handle-process-file): Use null TRASH arg in
8553 `tramp-compat-delete-file' call.
8554
8555 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8556 arg in `tramp-compat-delete-file' call.
8557
8558 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8559 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8560 `tramp-compat-delete-file' call.
8561
8562 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8563 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8564 `tramp-compat-delete-file' call.
8565
8566 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8567 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8568 (tramp-smb-handle-write-region): Use null TRASH arg in
8569 tramp-compat-delete-file call.
8570 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8571 (tramp-smb-handle-delete-file): Rename arg.
8572
8573 * diff.el (diff-sentinel):
8574 * epg.el (epg--make-temp-file, epg-decrypt-string)
8575 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8576 * jka-compr.el (jka-compr-partial-uncompress)
8577 (jka-compr-call-process, jka-compr-write-region):
8578 * server.el (server-sentinel): Remove optional arg from
8579 delete-file, reverting 2010-05-03 change.
8580
8581 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8582
8583 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8584 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8585
8586 2010-05-27 Kenichi Handa <handa@m17n.org>
8587
8588 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8589 element of GSTRING is nil.
8590
8591 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * emacs-lisp/smie.el (smie-forward-token-function)
8594 (smie-backward-token-function): New vars.
8595 (smie-backward-sexp, smie-forward-sexp)
8596 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8597 (smie-default-backward-token): Rename from smie-backward-token and
8598 skip comments.
8599 (smie-default-forward-token): Rename from smie-forward-token and
8600 skip comments.
8601 (smie-next-sexp): Handle nil results from next-token.
8602 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8603
8604 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8605
8606 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8607 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8608
8609 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8610
8611 * htmlfontify.el (hfy-face-resolve-face): New function.
8612 (hfy-face-to-style): Use it (Bug#6279).
8613
8614 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8615
8616 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8617 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8618
8619 2010-05-26 Glenn Morris <rgm@gnu.org>
8620
8621 * emulation/edt.el (edt-load-keys): Use locate-library.
8622
8623 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8624
8625 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8626 (log-edit-changelog-entries): Doc fix.
8627 (log-edit-changelog-insert-entries): Args changed.
8628 Rename relative filenames in ChangeLog entries. Delete tabs.
8629 (log-edit-insert-changelog-entries): Reorganize return value of
8630 `log-edit-changelog-entries' to pass filenames to
8631 log-edit-changelog-insert-entries.
8632
8633 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8634
8635 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8636 `image-dired-dired-insert-marked-thumbs' to
8637 `image-dired-dired-toggle-marked-thumbs'.
8638
8639 * image-dired.el: Require cl when compiling.
8640 (image-dired-dired-toggle-marked-thumbs): Rename from
8641 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8642 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8643 to 'no-dir. Skip files whose names don't match
8644 `image-file-name-regexp'. When file has a thumbnail overlay,
8645 delete it. (Bug#5270)
8646
8647 2010-05-25 Juri Linkov <juri@jurta.org>
8648
8649 * image-mode.el (image-mode): Add image-after-revert-hook to
8650 after-revert-hook.
8651 (image-after-revert-hook): New function. (Bug#5669)
8652
8653 2010-05-25 Juri Linkov <juri@jurta.org>
8654
8655 * image.el (image-animated-p): When delay between animated images
8656 is 0, set it to 10 (0.1 sec). (Bug#6258)
8657
8658 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8659
8660 * net/tramp.el (tramp-handle-insert-directory): Don't use
8661 `forward-word', its default syntax could be changed.
8662
8663 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8664
8665 * net/tramp.el (tramp-progress-reporter-update): New defun.
8666 (with-progress-reporter): Use it.
8667 (tramp-process-actions):
8668 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8669 Preserve current message, in order to let progress reporter continue
8670 afterwards. (Bug#6257)
8671
8672 2010-05-25 Glenn Morris <rgm@gnu.org>
8673
8674 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8675 Add :version.
8676
8677 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8678
8679 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8680 (rcirc-default-full-name): Change to "unknown".
8681 (rcirc-user-name-history): Add variable.
8682
8683 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8684 Jonathan Rockway <jon@jrock.us>
8685
8686 * net/rcirc.el (rcirc-server-alist): Add :pass.
8687 (rcirc): When prompting for connection parameters, also prompt for
8688 username and password.
8689 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8690 value to server when connecting.
8691
8692 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8693
8694 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8695 (smie-merge-prec2s): Pass the tables as separate args.
8696 (smie-bnf-precedence-table): Adjust call accordingly.
8697 (smie-prec2-levels): Set levels at the end.
8698
8699 Replace Lisp calls to delete-backward-char by delete-char.
8700 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8701 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8702 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8703 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8704 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8705 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8706 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8707 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8708 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8709 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8710 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8711 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8712 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8713 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8714 delete-backward-char by calls to delete-char.
8715
8716 2010-05-25 Kenichi Handa <handa@m17n.org>
8717
8718 * language/hebrew.el (hebrew-shape-gstring): New function.
8719 Register it in composition-function-table for all Hebrew combining
8720 characters.
8721
8722 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * epa.el (epa--select-keys): Don't explicitly delete the window since
8725 that can fail (e.g. sole window in frame). Use dedication instead.
8726
8727 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8728
8729 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8730
8731 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8732
8733 * image.el (image-refresh): Define as an alias for image-flush.
8734
8735 * image-mode.el (image-toggle-display-image): Caller changed.
8736
8737 2010-05-21 Juri Linkov <juri@jurta.org>
8738
8739 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8740 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8741 whitespace, call wildcard-to-regexp on substrings and concat them
8742 with "\\|". (Bug#6114)
8743
8744 2010-05-21 Alan Mackenzie <acm@muc.de>
8745
8746 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8747 Replace parameter `here' with `here-' and `here-plus', which sandwich
8748 any pertinent CPP construct.
8749 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8750 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8751 CPP construct from taking part in the scanning.
8752
8753 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8754
8755 * net/tramp.el (tramp-do-copy-or-rename-file)
8756 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8757 Tune `with-progress-reporter' messages.
8758 (tramp-handle-vc-registered):
8759 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8760 (tramp-fish-handle-insert-file-contents)
8761 (tramp-fish-maybe-open-connection):
8762 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8763 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8764 (tramp-imap-handle-insert-file-contents)
8765 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8766
8767 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8768
8769 * add-log.el (change-log-font-lock-keywords):
8770 Highlight all authors in multi-author entries.
8771
8772 * smerge-mode.el (smerge-refine-ignore-whitespace)
8773 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8774 Fix typos in docstrings.
8775 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8776
8777 2010-05-21 Glenn Morris <rgm@gnu.org>
8778
8779 * progmodes/fortran.el (fortran-mode):
8780 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8781
8782 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8783 having a relative path in src/Makefile.in.
8784
8785 2010-05-20 Kevin Ryde <user42@zip.com.au>
8786
8787 * help-mode.el (help-make-xrefs): For Info node links turn
8788 newlines into spaces. Link node names with newlines are matched
8789 by help-xref-info-regexp and buttonized, this change ensures they
8790 can be followed successfully with RET. (Bug#6206)
8791
8792 2010-05-20 Juri Linkov <juri@jurta.org>
8793
8794 * locate.el (locate): Use pop-to-buffer instead of
8795 switch-to-buffer-other-window. (Bug#6204)
8796
8797 2010-05-20 Juri Linkov <juri@jurta.org>
8798
8799 * replace.el (replace-highlight): Fix lazy-highlighting
8800 for `M-s w str M-% str RET'.
8801
8802 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8803
8804 * isearch.el (isearch-yank-word-or-char): Pull next subword
8805 when `subword-mode' is activated. (Bug#6220)
8806
8807 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8808
8809 * isearch.el (isearch-update-post-hook): New hook.
8810 (isearch-update): Use the new hook. (Bug#6225)
8811
8812 2010-05-20 Juri Linkov <juri@jurta.org>
8813
8814 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8815 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8816 (Bug#6222)
8817
8818 2010-05-20 Juri Linkov <juri@jurta.org>
8819
8820 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8821 (Bug#6223)
8822
8823 2010-05-20 Juri Linkov <juri@jurta.org>
8824
8825 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8826 FILE-NAME to read from the minibuffer when called interactively
8827 with prefix argument instead of using buffer-file-name.
8828 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8829
8830 * dired.el: Update autoloads.
8831
8832 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8833
8834 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8835 nxml-finish-element, for consistency with SGML mode.
8836
8837 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8838 octave-close-block.
8839
8840 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8841
8842 * composite.el: Require cl when compiling.
8843 (reference-point-alist, compose-gstring-for-graphic)
8844 (compose-gstring-for-terminal): Fix typos in docstrings.
8845
8846 2010-05-19 Juri Linkov <juri@jurta.org>
8847
8848 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8849 set-window-parameter.
8850
8851 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8852
8853 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8854 where appropriate.
8855 (tramp-maybe-open-connection): Use it.
8856
8857 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8858
8859 * simple.el (move-end-of-line): Make sure we are at line beginning
8860 before backing up to end of previous line.
8861
8862 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8863
8864 * password-cache.el (password-cache-remove): Fix docstring.
8865
8866 * net/secrets.el: Autoload the widget functions.
8867 (secrets-search-items, secrets-create-item)
8868 (secrets-get-attributes, secrets-expand-item): Attributes will be
8869 stored on the password database without leading ":", as all other
8870 clients do as well.
8871 (secrets-mode): Fix docstring.
8872 (secrets-show-secrets): Provide it as autoloaded command only when
8873 D-Bus support is available. Check existence of Secret Service API.
8874
8875 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * indent.el (indent-region): Deactivate region (bug#6200).
8878
8879 2010-05-19 Glenn Morris <rgm@gnu.org>
8880
8881 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8882
8883 2010-05-19 Kenichi Handa <handa@m17n.org>
8884
8885 * composite.el: Register compose-gstring-for-graphic in
8886 composition-function-table only for combining characters (Mn, Mc, Me).
8887
8888 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8889
8890 * calc/calc-trail.el (calc-trail-isearch-forward)
8891 (calc-trail-isearch-backward): Ensure that the new window
8892 point is set correctly.
8893
8894 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8895
8896 * subr.el (read-quoted-char): Resolve modifiers after key
8897 remapping (bug#6212).
8898
8899 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8900
8901 Add visualization code for secrets.
8902 * net/secrets.el (secrets-mode): New major mode.
8903 (secrets-show-secrets, secrets-show-collections)
8904 (secrets-expand-collection, secrets-expand-item)
8905 (secrets-tree-widget-after-toggle-function)
8906 (secrets-tree-widget-show-password): New defuns.
8907
8908 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8911 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8912 handled in smie-next-sexp.
8913 (smie-indent-calculate): Provide a starting indentation (so the
8914 recursion is well-founded ;-).
8915
8916 Fix handling of non-associative equal levels.
8917 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8918 when it's not needed.
8919 (smie-op-left, smie-op-right): New functions.
8920 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8921 Better handle equal levels to distinguish the associative case from
8922 the "multi-keyword construct" case.
8923 (smie-backward-sexp, smie-forward-sexp): Use it.
8924
8925 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8926
8927 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8928
8929 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8930 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8931
8932 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8933
8934 Provide a simple generic indentation engine and use it for Prolog.
8935 * emacs-lisp/smie.el: New file.
8936 * progmodes/prolog.el (prolog-smie-op-levels)
8937 (prolog-smie-indent-rules): New var.
8938 (prolog-mode-variables): Use them to configure SMIE.
8939 (prolog-indent-line, prolog-indent-level): Remove.
8940
8941 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8942
8943 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8944 order before computing the averages.
8945
8946 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8947
8948 * calc/calc-vec.el (calc-histogram):
8949 (calcFunc-histogram): Allow vectors as inputs.
8950 (math-vector-avg): New function.
8951
8952 * calc/calc-ext.el (math-group-float): Have the number of digits
8953 being grouped depend on the radix (Bug#6189).
8954
8955 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8956
8957 * version.el (emacs-copyright, emacs-version): Don't define here,
8958 now that emacs.c defines it.
8959
8960 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8961
8962 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8963 "Describe Language Environment" menu item.
8964
8965 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8966
8967 Bidi-sensitive movement with arrow keys.
8968 * subr.el (right-arrow-command, left-arrow-command): New functions.
8969
8970 * bindings.el (global-map): Bind them to right and left arrow keys.
8971
8972 Don't override standard definition of convert-standard-filename.
8973 * files.el (convert-standard-filename):
8974 Call w32-convert-standard-filename and dos-convert-standard-filename on
8975 the corresponding systems.
8976
8977 * w32-fns.el (w32-convert-standard-filename): Rename from
8978 convert-standard-filename. Doc fix.
8979
8980 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8981 (convert-standard-filename): Don't defalias.
8982 (register-name-alist, make-register, register-value)
8983 (set-register-value, intdos): Obsolete aliases for the
8984 corresponding dos-* functions and variables.
8985 (dos-intdos): Add a doc string.
8986
8987 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8988
8989 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8990 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8991 (math-compose-tex-func):
8992 * calc/calccomp.el (math-compose-expr):
8993 * calc/calc-ext.el (math-format-flat-expr-fancy):
8994 * calc/calc-store.el (calc-read-var-name):
8995 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8996
8997 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8998 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8999 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9000 (math-standard-units): Add units.
9001
9002 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 * progmodes/asm-mode.el (asm-mode):
9005 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9006
9007 * pcomplete.el (pcomplete-completions-at-point): New function,
9008 extracted from pcomplete-std-complete.
9009 (pcomplete-std-complete): Use it.
9010
9011 2010-05-15 Glenn Morris <rgm@gnu.org>
9012
9013 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9014 Remove references to CVS, RCS and Old directories.
9015
9016 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9017
9018 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9019 appropriate.
9020
9021 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9022
9023 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9024 (sh-mode-syntax-table): Give it a default value instead.
9025 (sh-header-marker): Make buffer-local.
9026 (sh-mode): Move make-local-variable to the corresponding setq.
9027 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9028 Use complete-with-action.
9029
9030 * simple.el (prog-mode): New (abstract) major mode.
9031 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9032 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9033
9034 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9035
9036 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9037 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9038 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9039 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9040 (sql-escape-newlines-filter, sql-input-sender)
9041 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9042
9043 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9044
9045 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9046
9047 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9048 latex-open-block and C-c / to latex-close-block.
9049
9050 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9051 and C-c C-e to sgml-close-tag.
9052
9053 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9054
9055 * net/tramp.el (with-progress-reporter): Create reporter object
9056 only when the message would be displayed. Handle nested calls.
9057 (tramp-handle-load, tramp-handle-file-local-copy)
9058 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9059 (tramp-maybe-send-script, tramp-find-shell):
9060 Use `with-progress-reporter'.
9061 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9062 Fix message text.
9063
9064 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9065 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9066 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9067 Use `with-progress-reporter'.
9068
9069 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9070
9071 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9072 process everytime when spellchecking from the minibuffer (bug#6143).
9073
9074 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9075
9076 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9077
9078 * dos-fns.el: Add "dos-" prefix for namespace control.
9079 (convert-standard-filename): Define as alias for
9080 dos-convert-standard-filename but only if applicable.
9081
9082 2010-05-12 Alan Mackenzie <acm@muc.de>
9083
9084 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9085 Push the mark at the start of these functions when appropriate.
9086
9087 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * minibuffer.el (completion-cycle-threshold): New custom var.
9090 (completion--do-completion): Use it.
9091 (minibuffer-complete): Use cycling if appropriate.
9092
9093 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9094
9095 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9096 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9097
9098 2010-05-11 Juri Linkov <juri@jurta.org>
9099
9100 * scroll-all.el (scroll-all-check-to-scroll):
9101 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9102
9103 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * iimage.el (iimage-mode-map): Move initialization into declaration.
9106 (iimage-mode-buffer): Use with-silent-modifications.
9107 Simplify calling convention. Adjust callers.
9108 (iimage-mode): Don't run hook redundantly.
9109
9110 * minibuffer.el (completion-pcm--pattern->regex):
9111 Fix last change (bug#6160).
9112
9113 2010-05-10 Juri Linkov <juri@jurta.org>
9114
9115 Remove nodes visited during Isearch from the Info history.
9116 * info.el (Info-isearch-initial-history)
9117 (Info-isearch-initial-history-list): New variables.
9118 (Info-isearch-start): Record initial values of
9119 Info-isearch-initial-history and Info-isearch-initial-history-list.
9120 Add Info-isearch-end to isearch-mode-end-hook.
9121 (Info-isearch-end): New function.
9122
9123 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9124
9125 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9126 format string, in order to work around a bug in pdksh.
9127 Reported by Gilles Pion <gpion@lfdj.com>.
9128 (tramp-handle-verify-visited-file-modtime): Do not send a command
9129 when the connection is not established.
9130 (tramp-handle-set-file-times): Simplify the check for utc.
9131
9132 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9133
9134 Fix use of `filter-buffer-substring' (rework previous change).
9135 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9136 (cua-repeat-replace-region):
9137 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9138 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9139 (cua-cut-region-to-global-mark): Use it.
9140
9141 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9142
9143 * progmodes/sql.el: Version 2.1.
9144 (sql-product-alist): Redesign structure of product info.
9145 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9146 (sql-port, sql-port-history): New variables.
9147 (sql-interactive-product): New variable.
9148 (sql-send-terminator): New variable.
9149 (sql-imenu-generic-expression): Add "Types" imenu entry.
9150 (sql-oracle-login-params, sql-sqlite-login-params)
9151 (sql-mysql-login-params, sql-solid-login-params)
9152 (sql-sybase-login-params, sql-informix-login-params)
9153 (sql-ingres-login-params, sql-ms-login-params)
9154 (sql-postgres-login-params, sql-interbase-login-params)
9155 (sql-db2-login-params, sql-linter-login-params)
9156 (sql-oracle-scan-on): New variables.
9157 (sql-mode-map): Add C-c C-i to start interactive mode.
9158 (sql-mode-menu): Update existing menu entries.
9159 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9160 (sql-mode-oracle-font-lock-keywords)
9161 (sql-mode-postgres-font-lock-keywords)
9162 (sql-mode-ms-font-lock-keywords)
9163 (sql-mode-sybase-font-lock-keywords)
9164 (sql-mode-informix-font-lock-keywords)
9165 (sql-mode-interbase-font-lock-keywords)
9166 (sql-mode-ingres-font-lock-keywords)
9167 (sql-mode-solid-font-lock-keywords)
9168 (sql-mode-mysql-font-lock-keywords)
9169 (sql-mode-sqlite-font-lock-keywords)
9170 (sql-mode-db2-font-lock-keywords)
9171 (sql-mode-linter-font-lock-keywords): Update initialization to
9172 reduce run-time complexity.
9173 (sql-add-product, sql-del-product): New functions.
9174 (sql-set-product-feature, sql-get-product-feature): New functions.
9175 (sql-product-font-lock): Update product API.
9176 (sql-add-product-keywords): New function.
9177 (sql-highlight-product): Update product API.
9178 (sql-help-list-products): New function.
9179 (sql-help): Dynamically lists free and non-free products.
9180 (sql-get-login): Correct bug in handling history and added
9181 prompt for port.
9182 (sql-copy-column): Copy without properties.
9183 (sqli-input-sender): Apply filters to SQLi input.
9184 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9185 Implement as a filter.
9186 (sql-escape-newlines-filter): Implement as a filter.
9187 (sql-remove-tabs-filter): New function.
9188 (sql-send-magic-terminator): New function.
9189 (sql-send-string): Implement magic terminator.
9190 (sql-send-region): Use `sql-send-string'.
9191 (sql-interactive-mode): Use product API.
9192 (sql-product-interactive): Use product API.
9193 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9194 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9195 (sql-db2, sql-linter): Use `sql-product-interactive'.
9196 (sql-connect): New function.
9197 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9198 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9199 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9200 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9201 Use `sql-connect'.
9202
9203 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9204
9205 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9206 New custom variable.
9207 (completion-pcm--string->pattern): Use it.
9208 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9209 Make it handle any symbol as `any'.
9210 (completion-pcm--merge-completions): Extract common suffix for the new
9211 `prefix' symbol as well.
9212 (completion-substring--all-completions): Use the new `prefix' symbol.
9213
9214 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9215
9216 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9217 not bound.
9218 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9219 (tramp-compat-funcall): New defmacro.
9220 (tramp-compat-line-beginning-position)
9221 (tramp-compat-line-end-position)
9222 (tramp-compat-temporary-file-directory)
9223 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9224 (tramp-compat-copy-file, tramp-compat-copy-directory)
9225 (tramp-compat-delete-file, tramp-compat-delete-directory)
9226 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9227 * net/tramp.el (top, with-progress-reporter)
9228 (tramp-rfn-eshadow-setup-minibuffer)
9229 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9230 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9231 (tramp-completion-mode-p, tramp-check-for-regexp)
9232 (tramp-open-connection-setup-interactive-shell)
9233 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9234 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9235 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9236 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9237 (tramp-reporter-dump-variable, tramp-load-report-modules)
9238 (tramp-append-tramp-buffers)
9239 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9240
9241 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9242
9243 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9244
9245 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9246 buffer-modtime. Adjust users.
9247
9248 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9249
9250 * international/mule.el (auto-coding-alist): Only purecopy
9251 car of each item, not the whole list (Bug#6083).
9252
9253 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9254
9255 * progmodes/js.el (js-mode): Make paragraph variables local before
9256 calling c-setup-paragraph-variables (Bug#6071).
9257
9258 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9259
9260 * composite.el (compose-region, reference-point-alist): Fix typos
9261 in the doc strings.
9262
9263 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9264
9265 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9266 gnuplot's "set" command.
9267
9268 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9269
9270 * abbrev.el (last-abbrev-text): Doc fix.
9271 (abbrev-prefix-mark): Don't escape parenthesis.
9272
9273 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9274
9275 * composite.el (find-composition): Doc fix.
9276
9277 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9278
9279 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9280 (sql-oracle-program, sql-sqlite-options)
9281 (sql-query-placeholders-and-send): Doc fixes.
9282 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9283 (sql-imenu-generic-expression, sql-buffer)
9284 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9285 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9286 (sql-mode-sybase-font-lock-keywords)
9287 (sql-mode-informix-font-lock-keywords)
9288 (sql-mode-interbase-font-lock-keywords)
9289 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9290 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9291 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9292 (sql-product-feature, sql-highlight-product)
9293 (comint-line-beginning-position, sql-rename-buffer)
9294 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9295 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9296 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9297 Fix typos in docstrings.
9298
9299 2010-05-08 Juri Linkov <juri@jurta.org>
9300
9301 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9302 property instead of `invisible' and `after-string' (bug#5998).
9303
9304 2010-05-08 Juri Linkov <juri@jurta.org>
9305
9306 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9307
9308 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9309
9310 * filecache.el (file-cache-add-directory-list)
9311 (file-cache-add-directory-recursively): Fix typos in docstrings.
9312
9313 2010-05-08 Kenichi Handa <handa@m17n.org>
9314
9315 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9316 (gujarati-composable-pattern): Fix typo.
9317
9318 2010-05-08 Kenichi Handa <handa@m17n.org>
9319
9320 * language/indian.el (oriya-composable-pattern)
9321 (tamil-composable-pattern, malayalam-composable-pattern):
9322 Add two-part vowels to "v" (vowel sign).
9323
9324 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9325
9326 * files.el (copy-directory): Handle symlinks (Bug#5982).
9327
9328 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9329
9330 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9331 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9332 (Bug#5846).
9333
9334 2010-05-08 Glenn Morris <rgm@gnu.org>
9335
9336 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9337
9338 * minibuffer.el (completion-at-point): Doc fix.
9339
9340 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * electric.el (Electric-command-loop): Minor tweak.
9343
9344 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9345 better with dedicated windows.
9346
9347 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9348
9349 * Version 23.2 released.
9350
9351 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9352 Stefan Monnier <monnier@iro.umontreal.ca>
9353
9354 Highlight vendor specific properties.
9355 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9356 (css-proprietary-property): New face.
9357 (css-font-lock-keywords): Use them.
9358
9359 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9360
9361 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9362
9363 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9364
9365 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9366 * files.el (auto-mode-alist): Remove redundant entries.
9367
9368 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9369 * simple.el (auto-save-mode): Move from files.el.
9370 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9371
9372 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9373
9374 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9375
9376 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9377
9378 * mail/binhex.el (binhex-decode-region-internal)
9379 * mail/uudecode.el (uudecode-decode-region-internal)
9380 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9381 (dns-read-type, dns-query)
9382 * pgg-parse.el (pgg-parse-armor)
9383 * pgg.el (pgg-verify-region)
9384 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9385 XEmacs.
9386
9387 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9388
9389 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9390
9391 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9392
9393 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9394 * emulation/cua-base.el (cua-repeat-replace-region):
9395 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9396 (cua-cut-region-to-global-mark):
9397 Remove text properties with `set-text-properties'.
9398
9399 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9400
9401 * net/tramp.el (top, with-progress-reporter):
9402 Use `symbol-function' inside `funcall'.
9403
9404 * net/tramp-compat.el (tramp-compat-file-attributes)
9405 (tramp-compat-delete-file, tramp-compat-delete-directory):
9406 Handle only `wrong-number-of-arguments' error.
9407
9408 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9409 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9410 inside `funcall'.
9411
9412 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9413
9414 * minibuffer.el (completion--sreverse, completion--common-suffix):
9415 New functions.
9416 (completion-pcm--merge-completions): Extract common suffix when safe.
9417
9418 * emacs-lisp/easy-mmode.el (define-minor-mode):
9419 Make :variable more flexible.
9420 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9421
9422 2010-05-05 Juri Linkov <juri@jurta.org>
9423
9424 Add `slow' and `history' tags to the desktop data.
9425
9426 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9427 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9428 (Info-finder-find-node): Require `finder.el' to be able
9429 to restore node from the desktop.
9430 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9431 data `Info-history' and `slow' tag in the assoc list.
9432 (Info-restore-desktop-buffer): Don't restore nodes with the
9433 `slow' tag. Restore `Info-history'.
9434
9435 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9436
9437 Add FORCE argument to `delete-file'.
9438
9439 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9440 forcing to delete the temporary file.
9441 (ange-ftp-delete-file): Add FORCE arg.
9442 (ange-ftp-rename-remote-to-remote)
9443 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9444 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9445 Force file deletion.
9446
9447 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9448
9449 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9450 (tramp-handle-make-symbolic-link, tramp-handle-load)
9451 (tramp-do-copy-or-rename-file-via-buffer)
9452 (tramp-do-copy-or-rename-file-directly)
9453 (tramp-do-copy-or-rename-file-out-of-band)
9454 (tramp-handle-process-file, tramp-handle-call-process-region)
9455 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9456 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9457 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9458
9459 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9460 (tramp-fish-handle-make-symbolic-link)
9461 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9462
9463 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9464 Use `tramp-compat-delete-file'.
9465
9466 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9467 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9468
9469 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9470 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9471
9472 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9473 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9474 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9475 Use `tramp-compat-delete-file'.
9476
9477 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9478
9479 Minor cleanups.
9480 * subr.el (add-minor-mode): Use push.
9481 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9482 * emulation/edt.el (edt-select-mode): Simplify.
9483
9484 Use define-minor-mode in more cases.
9485 * term/tvi970.el (tvi970-set-keypad-mode):
9486 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9487 (normal-erase-is-backspace-mode):
9488 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9489 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9490 (get-scroll-bar-mode): New function.
9491 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9492
9493 Use define-minor-mode for less obvious cases.
9494 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9495 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9496 * international/iso-ascii.el (iso-ascii-mode):
9497 * frame.el (auto-raise-mode, auto-lower-mode):
9498 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9499
9500 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9501
9502 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9503 in order to see error messages for failed logins.
9504
9505 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9506
9507 * diff.el (diff-sentinel):
9508
9509 * epg.el (epg--make-temp-file, epg-decrypt-string)
9510 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9511
9512 * jka-compr.el (jka-compr-partial-uncompress)
9513 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9514
9515 * server.el (server-sentinel): Use delete-file's new FORCE arg
9516 (Bug#6070).
9517
9518 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9519
9520 Use define-minor-mode where applicable.
9521 * view.el (view-mode):
9522 * type-break.el (type-break-query-mode)
9523 (type-break-mode-line-message-mode):
9524 * textmodes/reftex.el (reftex-mode):
9525 * term/vt100.el (vt100-wide-mode):
9526 * tar-mode.el (tar-subfile-mode):
9527 * savehist.el (savehist-mode):
9528 * ibuf-ext.el (ibuffer-auto-mode):
9529 * composite.el (auto-composition-mode):
9530 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9531 Use define-minor-mode.
9532 (vhdl-mode): Use static mode-line format.
9533 (vhdl-mode-line-update): Delete.
9534 (vhdl-create-mode-menu, vhdl-activate-customizations)
9535 (vhdl-hs-minor-mode): Don't bother calling it.
9536
9537 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * simple.el (with-wrapper-hook): Move.
9540 (buffer-substring-filters): Mark obsolete.
9541 (filter-buffer-substring-functions): New variable.
9542 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9543
9544 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9545 Michael Albinus <michael.albinus@gmx.de>
9546
9547 Implement compression for inline methods.
9548
9549 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9550 (tramp-copy-size-limit): Allow also nil.
9551 (tramp-inline-compress-commands): New defconst.
9552 (tramp-find-inline-compress, tramp-get-inline-compress)
9553 (tramp-get-inline-coding): New defuns.
9554 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9555 replaced by `tramp-get-inline-coding'.
9556 (tramp-handle-file-local-copy, tramp-handle-write-region)
9557 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9558
9559 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9560
9561 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9562 Remove unused functions.
9563
9564 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9565 Set find-tag-default-function as a variable rather than a property.
9566
9567 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9568 * progmodes/etags.el (tags-completion-at-point-function):
9569 Remove left over interactive spec. Add autoloading stub.
9570 (complete-tag): Use tags-completion-at-point-function.
9571
9572 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9573
9574 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9575
9576 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9577
9578 * ido.el (ido-init-completion-maps): Remove C-v binding.
9579 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9580
9581 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9582
9583 * minibuffer.el (tags-completion-at-point-function): New function.
9584 (completion-at-point-functions): Use it.
9585
9586 * progmodes/etags.el (complete-tag): Revert last change.
9587
9588 2010-04-29 Alan Mackenzie <acm@muc.de>
9589
9590 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9591 off-by-one error (in end of macro position).
9592
9593 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9594
9595 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9596 firefox is absent. Don't autoload.
9597 (browse-url-galeon-program): Don't autoload.
9598
9599 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9600
9601 * bindings.el (complete-symbol): Move into minibuffer.el.
9602
9603 * minibuffer.el (complete-tag): Move from etags.el. If tags
9604 completion cannot be performed, return nil instead of signalling
9605 an error.
9606 (completion-at-point): Make it an alias for complete-symbol.
9607 (complete-symbol): Move from bindings.el, and replace with the
9608 body of completion-at-point.
9609
9610 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9611
9612 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9613
9614 * net/tramp.el (tramp-remote-selinux-p): New defun.
9615 (tramp-handle-file-selinux-context)
9616 (tramp-handle-set-file-selinux-context): Use it.
9617
9618 2010-04-28 Sam Steingold <sds@gnu.org>
9619
9620 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9621 `safe-local-variable' if the value is a string or a symbol with
9622 the property `bug-reference-url-format'.
9623
9624 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9625
9626 * progmodes/bug-reference.el (bug-reference-url-format):
9627 Revert 2010-04-27 change due to security risk.
9628
9629 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9630
9631 Make it possible to locally disable a globally enabled mode.
9632 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9633 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9634 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9635 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9636 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9637 that subsequent hooks get a chance to disable it.
9638
9639 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9642 Avoid re-enabling a minor mode after the user turned the minor mode
9643 off if MODE-enable-in-buffers is run twice (typically once from
9644 fundamental-mode's after-change-major-mode-hook and a second time from
9645 run-mode-hook's own after-change-major-mode-hook).
9646
9647 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9648
9649 2010-04-27 Sam Steingold <sds@gnu.org>
9650
9651 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9652 `safe-local-variable' if the value is a string or a function, as
9653 documented and implemented on 2010-04-02.
9654
9655 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9656
9657 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9658 when method is 'kill.
9659
9660 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9661
9662 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9663 condition in default directory check.
9664 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9665 Kill ispell process when killing its associated buffer.
9666
9667 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9668
9669 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9670 but we aren't using it.
9671
9672 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9673
9674 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9675 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9676
9677 2010-04-24 Glenn Morris <rgm@gnu.org>
9678
9679 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9680 Ignore VCS-ignore files, and deleted nextstep preferences files.
9681 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9682 (authors-ambiguous-files): New list.
9683 (authors-valid-file-names): Add some deleted files.
9684 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9685 (authors-disambiguate-file-name): New function. (Bug#5501)
9686 (authors-canonical-file-name): Doc fix.
9687 Don't warn about obsolete files.
9688 (authors-canonical-file-name, authors-scan-el):
9689 Use authors-disambiguate-file-name.
9690
9691 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9692 Add autoload cookies.
9693 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9694 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9695 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9696 They have definitions / compiler macros in cl.el.
9697 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9698 Replace manual autoloads with generated ones.
9699 (htmlfontify-unload-rgb-file): Remove autoload.
9700 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9701
9702 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9705 (byte-compile-setq-default): Optimize for the
9706 single-var case and don't call byte-compile-form in this case to avoid
9707 inf-loop with byte-compile-set-default.
9708
9709 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9710
9711 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9712
9713 Implement SELINUX backends.
9714
9715 * net/tramp.el (tramp-file-name-handler-alist):
9716 Add `file-selinux-context' and `set-file-selinux-context'.
9717 (tramp-handle-file-selinux-context)
9718 (tramp-handle-set-file-selinux-context): New defuns.
9719 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9720 Handle PRESERVE-SELINUX-CONTEXT.
9721
9722 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9723 Add `file-selinux-context' and `set-file-selinux-context'.
9724 (tramp-gvfs-handle-file-selinux-context)
9725 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9726 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9727
9728 * net/ange-ftp.el (ange-ftp-copy-file):
9729 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9730 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9731 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9732 Add PRESERVE-SELINUX-CONTEXT.
9733
9734 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9735
9736 Synchronize with Tramp repository.
9737
9738 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9739 (tramp-action-process-alive, tramp-action-out-of-band)
9740 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9741 (tramp-exists-file-name-handler): Fix docstring.
9742 (with-progress-reporter): New defmacro.
9743 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9744 (tramp-maybe-open-connection): Use it.
9745
9746 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9747
9748 Detect ssh 'ControlMaster' argument automatically in some cases.
9749
9750 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9751 (tramp-default-method): Use it.
9752
9753 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9754
9755 * net/tramp.el (tramp-handle-copy-file): Add new optional
9756 parameter `preserve-selinux-context'.
9757 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9758
9759 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9760
9761 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9762 Ensure, that non remote files are still checked. Oops.
9763
9764 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9765
9766 Fix Bug#5840.
9767
9768 * icomplete.el (icomplete-completions): Use `non-essential'.
9769
9770 * net/tramp.el (tramp-connectable-p): New defun.
9771 (tramp-handle-expand-file-name)
9772 (tramp-completion-handle-file-name-all-completions)
9773 (tramp-completion-handle-file-name-completion): Use it.
9774
9775 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9776
9777 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9778
9779 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9780
9781 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9782
9783 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9784
9785 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9786 is present.
9787
9788 * info.el (info-tool-bar-map): Add labels.
9789
9790 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9791
9792 * cus-edit.el (custom-commands): Add labels for tool bar.
9793 (custom-buffer-create-internal, Custom-mode): Adjust for
9794 labels in custom-commands.
9795
9796 * dynamic-setting.el: Renamed from font-setting.el.
9797
9798 2010-04-21 John Wiegley <jwiegley@gmail.com>
9799
9800 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9801 toggles the use of virtual buffers.
9802 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9803 (ido-toggle-virtual-buffers): New function.
9804
9805 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9806
9807 Use `define-derived-mode'; fix window selection; doc fixes.
9808 * play/tetris.el (tetris, tetris-update-speed-function)
9809 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9810 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9811 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9812 (tetris-pause-game): Fix typos in docstrings.
9813 (tetris-mode-map, tetris-null-map):
9814 Move initialization into declaration.
9815 (tetris-mode): Define with `define-derived-mode';
9816 set show-trailing-whitespace to nil.
9817 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9818
9819 2010-04-21 Karel Klíč <kklic@redhat.com>
9820
9821 * files.el (backup-buffer): Handle SELinux context, and return it
9822 if a backup was made by renaming.
9823 (backup-buffer-copy): Set SELinux context to the target file.
9824 (basic-save-buffer): Set SELinux context of the newly written file.
9825 (basic-save-buffer-1): Now it also returns any SELinux context.
9826 (basic-save-buffer-2): Set SELinux context of the newly created file,
9827 and return it.
9828 * net/tramp.el (tramp-file-name-for-operation):
9829 Add file-selinux-context.
9830
9831 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9832
9833 Make the log-edit comments use RFC822 format throughout.
9834
9835 * vc.el (vc-checkin, vc-modify-change-comment):
9836 Adjust to new vc-start/finish-logentry.
9837 (vc-find-conflicted-file): New command.
9838 (vc-transfer-file): Adjust to new vc-checkin.
9839 (vc-next-action): Improve scoping.
9840
9841 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9842 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9843
9844 * vc-git.el (vc-git-log-edit-mode): Remove.
9845 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9846 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9847
9848 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9849 (vc-start-logentry): Remove argument `extra'.
9850 (vc-finish-logentry): Remove extra args.
9851
9852 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9853 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9854 (vc-bzr-conflicted-files): New function.
9855
9856 * log-edit.el (log-edit-extra-flags)
9857 (log-edit-before-checkin-process): Remove.
9858 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9859 (log-edit-headers-alist): New var.
9860 (log-edit-header-contents-regexp): New const.
9861 (log-edit-match-to-eoh): New function.
9862 (log-edit-font-lock-keywords): Use them.
9863 (log-edit): Insert a "Summary:" header as default.
9864 (log-edit-mode): Mark font-lock rules as case-insensitive.
9865 (log-edit-done): Cleanup headers.
9866 (log-view-process-buffer): Remove.
9867 (log-edit-extract-headers): New function to replace it.
9868
9869 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9870
9871 * subr.el (default-direction-reversed): Remove obsolescence info.
9872
9873 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9876 windows/frames.
9877
9878 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9879 I.e. include text after point in the completion region.
9880 Also, return nil when we're not after/in a symbol.
9881
9882 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9883 default enable-multibyte-characters.
9884
9885 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * international/mule.el: Help the user choose a valid coding-system.
9888 (read-buffer-file-coding-system): New function.
9889 (set-buffer-file-coding-system): Use it. Prompt the user if the
9890 coding-system cannot encode all the chars.
9891
9892 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9893 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9894 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9895 Don't use *vc-bzr-shelve*.
9896
9897 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9898
9899 Fix the version number for added files.
9900 * vc-hg.el (vc-hg-working-revision): Check if the file is
9901 registered after hg parent fails (Bug#5961).
9902
9903 2010-04-19 Glenn Morris <rgm@gnu.org>
9904
9905 * htmlfontify.el (htmlfontify-buffer)
9906 (htmlfontify-copy-and-link-dir): Autoload entry points.
9907
9908 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9909
9910 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9911 name relative to the project root (Bug#5960).
9912
9913 2010-04-19 Glenn Morris <rgm@gnu.org>
9914
9915 * vc-git.el (vc-git-print-log): Doc fix.
9916
9917 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9918
9919 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9920
9921 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9922
9923 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9924 default settings (Bug#5928).
9925
9926 2010-04-19 Glenn Morris <rgm@gnu.org>
9927
9928 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9929 New function.
9930 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9931
9932 2010-04-19 Kenichi Handa <handa@m17n.org>
9933
9934 * language/indian.el (malayalam-composable-pattern): Fix previous
9935 change (add U+0D4D "SIGN VIRAMA").
9936 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9937 (tamil-composable-pattern): Fix typo in the regexp.
9938 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9939 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9940 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9941
9942 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9943
9944 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9945 paragraph-separate (Bug#5821).
9946
9947 2010-04-19 Juri Linkov <juri@jurta.org>
9948
9949 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9950
9951 * info.el (Info-find-node-2): Comment out code that skips
9952 breadcrumbs line.
9953 (Info-mouse-follow-link): New command.
9954 (Info-link-keymap): New keymap.
9955 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9956 Return a string with links instead of inserting breadcrumbs
9957 to the Info buffer.
9958 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9959 Instead of putting the `invisible' text property over the Info
9960 header, make an overlay over the Info header with the `invisible'
9961 property and `after-string' set to the string returned by
9962 `Info-breadcrumbs'.
9963
9964 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9965
9966 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9967 Reported by monkey@sandpframing.com.
9968
9969 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9972 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9973 available in the "keyseq cache" any more.
9974
9975 * custom.el (defcustom): Add edebug spec.
9976
9977 2010-04-18 Juri Linkov <juri@jurta.org>
9978
9979 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9980
9981 * view.el (view-file, view-buffer): Move test for special mode-class
9982 from view-file to view-buffer.
9983
9984 * tar-mode.el (tar-extract): Turn if's into one cond
9985 like in arc-mode.el.
9986
9987 2010-04-18 Juri Linkov <juri@jurta.org>
9988
9989 Add 7z archive format support (bug#5475).
9990
9991 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9992 (archive-7z-extract): New defcustom.
9993 (archive-find-type): Add magic string for 7z.
9994 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9995 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9996 `buffer' arg of `call-process'.
9997 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9998 call the function `archive-7z-extract' with the variable
9999 `archive-7z-extract' let-bound to `archive-zip-extract'.
10000 (archive-7z-summarize, archive-7z-extract): New functions.
10001
10002 * international/mule.el (auto-coding-alist):
10003 * files.el (auto-mode-alist): Add 7z file extension.
10004
10005 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10006
10007 * loadup.el: Setup hash-cons for pure data.
10008
10009 Fix duplicate entries in cedet's loaddefs.el files.
10010 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10011 Should make most file-local generated-autoload-file unnecessary.
10012 (print-readably): Silence warnings.
10013 (autoload-find-destination): Take load-name as an arg to make sure
10014 it's the same as the one that will be in the file.
10015 (autoload-generate-file-autoloads): Adjust to above changes.
10016 Try to make the dataflow a bit simpler.
10017
10018 * cvs-status.el (cvs-refontify): Remove unused.
10019
10020 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10021
10022 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10023
10024 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10025 twos-complement mode.
10026
10027 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10028
10029 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10030 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10031 (calc-inverse): Add "Option" to message, as appropriate.
10032 (calc-hyperbolic): Add "Option" to message, as appropriate.
10033 (calc-option, calc-is-option): New functions.
10034
10035 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10036 (calc-option-prefix-help): New function.
10037
10038 * calc/calc-misc.el (calc-help): Add "Option" entry.
10039
10040 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10041 (calc-option-flag): New variable.
10042 (calc-do): Set `calc-option-flag to nil.
10043 (calc-set-mode-line): Add "Opt " as appropriate.
10044
10045 2010-04-16 Juri Linkov <juri@jurta.org>
10046
10047 Move scrolling commands from simple.el to window.el
10048 because their primitives are implemented in window.c.
10049
10050 * simple.el (scroll-error-top-bottom)
10051 (scroll-up-command, scroll-down-command, scroll-up-line)
10052 (scroll-down-line, scroll-other-window-down)
10053 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10054 * window.el (scroll-error-top-bottom)
10055 (scroll-up-command, scroll-down-command, scroll-up-line)
10056 (scroll-down-line, scroll-other-window-down)
10057 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10058 Move from simple.el to window.el because their primitives are
10059 implemented in window.c.
10060
10061 2010-04-16 Juri Linkov <juri@jurta.org>
10062
10063 * isearch.el (isearch-lookup-scroll-key): Check both
10064 `isearch-scroll' and `scroll-command' properties.
10065 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10066
10067 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10068
10069 * simple.el (scroll-up-command, scroll-down-command)
10070 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10071
10072 2010-04-15 Juri Linkov <juri@jurta.org>
10073
10074 * simple.el (scroll-up-command, scroll-down-command)
10075 (scroll-up-line, scroll-down-line): Put `scroll-command'
10076 property on the these symbols. Remove them from
10077 `scroll-preserve-screen-position-commands'.
10078
10079 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10080 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10081 Remove it from `scroll-preserve-screen-position-commands'.
10082
10083 * isearch.el (isearch-allow-scroll): Doc fix.
10084
10085 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10086
10087 * net/tramp.el (tramp-error-with-buffer): Don't show the
10088 connection buffer when we are in completion mode.
10089 (tramp-file-name-handler): Catch the error for some operations
10090 when we are in completion mode. This gives the user the chance to
10091 correct the file name in the minibuffer.
10092
10093 2010-04-15 Glenn Morris <rgm@gnu.org>
10094
10095 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10096
10097 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10098
10099 Simplify by using `define-derived-mode'.
10100 * info.el (Info-mode):
10101 * calendar/todo-mode.el (todo-mode):
10102 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10103 (gomoku-mode-map): Move initialization into declaration.
10104
10105 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10106
10107 Fix Bug#5840.
10108 * ido.el (ido-file-name-all-completions-1):
10109 * minibuffer.el (minibuffer-completion-help):
10110 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10111
10112 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 * simple.el (non-essential): New var.
10115
10116 Add a new field `location' to bookmarks for non-file bookmarks.
10117 * bookmark.el (bookmark-location): Use the new field, if present.
10118 (bookmark-insert-location): Undo last change, not needed any more.
10119 * man.el (Man-bookmark-make-record):
10120 * woman.el (woman-bookmark-make-record): Add `location' field.
10121
10122 2010-04-14 Juri Linkov <juri@jurta.org>
10123
10124 * simple.el (scroll-error-top-bottom): New defcustom.
10125 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10126
10127 * emulation/pc-select.el (pc-select-override-scroll-error):
10128 Obsolete in favor of `scroll-error-top-bottom'.
10129
10130 2010-04-14 Juri Linkov <juri@jurta.org>
10131
10132 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10133 `scroll-up-command' and `M-v' to `scroll-down-command'.
10134
10135 * emulation/cua-rect.el (cua--init-rectangles):
10136 * forms.el (forms--change-commands):
10137 * image-mode.el (image-mode-map):
10138 Remap scroll-down-command and scroll-up-command
10139 in addition to scroll-down and scroll-up.
10140
10141 2010-04-14 Juri Linkov <juri@jurta.org>
10142
10143 * mwheel.el (scroll-preserve-screen-position-commands):
10144 Add mwheel-scroll to this list of commands.
10145
10146 * simple.el (scroll-preserve-screen-position-commands):
10147 Add scroll-up-command, scroll-down-command, scroll-up-line,
10148 scroll-down-line to this list of commands.
10149
10150 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10151
10152 * obsolete/complete.el: Move from lisp/complete.el.
10153
10154 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10155
10156 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10157 to the minor mode function now turns the mode ON unconditionally.
10158
10159 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * vc-dir.el (vc-dir-kill-line): New command.
10162 (vc-dir-mode-map): Bind it to C-k.
10163
10164 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10165
10166 * woman.el: Add bookmark declarations to silence the compiler.
10167 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10168 step to compatibility between man and woman bookmarks.
10169 Adjust for Man-default-bookmark-title renaming.
10170 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10171
10172 * man.el: Add bookmark declarations to silence the compiler.
10173 (Man-name-local-regexp): Make it match NAME as well.
10174 (Man-getpage-in-background): Return the buffer.
10175 (Man-notify-when-ready): Use `case'.
10176 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10177 Don't hardcode "NAME". Simplify.
10178 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10179 Rename from Man-bookmark-make-record.
10180 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10181 we have the actual man-args. Use Man-getpage-in-background rather
10182 than `man' since the arg is already processed. Let bookmark.el do the
10183 window handling. Only wait for the relevant process.
10184 Don't forget to autoload.
10185
10186 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10187
10188 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10189
10190 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10191 New functions.
10192 (woman-mode): Setup bookmark support.
10193
10194 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10195 (man-bookmark-jump): New functions.
10196 (Man-mode): Setup bookmark support.
10197
10198 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10199
10200 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10201 recognize ssh-keygen prompt (Bug#2817).
10202
10203 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10204
10205 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10206
10207 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10208
10209 Synchronize with Tramp repository.
10210
10211 * net/tramp.el (tramp-completion-function-alist)
10212 (tramp-file-name-regexp, tramp-chunksize)
10213 (tramp-local-coding-commands, tramp-remote-coding-commands):
10214 Fix docstring.
10215 (tramp-remote-process-environment): Use `format' instead of `concat'.
10216 (tramp-handle-directory-files-and-attributes)
10217 (tramp-get-remote-path): Use `copy-tree'.
10218 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10219 compatibility: Use `completion-ignore-case' if
10220 `read-file-name-completion-ignore-case' does not exist.
10221 (tramp-do-copy-or-rename-file-directly): Do not use
10222 `tramp-handle-file-remote-p'.
10223 (tramp-do-copy-or-rename-file-out-of-band):
10224 Use `tramp-compat-delete-directory'.
10225 (tramp-do-copy-or-rename-file-out-of-band)
10226 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10227 Use `format-spec-make'.
10228 (tramp-find-foreign-file-name-handler)
10229 (tramp-advice-make-auto-save-file-name)
10230 (tramp-set-auto-save-file-modes): Remove superfluous check for
10231 `stringp'. This is done inside `tramp-tramp-file-p'.
10232 (tramp-debug-outline-regexp): New defconst.
10233 (tramp-get-debug-buffer): Use it.
10234 (tramp-check-for-regexp): Use (forward-line 1).
10235 (tramp-set-auto-save-file-modes): Adapt version check.
10236
10237 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10238 Wrap call of `featurep' for 2nd argument.
10239 (tramp-compat-make-temp-file): Simplify fallback implementation.
10240 (tramp-compat-copy-tree): Remove function.
10241 (tramp-compat-delete-directory): Provide implementation for older
10242 Emacsen.
10243
10244 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10245 Do not use `tramp-fish-handle-file-attributes.
10246
10247 * net/trampver.el: Update release number.
10248
10249 2010-04-10 Glenn Morris <rgm@gnu.org>
10250
10251 * progmodes/compile.el (compilation-save-buffers-predicate):
10252 Add missing :version tag.
10253
10254 2010-04-09 Sam Steingold <sds@gnu.org>
10255
10256 * progmodes/compile.el (compilation-save-buffers-predicate):
10257 Remove the "autoload" cookie.
10258
10259 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10260 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10261 and `bug-reference-prog-mode' can be used in hooks directly.
10262
10263 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10264
10265 Add --author support to git commit.
10266 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10267 (vc-git-log-edit-mode): New minor mode.
10268 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10269 New declarations.
10270
10271 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10272
10273 * vc-hooks.el, vc-git.el: Improve documentation comments.
10274
10275 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 Fix some of the problems in defsubst* (bug#5728).
10278 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10279 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10280
10281 2010-04-07 Sam Steingold <sds@gnu.org>
10282
10283 * progmodes/compile.el (compilation-save-buffers-predicate):
10284 New custom variable.
10285 (compile, recompile): Pass it to `save-some-buffers'.
10286
10287 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10288
10289 * wid-edit.el (widget-choose): Move cursor to the second line of
10290 the buffer (Bug#5695).
10291
10292 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10293
10294 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10295 * vc.el (vc-print-log-setup-buttons): New function split out from
10296 vc-print-log-internal.
10297 (vc-log-internal-common): New function, a parametrized version of
10298 vc-print-log-internal.
10299 (vc-print-log-internal): Just call vc-log-internal-common with the
10300 right arguments.
10301 (vc-incoming-outgoing-internal):
10302 (vc-log-incoming, vc-log-outgoing): New functions.
10303 (vc-log-view-type): New permanent local variable.
10304
10305 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10306
10307 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10308 of the dynamic bound vc-short-log.
10309 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10310
10311 * vc-git.el (vc-git-log-outgoing): New function.
10312 (vc-git-log-view-mode): Use vc-log-view-type instead
10313 of the dynamic bound vc-short-log.
10314
10315 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10316 of the dynamic bound vc-short-log. Highlight the tag.
10317 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10318 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10319 (vc-hg-incoming-mode): Remove.
10320 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10321
10322 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10323
10324 Fix default-directory for vc-root-diff.
10325 * vc.el (vc-root-diff): Bind default-directory to the root
10326 directory for the diff command.
10327
10328 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10329
10330 * progmodes/verilog-mode.el (verilog-forward-sexp):
10331 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10332 word keywords, suggested by Steve Pearlmutter.
10333 (verilog-pretty-declarations): Support lineup of declarations in
10334 port lists.
10335 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10336 fix bug for /* / comments.
10337 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10338 Speed up and simplfy as this is never called with a bound.
10339 (verilog-pretty-declarations): Enhance to line up declarations
10340 inside a parameter list, suggested by Alan Morgan.
10341 (verilog-pretty-expr): Tune assignment regular expression match
10342 string for corner cases; also use markers instead of character
10343 number as indent changes the later.
10344
10345 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10346
10347 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10348 as missing keyword.
10349 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10350 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10351 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10352 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10353 Tennant.
10354 (verilog-keywords):
10355 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10356 1800-2009 keywords, including "global.".
10357
10358 2010-04-06 John Wiegley <jwiegley@gmail.com>
10359
10360 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10361 appearing in buffer list (if a live buffer name matched a recentf
10362 file basename). Should use uniquify to offer a real solution.
10363
10364 2010-04-06 John Wiegley <jwiegley@gmail.com>
10365
10366 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10367 comment to code, and add a :version tag.
10368 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10369
10370 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10371
10372 Enable recentf-mode if using virtual buffers.
10373 * ido.el (recentf-list): Declare for byte-compiler.
10374 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10375 (ido-make-buffer-list): Simplify.
10376 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10377
10378 2010-04-05 Juri Linkov <juri@jurta.org>
10379
10380 Scrolling commands which scroll a line instead of full screen.
10381 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10382
10383 * simple.el (scroll-up-line, scroll-down-line): New commands.
10384 Put property isearch-scroll=t on them.
10385
10386 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10387 Remove commands.
10388
10389 2010-04-05 Juri Linkov <juri@jurta.org>
10390
10391 Scrolling commands which do not signal errors at top/bottom.
10392 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10393
10394 * simple.el (scroll-up-command, scroll-down-command): New commands.
10395 Put property isearch-scroll=t on them.
10396
10397 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10398 `scroll-down-command' and [next] from `scroll-up' to
10399 `scroll-up-command'.
10400
10401 * emulation/cua-base.el: Put property CUA=move on
10402 `scroll-up-command' and `scroll-down-command'.
10403 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10404 and `scroll-down-command' to `cua-scroll-down'.
10405
10406 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10407
10408 * help.el (describe-mode): Return nil.
10409
10410 2010-04-04 John Wiegley <jwiegley@gmail.com>
10411
10412 * ido.el (ido-use-virtual-buffers): New variable to indicate
10413 whether "virtual buffer" support is enabled for IDO.
10414 (ido-virtual): Face used to indicate virtual buffers in the list.
10415 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10416 exists, but a virtual buffer of that name does (which would be why
10417 it was in the list), recreate the buffer by reopening the file.
10418 (ido-make-buffer-list): If virtual buffers are being used, call
10419 `ido-add-virtual-buffers-to-list' before the make list hook.
10420 (ido-virtual-buffers): New variable which contains a copy of the
10421 current contents of the `recentf-list', albeit pared down for the
10422 sake of speed, and with proper faces applied.
10423 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10424 create a list of "virtual buffers" to present to the user in
10425 addition to the currently open set. Note that this logic could
10426 get rather slow if that list is too large. With the default
10427 `recentf-max-saved-items' of 200, there is little speed penalty.
10428
10429 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10430
10431 * font-lock.el: Require CL when compiling.
10432 (font-lock-turn-on-thing-lock): Use `case'.
10433
10434 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10435
10436 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10437 Zaretskii.
10438
10439 2010-04-02 Juri Linkov <juri@jurta.org>
10440
10441 * ehelp.el (electric-help-orig-major-mode):
10442 New buffer-local variable.
10443 (electric-help-mode): Set it to original major-mode. Doc fix.
10444 (with-electric-help): Use `electric-help-orig-major-mode' instead
10445 of (default-value 'major-mode). Doc fix.
10446 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10447
10448 2010-04-02 Sam Steingold <sds@gnu.org>
10449
10450 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10451 `vc-hg-command' with a list of flags.
10452
10453 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10454 Also accept "patch" and "RFE".
10455 (bug-reference-fontify): `bug-reference-url-format' can also be a
10456 function to be able to handle the bug kind.
10457 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10458
10459 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10460
10461 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10462 value to fboundp, it may not be a symbol.
10463
10464 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10465
10466 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10467
10468 2010-03-31 Juri Linkov <juri@jurta.org>
10469
10470 * simple.el (next-line, previous-line): Re-throw a signal
10471 with `signal' instead of using `ding'.
10472 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10473
10474 2010-03-31 Juri Linkov <juri@jurta.org>
10475
10476 * simple.el (keyboard-escape-quit): Raise deselecting the active
10477 region higher than exiting the minibuffer.
10478 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10479
10480 2010-03-31 Juri Linkov <juri@jurta.org>
10481
10482 * image.el (image-animated-p): Use `image-metadata' instead of
10483 `image-extension-data'. Get GIF extenstion data from metadata
10484 property `extension-data'.
10485
10486 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * simple.el (append-to-buffer): Simplify.
10489
10490 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10491
10492 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10493 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10494
10495 2010-03-31 Kenichi Handa <handa@m17n.org>
10496
10497 * language/sinhala.el (composition-function-table): Fix regexp for
10498 the new Unicode specification.
10499
10500 * language/indian.el (devanagari-composable-pattern)
10501 (tamil-composable-pattern, kannada-composable-pattern)
10502 (malayalam-composable-pattern): Adjust for the new Unicode
10503 specification.
10504 (bengali-composable-pattern, gurmukhi-composable-pattern)
10505 (gujarati-composable-pattern, oriya-composable-pattern)
10506 (telugu-composable-pattern): New variables to cope with the new
10507 Unicode specification. Use them in composition-function-table.
10508
10509 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10510
10511 Make tmm-menubar work for the Buffers menu again (bug#5726).
10512 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10513 vectors rather than cons cells, as used in menu-bar-update-buffers.
10514
10515 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10516
10517 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10518 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10519 electric punctuation for "{}();,:" (Bug#5586).
10520
10521 * mail/sendmail.el (mail-default-directory): Doc fix.
10522
10523 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10524
10525 * mail/sendmail.el (mail-default-directory): Doc fix.
10526
10527 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10528
10529 * subr.el (version-regexp-alist, version-to-list)
10530 (version-list-<, version-list-=, version-list-<=)
10531 (version-list-not-zero, version<, version<=, version=): Doc fix.
10532 (Bug#5744).
10533
10534 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10535
10536 * vc.el (vc-root-diff): Doc fix.
10537
10538 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10539
10540 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10541
10542 * simple.el (append-to-buffer): Fix last change.
10543
10544 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10545
10546 * simple.el (append-to-buffer): Ensure that point is preserved if
10547 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10548 (Bug#5749)
10549
10550 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10551
10552 * files.el (auto-mode-case-fold): Change default to t.
10553
10554 2010-03-30 Juri Linkov <juri@jurta.org>
10555
10556 * dired-x.el (dired-omit-mode): Doc fix.
10557
10558 2010-03-30 Juri Linkov <juri@jurta.org>
10559
10560 * replace.el (occur-accumulate-lines): Move occur-engine related
10561 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10562 to be located after `occur-engine'.
10563
10564 2010-03-30 Juri Linkov <juri@jurta.org>
10565
10566 Make occur handle multi-line matches cleanly with context.
10567 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10568
10569 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10570 (occur-engine): Add local variables `ret', `prev-after-lines',
10571 `prev-lines'. Use more arguments for `occur-context-lines'.
10572 Set first elem of its returned list to `data', and the second elem
10573 to `prev-after-lines'. Don't print the separator line.
10574 In the end, print remaining context after-lines.
10575 (occur-context-lines): Add new arguments `begpt', `endpt',
10576 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10577 after-lines of the previous match with before-lines of the
10578 current match and not overlap them. Return a list with two
10579 values: the output line and the list of context after-lines.
10580
10581 2010-03-30 Juri Linkov <juri@jurta.org>
10582
10583 * replace.el (occur-accumulate-lines): Fix a bug where the first
10584 context line at the beginning of the buffer was missing.
10585
10586 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10587
10588 * files.el: Make bidi-display-reordering safe variable for boolean
10589 values.
10590
10591 2010-03-29 Phil Hagelberg <phil@evri.com>
10592 Chong Yidong <cyd@stupidchicken.com>
10593
10594 * subr.el: Extend progress reporters to perform "spinning".
10595 (progress-reporter-update, progress-reporter-do-update):
10596 Handle non-numeric value arguments.
10597 (progress-reporter--pulse-characters): New var.
10598
10599 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10600
10601 * progmodes/compile.el (compilation-start): Fix regexp detection
10602 of initial cd command (Bug#5771).
10603
10604 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10605
10606 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10607
10608 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10609
10610 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10611 * progmodes/gdb-mi.el: Restore.
10612 * progmodes/gdb-ui.el: Remove.
10613 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10614
10615 2010-03-25 Glenn Morris <rgm@gnu.org>
10616
10617 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10618 all dired buffers, even tramp ones. (Bug#5755)
10619
10620 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 Add "union tags" in mpc.el.
10623 * mpc.el: Remove backward compatibility code.
10624 (mpc-browser-tags): Change default.
10625 (mpc--find-memoize-union-tags): New var.
10626 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10627 (mpc-cmd-find): Handle the case where the playlist does not exist.
10628 Handle union-tags.
10629 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10630 (mpc-cmd-add): Use mpc-cmd-flush.
10631 (mpc-tagbrowser-tag-name): New fun.
10632 (mpc-tagbrowser-buf): Use it.
10633 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10634
10635 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 Misc cleanup.
10638 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10639 Use replace-regexp-in-string.
10640 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10641 (makefile-imake-mode-syntax-table): Move init into defvar.
10642 (makefile-mode): Use define-derived-mode.
10643
10644 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10645 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10646 not be present any more.
10647
10648 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10649
10650 * faces.el (set-face-attribute): Fix typo in docstring.
10651 (face-valid-attribute-values): Reflow docstring.
10652
10653 2010-03-24 Glenn Morris <rgm@gnu.org>
10654
10655 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10656
10657 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10658
10659 * indent.el (indent-for-tab-command): Doc fix.
10660
10661 2010-03-24 Alan Mackenzie <acm@muc.de>
10662
10663 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10664 Fix off-by-one error. Fixes bug #5747.
10665
10666 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10667
10668 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10669 (image-dired-read-comment): Doc fix.
10670
10671 * json.el (json-object-type, json-array-type, json-key-type)
10672 (json-false, json-null, json-read-number):
10673 * minibuffer.el (completion-in-region-functions):
10674 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10675 (cal-tex-cursor-week):
10676 * emacs-lisp/trace.el (trace-function):
10677 * eshell/em-basic.el (eshell/printnl):
10678 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10679 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10680 * obsolete/levents.el (allocate-event, event-key, event-object)
10681 (event-point, event-process, event-timestamp, event-to-character)
10682 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10683 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10684 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10685 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10686 (reftex-highlight-selection): Fix typos in docstrings.
10687
10688 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10689
10690 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10691
10692 2010-03-24 Glenn Morris <rgm@gnu.org>
10693
10694 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10695 2008-02-13 without comment; mark it obsolete.
10696 (rmail-highlight-headers): Use rmail-highlight-face once more.
10697
10698 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10699
10700 * woman.el (woman2-process-escapes): Only consume the newline if
10701 the filler character is on a line by itself (Bug#5729).
10702
10703 2010-03-24 Kenichi Handa <handa@m17n.org>
10704
10705 * language/indian.el (devanagari-composable-pattern): Add more
10706 consonants.
10707
10708 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10709
10710 * net/trampver.el: Update release number.
10711
10712 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10713
10714 * net/tramp.el (tramp-find-executable):
10715 Use `tramp-get-connection-buffer'. Make the regexp for checking
10716 output of "wc -l" more robust.
10717 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10718 (tramp-open-connection-setup-interactive-shell): Remove workaround
10719 for OpenSolaris bug, it is not needed anymore.
10720
10721 2010-03-24 Glenn Morris <rgm@gnu.org>
10722
10723 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10724
10725 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10726
10727 * files.el (auto-mode-alist): Accept more verilog file patterns.
10728
10729 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10730
10731 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10732
10733 2010-03-24 Glenn Morris <rgm@gnu.org>
10734
10735 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10736 log-edit-before-checkin-process.
10737
10738 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10739
10740 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10741
10742 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10743 (log-view-process-buffer, log-edit-extra-flags): Declare.
10744
10745 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10746
10747 2010-03-23 Sam Steingold <sds@gnu.org>
10748
10749 Fix bug#5620: recalculate all markers on compilation buffer
10750 modifications, not on file modifications.
10751 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10752 variable: the buffer modification time, for buffers not associated with
10753 files.
10754 (compilation-mode): Create it.
10755 (compilation-filter): Update it.
10756 (compilation-next-error-function): Use it instead of
10757 `visited-file-modtime' for timestamp.
10758
10759 2010-03-23 Juri Linkov <juri@jurta.org>
10760
10761 Implement Occur multi-line matches.
10762 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10763
10764 * replace.el (occur): Doc fix.
10765 (occur-engine): Set `begpt' to the beginning of the first line.
10766 Set `endpt' to the end of the last match line. At first, count
10767 line numbers between `origpt' and `begpt'. Split out code from
10768 `out-line' variable to new let-bindings `match-prefix' and
10769 `match-str'. In `out-line' add non-numeric prefix to all
10770 non-first lines of multi-line matches. Finally, count lines
10771 between `begpt' and `endpt' and add to `lines'.
10772
10773 2010-03-23 Juri Linkov <juri@jurta.org>
10774
10775 * replace.el (occur-accumulate-lines, occur-engine):
10776 Use `occur-engine-line' instead of duplicate code.
10777 (occur-engine-line): New function created from duplicate code
10778 in `occur-accumulate-lines' and `occur-engine'.
10779
10780 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10781 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10782
10783 2010-03-23 Juri Linkov <juri@jurta.org>
10784
10785 * finder.el: Remove TODO tasks.
10786
10787 * info.el (Info-finder-find-node): Add node "all"
10788 with all package info. Handle a list of multiple keywords
10789 separated by comma.
10790 (info-finder): In interactive use with a prefix argument,
10791 use `completing-read-multiple' to read a list of keywords
10792 separated by comma.
10793
10794 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 Add a new completion style `substring'.
10797 * minibuffer.el (completion-basic--pattern): New function.
10798 (completion-basic-try-completion, completion-basic-all-completions):
10799 Use it.
10800 (completion-substring--all-completions)
10801 (completion-substring-try-completion)
10802 (completion-substring-all-completions): New functions.
10803 (completion-styles-alist): New style `substring'.
10804
10805 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10806
10807 Get rid of .elc files after removal of the corresponding .el.
10808 * Makefile.in (compile-clean): New target.
10809 (compile-main): Use it.
10810
10811 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10812
10813 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10814 don't do make there. When compiling with separate object dir, there
10815 is no Makefile there.
10816
10817 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10818
10819 Get rid of the ELCFILES abomination, again.
10820 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10821 (all, compile): Don't call compile-last.
10822 (compile-main): Build the "elcfiles" list dynamically.
10823 (compile-targets): New (internal) target.
10824
10825 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10826
10827 * Makefile.in (top_srcdir): Define.
10828 (abs_top_builddir): Define.
10829 (srcdir): Don't append `/..'.
10830 (EMACS): Use ${abs_top_builddir}.
10831 (all, compile, compile-always, compile-last): Don't set emacswd.
10832 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10833 $(srcdir).
10834 (lisp): Use $(srcdir) instead of @srcdir@.
10835
10836 2010-03-21 Juri Linkov <juri@jurta.org>
10837
10838 Fix message of multi-line occur regexps and multi-buffer header lines.
10839 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10840
10841 * replace.el (occur-1): Don't display regexp if it is longer
10842 than window-width. Use `query-replace-descr' to display regexp.
10843 (occur-engine): Don't display regexp in the buffer header for
10844 multi-buffer occur. Display a separate header line with total
10845 match count and regexp for multi-buffer occur.
10846 Use `query-replace-descr' to display regexp.
10847
10848 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10849
10850 * net/secrets.el: Fix parenthesis.
10851 (secrets-enabled): Fix parenthesis.
10852
10853 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10854
10855 Use more relative file and directory names.
10856 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10857 (setwins, setwins_almost, setwins_for_subdirs):
10858 Don't `cd'; output relative names.
10859 (all, compile, compile-always, compile-last): Set emacswd.
10860 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10861 Just cd to the lisp source dir so we can use relative file names.
10862
10863 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10864
10865 2010-03-20 Glenn Morris <rgm@gnu.org>
10866
10867 * textmodes/rst.el: Use faces for font-lock customization, and make the
10868 old -face variables obsolete.
10869 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10870 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10871 (rst-block-face, rst-external-face, rst-definition-face)
10872 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10873 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10874 Make obsolete.
10875 (rst-font-lock-keywords-function): Update for above changes.
10876
10877 2010-03-20 Juri Linkov <juri@jurta.org>
10878
10879 * s-region.el:
10880 * obsolete/s-region.el: Move to obsolete.
10881
10882 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10883
10884 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10885
10886 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10887
10888 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10889
10890 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10891
10892 Add special markup processing for commit logs.
10893 * log-edit.el (log-edit-extra-flags): New variable.
10894 (log-edit): Add new argument MODE. Use that mode when non-nil
10895 instead of the log-view-mode.
10896 (log-view-process-buffer): New function.
10897
10898 * vc.el: Document that the checkin method takes optional
10899 arguments. Document new backend specific method: log-view-mode.
10900 (vc-default-log-edit-mode): New function.
10901 (vc-checkin): Use a backend specific log-view-mode.
10902 Pass extra arguments to the checkin method.
10903 (vc-modify-change-comment): Pass a dummy extra argument.
10904
10905 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10906 log-edit.
10907 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10908 (vc-finish-logentry): Process the log buffer before passing it
10909 down. Pass log-edit-extra-flags.
10910
10911 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10912 command.
10913 (log-edit-extra-flags, log-edit-before-checkin-process):
10914 New declarations.
10915
10916 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10917 command.
10918 (log-edit-extra-flags, log-edit-before-checkin-process):
10919 New declarations.
10920 (vc-hg-log-edit-mode): New derived mode.
10921
10922 * vc-arch.el (vc-arch-checkin):
10923 * vc-cvs.el (vc-cvs-checkin):
10924 * vc-git.el (vc-git-checkin):
10925 * vc-mtn.el (vc-mtn-checkin):
10926 * vc-rcs.el (vc-rcs-checkin):
10927 * vc-sccs.el (vc-sccs-checkin):
10928 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10929
10930 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10933 parent typo).
10934
10935 2010-03-19 Glenn Morris <rgm@gnu.org>
10936
10937 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10938
10939 2010-03-18 Glenn Morris <rgm@gnu.org>
10940
10941 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10942
10943 * replace.el (query-replace-history): Give it a doc string.
10944 (map-query-replace-regexp): Use query-replace-from-history-variable
10945 and query-replace-to-history-variable.
10946
10947 * mail/hashcash.el (declare-function): Remove duplicate definition.
10948
10949 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10950 Make it an obsolete alias for report-emacs-bug-address.
10951 (message-strip-special-text-properties): Declare.
10952 (report-emacs-bug): Remove test for a pretest bug address.
10953 Combine message-mode-specific code.
10954
10955 * mail/supercite.el: Don't require sendmail.
10956 (mh-in-header-p): Declare rather than using with-no-warnings.
10957 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10958 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10959
10960 * calendar/cal-french.el: Convert to utf-8.
10961
10962 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10963 Emacs scripts.
10964
10965 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10966
10967 * net/secrets.el (secrets-enabled): New variable. Use it instead
10968 of a subfeature.
10969
10970 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10971
10972 * net/secrets.el (top): Register the D-Bus signals only when the
10973 service "org.freedesktop.secrets" can be pinged.
10974 Provide subfeature `enabled'.
10975
10976 2010-03-14 Juri Linkov <juri@jurta.org>
10977
10978 Add finder unknown keywords.
10979
10980 * finder.el (finder-unknown-keywords): New function.
10981
10982 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10983 to create a Finder node with unknown keywords.
10984
10985 2010-03-14 Juri Linkov <juri@jurta.org>
10986
10987 * finder.el (finder-compile-keywords): Replace `princ' with
10988 `prin1' on a list of symbols interned from keyword strings.
10989
10990 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10991 a comma, then split keywords using a comma and optional whitespace.
10992 Otherwise, split by whitespace.
10993
10994 * complete.el:
10995 * face-remap.el:
10996 * log-view.el:
10997 * net/hmac-def.el:
10998 * net/hmac-md5.el:
10999 * net/netrc.el:
11000 * progmodes/mixal-mode.el: Fix keywords.
11001
11002 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11003
11004 * Makefile.in (ELCFILES): Add net/secrets.elc.
11005
11006 * net/secrets.el: New file.
11007
11008 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11009
11010 * facemenu.el (list-colors-display, list-colors-print): New arg
11011 callback. Use it to allow selecting colors.
11012
11013 * wid-edit.el (widget-image-insert): Insert image prop even if the
11014 current display is non-graphic.
11015 (widget-field-value-set): New fun.
11016 (editable-field): Use it.
11017 (widget-field-value-get): Clean up unused var.
11018 (widget-color-value-create, widget-color--choose-action):
11019 New funs. Allow using list-colors-display to choose color.
11020
11021 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11022
11023 * cus-edit.el: Resort topmost custom groups.
11024 (custom-buffer-sort-alphabetically): Default to t.
11025 (customize-apropos): Use apropos-parse-pattern.
11026 (custom-search-field): New var.
11027 (custom-buffer-create-internal): Add custom-apropos search field.
11028 (custom-add-parent-links): Don't display parent doc.
11029 (custom-group-value-create): Don't sort top-level custom group.
11030 (custom-magic-value-create): Show visibility button before option name.
11031
11032 (custom-variable-state): New fun, from custom-variable-state-set.
11033 (custom-variable-state-set): Use it.
11034 (custom-group-value-create): Hide options with standard values
11035 using the :hidden-states property. Use progress reporter.
11036
11037 (custom-show): Simplify.
11038 (custom-visibility): Disable images by default.
11039 (custom-variable): New property :hidden-states.
11040 (custom-variable-value-create): Enable images for
11041 custom-visibility widgets. Use :hidden-states property to
11042 determine initial visibility.
11043
11044 * wid-edit.el (widget-image-find): Give images center ascent.
11045 (visibility): Add :on-image and :off-image properties.
11046 (widget-visibility-value-create): Use them.
11047
11048 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11049
11050 * cus-edit.el (processes): Remove from development group.
11051 (oop, hypermedia): Delete group.
11052 (comm): Promote to top-level group.
11053
11054 * net/browse-url.el (browse-url):
11055 * net/xesam.el (xesam):
11056 * net/tramp.el (tramp):
11057 * net/goto-addr.el (goto-address):
11058 * net/ange-ftp.el (ange-ftp): Put in comm group.
11059
11060 * view.el (view): Remove from editing group.
11061
11062 * uniquify.el (uniquify): Put in files group.
11063
11064 * net/browse-url.el (browse-url):
11065 * ps-print.el (postscript): Put in external group.
11066
11067 * cus-edit.el (outlines):
11068 * textmodes/text-mode.el (text-mode-hook):
11069 * textmodes/table.el (table):
11070 * textmodes/picture.el (picture):
11071 * outline.el (outlines): Put in wp group.
11072
11073 * nxml/nxml-mode.el (nxml): Remove from wp group.
11074
11075 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11076
11077 * mail/metamail.el (metamail): Remove from hypermedia group.
11078
11079 * cus-edit.el (abbrev):
11080 * whitespace.el (whitespace):
11081 * vcursor.el (vcursor):
11082 * reveal.el (reveal):
11083 * hl-line.el (hl-line): Put in convenience group.
11084
11085 * epg-config.el (epg): Put in data group.
11086
11087 * emulation/pc-select.el (pc-select): Put in emulations group.
11088
11089 * calculator.el (calculator): Put in applications group.
11090
11091 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11092
11093 Add .dir-locals.el support for file-less buffers.
11094 * files.el (hack-local-variables): Split out code to apply local
11095 variable settings ...
11096 (hack-local-variables-apply): ... here. New function.
11097 (hack-dir-local-variables): Use the default directory for when the
11098 buffer does not have an associated file.
11099 (hack-dir-local-variables-non-file-buffer): New function.
11100 * diff-mode.el (diff-mode):
11101 * vc-annotate.el (vc-annotate-mode):
11102 * vc-dir.el (vc-dir-mode):
11103 * log-edit.el (log-edit-mode):
11104 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11105
11106 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11107
11108 Add support for shelving snapshots and for showing shelves.
11109 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11110 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11111 New functions.
11112 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11113 (vc-bzr-extra-menu-map): Map them.
11114
11115 2010-03-11 Glenn Morris <rgm@gnu.org>
11116
11117 * cus-edit.el (customize-changed-options-previous-release):
11118 Bump to 23.1.
11119
11120 * image.el (image-animate-max-time): Fix :version tag.
11121
11122 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11123
11124 * Branch for 23.2.
11125
11126 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * vc-git.el (vc-git-revision-table): Include remote branches.
11129
11130 2010-03-10 Kim F. Storm <storm@cua.dk>
11131
11132 Animated image API.
11133 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11134
11135 * image.el (image-animate-max-time): New defcustom.
11136 (image-animated-types): New defconst.
11137 (create-animated-image, image-animate-timer)
11138 (image-animate-start, image-animate-stop, image-animate-timeout)
11139 (image-animated-p): New functions.
11140
11141 * image-mode.el (image-toggle-display-image):
11142 Replace `create-image' with `create-animated-image'.
11143
11144 2010-03-09 Miles Bader <miles@gnu.org>
11145
11146 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11147 instead of "format:"; this ensures that the output is
11148 newline-terminated.
11149
11150 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11151
11152 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11153 that all errors are caught, and that the return value is always a
11154 list (Bug#5692).
11155
11156 2010-03-08 Kenichi Handa <handa@m17n.org>
11157
11158 * language/misc-lang.el (windows-1256): New coding system.
11159 (cp1256): New alias of windows-1256 (bug#5690).
11160
11161 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11162
11163 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11164 call to rfc822-bad-address. (Bug#5692)
11165
11166 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11167
11168 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11169 Use vc-git-root as default directory for revision path (Bug#5657).
11170
11171 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11172
11173 * calculator.el (calculator): Don't bind split-window-keep-point
11174 (Bug#5674).
11175
11176 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * vc-git.el: Re-flow to fit into 80 columns.
11179 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11180 Remove spurious `quote' element in each case alternative.
11181 (vc-git-show-log-entry): Use prog1.
11182 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11183
11184 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11185
11186 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11187
11188 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11189
11190 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11191 definition, not the name (Bug#5481).
11192
11193 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11194
11195 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11196 argument with a local variable. (Bug#5670)
11197
11198 2010-03-02 Juri Linkov <juri@jurta.org>
11199
11200 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11201
11202 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11203
11204 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11205 error when FILENAME and NEWNAME are existing remote directories.
11206
11207 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11208 parameter DIR-FLAG.
11209
11210 2010-03-02 Glenn Morris <rgm@gnu.org>
11211
11212 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11213 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11214
11215 2010-03-01 Kenichi Handa <handa@m17n.org>
11216
11217 * language/burmese.el (burmese-composable-pattern): Rename from
11218 myanmar-composable-pattern.
11219
11220 * international/characters.el (script-list):
11221 * international/fontset.el (script-representative-chars):
11222 Change myanmar to burmese.
11223 (otf-script-alist): Likewise.
11224 (setup-default-fontset): Likewise. Re-fix :otf spec.
11225
11226 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11227
11228 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11229
11230 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11231
11232 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11233
11234 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11235
11236 * net/tramp.el (tramp-handle-write-region): START can be a string.
11237 Take care in the checks. Reported by Dan Davison
11238 <davison@stats.ox.ac.uk>.
11239
11240 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11241
11242 * net/dbus.el (dbus-introspect, dbus-get-property)
11243 (dbus-set-property, dbus-get-all-properties):
11244 Use `dbus-call-method' when noninteractive. (Bug#5645)
11245
11246 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11247
11248 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11249 * emacs-lisp/elint.el (elint-add-required-env):
11250 * calendar/icalendar.el (icalendar--add-diary-entry):
11251 * calc/calcalg2.el (math-tracing-integral):
11252 * files.el (recover-session-finish): Use with-current-buffer
11253 instead of save-excursion.
11254
11255 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 Fix in-buffer completion when after-change-functions modify the buffer.
11258 * minibuffer.el (completion--replace): New function.
11259 (completion--do-completion): Use it and use relative movement.
11260
11261 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11262
11263 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11264
11265 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11266
11267 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11268 Allow the characters _<> in the stack entry (Bug#5653).
11269
11270 2010-02-26 Kenichi Handa <handa@m17n.org>
11271
11272 * language/burmese.el: Fix entries in composition-function-table.
11273 (myanmar-composable-pattern): New variable.
11274
11275 * international/fontset.el (setup-default-fontset): Add an entry
11276 for myanmar.
11277
11278 * international/characters.el (script-list): Add Myanmar
11279 Extended-A.
11280
11281 2010-02-26 Glenn Morris <rgm@gnu.org>
11282
11283 * custom.el (custom-initialize-delay): Doc fix.
11284
11285 * mail/sendmail.el (send-mail-function): Autoload the call
11286 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11287
11288 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11289
11290 * files.el (hack-local-variables-filter): For eval forms, also
11291 check safe-local-variable-p (Bug#5636).
11292
11293 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11294
11295 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11296 setting the modes by `ignore-errors'. It might fail, for example
11297 if the file is not owned by the user but the group.
11298 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11299
11300 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11301
11302 * files.el (directory-listing-before-filename-regexp):
11303 Use stricter matching for iso-style dates, to avoid false matches with
11304 date-like filenames (Bug#5597).
11305
11306 * htmlfontify.el (htmlfontify): Doc fix.
11307
11308 * eshell/eshell.el (eshell): Doc fix.
11309
11310 * startup.el (fancy-about-screen): In mode-line, apply
11311 mode-line-buffer-id face only to the buffer name (Bug#5613).
11312
11313 2010-02-20 Kevin Ryde <user42@zip.com.au>
11314
11315 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11316 In `watcom' anchor regexp to start of line, to avoid slowness
11317 (Bug#5599).
11318
11319 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11320
11321 * subr.el (remove-yank-excluded-properties): Explain in a comment
11322 why `category' property is removed.
11323
11324 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11325
11326 * isearch.el (isearch-update-post-hook, isearch-update):
11327 Revert 2010-02-17 change.
11328
11329 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11330
11331 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11332 (icalendar--convert-weekly-to-ical)
11333 (icalendar--convert-yearly-to-ical)
11334 (icalendar--convert-block-to-ical)
11335 (icalendar--convert-cyclic-to-ical)
11336 (icalendar--convert-anniversary-to-ical): Take care of time
11337 specifications where hour has 1-digit only (Bug#5549).
11338
11339 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11340
11341 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11342 of disassemble output in GDB 7.1.
11343
11344 2010-02-19 Glenn Morris <rgm@gnu.org>
11345
11346 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11347 property. (Bug#5593)
11348
11349 2010-02-18 Sam Steingold <sds@gnu.org>
11350
11351 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11352
11353 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 Use abbreviated file names in bookmarks (bug#5591).
11356 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11357 calls to expand-file-name.
11358 (bookmark-relocate): Use abbreviated file names in bookmarks.
11359 (bookmark-load): Use abbreviated file names in messages.
11360
11361 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11362
11363 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11364 expand "." and "..". Reported by Thierry Volpiatto
11365 <thierry.volpiatto@gmail.com>.
11366
11367 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11368
11369 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11370 permissions of the temporary file to "0600". In case the remote
11371 file has no read permissions for the owner, there might be
11372 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11373
11374 22010-02-18 Glenn Morris <rgm@gnu.org>
11375
11376 * emacs-lisp/authors.el (authors-renamed-files-alist):
11377 Add entries for INSTALL.CVS.
11378
11379 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11380
11381 * vc-bzr.el: Fix typo in Known Bugs section.
11382
11383 * isearch.el (isearch-update-post-hook): New hook.
11384 (isearch-update): Use the new hook.
11385
11386 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11387
11388 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11389 Fix errors in copying directories.
11390 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11391 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11392 (tramp-handle-delete-file)
11393 (tramp-handle-dired-recursive-delete-directory)
11394 (tramp-handle-write-region): Flush also the cache for the upper
11395 directory.
11396
11397 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11398
11399 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11400
11401 * cus-edit.el (hardware): Doc fix.
11402
11403 * man.el (man): Add to external custom group.
11404
11405 * delim-col.el (columns): Move to wp custom group.
11406
11407 * doc-view.el (doc-view): Add to data custom group.
11408
11409 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11410
11411 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11412 by ispell-parse-output (Bug#5575).
11413
11414 2010-02-16 Kenichi Handa <handa@m17n.org>
11415
11416 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11417 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11418 (skkdic-convert): Use `euc-japan' coding system for writing.
11419
11420 2010-02-16 Glenn Morris <rgm@gnu.org>
11421
11422 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11423 tex-main-file before using it. (Bug#5562)
11424
11425 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11426
11427 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11428 warnings, since it is annoying for the user to see them each time he
11429 runs the code.
11430
11431 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11432
11433 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11434 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11435 instead of PROC for caching "first-password-request". Otherwise,
11436 new processes would not profit from passwords already entered.
11437
11438 * net/tramp-cache.el (tramp-dump-connection-properties):
11439 Don't save "first-password-request" property.
11440
11441 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11442
11443 * outline.el (outline-head-from-level):
11444 * simple.el (with-wrapper-hook):
11445 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11446 (elint-defun, elint-buffer-env, elint-top-form-logged)
11447 (elint-unbound-variable):
11448 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11449 Fix typos in docstrings.
11450
11451 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11452
11453 * files.el (insert-directory): When WILDCARD-REGEXP and
11454 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11455 whole directory. (Bug#5551)
11456
11457 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11458 dired's alignment sanity. (Bug#5516)
11459
11460 2010-02-14 Juri Linkov <juri@jurta.org>
11461
11462 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11463 Remove remaining ^H with their preceding chars. (Bug#5566)
11464
11465 2010-02-13 Glenn Morris <rgm@gnu.org>
11466
11467 * simple.el (transpose-subr): Give it a doc-string.
11468
11469 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11470 Doc fixes.
11471
11472 2010-02-12 Juri Linkov <juri@jurta.org>
11473
11474 * arc-mode.el (archive-unique-fname): Make directories for nested
11475 archives. (Bug#5540)
11476
11477 2010-02-12 Juri Linkov <juri@jurta.org>
11478
11479 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11480
11481 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11482
11483 * subr.el (copy-overlay): Handle deleted overlays.
11484
11485 * man.el (Man-completion-table): Don't signal an error if we can't run
11486 manual-program (bug#4056).
11487
11488 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11489
11490 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11491
11492 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11493
11494 * info.el (Info-bookmark-jump): Simplify.
11495
11496 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11497 (bookmark-default-handler): Accept new bookmark field `buffer'.
11498
11499 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11500
11501 * iswitchb.el (iswitchb-completions): Revert last change.
11502
11503 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11504
11505 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11506 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11507 This prevents file names like "~/" being listed literally.
11508
11509 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11510
11511 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11512 Remove dead code. (Bug#5546)
11513
11514 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11515
11516 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11517 correctly (Bug#5548).
11518
11519 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11520
11521 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11522 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11523
11524 2010-02-08 Kenichi Handa <handa@m17n.org>
11525
11526 * international/mule-util.el (with-coding-priority): Add autoload
11527 cookie for putting `lisp-indent-function'.
11528
11529 2010-02-07 Glenn Morris <rgm@gnu.org>
11530
11531 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11532 Move F2003 named interfaces from keywords-2 to keywords-1, and
11533 use function-name-face rather than constant-face.
11534 Simplify "abstract interface" regexp.
11535
11536 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11537
11538 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11539 ID-FORMAT. Pass it to `file-attributes'.
11540
11541 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11542
11543 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11544
11545 * faces.el (set-face-attribute): Allow calling
11546 internal-set-lisp-face-attribute with 'unspecified family and
11547 foundry argument (Bug#5536).
11548
11549 2010-02-07 Glenn Morris <rgm@gnu.org>
11550
11551 * progmodes/f90.el (f90-font-lock-keywords-2)
11552 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11553 Handle F2003 named interfaces.
11554
11555 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11556
11557 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11558 beg and end before calling c-get-state-before-change-functions.
11559
11560 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11561
11562 * vc-bzr.el (vc-bzr-dir-extra-headers):
11563 Disable the pending merges header.
11564
11565 2010-02-05 Juri Linkov <juri@jurta.org>
11566
11567 * doc-view.el (doc-view-mode):
11568 * image-mode.el (image-mode): Put property mode-class=special.
11569 (Bug#4896)
11570
11571 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11572
11573 * vc-svn.el (vc-svn-revision-table): New function.
11574
11575 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11576
11577 * net/ange-ftp.el (ange-ftp-insert-directory):
11578 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11579 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11580 Handle also directories. (Bug#5478)
11581
11582 2010-02-05 Glenn Morris <rgm@gnu.org>
11583
11584 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11585
11586 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11587
11588 * startup.el (command-line-1): Convert options beginning with a
11589 single dash as well (Bug#5519).
11590
11591 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11592
11593 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11594 * minibuffer.el (completion-initials-expand): Only check the presence
11595 of delims *within* the boundaries, since otherwise the / delim is
11596 always found for files.
11597
11598 Fix up various corner case problems.
11599 * doc-view.el (doc-view-last-page-number): New function.
11600 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11601 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11602 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11603 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11604 (doc-view-convert-current-doc): Don't create the resolution.el file
11605 here any more.
11606 (doc-view-pdf/ps->png): Do it here instead.
11607 (doc-view-already-converted-p): Check that resolution.el is present.
11608 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11609 windows that are not yet showing images.
11610
11611 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11612
11613 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11614 `dired-uncache' for every elemnt which is an absolute file name.
11615
11616 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11617 directory, handle its directory component.
11618 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11619 function is called permanently and creates noise, otherwise.
11620
11621 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11622 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11623 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11624
11625 2010-02-04 David Burger <dburger@google.com> (tiny change)
11626
11627 * macros.el (apply-macro-to-region-lines):
11628 Minor simplification. (Bug#5485)
11629
11630 2010-02-04 Glenn Morris <rgm@gnu.org>
11631
11632 * mail/rmail.el (rmail-show-message-1): Handle malformed
11633 quoted-printable text. (Bug#5441)
11634
11635 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11636
11637 * simple.el (visual-line-mode): Capitalize lighter.
11638
11639 2010-02-03 John Wiegley <jwiegley@gmail.com>
11640
11641 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11642 list of files considered for "virtual buffer" completions.
11643
11644 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11645
11646 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11647 also in case of (and (not full) (not wildcard)). This is needed
11648 when dired is called with a list of files, which are not in
11649 `default-directory'. (Bug#5478)
11650
11651 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11654
11655 2010-02-02 Juri Linkov <juri@jurta.org>
11656
11657 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11658 from unidiff to allow function-line after @@.
11659
11660 2010-02-02 Juri Linkov <juri@jurta.org>
11661
11662 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11663 '(RCS SCCS) with inverted condition.
11664
11665 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11666
11667 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11668 messages.
11669
11670 2010-02-01 Juri Linkov <juri@jurta.org>
11671
11672 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11673 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11674 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11675 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11676
11677 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11680 (doc-view-revert-buffer): New command.
11681 (doc-view-mode-map): Use it.
11682
11683 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11684
11685 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11686 pending merge is detected.
11687
11688 2010-01-31 Juri Linkov <juri@jurta.org>
11689
11690 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11691 beginning of interactive spec like all other grep commands do.
11692 Put "all" in front of "gz". (Bug#5260)
11693
11694 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11695
11696 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11697
11698 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11699
11700 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11701 regexp is incorrect (Bug#5476).
11702
11703 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11704
11705 * net/tramp.el (tramp-handle-insert-directory): Handle also
11706 symlinks, when FILENAME is not in `default-directory'.
11707
11708 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11709
11710 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11711 FILE is not in `default-directory'. (Bug#5478)
11712
11713 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11714 of SWITCHES. Handle the case, FILENAME is not in
11715 `default-directory'. (Bug#5478)
11716 (tramp-register-file-name-handlers): Add safe-magic property.
11717
11718 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11719
11720 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11721 unzip (Bug#5475).
11722
11723 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11724
11725 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11726 (flymake-master-make-header-init): Add other C++ filename masks.
11727 (flymake-find-possible-master-files)
11728 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11729
11730 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11731
11732 Fix some busybox annoyances.
11733
11734 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11735 not responding." string.
11736 (tramp-open-connection-setup-interactive-shell): Dump stty
11737 settings. Enable "neveropen" arg for all `tramp-send-command'
11738 calls. Handle "=" in variable values properly.
11739 (tramp-find-inline-encoding): Raise an error, when no encoding is
11740 found.
11741 (tramp-wait-for-output): Check, whether PROC buffer is available.
11742 Remove spurious " ^H" sequences, sent by busybox.
11743 (tramp-get-ls-command): Suppress coloring, if possible.
11744
11745 2010-01-28 Glenn Morris <rgm@gnu.org>
11746
11747 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11748
11749 * log-edit.el (log-edit-strip-single-file-name): Add missing
11750 :safe, :group, and :version tags.
11751
11752 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11753
11754 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11755 buffers. (Bug#5477)
11756
11757 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11758
11759 * files.el (delete-directory): Handle moving to trash without
11760 first doing recursion (Bug#5436).
11761
11762 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11763
11764 * vc-hooks.el (vc-path): Mark as obsolete.
11765
11766 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11767
11768 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11769 names too.
11770
11771 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11772 for the short log.
11773 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11774
11775 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11776
11777 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11778
11779 * vc-bzr.el (vc-bzr-revision-table): New function.
11780
11781 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11782
11783 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11784 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11785
11786 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11787
11788 Remove support for adding --signoff on commit.
11789 Future support will use an incompatible generic mechanism.
11790 * vc-git.el (vc-git-add-signoff): Remove variable.
11791 (vc-git-toggle-signoff): Remove function.
11792 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11793
11794 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11795 Rename from xterm-set-background-mode. Return t if the background mode
11796 was set.
11797 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11798 earlier, call it again in case the background mode has changed.
11799
11800 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11801
11802 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11803 (Bug#3541).
11804
11805 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11806
11807 * emacs-lisp/assoc.el (aelement): Doc fix.
11808 (aput, adelete, amake): Use lexical-let (Bug#5450).
11809
11810 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11811
11812 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11813 is the same as subprogram call, not declaration. (Bug#5435).
11814
11815 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11816
11817 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11818 (tramp-smb-maybe-open-connection): Use it.
11819
11820 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11821
11822 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11823
11824 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11825
11826 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11827 just because we see "encoding: 8bit".
11828 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11829
11830 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11831
11832 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11833
11834 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11835
11836 * jka-compr.el (jka-compr-load): If load-file is not in
11837 load-history, try its file-truename version. (bug#5447)
11838
11839 2010-01-21 Alan Mackenzie <acm@muc.de>
11840
11841 Fix a situation where deletion of a cpp construct throws an error.
11842 * progmodes/cc-engine.el (c-invalidate-state-cache):
11843 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11844 special cpp construct is still in the buffer.
11845 (c-parse-state): Record the special cpp with markers, not numbers.
11846
11847 2010-01-21 Kenichi Handa <handa@m17n.org>
11848
11849 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11850 process last-command-event, as it is now decoded first (Bug#5380).
11851
11852 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11853
11854 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11855
11856 2010-01-20 Glenn Morris <rgm@gnu.org>
11857
11858 * indent.el (tab-always-indent): Fix custom-type.
11859
11860 2010-01-19 Alan Mackenzie <acm@muc.de>
11861
11862 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11863 buffer throws "args out of range".
11864 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11865 playing the role of delimiter.
11866
11867 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11868
11869 * progmodes/ada-mode.el: Fix bug#5400.
11870 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11871 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11872 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11873 Improve comments in "is" portion. Handle null procedure declaration.
11874 (ada-move-to-end): Improve doc string.
11875
11876 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11877
11878 * ido.el (ido-cur-list): Initialize to nil.
11879 Remove obsolete information from commentary.
11880 (ido-choice-list): Initialize to nil.
11881 (ido-get-bufname): Reject minibuffers.
11882 (ido-make-buffer-list): If "default" is a nonexistent
11883 buffer, ignore it, as per the function's comment.
11884 (ido-kill-buffer-internal): New function.
11885 (ido-kill-buffer-at-head): Use it.
11886 (ido-visit-buffer): Likewise.
11887
11888 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11889
11890 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11891
11892 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11893
11894 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11895 Fix typos in chart titles.
11896
11897 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11898 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11899 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11900 (describe-class, eieio-describe-generic, describe-generic):
11901 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11902 (eieio-speedbar-expand):
11903 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11904 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11905 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11906 (viper-del-backward-char-in-replace, viper-backward-indent)
11907 (viper-brac-function, viper-register-to-point, viper-submit-report):
11908 * net/tramp.el (tramp-remote-coding-commands):
11909 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11910 Fix typos in docstrings.
11911
11912 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11913
11914 * mail/sendmail.el (mail-yank-original): Set the mark if the
11915 specified function for yanking does not do it.
11916
11917 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11918
11919 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11920
11921 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11922 resyncing a directory.
11923
11924 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11925
11926 * progmodes/ada-mode.el: Fix bug#1920.
11927 (ada-ident-re): Delete ., allow multibyte characters.
11928 (ada-goto-label-re): New; matches goto labels.
11929 (ada-block-label-re): New; matches block labels.
11930 (ada-label-re): New; matches both.
11931 (ada-named-block-re): Deleted; callers changed to use
11932 `ada-block-label-re' instead.
11933 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11934 Use `ada-block-label-re'.
11935 (ada-indent-on-previous-lines): Improve handling of goto labels.
11936 (ada-get-indent-block-start): Special-case block label.
11937 (ada-get-indent-label): Split into `ada-indent-block-label' and
11938 `ada-indent-goto-label'.
11939 (ada-goto-stmt-start, ada-goto-next-non-ws):
11940 Optionally ignore goto labels.
11941 (ada-goto-next-word): Simplify.
11942 (ada-indent-newline-indent-conditional): Insert newline before
11943 trying to fix indentation; doc fix.
11944
11945 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11946
11947 * calc/calc.el (calc-command-flags): Give it an initial value.
11948
11949 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11950
11951 * files.el (minibuffer-with-setup-hook):
11952 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11953 (artist-key-draw-continously, artist-key-do-continously-continously)
11954 (artist-key-set-point-continously, artist-mouse-draw-continously):
11955 Fix typos in docstrings.
11956
11957 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11958
11959 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11960 Never return t (Bug#3898).
11961
11962 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11963
11964 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11965 can parse the output of the external commands (Bug#5279).
11966
11967 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11968
11969 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11970
11971 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11972
11973 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11974
11975 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11976
11977 * startup.el (command-line): Remove unused --icon-type arg.
11978 Handle --display arg, passing it to command-line-1 (Bug#5392).
11979
11980 2010-01-16 Mario Lang <mlang@delysid.org>
11981
11982 * emacs-lisp/chart.el (chart-translate-namezone):
11983 * textmodes/artist.el (artist-compute-popup-menu-table):
11984 Remove duplicated words in doc-strings.
11985
11986 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11987
11988 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11989 to mairix-search to suppress threading (Bug#5342).
11990
11991 2010-01-15 Kenichi Handa <handa@m17n.org>
11992
11993 * international/mule-cmds.el (canonicalize-coding-system-name):
11994 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11995
11996 2010-01-15 Glenn Morris <rgm@gnu.org>
11997
11998 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11999
12000 * wid-edit.el (widget-keymap): Doc fix.
12001
12002 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12003 former seems to be more widely accepted by various svn versions.
12004
12005 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12006
12007 * find-cmd.el (find-constituents):
12008 * vc-arch.el (vc-arch-root):
12009 * window.el (window-body-height, pop-up-frames):
12010 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12011 * progmodes/ada-stmt.el (ada-if):
12012 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12013 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12014 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12015 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12016
12017 * progmodes/flymake.el (flymake-post-syntax-check):
12018 Fix typo in error message.
12019
12020 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12021
12022 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12023 which is always a string. (Bug#5313)
12024
12025 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12026
12027 * progmodes/ada-xref.el (ada-default-prj-properties):
12028 Simplify previous change.
12029
12030 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12031
12032 * progmodes/ada-xref.el (ada-default-prj-properties):
12033 Default ada_project_path to $ADA_PROJECT_PATH.
12034
12035 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12036
12037 * progmodes/ada-mode.el (ada-create-keymap):
12038 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12039
12040 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12041
12042 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12043 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12044 (ada-get-current-indent, ada-imenu-generic-expression)
12045 (ada-which-function): Check for it.
12046
12047 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12048
12049 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12050 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12051
12052 2010-01-14 Glenn Morris <rgm@gnu.org>
12053
12054 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12055
12056 2010-01-14 Kenichi Handa <handa@m17n.org>
12057
12058 * composite.el (auto-composition-mode): Make it a buffer local
12059 variable (permanent-local).
12060 (auto-composition-function): Set the default value to
12061 auto-compose-chars.
12062 (auto-composition-mode): Make it a simple function, not a minor mode.
12063 (global-auto-composition-mode): Likewise.
12064 (turn-on-auto-composition-if-enabled): Delete it.
12065
12066 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12067
12068 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12069
12070 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12071
12072 * files.el (copy-directory): Compute target for recursive
12073 directories with identical names. (Bug#5343)
12074
12075 2010-01-12 Glenn Morris <rgm@gnu.org>
12076
12077 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12078 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12079
12080 2010-01-11 Sam Steingold <sds@gnu.org>
12081
12082 * imenu.el (imenu-default-create-index-function): Detect infinite
12083 loops caused by imenu-prev-index-position-function.
12084
12085 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12086
12087 * htmlfontify.el (htmlfontify-load-rgb-file)
12088 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12089 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12090 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12091 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12092 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12093 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12094 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12095 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12096 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12097 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12098 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12099 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12100 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12101 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12102 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12103 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12104 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12105 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12106 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12107 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12108 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12109 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12110 backslash-quoting from parentheses, etc.
12111
12112 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12113
12114 * progmodes/js.el: Autoload javascript-mode alias.
12115
12116 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12117
12118 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12119 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12120 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12121 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12122 Fix typos in docstrings.
12123 (ffap-url-regexp): Doc fix.
12124 (ffap-at-mouse): Fix typo in message.
12125
12126 2010-01-11 Glenn Morris <rgm@gnu.org>
12127
12128 * version.el (emacs-copyright): Set copyright year to 2010.
12129
12130 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12131
12132 * format.el (format-annotate-function): Only set
12133 write-region-post-annotation-function after running to-fn so as not to
12134 affect nested write-region calls (bug#5273).
12135
12136 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12137
12138 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12139 wisent/python.el.
12140
12141 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12142
12143 * man.el (Man-goto-section): Signal error if the section is not
12144 found (Bug#5317).
12145
12146 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12147
12148 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12149 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12150
12151 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12152
12153 * progmodes/compile.el: Don't treat compile-command as safe if
12154 compilation-read-command might be nil (Bug#4218).
12155
12156 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12157
12158 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12159 NS options.
12160
12161 2010-01-08 Kenichi Handa <handa@m17n.org>
12162
12163 * international/fontset.el (build-default-fontset-data):
12164 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12165
12166 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12167
12168 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12169 to `create-file-buffer' as it expects, not just a buffer name.
12170 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12171 to help uniquify. (Bug#3224)
12172
12173 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12174
12175 * font-setting.el (font-setting-change-default-font): Use user-spec
12176 instead of name.
12177
12178 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12179
12180 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12181
12182 2010-01-05 Tom Tromey <tromey@redhat.com>
12183
12184 * progmodes/python.el (python-font-lock-keywords):
12185 Handle qualified decorators (Bug#881).
12186
12187 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12188
12189 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12190 in a lightweight checkout.
12191
12192 2010-01-05 Kenichi Handa <handa@m17n.org>
12193
12194 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12195
12196 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12197
12198 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12199
12200 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12201
12202 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12203 checkouts. (Bug#618)
12204 (vc-bzr-log-view-mode): Also highlight the author.
12205 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12206 (vc-bzr-shelve-menu-map):
12207 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12208 (vc-bzr-shelve-apply): Make prompt more explicit.
12209
12210 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12211
12212 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12213 They are valid characters in URL paths (rfc3986), and at least
12214 Firefox does not understand the encoded version (Bug#3166).
12215
12216 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12217
12218 * progmodes/octave-mod.el (octave-end-keywords)
12219 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12220 Add "end" keyword (Bug#3061).
12221 (octave-end-as-array-index-p): New function.
12222 (calculate-octave-indent): Use it.
12223
12224 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12225
12226 * bookmark.el: Consistently put the text property on the bookmark name.
12227 (bookmark-bmenu-marks-width): Bump back to 2, to include
12228 annotation marks.
12229 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12230 property on the bookmark name, instead of not putting it at all.
12231 (bookmark-bmenu-list): Fix where we put the text property.
12232
12233 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12234
12235 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12236 for showing buffer modified state (as added in the previous change).
12237
12238 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12239
12240 * bookmark.el: Show modified state of bookmark buffer more accurately.
12241 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12242 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12243 (with-buffer-modified-unmodified): New macro.
12244 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12245 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12246 Use new macro to preserve the buffer modified state.
12247
12248 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12249
12250 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12251 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12252 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12253 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12254 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12255 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12256 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12257
12258 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12259
12260 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12261 Make the lines in the generated doc string shorter. (Bug#4668)
12262
12263 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12264
12265 * net/rcirc.el: Add follow-link binding (Bug#4738).
12266
12267 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12268
12269 * Makefile.in (bzr-update): Rename from cvs-update.
12270 (cvs-update): New target for backward compatibility.
12271
12272 * makefile.w32-in (bzr-update): Rename from cvs-update.
12273 (cvs-update): New target for backward compatibility.
12274
12275 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12276
12277 * bookmark.el: Remove gratuitous gratitude.
12278
12279 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12280
12281 * bookmark.el (bookmark-bmenu-any-marks): New function.
12282 (bookmark-bmenu-save): Clear buffer modification if no marks.
12283
12284 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12285
12286 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12287 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12288 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12289 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12290
12291 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12292 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12293 To: emacs-devel {_AT_} gnu.org
12294 Subject: bookmark.el bug report
12295 Date: Mon, 28 Dec 2009 14:19:16 +0800
12296 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12297
12298 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12299
12300 * bookmark.el: Improvements suggested by Drew Adams:
12301 (bookmark-bmenu-ensure-position): New name for
12302 `bookmark-bmenu-check-position'. Just ensure the position,
12303 don't return any meaningful value.
12304 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12305 New constants.
12306
12307 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12308
12309 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12310 (bookmark-yank-point, bookmark-bmenu-check-position):
12311 Fix typos in docstrings.
12312 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12313 (bookmark-name-from-full-record, bookmark-get-position)
12314 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12315 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12316 Remove useless quoting of parenthesis, etc. in docstrings.
12317
12318 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12319 (ediff-append-custom-diff): Fix typo in error message.
12320 (ediff-meta-mark-equal-files): Fix typos in messages.
12321
12322 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12323
12324 * net/imap-hash.el (imap-hash-make): Doc fix.
12325 (imap-hash-test): Fix typo in error message; reflow docstring.
12326 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12327 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12328 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12329 Fix typos in docstrings.
12330 (imap-hash-open-connection): Fix typo in error message.
12331
12332 * play/gomoku.el (gomoku): Fix typos in docstring.
12333
12334 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12335 (gdb-jsonify-buffer): Fix typos in docstring.
12336 (gdb-goto-breakpoint): Fix typo in error message.
12337 ("Display Other Windows"): Fix typo in help message.
12338 (gdb-speedbar-expand-node): Fix typo in question.
12339
12340 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12341 (idlwave-html-system-help-location, idlwave-html-help-location)
12342 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12343 (idlwave-help-browser-generic-args, idlwave-help-directory)
12344 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12345 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12346 (idlwave-online-help, idlwave-help-html-link)
12347 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12348 Fix typos in docstrings.
12349 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12350 Reflow docstrings.
12351 (idlwave-help-assistant-start): Fix typo in error message.
12352
12353 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12354 (octave-electric-space): Fix typos in docstrings.
12355
12356 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12357
12358 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12359
12360 2010-01-01 Juri Linkov <juri@jurta.org>
12361
12362 * comint.el (comint-input-ring-size): Make it a defcustom and
12363 increase the default to 500 (Bug#5148).
12364
12365 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12366
12367 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12368 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12369 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12370
12371 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12372
12373 Show working revision correctly for mercurial.
12374 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12375 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12376
12377 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12378
12379 Declare some functions for the byte-compiler.
12380 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12381 (speedbar-timer-fn, speedbar-change-expand-button-char)
12382 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12383
12384 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12385
12386 This changeset reverts GDB Graphical Interface to use annotations.
12387 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12388
12389 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12390
12391 Make vc-dir work on subdirectories of the bzr root.
12392 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12393 Return file names relative to it.
12394 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12395 relative directory to vc-bzr-after-dir-status.
12396
12397 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12398
12399 * font-lock.el (font-lock-refresh-defaults): New function, which
12400 can be used to let font-lock react to external changes in
12401 variables like font-lock-defaults and keywords.
12402 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12403
12404 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12405
12406 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12407
12408 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12409
12410 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12411
12412 Supersede color.diff settings in git log (bug#5211).
12413
12414 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12415 escape chars in its output when the user has color.diff set to `always'.
12416 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12417
12418 2009-12-26 Kevin Ryde <user42@zip.com.au>
12419
12420 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12421 node. Keep previous "Index" name to work with past coreutils too.
12422
12423 * man.el (man): Revise docstring a bit to show -a and -l as
12424 examples. Add -k description since support for it has otherwise
12425 been a secret. (Further to bug#3717.)
12426 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12427 "no matches" rather than "Can't find manpage", as the latter reads
12428 like -k was interpreted as a page name, which is not so. (Bug#5431)
12429
12430 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12431
12432 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12433 switches. Check also for //SUBDIRED// line.
12434
12435 2009-12-25 Kenichi Handa <handa@m17n.org>
12436
12437 * language/indian.el (devanagari-composable-pattern): Fix to
12438 handle ZWNJ and ZWJ. Use it in composition-function-table for
12439 Devanagari.
12440 (malayalam-composable-pattern): Fix previous change.
12441
12442 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12443
12444 * ps-print.el (ps-face-attributes): It was not returning the
12445 attribute face for faces specified as string. Reported by harven
12446 <harven@free.fr>. (Bug#5254)
12447 (ps-print-version): New version 7.3.5.
12448
12449 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12450
12451 * calendar/icalendar.el (icalendar--convert-tz-offset):
12452 Fix timezone names.
12453 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12454 (icalendar--add-diary-entry): Remove the trailing blank that
12455 diary-make-entry inserts.
12456
12457 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12458
12459 Make `file-expand-wildcards' work for remote files.
12460
12461 * files.el (file-expand-wildcards): In case of remote files, check
12462 only local file name part for wildcards. Provide feature 'files
12463 and subfeature 'remote-wildcards. (Bug#5198)
12464
12465 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12466 if there is already an established connection.
12467 (tramp-advice-file-expand-wildcards): Remove it.
12468
12469 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12470 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12471 Activate advice for older GNU Emacs versions. (Bug#5237)
12472
12473 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12474
12475 Some doc fixes (more needed).
12476
12477 * find-cmd.el (find-constituents): Reflow docstring.
12478 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12479 (find-generic): Doc fix.
12480
12481 2009-12-17 Juri Linkov <juri@jurta.org>
12482
12483 Fix regression from 23.1 to allow multiple modes in Local Variables.
12484
12485 * files.el (hack-local-variables-filter): While ignoring duplicates,
12486 don't take `mode' into account.
12487 (hack-local-variables-filter, hack-dir-local-variables):
12488 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12489
12490 2009-12-17 Juri Linkov <juri@jurta.org>
12491
12492 Make `dired-diff' safer. (Bug#5225)
12493
12494 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12495 `current' or when `file' is a directory of the `current' file.
12496
12497 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12498
12499 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12500 unconditionally preloaded files.
12501
12502 2009-12-16 Juri Linkov <juri@jurta.org>
12503
12504 Revert to old 23.1 logic of using the file at the mark as default.
12505 * dired-aux.el (dired-diff): Use the file at the mark as default
12506 if it's not the same as the current file, and the target dir is
12507 the current dir or the mark is active. Add the current file
12508 as the arg of `dired-dwim-target-defaults'. Use the default file
12509 in the prompt. (Bug#5225)
12510
12511 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12512
12513 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12514 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12515 (tramp-check-for-regexp): Check also, when an echoing shell stops
12516 to echo sent commands.
12517
12518 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12519
12520 * Makefile.in: Revert last change (Bug#5191).
12521
12522 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12523
12524 * vc-hg.el (vc-hg-print-log): Fix argument order.
12525 (vc-hg-working-revision): Make sure the command is executed in a
12526 known environment so that we can parse the output. (Bug#4417)
12527
12528 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12529
12530 * progmodes/python.el (python-symbol-completions): Remove text
12531 properties from symbol string before calling python-send-receive.
12532
12533 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12534
12535 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12536 when there are values for both file and line. (Bug#5060)
12537
12538 2009-12-14 Juri Linkov <juri@jurta.org>
12539
12540 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12541 whitespace after the file name of the first line of unified format,
12542 because git-diff doesn't output whitespace and file modification time
12543 after the file name.
12544
12545 2009-12-14 David Kastrup <dak@gnu.org>
12546
12547 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12548 check if it already has the `display' property added by
12549 `Info-display-images-node', and not put the `invisible' property
12550 in this case.
12551
12552 2009-12-13 Glenn Morris <rgm@gnu.org>
12553
12554 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12555 (report-emacs-bug): In message-mode, sort manually before storing
12556 original report text. (Bug#5178)
12557 Remove superfluous save-excursion.
12558
12559 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12560
12561 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12562 when responding to "GetAll" properties.
12563
12564 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12565
12566 * simple.el (compose-mail): Remove mail-setup-with-from from
12567 customization checks.
12568
12569 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12570
12571 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12572 RAR archives created on Unix systems.
12573
12574 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12575
12576 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12577 the varalias that was accidentally removed by the 2009-11-19 change
12578 (bug#5186).
12579
12580 2009-12-12 Kenichi Handa <handa@m17n.org>
12581
12582 * language/indian.el (indian-compose-regexp): New function.
12583 (malayalam-composable-pattern): Fix the pattern.
12584 (composition-function-table): Set malayalam-composable-pattern for
12585 Malayalam characters.
12586
12587 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12588
12589 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12590 rather than down-mouse-1, based on follow-link conventions.
12591
12592 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12593 are compiled.
12594
12595 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12596
12597 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12598 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12599 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12600 (verilog-leap-to-head, verilog-backward-token):
12601 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12602
12603 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12604
12605 * progmodes/verilog-mode.el (verilog-auto-lineup)
12606 (verilog-nameable-item-re): Cleanup user-visible spelling and
12607 documentation errors. One reported by Gary Delp.
12608 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12609 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12610 package, bug195. Reported by Pierre-David Pfister.
12611
12612 2009-12-11 Glenn Morris <rgm@gnu.org>
12613
12614 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12615
12616 * mail/emacsbug.el: No longer require sendmail.
12617 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12618 (report-emacs-bug-orig-text): Doc fix.
12619 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12620 New local variables, to adapt to different mail-user-agents.
12621 (report-emacs-bug): Fix test for a gnu.org address.
12622 Use overlays for emphasis, since font-lock defeats 'face property.
12623 Pretest bugs also end up at the newsgroup these days.
12624 Stop message-mode stripping text properties.
12625 Set and use the new buffer-local variables.
12626 (report-emacs-bug-hook): Add doc-string.
12627 Remove some unnecessary save-excursions and simplify.
12628 Use the appropriate hook and send-command.
12629
12630 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12631 capitalization of some menu entries.
12632
12633 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12634
12635 * whitespace.el (whitespace-display-char-on):
12636 Ensure `buffer-display-table' is unique when two or more windows are
12637 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12638 New version 12.1.
12639
12640 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12641
12642 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12643 characters in the Attribute field.
12644
12645 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12646
12647 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12648
12649 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12652 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12653 Disregard autoload-excludes.
12654 (update-directory-autoloads): Obey autoload-excludes here instead.
12655 But don't store its contents in no-autoloads and remove entries that
12656 refer to excludes files.
12657
12658 2009-12-10 Glenn Morris <rgm@gnu.org>
12659
12660 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12661 (expand-mail-aliases): Define for compiler.
12662
12663 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12664 Define for compiler.
12665
12666 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12667 appropriate for the mail-user-agent in use.
12668
12669 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12670
12671 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12672
12673 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12674
12675 Fix short log parsing and fontification.
12676 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12677 Fix fontification for the [merge] label.
12678
12679 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12680
12681 Drop some properties to avoid surprises (bug#5002).
12682 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12683 (hfy-fontify-buffer): Use it.
12684
12685 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 Minor cleanup.
12688 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12689 Adjust all callers.
12690 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12691 args compulsory. Adjust callers.
12692 (ffap-gopher-at-point): Remove unused var `name'.
12693
12694 Get rid of the ELCFILES abomination.
12695 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12696 (compile-elcfiles): New phony target.
12697 (compile-main): Compute ELCFILES dynamically.
12698 (compile-clean): New target to remove left-over elc files.
12699 (compile, all): Use it.
12700
12701 2009-12-09 Kenichi Handa <handa@etlken>
12702
12703 * international/mule-diag.el: Require help-mode instead of help-fns.
12704
12705 2009-12-09 Kenichi Handa <handa@m17n.org>
12706
12707 * international/mule-cmds.el (ucs-names): Supply sufficiently
12708 fine ranges instead of pre-calculating accurate ranges.
12709 Iterate with bigger gc-cons-threshold.
12710
12711 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12712
12713 Add support for stashing a snapshot of the current tree.
12714 * vc-git.el (vc-git-stash-snapshot): New function.
12715 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12716
12717 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12718
12719 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12720 instead of `(beginning|end)-of-line'.
12721
12722 2009-12-08 Glenn Morris <rgm@gnu.org>
12723
12724 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12725
12726 * Makefile.in (ELCFILES): Regenerate.
12727
12728 2009-12-07 Juri Linkov <juri@jurta.org>
12729
12730 Don't lazy-highlight the comint output in history Isearch mode.
12731
12732 * comint.el (comint-history-isearch-search): Instead of
12733 `comint-line-beginning-position', use `comint-after-pmark-p'
12734 to check if point if before the process mark, and go to
12735 `process-mark' in this case.
12736
12737 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12738
12739 * textmodes/tex-mode.el (latex-complete)
12740 (latex-indent-or-complete): Remove.
12741 (latex-mode): Set completion-at-point-functions instead.
12742
12743 Provide a standard completion command and hook it into TAB.
12744 * minibuffer.el (completion-at-point-functions): New var.
12745 (completion-at-point): New command.
12746 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12747 * progmodes/python.el (python-mode-map): Use completion-at-point.
12748 (python-completion-at-point): Rename from python-partial-symbol and
12749 adjust for use in completion-at-point-functions.
12750 (python-mode): Setup completion-at-point for Python completion.
12751 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12752 extracted from lisp-complete-symbol.
12753 (lisp-complete-symbol): Use it.
12754 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12755 setup completion-at-point for Elisp completion.
12756 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12757 Use completion-at-point.
12758 * ielm.el (ielm-map): Use completion-at-point.
12759 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12760 * progmodes/sym-comp.el: Move to...
12761 * obsolete/sym-comp.el: Move from progmodes.
12762
12763 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12764
12765 Prevent save-buffer in Rmail buffers from using the coding-system
12766 of the current message, and from clobbering the encoding mnemonics
12767 in the mode line (Bug#4623).
12768
12769 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12770 flag, too.
12771 (rmail-message-encoding): New variable.
12772 (rmail-write-region-annotate): Record the encoding of the current
12773 message in rmail-message-encoding.
12774 (rmail-after-save-hook): New function, restores the encoding of
12775 the current message after the message collection is saved.
12776
12777 2009-12-07 Juri Linkov <juri@jurta.org>
12778
12779 * progmodes/grep.el (grep-read-files): Use `completing-read'
12780 instead of `read-string'. Set its `collection' arg to
12781 `read-file-name-internal'. (Bug#4301)
12782
12783 2009-12-07 Juri Linkov <juri@jurta.org>
12784
12785 Correctly restore original Isearch point. (Bug#4994)
12786
12787 * isearch.el (isearch-mode): Move `isearch-push-state' after
12788 `(run-hooks 'isearch-mode-hook)'.
12789 (isearch-cancel): When `isearch-push-state-function' is defined,
12790 let-bind `isearch-cmds' to the first state (the last element of
12791 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12792 function and restores the original point). Otherwise, move point
12793 to `isearch-opoint'.
12794
12795 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12796
12797 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12798 chars that don't have names, so the table can be built much faster at
12799 run-time.
12800
12801 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12802
12803 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12804 change. Suggested by David Kastrup.
12805
12806 * simple.el (compose-mail): Check for incompatibilities and warn.
12807 (compose-mail-user-agent-warnings): New option.
12808
12809 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12810
12811 Support showing a single log entry from vc-annotate.
12812 * vc.el (print-log): Add a new argument: START-REVISION.
12813 (vc-print-log-internal): Add a new optional argument and
12814 pass it to the backend.
12815 (vc-print-log, vc-print-root-log): Adjust callers.
12816 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12817 buffer already displays the requested log entry, use it.
12818 Otherwise display only the log entry in question.
12819 * vc-svn.el (vc-svn-print-log):
12820 * vc-mtn.el (vc-mtn-print-log):
12821 * vc-hg.el (vc-hg-state):
12822 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12823 (vc-git-show-log-entry): Return t on success.
12824 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12825 (vc-bzr-show-log-entry): Return t on success.
12826 * vc-rcs.el (vc-rcs-print-log):
12827 * vc-sccs.el (vc-sccs-print-log):
12828 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12829
12830 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12831
12832 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12833 Add menus to the meta mode. (Bug#5043)
12834
12835 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12836
12837 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12838 event-key.
12839
12840 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12841
12842 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12843
12844 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12845 Berbain <raphael.berbain@gmail.com>.
12846
12847 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12848 characters.
12849 (tramp-initial-end-of-output): New defconst.
12850 (tramp-methods, tramp-find-shell)
12851 (tramp-open-connection-setup-interactive-shell)
12852 (tramp-maybe-open-connection): Use it.
12853 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12854 Handle existence of `#' and `$'.
12855
12856 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12857 Use `tramp-initial-end-of-output'.
12858
12859 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12860
12861 Get the background mode from the terminal for xterm, and set
12862 faces accordingly.
12863 * term/xterm.el (xterm-set-background-mode): New function.
12864 (terminal-init-xterm): Use it in case xterm supports background
12865 color queries. Recompute faces after getting the background
12866 color.
12867
12868 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12869
12870 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12871 number comment back on its own line, for easier parsing.
12872
12873 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 Make it work for non-file buffers (bug#5102).
12876 * doc-view.el (doc-view-current-cache-dir):
12877 Use doc-view-buffer-file-name rather than buffer-file-name.
12878 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12879
12880 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12881
12882 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12883 author field is too short.
12884
12885 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12886
12887 * vc-git.el (vc-git-print-log): Handle a limit argument.
12888 Display the short log in graph form and with labels.
12889 (vc-git-log-view-mode): Handle labels.
12890
12891 Make vc-revert change VC state from 'added to 'unregistered.
12892 * vc-git.el (vc-git-revert): Call git reset first.
12893
12894 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12895
12896 * net/newst-backend.el, net/newst-plainview.el:
12897 * net/newst-reader.el, net/newst-ticker.el:
12898 * net/newst-treeview.el, net/newsticker.el:
12899 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12900
12901 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12902
12903 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12904
12905 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12906 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12907 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12908 Update annotation regexp.
12909
12910 * simple.el (beginning-of-visual-line): Constrain to field
12911 boundaries (Bug#5106).
12912
12913 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12914
12915 * xml.el (xml-substitute-numeric-entities):
12916 Move newsticker--decode-numeric-entities in newst-backend.el to
12917 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12918 * net/newst-backend.el (newsticker--parse-generic-feed)
12919 (newsticker--parse-generic-items)
12920 (newsticker--decode-numeric-entities):
12921 Move newsticker--decode-numeric-entities in newst-backend.el to
12922 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12923
12924 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12925
12926 * progmodes/js.el (js--js-not): Add null to the list of values.
12927
12928 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12929
12930 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12931
12932 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12933
12934 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12935 delimiter if it is at the end of the current line.
12936 (bibtex-generate-url-list): Fix docstring.
12937
12938 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12939
12940 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12941 minibuffer's content with itself.
12942 Fold the confirm-after-completion case into the `confirm' case.
12943 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12944
12945 2009-12-06 Kevin Ryde <user42@zip.com.au>
12946
12947 * ffap.el (ffap-rfc-path): Make this a defcustom since
12948 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12949
12950 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12951 manuals, similar to existing setup for help-mode. (Bug#3913.)
12952
12953 2009-12-05 Juri Linkov <juri@jurta.org>
12954
12955 Save and restore dired buffer's point positions too. (Bug#4880)
12956
12957 * dired.el (dired-save-positions): Return in the first element
12958 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12959 Doc fix.
12960 (dired-restore-positions): First restore buffer's position.
12961 While restoring window's positions, check if window still displays
12962 the original buffer.
12963
12964 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12965
12966 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12967 if possible.
12968
12969 * shell.el (shell): Require ansi-color (Bug#5113).
12970
12971 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12972
12973 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12974
12975 2009-12-05 Alan Mackenzie <acm@muc.de>
12976
12977 * progmodes/cc-mode.el (c-before-hack-hook)
12978 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12979 `c-file-style' to work again. This reversion restores the current
12980 software to its state in Emacs 23.1. (Bug#4146)
12981
12982 2009-12-05 Kevin Ryde <user42@zip.com.au>
12983
12984 * textmodes/sgml-mode.el (sgml-lexical-context):
12985 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12986
12987 2009-12-05 Juri Linkov <juri@jurta.org>
12988
12989 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12990 for virtual nodes. (Bug#4147)
12991 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12992 when moving from a virtual node.
12993 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12994 (Info-mode): Add `Info-virtual-index' to the docstring.
12995
12996 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12997
12998 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12999 track of the buffer position of the end of a BibTeX entry as this
13000 position may change during reformatting.
13001 (bibtex-format-entry): Remove whitespace before processing
13002 numerical fields so that we recognize the latter properly.
13003 (bibtex-reformat): Do not use push which changes the global value
13004 of bibtex-entry-format.
13005 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13006 (bibtex-field-re-init): Replace only space characters by regexp
13007 for whitespace.
13008 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13009 (bibtex-initialize): Also update bibtex-strings.
13010 (bibtex-kill-field): Preserve white space at end of entry.
13011 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13012 Update bibtex-reference-keys.
13013
13014 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13017 point after a star, if that's the only place where modifications can
13018 make progress.
13019
13020 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13021
13022 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13023 in docstrings.
13024
13025 2009-12-04 Juri Linkov <juri@jurta.org>
13026
13027 * proced.el (proced): Call `(proced-update t)' to update process
13028 information instead of only running proced-post-display-hook.
13029 (proced-send-signal): Add a leading space to the buffer name
13030 " *Marked Processes*" to make this buffer ephemeral.
13031
13032 2009-12-04 Juri Linkov <juri@jurta.org>
13033
13034 * dired.el (dired-auto-revert-buffer): New defcustom.
13035 (dired-internal-noselect): Use it.
13036
13037 2009-12-04 Juri Linkov <juri@jurta.org>
13038
13039 Change roles of modes and functions in image-mode.el (Bug#5062).
13040
13041 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13042 in `auto-mode-alist'.
13043 (image-mode-previous-major-mode): New variable.
13044 (image-minor-mode-map): Rename from `image-mode-text-map'.
13045 (image-mode): Move graceful error-handling code from
13046 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13047 (image-minor-mode): Remove all image-handling code.
13048 Replace `image-mode-text-map' with `image-minor-mode-map'.
13049 Check for `image-type' in mode-line format string.
13050 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13051 (image-mode-as-text): New function with most code from
13052 `image-mode-maybe'.
13053 (image-toggle-display-text): Move code that removes image
13054 properties from `image-toggle-display' to here.
13055 (image-toggle-display-image): New function with code that adds
13056 image properties copied from `image-toggle-display'.
13057 (image-toggle-display): Remove most code with leaving only code
13058 that toggles between `image-mode-as-text' and `image-mode'.
13059
13060 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13061
13062 * net/newst-treeview.el
13063 (newsticker--treeview-list-highlight-start): Restored call to
13064 save-excursion: Selected item was stuck.
13065 (newsticker--treeview-list-select): New.
13066 (newsticker--treeview-item-show-text)
13067 (newsticker--treeview-item-show)
13068 (newsticker--treeview-item-update): Use new
13069 newsticker-treeview-item-mode.
13070 (newsticker-treeview-update): Keep current item.
13071 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13072 (newsticker--treeview-first-feed): Doc change.
13073 (newsticker-treeview-list-menu)
13074 (newsticker-treeview-item-menu): Add menu entries.
13075 (newsticker-treeview-item-mode): New.
13076
13077 * net/newst-backend.el (newsticker-customize): Delete other
13078 windows.
13079
13080 2009-12-04 Sam Steingold <sds@gnu.org>
13081
13082 * log-view.el (log-view-mode-map): "q" calls quit-window,
13083 like in all the other non-self-insert buffers.
13084
13085 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13086
13087 Minor cleanup.
13088 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13089 key decoding rather than do it manually via last-input-event +
13090 ascii-character.
13091 (term-exec): Use delete-and-extract-region.
13092 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13093 (term-process-pager): Remove unused var `i'.
13094 (term-dynamic-simple-complete): Make obsolete.
13095 (serial-update-config-menu): Remove unused vars `y' and `str'.
13096 (term-update-mode-line): Remove unused var `temp'.
13097
13098 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13099
13100 Limit the number of log entries displayed by default.
13101 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13102 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13103 using a prefix argument.
13104
13105 2009-12-03 Glenn Morris <rgm@gnu.org>
13106
13107 * progmodes/idlwave.el (class): Restore still useful declaration.
13108
13109 2009-12-03 Alan Mackenzie <acm@muc.de>
13110
13111 Enhance `c-parse-state' to run efficiently in "brace deserts".
13112
13113 * progmodes/cc-mode.el (c-basic-common-init):
13114 Call c-state-cache-init.
13115 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13116 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13117 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13118
13119 * progmodes/cc-langs.el (c-before-font-lock-function):
13120 c-extend-and-neutralize-syntax-in-CPP has been renamed
13121 c-neutralize-syntax-in-and-mark-CPP.
13122
13123 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13124 with `category' properties now, not `syntax-table' ones.
13125
13126 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13127 enhanced (but slower) version of c-end-of-macro that won't land
13128 inside a literal or on another awkward character.
13129 (c-state-cache-too-far, c-state-cache-start)
13130 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13131 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13132 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13133 (c-state-min-scan-pos, c-state-brace-pair-desert)
13134 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13135 buffer local variables.
13136 (c-state-literal-at, c-state-lit-beg)
13137 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13138 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13139 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13140 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13141 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13142 (c-renarrow-state-cache)
13143 (c-append-lower-brace-pair-to-state-cache)
13144 (c-state-push-any-brace-pair, c-append-to-state-cache)
13145 (c-remove-stale-state-cache)
13146 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13147 (c-invalidate-state-cache-1, c-parse-state-1)
13148 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13149 (c-parse-state): Enhance and refactor.
13150 (c-debug-parse-state): Amend to deal with all the new variables.
13151
13152 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13153 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13154 modify to use category text properties rather than syntax-table ones.
13155 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13156 to switch off/on the syntactic paren property of C++ template
13157 delimiters using the category property.
13158 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13159 template delims suppressed.
13160 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13161 New constant/macros which apply category properties to the start
13162 and end of preprocessor constructs.
13163 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13164 "comment out" the syntactic value of characters in preprocessor
13165 constructs.
13166 (c-with-cpps-commented-out)
13167 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13168 with characters in all or all but one preprocessor constructs
13169 "commented out".
13170
13171 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13172
13173 * proced.el (proced-filter-alist): Use regexp-quote.
13174
13175 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13176
13177 Cleanup.
13178 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13179 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13180 arguments. Expand `default-directory'.
13181
13182 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13183 the benefit of returning an expanded localname.
13184 (tramp-tramp-file-p): Handle the case NAME is not a string.
13185
13186 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13187
13188 Add support for bzr shelve/unshelve.
13189 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13190 (vc-bzr-extra-menu-map): New variables.
13191 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13192 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13193 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13194 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13195 (vc-bzr-dir-extra-headers): Display shelves.
13196
13197 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13198
13199 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13200
13201 * textmodes/bibtex.el (bibtex-complete-internal):
13202 Use completion-in-region.
13203 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13204
13205 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13206
13207 Support applying stashes. Improve UI.
13208 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13209 (vc-git-stash-apply, vc-git-stash-pop)
13210 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13211 (vc-git-stash-menu): New functions.
13212 (vc-git-stash-menu-map): New variable.
13213 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13214
13215 2009-12-03 Glenn Morris <rgm@gnu.org>
13216
13217 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13218 (vc-print-log-internal): Fix previous change.
13219 (vc-revert): Correct pluralization.
13220
13221 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13222
13223 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13224 it to be an alist any more.
13225 (makefile-complete): Use completion-in-region.
13226
13227 * progmodes/octave-mod.el (octave-complete-symbol):
13228 Use completion-in-region.
13229
13230 Misc cleanup.
13231 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13232 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13233 (idlwave-complete-class): Don't quote lambda.
13234 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13235 (idlwave-mode-map): Move initialization into declaration.
13236 (idlwave-action-and-binding): Use backquotes.
13237 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13238 Simplify.
13239 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13240 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13241 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13242 `parts', and `all-parts'.
13243 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13244 (idlwave-convert-xml-system-routine-info): Remove unused string
13245 `version-string'.
13246 (idlwave-display-user-catalog-widget): Use dolist.
13247 (idlwave-scanning-lib): Declare dynamically-scoped var.
13248 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13249 (completion-highlight-first-word-only): Declare to silence bytecomp.
13250 (idlwave-popup-select): Tighten scope of `resp'.
13251 (idlwave-find-struct-tag): Remove unused var `beg'.
13252 (idlwave-after-load-rinfo-hook): Declare.
13253 (idlwave-sintern-class-info): Remove unused var `taglist'.
13254 (idlwave-find-class-definition): Remove unused var `list'.
13255 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13256 (idlwave-what-module-find-class): Remove unused var `classes'.
13257
13258 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13259
13260 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13261
13262 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13263
13264 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13265 buffers visited. Remove redundant current-buffer-saving.
13266
13267 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13268
13269 Use completion-in-buffer and remove uses of dynamic scoping.
13270 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13271 (pascal-buffer-to-use, pascal-flag): Don't declare.
13272 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13273 (pascal-get-completion-decl, pascal-keyword-completion):
13274 Add `pascal-str' argument, save-excursion,
13275 return the found completions, and don't filter with pascal-pred.
13276 (pascal-completion-cache): New var.
13277 (pascal-completion): Don't switch buffer any more (it was never
13278 necessary). Don't save-excursion any more (it's done by the called
13279 subroutines). Use a cache to avoid redundant computations.
13280 Use complete-with-action rather than pascal-completion-response and
13281 let it apply the predicate as well.
13282 (pascal-complete-word): Use completion-in-buffer when
13283 pascal-toggle-completions is nil.
13284 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13285 not used any more.
13286 (pascal-comp-defun): Don't change buffer any more.
13287 Use complete-with-action rather than pascal-completion-response and
13288 let it apply the predicate as well.
13289 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13290 when neded.
13291
13292 2009-12-02 Kenichi Handa <handa@m17n.org>
13293
13294 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13295 shape for all Indic scripts.
13296
13297 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 Use completion-in-buffer.
13300 * wid-edit.el (widget-field-text-end): New function.
13301 (widget-field-value-get): Use it.
13302 (widget-string-complete, widget-file-complete)
13303 (widget-color-complete): Use it and completion-in-region.
13304 (widget-complete): Don't narrow the buffer.
13305
13306 2009-12-02 Glenn Morris <rgm@gnu.org>
13307
13308 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13309 (rmail-select-summary): Use rmail-pop-to-buffer.
13310 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13311 rmail-pop-to-buffer, to prevent horizontal splits.
13312
13313 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13314 save-excursion with save-current-buffer.
13315 Widen before searching. (Bug#5093)
13316 (diary-list-sexp-entries): Remove superfluous save-excursion.
13317
13318 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13319
13320 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13321 name. (Bug#5038)
13322
13323 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13324
13325 * ido.el (ido-file-internal): Handle filenames at point that do
13326 not have a directory part. (Bug#5049)
13327
13328 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13329
13330 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13331 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13332
13333 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13334
13335 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13336 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13337 any more.
13338
13339 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * comint.el (comint-insert-input): Ignore clicks to the right of
13342 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13343
13344 * vc.el (vc-print-log-internal): Don't wait for the process to
13345 terminate before setting up the major mode.
13346
13347 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13348 in case.
13349
13350 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13351 the last element.
13352
13353 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13354
13355 2009-12-01 Glenn Morris <rgm@gnu.org>
13356
13357 * window.el (window--display-buffer-2): Fix previous changes.
13358
13359 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13360
13361 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13362
13363 2009-12-01 Glenn Morris <rgm@gnu.org>
13364
13365 * Makefile.in (ELCFILES): Add mpc.elc.
13366
13367 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13368
13369 * mpc.el: New file.
13370
13371 2009-12-01 Glenn Morris <rgm@gnu.org>
13372
13373 * window.el (window-to-use): Define for compiler.
13374
13375 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13376 consistent with others (no final period).
13377
13378 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13379 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13380
13381 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13382
13383 Make vc-print-log buttons work.
13384 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13385
13386 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13387
13388 * savehist.el (savehist-autosave-interval): Allow setting to nil
13389 through customize. (Bug#5056)
13390
13391 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13392
13393 Fix references to jit-lock properties.
13394 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13395 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13396 (perl-font-lock-special-syntactic-constructs):
13397 Quote jit-lock-defer-multiline property.
13398
13399 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13400
13401 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13402
13403 2009-11-30 Juri Linkov <juri@jurta.org>
13404
13405 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13406 value `buffer' of `multi-isearch-next-buffer-current-function'.
13407 Use `(current-buffer)' when `buffer' is nil.
13408 (multi-isearch-next-buffer-from-list): Don't fallback to
13409 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13410
13411 2009-11-30 Juri Linkov <juri@jurta.org>
13412
13413 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13414 of buffers with `get-buffer' to `multi-isearch-buffers'.
13415 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13416 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13417 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13418 FILES with `expand-file-name' converting relative file names
13419 to absolute. Doc fix. (Bug#4727)
13420
13421 2009-11-30 Juri Linkov <juri@jurta.org>
13422
13423 * misearch.el (multi-isearch-read-buffers)
13424 (multi-isearch-read-matching-buffers): New functions.
13425 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13426 Use them in the `interactive' spec. Doc fix.
13427 (multi-isearch-read-files, multi-isearch-read-matching-files):
13428 New functions.
13429 (multi-isearch-files, multi-isearch-files-regexp):
13430 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13431
13432 2009-11-30 Juri Linkov <juri@jurta.org>
13433
13434 * doc-view.el (doc-view-continuous):
13435 Rename from `doc-view-continuous-mode'.
13436 (doc-view-menu): Move "Toggle display" to the top.
13437 Add submenu "Continuous" with radio buttons "Off"/"On"
13438 and "Save as Default".
13439 (doc-view-scroll-up-or-next-page)
13440 (doc-view-scroll-down-or-previous-page)
13441 (doc-view-next-line-or-next-page)
13442 (doc-view-previous-line-or-previous-page):
13443 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13444
13445 2009-11-30 Juri Linkov <juri@jurta.org>
13446
13447 * comint.el (comint-mode-map): Rebind `M-r' from
13448 `comint-previous-matching-input' to
13449 `comint-history-isearch-backward-regexp'.
13450 Unbind `M-s' to allow global key binding `M-s'.
13451 Add menu items for `comint-history-isearch-backward' and
13452 `comint-history-isearch-backward-regexp'. (Bug#3746)
13453
13454 2009-11-30 Juri Linkov <juri@jurta.org>
13455
13456 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13457 For def=recenter, replace `recenter' with `recenter-top-bottom'
13458 that is called with `this-command' and `last-command' let-bound
13459 to `recenter-top-bottom'. When the last `def' was not `recenter',
13460 set `recenter-last-op' to nil. (Bug#4981)
13461
13462 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13463
13464 Minor cleanup and simplification.
13465 * filecache.el (file-cache-add-directory)
13466 (file-cache-add-directory-recursively)
13467 (file-cache-add-from-file-cache-buffer)
13468 (file-cache-delete-file-regexp, file-cache-delete-directory)
13469 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13470 (file-cache-temp-minibuffer-message): Delete function.
13471 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13472
13473 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13474 Don't signal an error when bumping into EOB in tr, s, or y.
13475
13476 2009-11-29 Juri Linkov <juri@jurta.org>
13477
13478 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13479 (Bug#4960)
13480
13481 * descr-text.el (describe-char-unidata-list): Use lowercase name
13482 for "Unicode name" like in other tags.
13483
13484 2009-11-29 Juri Linkov <juri@jurta.org>
13485
13486 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13487 New compatibility macro.
13488 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13489
13490 2009-11-29 Juri Linkov <juri@jurta.org>
13491
13492 Add defcustom to define the cycling order of `recenter-top-bottom'.
13493 (Bug#4981)
13494
13495 * window.el (recenter-last-op): Doc fix.
13496 (recenter-positions): New defcustom.
13497 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13498 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13499
13500 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13501
13502 Improve integration of Tramp and ange-ftp in eshell.
13503
13504 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13505 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13506 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13507
13508 * eshell/esh-util.el (top): Require also Tramp when compiling.
13509 (eshell-directory-files-and-attributes): Check for FTP remote
13510 connection.
13511 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13512 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13513 (eshell-file-attributes): Handle ".". Return `entry'.
13514
13515 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13516 (ange-ftp-directory-files-and-attributes)
13517 (ange-ftp-real-directory-files-and-attributes): New defuns.
13518
13519 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13520 shell with "exec" when possible. This prevents trailing prompts
13521 in `start-file-process'.
13522
13523 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13524
13525 Try and remove assumptions about point-min==1.
13526 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13527 (rng-compute-mode-line-string): Show the validation percentage in
13528 terms of the narrowed text, not the widened text.
13529 (rng-do-some-validation): Don't catch internal errors when debugging.
13530 (rng-first-error): Simplify.
13531 (rng-after-change-function): Remove work around. AFAIK the bug has
13532 been fixed a while ago.
13533
13534 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13535 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13536
13537 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13538
13539 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13540 `cd' doesn't always do it for us (bug#5067).
13541
13542 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13543 on 2009-10-25 as part of some other change (bug#5067).
13544
13545 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13546
13547 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13548 `suspicious'.
13549 (byte-compile-warnings): Use byte-compile-warning-types.
13550 (byte-compile-save-excursion): Warn about use of set-buffer right
13551 after save-excursion.
13552
13553 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13554 the excursion as well.
13555
13556 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13557
13558 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13559 providing a Tramp related implementation of "su" and "sudo".
13560 (eshell-unix-initialize): Add "su" and "sudo".
13561
13562 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13563
13564 * net/socks.el (socks-send-command): Convert binary request to
13565 unibyte before sending. This fixes mishandling of some port
13566 numbers such as 129.
13567
13568 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13569
13570 * help.el (describe-bindings-internal): Remove `interactive'.
13571
13572 * man.el (Man-completion-table): Trim a terminating "(".
13573 Remove the space between name page a section.
13574 Add the command's description on the `help-echo' property.
13575 Remove `process-connection-type' binding since it's unused by
13576 call-process.
13577 Provide completion for the "<section> <name>" format as well.
13578 (Man-default-man-entry): Remove spurious var shadowing the argument.
13579
13580 2009-11-26 Kevin Ryde <user42@zip.com.au>
13581
13582 * log-view.el: Add "Keywords: tools", since its other keywords
13583 aren't in finder-known-keywords, and following vc.el.
13584
13585 * sha1.el (sha1-string-external): default-directory "/" in case
13586 otherwise non-existent. process-connection-type pipe for touch of
13587 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13588
13589 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13590
13591 Misc coding convention cleanups.
13592 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13593 hfy-init-kludge-hooks.
13594 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13595 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13596 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13597 and push.
13598 (hfy-slant, hfy-weight): Use tables rather than code.
13599 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13600 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13601 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13602 (hfy-face-to-css): Remove `nconc' with single arg.
13603 (hfy-p-to-face-lennart): Use `or'.
13604 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13605 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13606 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13607 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13608 (hfy-force-fontification): Use run-hooks.
13609
13610 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13611
13612 Various minor fixes.
13613 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13614 Javascript belongs in the header, not the body.
13615 (hfy-javascript): Remove.
13616 (hfy-fontify-buffer): Don't insert it any more.
13617 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13618 Fix bug in invis handling when there were no invis props in a chunk.
13619
13620 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13621
13622 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13623
13624 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13625
13626 * finder.el (finder-mode-map): Add a menu.
13627
13628 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13629
13630 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13631 "unsigned" structs.
13632
13633 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13634 fork" statement better.
13635
13636 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13637
13638 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13639 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13640 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13641 Reported by Clay Douglass.
13642
13643 (verilog-auto-inst, verilog-auto-star-safe)
13644 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13645 Fix removing "// Interfaces" when saving .* expansions.
13646 Reported by Pierre-David Pfister.
13647
13648 2009-11-26 Glenn Morris <rgm@gnu.org>
13649
13650 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13651 the scope.
13652
13653 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13654
13655 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13656 Really use previous revision.
13657
13658 2009-11-25 Kevin Ryde <user42@zip.com.au>
13659
13660 * man.el (Man-completion-table): default-directory "/" in case
13661 doesn't otherwise exist. process-environment COLUMNS=999 so as
13662 not to truncate long names. process-connection-type pipe to avoid
13663 any chance of hitting the pseudo-tty TIOCGWINSZ.
13664 (man): completion-ignore-case t for friendliness and since man
13665 itself is case-insensitive on the command line.
13666 Further to Bug#3717.
13667
13668 * arc-mode.el: Add "Keywords: files", so the details in its
13669 commentary can be reached from finder-by-keyword.
13670 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13671 editing mode, but it's comms related and sgml-mode.el has "comm"
13672 on that basis too.
13673 * textmodes/bibtex-style.el: Add "Keywords: tex".
13674 * international/isearch-x.el, international/ja-dic-cnv.el:
13675 * international/ja-dic-utl.el, international/kkc.el:
13676 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13677
13678 2009-11-25 Juri Linkov <juri@jurta.org>
13679
13680 * man.el (Man-completion-table): Modify regexp to include
13681 section names to completion strings. (Bug#3717)
13682
13683 2009-11-25 Juri Linkov <juri@jurta.org>
13684
13685 Search recursively in gzipped files. (Bug#4982)
13686
13687 * progmodes/grep.el (grep-highlight-matches): Add new options
13688 `always' and `auto'. Doc fix.
13689 (grep-process-setup): Check `grep-highlight-matches' for
13690 `auto-detect' to determine the need to compute grep defaults.
13691 Move Windows/DOS specific --colors settings handling
13692 to `grep-compute-defaults'. Check `grep-highlight-matches'
13693 to get the value of "--color=".
13694 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13695 has the value `auto-detect'. Move Windows/DOS specific settings
13696 from `grep-process-setup'.
13697 (zrgrep): New command with alias `rzgrep'.
13698
13699 2009-11-25 Juri Linkov <juri@jurta.org>
13700
13701 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13702 to nil instead of switching off view-mode. (Bug#4896)
13703
13704 2009-11-25 Juri Linkov <juri@jurta.org>
13705
13706 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13707
13708 * mwheel.el (mwheel-scroll-up-function)
13709 (mwheel-scroll-down-function): New defvars.
13710 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13711 `scroll-up', and `mwheel-scroll-down-function' instead of
13712 `scroll-down'.
13713
13714 * doc-view.el (doc-view-scroll-up-or-next-page)
13715 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13716 Use this ARG in the call to image-scroll-up/image-scroll-down.
13717 Change `interactive' spec to "P". Goto next/previous page only
13718 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13719 SPC/DEL case). Doc fix.
13720 (doc-view-next-line-or-next-page)
13721 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13722 for consistency.
13723 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13724 `doc-view-scroll-up-or-next-page', and buffer-local
13725 `mwheel-scroll-down-function' to
13726 `doc-view-scroll-down-or-previous-page'.
13727
13728 2009-11-25 Juri Linkov <juri@jurta.org>
13729
13730 Provide additional default values (directories at other Dired
13731 windows) via M-n in the minibuffer of some Dired commands.
13732
13733 * dired-aux.el (dired-diff, dired-compare-directories)
13734 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13735 `minibuffer-default' in `minibuffer-with-setup-hook'.
13736 (dired-dwim-target-directory): Find a window that displays Dired
13737 buffer instead of failing when the next window is not Dired.
13738 Use `get-window-with-predicate' to find for the next Dired window.
13739 (dired-dwim-target-defaults): New function.
13740
13741 * ediff-util.el (ediff-read-file-name):
13742 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13743 in `minibuffer-with-setup-hook'.
13744
13745 2009-11-25 Juri Linkov <juri@jurta.org>
13746
13747 Provide additional default values (file name at point or at the
13748 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13749
13750 * minibuffer.el (read-file-name-defaults): New function.
13751 (read-file-name): Reset `minibuffer-default' to nil when
13752 it duplicates initial input `insdef'.
13753 Bind `minibuffer-default-add-function' to lambda that
13754 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13755 (minibuffer-insert-file-name-at-point): New command.
13756
13757 * files.el (file-name-at-point-functions): New defcustom.
13758 (find-file-default): Remove defvar.
13759 (find-file-read-args): Don't use `find-file-default'.
13760 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13761 to `read-file-name'.
13762 (find-file-literally): Use `read-file-name' with
13763 `confirm-nonexistent-file-or-buffer'.
13764
13765 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13766
13767 * dired.el (dired-read-dir-and-switches):
13768 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13769 to `read-file-name'.
13770 (dired-file-name-at-point): New function.
13771 (dired-mode): Add hook `dired-file-name-at-point' to
13772 `file-name-at-point-functions'.
13773
13774 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13775
13776 Really make the *Completions* window soft-dedicated (bug#5030).
13777 * window.el (window--display-buffer-2): Add `dedicated' argument.
13778 (display-buffer): Pass it when needed so the dedicated flag is set
13779 after calling set-window-buffer, which would otherwise reset it.
13780
13781 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13782
13783 * progmodes/meta-mode.el (meta-complete-symbol):
13784 * progmodes/etags.el (complete-tag):
13785 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13786 Use completion-in-region.
13787
13788 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13789 (dabbrev-completion): Use completion-in-region.
13790 (dabbrev--abbrev-at-point): Simplify regexp.
13791
13792 * abbrev.el (abbrev--before-point): Use word-motion functions
13793 if :regexp is not specified (bug#5031).
13794
13795 * subr.el (string-prefix-p): New function.
13796
13797 * man.el (Man-completion-cache): New var.
13798 (Man-completion-table): Use it.
13799
13800 * vc.el (vc-print-log-internal): Make `limit' optional for better
13801 compatibility (e.g. with vc-annotate.el).
13802
13803 2009-11-24 Kevin Ryde <user42@zip.com.au>
13804
13805 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13806 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13807
13808 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13809 when .el source file not found or other error.
13810
13811 2009-11-24 Markus Triska <markus.triska@gmx.at>
13812
13813 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13814
13815 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13816
13817 Handle the [back] button properly (bug#4979).
13818 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13819 Use help-setup-xref, help-buffer, and with-help-window.
13820 (describe-char): Add `buffer' argument.
13821 Pass proper command to help-setup-xref. Don't meddle with
13822 help-xref-stack-item directly.
13823 (describe-text-category): Use with-help-window and help-buffer.
13824
13825 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13826 for the displayed buffer (bug#4887).
13827
13828 * man.el (Man-completion-table): New function.
13829 (man): Use it.
13830
13831 2009-11-24 David Reitter <david.reitter@gmail.com>
13832
13833 * vc-git.el (vc-git-registered): Use checkout directory (where
13834 .git is) rather than the file's directory and a relative path spec
13835 to work around a bug in git.
13836
13837 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13838
13839 Improve handling of processes on remote hosts.
13840
13841 * eshell/esh-util.el (eshell-path-env): New defvar.
13842 (eshell-parse-colon-path): New defun.
13843 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13844
13845 * eshell/esh-ext.el (eshell-search-path):
13846 Use `eshell-parse-colon-path'.
13847 (eshell-remote-command): Remove argument HANDLER.
13848 (eshell-external-command): Check for FTP remote connection.
13849
13850 * eshell/esh-proc.el (eshell-gather-process-output):
13851 Use `file-truename', in order to start also symlinked files.
13852 Apply `start-file-process' instead of `start-process'.
13853 Shorten `command' to the local file name part.
13854
13855 * eshell/em-cmpl.el (eshell-complete-commands-list):
13856 Use `eshell-parse-colon-path'.
13857
13858 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13859
13860 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13861 to `eshell-directory-change-hook'.
13862
13863 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13864
13865 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13866 because it could be enabled automatically if view-read-only is non-nil.
13867
13868 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13869
13870 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13871 made on 2009-11-22.
13872
13873 2009-11-24 Glenn Morris <rgm@gnu.org>
13874
13875 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13876 deleted variable bookmark-bmenu-bookmark-column.
13877
13878 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13881
13882 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13883
13884 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13885 two slashes to the "file:" prefix.
13886 (browse-url-file-url): De-munge Cygwin filenames before passing
13887 them to Windows browser.
13888 (browse-url-default-windows-browser): Use call-process.
13889
13890 2009-11-23 Juri Linkov <juri@jurta.org>
13891
13892 Implement DocView Continuous mode. (Bug#4896)
13893 * doc-view.el (doc-view-continuous-mode): New defcustom.
13894 (doc-view-mode-map): Bind C-n/<down> to
13895 `doc-view-next-line-or-next-page', C-p/<up> to
13896 `doc-view-previous-line-or-previous-page'.
13897 (doc-view-next-line-or-next-page)
13898 (doc-view-previous-line-or-previous-page): New commands.
13899
13900 2009-11-23 Juri Linkov <juri@jurta.org>
13901
13902 Implement Isearch in comint input history. (Bug#3746)
13903 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13904 `isearch-mode-hook'.
13905 (comint-history-isearch): New defcustom.
13906 (comint-history-isearch-backward)
13907 (comint-history-isearch-backward-regexp): New commands.
13908 (comint-history-isearch-message-overlay): New buffer-local variable.
13909 (comint-history-isearch-setup, comint-history-isearch-end)
13910 (comint-goto-input, comint-history-isearch-search)
13911 (comint-history-isearch-message, comint-history-isearch-wrap)
13912 (comint-history-isearch-push-state)
13913 (comint-history-isearch-pop-state): New functions.
13914
13915 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13916
13917 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13918 return.
13919 (tramp-handle-make-symbolic-link)
13920 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13921 Quote file names.
13922 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13923 (tramp-handle-process-file): Use it.
13924
13925 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13926
13927 * window.el (move-to-window-line-last-op): Remove.
13928 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13929
13930 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13931
13932 Make M-r mirror the new cycling behavior of C-l.
13933 * window.el (move-to-window-line-last-op): New var.
13934 (move-to-window-line-top-bottom): New command.
13935 (global-map): Bind M-r move-to-window-line-top-bottom.
13936
13937 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13938
13939 * dired-x.el (dired-guess-shell-alist-default):
13940 Support xz format. (Bug#4953)
13941
13942 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13943
13944 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13945 last-command-char/last-command-event.
13946 (viper-prefix-arg-value): Do correct conversion of event-char for
13947 XEmacs.
13948
13949 * emulation/viper-util.el, emulation/viper.el:
13950 Use viper-last-command-char instead of
13951 last-command-char/last-command-event.
13952
13953 * ediff-init.el, ediff-mult.el, ediff-util.el:
13954 Replace last-command-char and last-command-event
13955 with (ediff-last-command-char) everywhere.
13956
13957 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13958 created in fundamental mode.
13959
13960 * ediff.el (ediff-version): Revert the change of interactive-p to
13961 called-interactively-p.
13962
13963 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13964
13965 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13966 generation from word-movement command names.
13967
13968 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13969
13970 * cus-start.el (all): Add native condition for font-use-system-font.
13971
13972 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13973
13974 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13975 Correct the patch from 2009-11-18. (Bug#3910)
13976
13977 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13978
13979 * progmodes/subword.el: Rename from lisp/subword.el.
13980
13981 * subword.el: Rename to progmodes/subword.el.
13982
13983 * Makefile.in (ELCFILES): Adapt to subword.el move.
13984
13985 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13986 Stefan Monnier <monnier@iro.umontreal.ca>
13987
13988 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13989 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13990 (bookmark-bmenu-show-filenames): Use push.
13991 (bookmark-bmenu-hide-filenames): Use local var instead of
13992 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13993 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13994 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13995 filenames now that the bookmark names are always available.
13996
13997 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13998
13999 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14000 (bookmark-search-pattern): Move and leave unbound.
14001 (bookmark-bmenu-mode-map): Change binding.
14002 (bookmark-read-search-input): Simplify.
14003 Don't use text-char-description. Don't error on non-char events.
14004 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14005 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14006 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14007 Use a local var for the timer.
14008 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14009 (i.e. bookmark-bmenu-search).
14010
14011 2009-11-21 Glenn Morris <rgm@gnu.org>
14012
14013 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14014
14015 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14016
14017 * net/browse-url.el (browse-url-default-windows-browser):
14018 Use cygstart for cygwin.
14019
14020 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14021
14022 * bookmark.el: Formatting and doc fixes only:
14023 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14024 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14025 Minor grammar and punctuation fixes in doc string.
14026 (bookmark-read-search-input): Adjust to fit within 80 columns.
14027
14028 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14029
14030 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14031 (c-backward-into-nomenclature): Adapt to subword renaming.
14032
14033 * subword.el (subword-forward, subword-backward, subword-mark)
14034 (subword-kill, subword-backward-kill, subword-transpose)
14035 (subword-downcase, subword-upcase, subword-capitalize)
14036 (subword-forward-internal, subword-backward-internal):
14037 Rename from forward-subword, backward-subword, mark-subword,
14038 kill-subword, backward-kill-subword, transpose-subwords,
14039 downcase-subword, upcase-subword, capitalize-subword,
14040 forward-subword-internal, backward-subword-internal.
14041
14042 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14043
14044 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14045 New options.
14046 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14047 New vars.
14048 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14049 (bookmark-bmenu-filter-alist-by-regexp)
14050 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14051 (bookmark-bmenu-search): New command.
14052 (bookmark-bmenu-mode-map): Bind it.
14053
14054 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14055
14056 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14057 backward-subword to quit the byte-compiler.
14058
14059 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14060
14061 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14062
14063 * progmodes/cc-cmds.el (c-update-modeline)
14064 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14065 Refer to subword.el functions instead of cc-subword.el.
14066
14067 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14068 subword.el functions instead of cc-subword.el.
14069
14070 * progmodes/cc-subword.el: Rename to subword.el.
14071 * subword.el: Rename from progmodes/cc-subword.el.
14072 (subword-mode-map): Rename from c-subword-mode-map.
14073 (subword-mode): Rename from c-subword-mode.
14074 (global-subword-mode): New global minor mode.
14075 (forward-subword): Rename from c-forward-subword.
14076 (backward-subword): Rename from c-backward-subword.
14077 (mark-subword): Rename from c-mark-subword.
14078 (kill-subword): Rename from c-kill-subword.
14079 (backward-kill-subword): Rename from c-backward-kill-subword.
14080 (transpose-subwords): Rename from c-tranpose-subword.
14081 (downcase-subword): Rename from c-downcase-subword.
14082 (capitalize-subword): Rename from c-capitalize-subword.
14083 (forward-subword-internal): Rename from c-forward-subword-internal.
14084 (backward-subword-internal): Rename from c-backward-subword-internal.
14085
14086 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14087
14088 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14089 from a dired buffer.
14090 (vc-dired-deduce-fileset): New function.
14091 (vc-root-diff, vc-print-root-log): Use it.
14092
14093 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14094 nil LIMIT argument to vc-print-log-internal.
14095
14096 2009-11-20 Glenn Morris <rgm@gnu.org>
14097
14098 * Makefile.in (ELCFILES): Regenerate.
14099
14100 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14101
14102 * calc/calc.el (calc-set-mode-line):
14103 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14104 (math-format-number): Rename `math-format-complement-signed' to
14105 `math-format-twos-complement'.
14106
14107 * calc/calc-bin.el (math-format-twos-complement): Rename from
14108 math-format-complement-signed.
14109 (calc-radix): Rename `calc-complement-signed-mode' to
14110 `calc-twos-complement-mode'.
14111 (calc-octal-radix, calc-hex-radix): Add an argument for
14112 two's complement.
14113
14114 * calc/calc-embed.el (calc-embedded-mode-vars):
14115 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14116
14117 * calc/calc-ext.el (calc-init-extensions):
14118 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14119 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14120
14121 * calc/calc-units.el (math-build-units-table-buffer):
14122 Let `calc-twos-complement-mode' be nil.
14123
14124 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14125 entries.
14126
14127 * calc/calc-vec.el (calcFunc-vunpack):
14128 * calc/calc-aent.el (calc-do-calc-eval):
14129 * calc/calc-forms.el (math-format-date):
14130 * calc/calc-graph.el (calc-graph-plot):
14131 * calc/calc-math.el (math-use-emacs-fn):
14132 * calc/calccomp.el (math-compose-expr):
14133 Let `calc-twos-complement-mode' be nil.
14134
14135 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14136
14137 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14138 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14139 * minibuffer.el (completion-in-region-functions): New hook.
14140 (completion-in-region): New function.
14141 * emacs-lisp/lisp.el (lisp-complete-symbol):
14142 * pcomplete.el (pcomplete-std-complete): Use it.
14143
14144 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14145
14146 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14147 (latex-complete-alist): New vars.
14148 (latex-string-prefix-p, latex-complete-bibtex-keys)
14149 (latex-complete-envnames, latex-complete-refkeys)
14150 (latex-complete-data): New functions.
14151 (latex-complete, latex-indent-or-complete): New commands.
14152
14153 * window.el (display-buffer-mark-dedicated): New var.
14154 (display-buffer): Obey it.
14155 * minibuffer.el (minibuffer-completion-help): Use it.
14156
14157 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14158
14159 * filecache.el (file-cache-add-file): Use push and cons.
14160 (file-cache-delete-file-regexp): Use push.
14161 (file-cache-complete): Use completion-in-region.
14162
14163 * simple.el (with-wrapper-hook): Fix thinko.
14164
14165 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14166 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14167 Use with-current-buffer and string-to-number.
14168 (hfy-fallback-colour-values): Use assoc-string.
14169 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14170 (hfy-face-at): Remove unused var `found-face'.
14171 (hfy-compile-stylesheet): Remove unused var `css'.
14172 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14173 and `orig-buffer'.
14174 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14175 Use with-current-buffer.
14176 (hfy-text-p): Use expand-file-name and fewer setq.
14177
14178 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14179
14180 * htmlfontify.el, hfy-cmap.el: New files.
14181
14182 2009-11-19 Juri Linkov <juri@jurta.org>
14183
14184 * minibuffer.el (completions-format): New defcustom.
14185 (completion--insert-strings): Implement vertical format.
14186
14187 * simple.el (switch-to-completions): Move point to the first
14188 completion when point was at the beginning of the buffer.
14189
14190 2009-11-19 Juri Linkov <juri@jurta.org>
14191
14192 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14193
14194 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14195
14196 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14197
14198 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14199 (mail-signature): Change default to t.
14200 (mail-from-style): Deprecate `system-default' value.
14201 (mail-insert-from-field): For default value of mail-from-style,
14202 default to `angles' unless `angles' needs quoting and `parens'
14203 does not.
14204 (mail-citation-prefix-regexp): Use citation regexp from
14205 message-mode.
14206
14207 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14208
14209 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14210 Set variables for computing the prompt for reading password.
14211
14212 2009-11-19 Glenn Morris <rgm@gnu.org>
14213
14214 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14215
14216 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14217
14218 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14219 (newsticker-treeview-listwindow-height): Fix custom type.
14220
14221 2009-11-19 Kenichi Handa <handa@m17n.org>
14222
14223 * descr-text.el (describe-char-padded-string): Compose with TAB
14224 only if there's a font for CH.
14225 (describe-char): Fix the condition for detecting a trivial composition.
14226
14227 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14228
14229 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14230 more accurate version of the regexp. (Bug#3910)
14231
14232 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14233
14234 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14235
14236 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14237
14238 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14239 (font-setting-change-default-font): Fix typo in docstring.
14240
14241 2009-11-18 Alan Mackenzie <acm@muc.de>
14242
14243 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14244
14245 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14246
14247 * font-setting.el (font-use-system-font): Move ...
14248
14249 * cus-start.el (all): ... to here.
14250
14251 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14252
14253 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14254 Don't set `ad-return-value' if `ad-do-it' doesn't.
14255
14256 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14257 modification time.
14258
14259 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14260
14261 * menu-bar.el: Put "Use system font" in Option-menu.
14262 (menu-bar-options-save): Add font-use-system-font.
14263
14264 * loadup.el: If feature system-font-setting or font-render-setting is
14265 there, load font-setting.
14266
14267 * Makefile.in (ELCFILES): Add font-settings.el.
14268 * font-setting.el: New file.
14269
14270 2009-11-17 Glenn Morris <rgm@gnu.org>
14271
14272 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14273
14274 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14275 Preserve point in the list buffer. (Bug#4939)
14276 Use point-at-eol.
14277 (newsticker--treeview-list-update-highlight)
14278 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14279
14280 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14281
14282 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14283 Remove.
14284
14285 * calc/calc-ext.el (calc-init-extensions): Remove references to
14286 symclip.
14287
14288 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14289
14290 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14291 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14292 `calc-symclip'.
14293
14294 2009-11-16 Kevin Ryde <user42@zip.com.au>
14295
14296 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14297 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14298
14299 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14300 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14301 Ignore trailing spaces by omit-nulls to split-string (fixing
14302 regression from Emacs 21 due to the incompatible split-string
14303 change). (Bug #4928.)
14304
14305 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14306
14307 * vc.el (vc-log-show-limit): Default to 2000.
14308 (vc-print-log-internal): Insert buttons to request more entries
14309 when limiting the output.
14310
14311 * vc-sccs.el (vc-sccs-print-log):
14312 * vc-rcs.el (vc-rcs-print-log):
14313 * vc-cvs.el (vc-cvs-print-log):
14314 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14315 LIMIT is non-nil.
14316
14317 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14318
14319 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14320 error when `tramp-gvfs-dbus-event-vector' is set.
14321 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14322
14323 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14324
14325 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14326
14327 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14328
14329 * net/dbus.el (dbus-unregister-service): New defun.
14330 (dbus-register-property): Register the handlers of
14331 "org.freedesktop.DBus.Properties" for SERVICE.
14332 (dbus-property-handler): Fix docstring.
14333
14334 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14335
14336 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14337 Quote doc string reference in defvaralias as it is not in special form.
14338 (byte-compile-output-docform): Doc fix.
14339
14340 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14341
14342 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14343 (calc-complement-signed-mode): New variables.
14344 (calc-set-mode-line): Add indicator for twos-complements.
14345 (math-format-number): Format twos-complement notation.
14346
14347 * calc/calc-bin.el (calc-word-size): Reset the variables
14348 `math-2-word-size' and `math-half-2-word-size'.
14349 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14350 (calc-symclip): New functions.
14351
14352 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14353
14354 * calc/calc-embed.el (calc-embedded-mode-vars):
14355 Add `calc-complement-signed-mode' to the list of modes.
14356
14357 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14358 (calc-b-oper-keys): Add `calc-symclip' to list.
14359
14360 * calc/calc-ext.el (math-read-number-fancy): Read complement
14361 signed numbers.
14362 (calc-init-extensions): Add binding for `calc-symclip'.
14363 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14364
14365 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14366 `calc-symclip'.
14367 (calc-modes-menu): Add item for twos complement mode.
14368
14369 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14370
14371 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14372
14373 * register.el (jump-to-register, insert-register): Handle Semantic
14374 tags. From commented-out advice in semantic/senator.el.
14375
14376 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14377
14378 * vc.el (vc-log-show-limit): New variable.
14379 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14380 when using a prefix argument.
14381 (vc-print-log-internal): Add new argument LIMIT.
14382
14383 * vc-svn.el (vc-svn-print-log):
14384 * vc-mtn.el (vc-mtn-print-log):
14385 * vc-hg.el (vc-hg-print-log):
14386 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14387 pass it to the log command when set. Make the BUFFER argument
14388 non-optional.
14389
14390 * vc-sccs.el (vc-sccs-print-log):
14391 * vc-rcs.el (vc-rcs-print-log):
14392 * vc-git.el (vc-git-print-log):
14393 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14394 ignore it. Make the BUFFER argument non-optional
14395
14396 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14397
14398 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14399
14400 * dired.el (dired-mode-map): Move encryption items to "Operate"
14401 menu (Bug#4703).
14402
14403 * strokes.el (strokes-update-window-configuration): Make strokes
14404 buffer current before erasing (Bug#4906).
14405
14406 2009-11-15 Juri Linkov <juri@jurta.org>
14407
14408 * simple.el (set-mark-default-inactive): Add :type, :group
14409 and :version. (Bug#4876)
14410
14411 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14412
14413 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14414 (archive-unique-fname): ... here. (Bug#4929)
14415
14416 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14417
14418 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14419 with a real fix.
14420
14421 * novice.el (disabled-command-function): Add useful args.
14422 Setup the help buffer so that [back] works.
14423 Remove redundant call to help-mode.
14424 (disabled-command-function): Use `case'.
14425 (en/disable-command): New function extracted from enable-command.
14426 (enable-command, disable-command): Use it.
14427
14428 2009-11-14 Glenn Morris <rgm@gnu.org>
14429
14430 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14431 constants. (Bug#4913)
14432
14433 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14434
14435 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14436
14437 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14438 defined in C that have no doc-strings. (Bug#1063)
14439
14440 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14441
14442 * cus-edit.el (data, files):
14443 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14444
14445 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14446
14447 * simple.el (shell-command): Doc fix (Bug#4891).
14448
14449 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14450
14451 2009-11-14 Glenn Morris <rgm@gnu.org>
14452
14453 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14454 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14455 If they are already loaded, eval-after-load will do the right thing.
14456
14457 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14458 compiling.
14459
14460 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14461
14462 * simple.el (x-selection-owner-p): Declare.
14463 (read-mail-command): Use custom radio type rather than choice.
14464 (completion-no-auto-exit): Doc fix.
14465
14466 * custom.el (defgroup):
14467 * epg-config.el (epg): Doc fixes.
14468
14469 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14470
14471 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14472 * international/ccl.el (define-ccl-program): Do not purecopy the
14473 docstring, defconst does it anyway.
14474
14475 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14476
14477 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14478 a second time.
14479
14480 * x-dnd.el (x-dnd-maybe-call-test-function):
14481 * window.el (split-window-vertically):
14482 * whitespace.el (whitespace-help-on):
14483 * vc-rcs.el (vc-rcs-consult-headers):
14484 * userlock.el (ask-user-about-lock-help)
14485 (ask-user-about-supersession-help):
14486 * type-break.el (type-break-force-mode-line-update):
14487 * time-stamp.el (time-stamp-conv-warn):
14488 * terminal.el (te-set-output-log, te-more-break, te-filter)
14489 (te-sentinel, terminal-emulator):
14490 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14491 (term-write-input-ring, term-check-source, term-start-output-log):
14492 (term-display-buffer-line, term-dynamic-list-completions):
14493 (term-ansi-make-term, serial-term):
14494 * subr.el (selective-display):
14495 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14496 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14497 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14498 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14499 (speedbar-remove-localized-speedbar-support)
14500 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14501 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14502 (speedbar-buffers-line-directory):
14503 * simple.el (shell-command-on-region, append-to-buffer)
14504 (prepend-to-buffer):
14505 * shadowfile.el (shadow-save-todo-file):
14506 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14507 (scroll-bar-maybe-set-window-start):
14508 * sb-image.el (speedbar-image-dump):
14509 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14510 (load-save-place-alist-from-file):
14511 * ps-samp.el (ps-print-message-from-summary):
14512 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14513 (ps-background-image, ps-begin-job, ps-do-despool):
14514 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14515 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14516 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14517 (pr-call-process, pr-file-list, pr-interface-save):
14518 * novice.el (disabled-command-function)
14519 (enable-command, disable-command):
14520 * mouse.el (mouse-buffer-menu-alist):
14521 * mouse-copy.el (mouse-kill-preserving-secondary):
14522 * macros.el (kbd-macro-query):
14523 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14524 * informat.el (batch-info-validate):
14525 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14526 * hippie-exp.el (try-expand-dabbrev-visible):
14527 * help-mode.el (help-make-xrefs):
14528 * help-fns.el (describe-variable):
14529 * generic-x.el (bat-generic-mode-run-as-comint):
14530 * finder.el (finder-mouse-select):
14531 * find-dired.el (find-dired-sentinel):
14532 * filesets.el (filesets-file-close):
14533 * files.el (list-directory):
14534 * faces.el (list-faces-display, describe-face):
14535 * facemenu.el (list-colors-display):
14536 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14537 * epg.el (epg--process-filter, epg-cancel):
14538 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14539 (epa--read-signature-type):
14540 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14541 (emerge-file-names):
14542 * ehelp.el (electric-helpify):
14543 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14544 * ediff-vers.el (rcs-ediff-view-revision):
14545 * ediff-util.el (ediff-setup):
14546 * ediff-mult.el (ediff-append-custom-diff):
14547 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14548 (ediff-wordify):
14549 * echistory.el (Electric-command-history-redo-expression):
14550 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14551 * disp-table.el (describe-display-table):
14552 * dired.el (dired-find-buffer-nocreate):
14553 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14554 * dabbrev.el (dabbrev--same-major-mode-p):
14555 * chistory.el (list-command-history):
14556 * apropos.el (apropos-documentation):
14557 * allout.el (allout-obtain-passphrase):
14558 (allout-copy-exposed-to-buffer):
14559 (allout-verify-passphrase): Use with-current-buffer.
14560
14561 2009-11-13 Glenn Morris <rgm@gnu.org>
14562
14563 * Makefile.in (ELCFILES): Regenerate.
14564
14565 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14566
14567 * net/dbus.el (dbus-registered-objects-table): Rename from
14568 `dbus-registered-functions-table', because it contains also properties.
14569 (dbus-unregister-object): Unregister also properties.
14570 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14571 Use a timeout of 500 msec, in order to not block.
14572 (dbus-register-property, dbus-property-handler): New defuns.
14573
14574 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14575
14576 * simple.el (minibuffer-default-add-completions): Drop deprecated
14577 4th arg.
14578
14579 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14580
14581 * textmodes/artist.el (artist-mouse-choose-operation):
14582 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14583 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14584 (artist-compute-up-event-key): New function.
14585 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14586
14587 2009-11-13 Kenichi Handa <handa@m17n.org>
14588
14589 * language/japan-util.el: Make sure that the value of jisx0208
14590 property is jisx0208 character.
14591
14592 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14593
14594 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14595 car or each item, not the whole list.
14596
14597 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14598
14599 * minibuffer.el (minibuffer-completion-help):
14600 Use minibuffer-hide-completions.
14601
14602 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14603
14604 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14605 (dired-revert): Use them (bug#4880).
14606
14607 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14608
14609 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14610
14611 2009-11-12 Juri Linkov <juri@jurta.org>
14612
14613 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14614 New functions.
14615 (find-file-literally-at-point): Alias of `ffap-literally'.
14616
14617 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14618
14619 * textmodes/ispell.el (ispell-skip-region-alist):
14620 * textmodes/css-mode.el (auto-mode-alist):
14621 * progmodes/compile.el (auto-mode-alist):
14622 * international/mule.el (ctext-non-standard-encodings-alist)
14623 (ctext-non-standard-encodings-regexp):
14624 * simple.el (shell-command-switch, text-read-only):
14625 * replace.el (occur-mode-map):
14626 * paths.el (rmail-file-name):
14627 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14628 * find-file.el (ff-special-constructs):
14629 * files.el (file-name-handler-alist):
14630 * composite.el: Purecopy strings.
14631
14632 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14633
14634 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14635
14636 * widget.el (define-widget): Purecopy the docstring.
14637 * international/mule-cmds.el (charset): Do not purecopy the
14638 docstring here, define-widget does it.
14639
14640 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14641 * textmodes/bibtex-style.el (auto-mode-alist):
14642 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14643 * progmodes/compile.el (compile-command):
14644 * language/korea-util.el (default-korean-keyboard):
14645 * international/mule-conf.el (file-coding-system-alist):
14646 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14647 * tooltip.el (tooltip-frame-parameters):
14648 * newcomment.el (comment-end, comment-padding):
14649 * dired.el (dired-trivial-filenames):
14650 * comint.el (comint-file-name-prefix): Purecopy initial values.
14651
14652 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14653
14654 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14655 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14656 `tramp-unload'.
14657 (tramp-advice-make-auto-save-file-name)
14658 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14659 after removing the advice.
14660
14661 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14662
14663 * progmodes/grep.el (grep-regexp-alist):
14664 * international/mule-cmds.el (iso-2022-control-alist):
14665 * emacs-lisp/timer.el (timer-duration-words):
14666 * subr.el (version-separator, version-regexp-alist):
14667 * minibuffer.el (completion-styles-alist):
14668 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14669 Change defvars to defconsts.
14670
14671 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14672 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14673 * international/mule-conf.el: Allow to be byte compiled.
14674
14675 * international/mule.el (define-charset): Purecopy props.
14676 (load-with-code-conversion): Purecopy doc string and file name.
14677 (put-charset-property): Purecopy strings.
14678 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14679
14680 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14681 (define-char-code-property): Correctly purecopy the table.
14682
14683 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14684
14685 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14686
14687 * subr.el (add-hook): Purecopy strings.
14688 (eval-after-load): Purecopy load-history-regexp and the form.
14689
14690 * custom.el (custom-declare-group): Purecopy load-file-name.
14691
14692 * subr.el (menu-bar-separator): New defconst.
14693 * net/eudc.el (eudc-tools-menu):
14694 * international/mule-cmds.el (set-coding-system-map)
14695 (mule-menu-keymap):
14696 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14697 * vc-hooks.el (vc-menu-map):
14698 * replace.el (occur-mode-map):
14699 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14700 (menu-bar-edit-menu, menu-bar-goto-menu)
14701 (menu-bar-custom-menu, menu-bar-showhide-menu)
14702 (menu-bar-options-menu, menu-bar-tools-menu)
14703 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14704 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14705 (menu-bar-help-menu):
14706 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14707 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14708
14709 * term/x-win.el (x-gtk-stock-map):
14710 * progmodes/vera-mode.el (auto-mode-alist):
14711 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14712 (inferior-lisp-program, inferior-lisp-load-command):
14713 * progmodes/hideshow.el (hs-special-modes-alist):
14714 * progmodes/gud.el (same-window-regexps):
14715 * progmodes/grep.el (grep-program, find-program, xargs-program):
14716 * net/telnet.el (same-window-regexps):
14717 * net/rlogin.el (same-window-regexps):
14718 * language/ethiopic.el (font-ccl-encoder-alist):
14719 * vc-sccs.el (vc-sccs-master-templates):
14720 * vc-rcs.el (vc-rcs-master-templates):
14721 * subr.el (cl-assertion-failed):
14722 * simple.el (next-error-overlay-arrow-position):
14723 * lpr.el (lpr-command):
14724 * locate.el (locate-ls-subdir-switches):
14725 * info.el (same-window-regexps, info)
14726 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14727 * image-mode.el (image-mode, auto-mode-alist):
14728 * hippie-exp.el (hippie-expand-ignore-buffers):
14729 * format.el (format-alist):
14730 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14731 (find-name-arg):
14732 * facemenu.el (facemenu-keybindings):
14733 * dired.el (dired-listing-switches, dired-chown-program):
14734 * diff.el (diff-switches, diff-command):
14735 * cus-edit.el (same-window-regexps):
14736 * bindings.el (mode-line-mule-info)
14737 (mode-line-buffer-identification): Purecopy strings.
14738
14739 2009-11-11 Juri Linkov <juri@jurta.org>
14740
14741 * simple.el (dired-get-filename) <declare-function>:
14742 Tell the byte-compiler about dired-get-filename.
14743 (shell-command): In Dired mode, get filename from the current line
14744 as the default value.
14745
14746 2009-11-10 Glenn Morris <rgm@gnu.org>
14747
14748 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14749 * calendar/holidays.el, progmodes/cperl-mode.el:
14750 Update x-popup-menu declarations.
14751
14752 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14753 (list-load-path-shadows): Use dolist.
14754 (list-load-path-shadows): Use with-current-buffer.
14755
14756 2009-11-10 Juri Linkov <juri@jurta.org>
14757
14758 * minibuffer.el (read-file-name): Support a list of default values
14759 in `default-filename'. Use the first file name where only one
14760 element is required. Doc fix.
14761
14762 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14763
14764 * net/dbus.el (dbus-unregister-object): Release service, if no
14765 other method is registered for it.
14766
14767 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14768
14769 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14770 bookmark-sort-flag is non-nil (Bug#4653).
14771
14772 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14773
14774 * emulation/cua-base.el: Add CUA property to some CC mode commands
14775 (Bug#4100).
14776
14777 2009-11-08 Kevin Ryde <user42@zip.com.au>
14778
14779 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14780 at end of sentence (Bug#4818).
14781
14782 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14783
14784 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14785 Handle "see declaration of" MSFT statements (Bug#4100).
14786
14787 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14788
14789 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14790 (tramp-advice-file-expand-wildcards): Unload via
14791 `ad-remove-advice'.
14792
14793 * net/trampver.el: Update release number.
14794
14795 2009-11-08 Kevin Ryde <user42@zip.com.au>
14796
14797 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14798 `ad-do-it'.
14799
14800 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14801
14802 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14803 in order to keep context in SELinux.
14804
14805 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14806
14807 * dired-aux.el (dired-query): Place cursor in echo area and allow
14808 C-g.
14809
14810 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14811 menu item if not on a directory (Bug#4701).
14812
14813 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14814
14815 Sync with Tramp 2.1.17.
14816
14817 * net/tramp.el (tramp-handle-copy-directory): Don't use
14818 `file-remote-p' (due to compatibility).
14819
14820 * net/tramp-compat.el (tramp-compat-copy-directory)
14821 (tramp-compat-delete-directory): New defuns.
14822
14823 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14824 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14825 Use `tramp-compat-delete-directory'.
14826
14827 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14828 (tramp-smb-handle-delete-directory):
14829 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14830
14831 * net/trampver.el: Update release number.
14832
14833 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14834
14835 * tar-mode.el (tar-copy): Call write-region on the right buffer
14836 (Bug#4857).
14837
14838 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14839 by hand, if necessary (Bug#4878).
14840
14841 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14842
14843 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14844 align size column (Bug#4839).
14845
14846 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14847 statement.
14848
14849 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14850
14851 * progmodes/ld-script.el (auto-mode-alist):
14852 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14853
14854 * cus-face.el (custom-declare-face): Purecopy face spec.
14855
14856 2009-11-06 Kenichi Handa <handa@m17n.org>
14857
14858 * international/uni-bidi.el: Re-generated.
14859 * international/uni-category.el: Re-generated.
14860 * international/uni-combining.el: Re-generated.
14861 * international/uni-mirrored.el: Re-generated.
14862
14863 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14864
14865 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14866 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14867 (tex-start-options, slitex-run-command, latex-run-command)
14868 (tex-run-command, tex-directory):
14869 * textmodes/ispell.el (ispell-html-skip-alists)
14870 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14871 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14872 (adaptive-fill-regexp):
14873 * textmodes/dns-mode.el (auto-mode-alist):
14874 * progmodes/python.el (interpreter-mode-alist):
14875 * progmodes/etags.el (tags-compression-info-list):
14876 * progmodes/etags.el (tags-file-name):
14877 * net/browse-url.el (browse-url-galeon-program)
14878 (browse-url-firefox-program):
14879 * mail/sendmail.el (mail-signature-file)
14880 (mail-citation-prefix-regexp):
14881 * international/mule-conf.el (eight-bit):
14882 * international/latexenc.el (latex-inputenc-coding-alist):
14883 * international/fontset.el (x-pixel-size-width-font-regexp):
14884 * emacs-lisp/warnings.el (warning-type-format):
14885 * emacs-lisp/trace.el (trace-buffer):
14886 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14887 (emacs-lisp-mode-map):
14888 * calendar/holidays.el (holiday-solar-holidays)
14889 (holiday-bahai-holidays, holiday-islamic-holidays)
14890 (holiday-christian-holidays, holiday-hebrew-holidays)
14891 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14892 (hebrew-holidays-1, holiday-oriental-holidays)
14893 (holiday-general-holidays):
14894 * x-dnd.el (x-dnd-known-types):
14895 * tool-bar.el (tool-bar):
14896 * startup.el (site-run-file):
14897 * shell.el (shell-dumb-shell-regexp):
14898 * rfn-eshadow.el (file-name-shadow-tty-properties)
14899 (file-name-shadow-properties):
14900 * paths.el (remote-shell-program, news-directory):
14901 * mouse.el ([C-down-mouse-3]):
14902 * menu-bar.el (menu-bar-tools-menu):
14903 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14904 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14905 (jka-compr-compression-info-list):
14906 * isearch.el (search-whitespace-regexp):
14907 * image-file.el (image-file-name-extensions):
14908 * find-dired.el (find-ls-option):
14909 * files.el (directory-listing-before-filename-regexp)
14910 (directory-free-space-args, insert-directory-program)
14911 (list-directory-brief-switches, magic-fallback-mode-alist)
14912 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14913 (automount-dir-prefix):
14914 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14915 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14916 (face-font-registry-alternatives, face-font-registry-alternatives)
14917 (face-font-family-alternatives):
14918 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14919 (facemenu-foreground-menu, facemenu-face-menu):
14920 * epa-hook.el (epa-file-name-regexp):
14921 * dnd.el (dnd-protocol-alist):
14922 * textmodes/rst.el (auto-mode-alist):
14923 * button.el (default-button): Purecopy strings.
14924
14925 2009-11-06 Glenn Morris <rgm@gnu.org>
14926
14927 * Makefile.in (ELCFILES): Update.
14928
14929 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14930
14931 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14932 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14933
14934 * nxml/xsd-regexp.el (xsdre-gen-categories):
14935 * nxml/xmltok.el (xmltok-parse-entity):
14936 * nxml/rng-parse.el (rng-parse-validate-file):
14937 * nxml/rng-maint.el (rng-format-manual)
14938 (rng-manual-output-force-new-line):
14939 * nxml/rng-loc.el (rng-save-schema-location-1):
14940 * nxml/rng-cmpct.el (rng-c-parse-file):
14941 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14942 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14943
14944 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14945
14946 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14947 Remove extra save-excursions and make-variable-buffer-local's.
14948 Suggested by Stefan Monnier.
14949
14950 (verilog-getopt-file, verilog-module-inside-filename-p)
14951 (verilog-set-define): Merge GNU 1.35 and repair changes from
14952 switching to using with-current-buffer.
14953
14954 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14955 being treated as a number and confusing AUTORESET.
14956 Reported by Dan Dever.
14957
14958 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14959 Add verilog-auto-ignore-concat to fix backward compatibility with
14960 older verilog-modes. Reported by Dan Katz.
14961
14962 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14963 containing closing anchors "...$".
14964
14965 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14966 Reported by Wade Smith.
14967
14968 (verilog-batch-execute-func): Comment on function usage.
14969
14970 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14971
14972 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14973 for labels.
14974
14975 (verilog-label-re, verilog-calc-1): Support proper indent of named
14976 asserts.
14977
14978 (verilog-backward-token, verilog-basic-complete-re)
14979 (verilog-beg-of-statement, verilog-indent-re): Support proper
14980 indent of the assert statement at the beginning of a block of text.
14981
14982 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14983 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14984 tokens as begins.
14985
14986 2009-11-05 Glenn Morris <rgm@gnu.org>
14987
14988 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14989 Emacs 19. (Bug#1531)
14990 (byte-compile-fix-header): Update for the above change.
14991 Drop test for epoch::version.
14992
14993 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14994 * cus-dep.el (custom-make-dependencies):
14995 * finder.el (finder-compile-keywords):
14996 Use autoload-rubric's feature argument.
14997
14998 * calendar/diary-lib.el (top-level): Make load behave more like require.
14999
15000 * vc-git.el (vc-git-stash-map): Move definition before use.
15001
15002 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15003
15004 * custom.el (custom-declare-group): Purecopy standard-value.
15005 (custom-declare-group): Purecopy custom-prefix.
15006
15007 * international/mule.el (load-with-code-conversion):
15008 Call do-after-load-evaluation unconditionally.
15009
15010 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15011
15012 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15013
15014 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15015
15016 2009-11-04 Glenn Morris <rgm@gnu.org>
15017
15018 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15019 (byte-compile-compatibility): Remove option.
15020 (byte-compile-close-variables, byte-compile-fix-header)
15021 (byte-compile-insert-header, byte-compile-output-docform)
15022 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15023 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15024 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15025 (byte-compile-insert, byte-compile-defun):
15026 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15027 (byte-defop-compiler19): Remove.
15028 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15029 used by anything. Replace all calls with byte-defop-compiler.
15030
15031 2009-11-04 Juri Linkov <juri@jurta.org>
15032
15033 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15034 (menu-bar-options-menu): Don't quote the `prop' arg of
15035 `menu-bar-make-mm-toggle'.
15036
15037 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15038
15039 * calendar/calendar.el (cal-loaddefs):
15040 * calendar/diary-lib.el (diary-loaddefs):
15041 * calendar/holidays.el (hol-loaddefs):
15042 * eshell/esh-module.el (esh-groups): Load rather than require.
15043
15044 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15045
15046 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15047 point-min==1.
15048 (todo-top-priorities): Only display-buffer when called interactively.
15049 (todo-item-start): Don't save excursion point.
15050 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15051 (todo-insert-item-here, todo-file-item, todo-remove-item):
15052 Adjust uses of todo-item-start and todo-item-end.
15053
15054 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15055 (autoload-rubric): Don't use any more.
15056
15057 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15058 and only put a prop if it is non-nil.
15059
15060 2009-11-03 Juri Linkov <juri@jurta.org>
15061
15062 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15063 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15064
15065 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15066 and "Menu" to make top-level menu item visually one unit (like
15067 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15068 multi-word menu items). Fix :help string for quit-window.
15069
15070 2009-11-03 Glenn Morris <rgm@gnu.org>
15071
15072 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15073 (byte-compile-file-form-define-abbrev-table)
15074 (byte-compile-file-form-custom-declare-variable)
15075 (byte-compile-variable-ref, byte-compile-defvar):
15076 Whether or not a warning is enabled should only affect whether we issue
15077 the warning, not whether or not we collect the relevant data.
15078 Eg warnings can be turned on and off throughout the course of a file.
15079
15080 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15081 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15082
15083 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15084
15085 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15086 * play/mpuz.el (mpuz-create-buffer):
15087 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15088 (lm-print-y,s,noise, lm-print-w0, lm-init):
15089 * play/gomoku.el (gomoku-prompt-for-move):
15090 * play/fortune.el (fortune-in-buffer):
15091 * play/dissociate.el (dissociated-press):
15092 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15093 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15094 * mail/supercite.el (sc-eref-show):
15095 * mail/smtpmail.el (smtpmail-send-it):
15096 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15097 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15098 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15099 (rmail-summary-goto-msg, rmail-summary-expunge)
15100 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15101 (rmail-summary-add-label, rmail-summary-output-menu)
15102 (rmail-summary-output-body):
15103 * mail/rfc822.el (rfc822-addresses):
15104 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15105 * mail/mailpost.el (post-mail-send-it):
15106 * mail/hashcash.el (hashcash-generate-payment):
15107 * mail/feedmail.el (feedmail-run-the-queue)
15108 (feedmail-queue-send-edit-prompt-help-first)
15109 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15110 (feedmail-deduce-address-list):
15111 * eshell/esh-ext.el (eshell-remote-command):
15112 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15113 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15114 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15115 (viper-save-string-in-file, viper-valid-marker):
15116 * emulation/viper-keym.el (viper-toggle-key):
15117 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15118 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15119 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15120 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15121 (viper-exec-form-in-emacs, viper-brac-function):
15122 * emulation/viper.el (viper-delocalize-var):
15123 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15124 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15125 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15126 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15127 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15128 * emulation/edt.el (edt-electric-helpify):
15129 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15130 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15131 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15132 (cua-indent-to-global-mark-column):
15133 * calendar/diary-lib.el (calendar-mark-1):
15134 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15135 Use with-current-buffer.
15136 * emulation/viper.el (viper-delocalize-var): Use dolist.
15137
15138 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15139
15140 * comint.el (comint-replace-by-expanded-history-before-point):
15141 Replace !! with the previous input string literally (Bug#1795).
15142
15143 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15144
15145 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15146 to be made up of whitespace.
15147
15148 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15149
15150 * minibuffer.el (read-file-name): Don't use file dialogs for
15151 remote directories (Bug#99).
15152
15153 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15154
15155 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15156
15157 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15158
15159 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15160 instead of deleting the window or frame.
15161
15162 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15163
15164 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15165 Support face colors.
15166
15167 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15168 New function. Support face colors (Bug#1168).
15169 (tex-common-initialization): Use it.
15170
15171 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15172 mode allows it (Bug#1168).
15173
15174 2009-10-31 Juri Linkov <juri@jurta.org>
15175
15176 * facemenu.el (list-colors-display): Don't mark buffer as
15177 modified (Bug#3948).
15178
15179 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15180
15181 * international/mule-diag.el (list-character-sets-1):
15182 Minor message fix (Bug#3526).
15183
15184 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15185 Fix face property (Bug#4834).
15186 (etags-list-tags, etags-tags-apropos-additional)
15187 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15188 property.
15189
15190 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15191 items.
15192
15193 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15194
15195 * textmodes/two-column.el (2C-split):
15196 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15197 * textmodes/tex-mode.el (tex-set-buffer-directory):
15198 * textmodes/spell.el (spell-region, spell-string):
15199 * textmodes/reftex.el (reftex-erase-buffer):
15200 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15201 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15202 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15203 (reftex-select-item):
15204 * textmodes/reftex-ref.el (reftex-label-info-update)
15205 (reftex-offer-label-menu):
15206 * textmodes/reftex-index.el (reftex-index-change-entry)
15207 (reftex-index-phrases-info):
15208 * textmodes/reftex-global.el (reftex-create-tags-file)
15209 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15210 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15211 (reftex-view-crossref-from-bibtex):
15212 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15213 (reftex-extract-bib-entries-from-thebibliography)
15214 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15215 * textmodes/refbib.el (r2b-capitalize-title):
15216 (r2b-convert-buffer, r2b-help):
15217 * textmodes/page-ext.el (pages-directory)
15218 (pages-directory-goto-with-mouse):
15219 * textmodes/bibtex.el (bibtex-validate-globally):
15220 * textmodes/bib-mode.el (bib-capitalize-title):
15221 * textmodes/artist.el (artist-clear-buffer, artist-system):
15222 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15223 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15224 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15225 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15226 (xscheme-send-control-g-interrupt, xscheme-start-process)
15227 (xscheme-process-sentinel, xscheme-cd):
15228 * progmodes/verilog-mode.el (verilog-read-always-signals)
15229 (verilog-set-define, verilog-getopt-file)
15230 (verilog-module-inside-filename-p):
15231 * progmodes/sh-script.el:
15232 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15233 (python-pdbtrack-grub-for-buffer, python-execute-file):
15234 * progmodes/octave-inf.el (inferior-octave):
15235 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15236 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15237 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15238 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15239 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15240 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15241 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15242 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15243 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15244 (idlwave-shell-examine-display, idlwave-shell-run-region)
15245 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15246 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15247 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15248 (idlwave-help-get-help-buffer):
15249 * progmodes/gud.el (gud-basic-call, gud-find-class)
15250 (gud-tooltip-activate-mouse-motions-if-enabled):
15251 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15252 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15253 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15254 (ebrowse-tags-next-file):
15255 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15256 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15257 (ebnf-eps-finish-and-write):
15258 * progmodes/cpp.el (cpp-edit-save):
15259 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15260 * progmodes/cc-defs.el (c-emacs-features):
15261 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15262 (antlr-directory-dependencies):
15263 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15264 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15265 (ada-find-any-references, ada-make-filename-from-adaname)
15266 (ada-make-body-gnatstub):
15267 * obsolete/rnews.el (news-list-news-groups):
15268 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15269 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15270 * net/rcirc.el (rcirc-debug):
15271 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15272 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15273 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15274 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15275 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15276 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15277 (newsticker--treeview-list-clear-highlight)
15278 (newsticker--treeview-list-update-highlight)
15279 (newsticker--treeview-list-highlight-start)
15280 (newsticker--treeview-tree-update-highlight)
15281 (newsticker--treeview-get-selected-item)
15282 (newsticker-treeview-mark-list-items-old)
15283 (newsticker--treeview-set-current-node):
15284 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15285 * net/newst-backend.el (newsticker--get-news-by-funcall)
15286 (newsticker--get-news-by-wget, newsticker--image-get)
15287 (newsticker--image-sentinel):
15288 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15289 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15290 (eudc-ph-close-session):
15291 * net/eudc.el (eudc-save-options):
15292 * language/thai-word.el (thai-update-word-table):
15293 * language/japan-util.el (japanese-string-conversion):
15294 * international/titdic-cnv.el (tsang-quick-converter)
15295 (ziranma-converter, ctlau-converter):
15296 * international/mule-cmds.el (describe-language-environment):
15297 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15298 (skkdic-convert-postfix, skkdic-convert-prefix):
15299 (skkdic-convert-okuri-nasi, skkdic-convert):
15300 * emacs-lisp/re-builder.el (reb-update-overlays):
15301 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15302 * emacs-lisp/gulp.el (gulp-send-requests):
15303 * emacs-lisp/find-gc.el (trace-call-tree):
15304 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15305 (eieio-describe-generic):
15306 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15307 * emacs-lisp/edebug.el (edebug-outside-excursion):
15308 * emacs-lisp/debug.el (debugger-make-xrefs):
15309 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15310 * emacs-lisp/chart.el (chart-new-buffer):
15311 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15312 Use with-current-buffer.
15313 * textmodes/artist.el (artist-system): Don't call
15314 copy-sequence on a fresh string.
15315 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15316
15317 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15318
15319 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15320 is no item to edit. (Bug#4820)
15321 (todo-top-priorities): Restore point and restore narrowing in Todo
15322 buffer. (Bug#4820)
15323
15324 2009-10-31 Glenn Morris <rgm@gnu.org>
15325
15326 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15327 (comint-last-output-start, comint-last-input-start)
15328 (comint-last-input-end): Don't defvar when compiling.
15329 (ange-ftp-process-file): Use bound-and-true-p.
15330
15331 * pcmpl-rpm.el (top-level): Move provide statement to end.
15332 (pcmpl-rpm): Remove unused custom group.
15333
15334 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15335
15336 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15337
15338 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15339 (byte-compile-warnings): Add `constants' as an option.
15340 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15341 (display-call-tree): Update for byte-compile-fdefinition possibly
15342 returning `(macro lambda ...)'. (Bug#4778)
15343 (byte-compile-variable-ref, byte-compile-setq-default):
15344 Respect `constants' member of byte-compile-warnings.
15345
15346 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15347
15348 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15349 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15350 to "submit:".
15351
15352 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15353
15354 * textmodes/ispell.el (ispell-skip-region-alist):
15355 * international/mule-conf.el (eight-bit):
15356 * international/fontset.el (font-encoding-alist):
15357 * startup.el (pure-space-overflow-message):
15358 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15359 * paths.el (gnus-nntp-service, rmail-spool-directory)
15360 (term-file-prefix):
15361 * files.el (save-some-buffers-action-alist):
15362 * cmuscheme.el (same-window-buffer-names):
15363 * ielm.el (same-window-buffer-names):
15364 * shell.el (same-window-buffer-names):
15365 * mail/sendmail.el (same-window-buffer-names):
15366 * progmodes/inf-lisp.el (same-window-buffer-names):
15367 * bindings.el (mode-line-client)
15368 (mode-line-column-line-number-mode-map):
15369 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15370 (tibetan-precomposed-regexp): Purecopy string arguments.
15371
15372 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15373
15374 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15375 (calcDigit-nondigit):
15376 * calc/calc-yank.el (calc-copy-to-buffer):
15377 * calc/calc-units.el (calc-invalidate-units-table):
15378 * calc/calc-trail.el (calc-trail-yank):
15379 * calc/calc-store.el (calc-insert-variables):
15380 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15381 * calc/calc-prog.el (calc-read-parse-table):
15382 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15383 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15384 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15385 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15386 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15387 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15388 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15389 * calc/calc-ext.el (calc-realign):
15390 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15391 (calc-embedded-finish-edit, calc-embedded-make-info)
15392 (calc-embedded-finish-command, calc-embedded-stack-change):
15393 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15394
15395 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15396 shell-dynamic-complete-filename in preference to
15397 comint-dynamic-complete-filename.
15398
15399 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15400 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15401 Don't consider whether the display supports colors.
15402 (bookmark-import-new-list): Use dolist.
15403 (bookmark-bmenu-mode-map): Move initialization into declaration.
15404 (bookmark-bmenu-list): Use dolist, simplify.
15405 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15406 (menu-bar-final-items): Use push.
15407
15408 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15409
15410 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15411 it works on remote files.
15412 (vc-hg-diff): Don't pass any `--cwd' argument.
15413
15414 2009-10-27 Kevin Ryde <user42@zip.com.au>
15415
15416 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15417 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15418 (Further to Bug#3921).
15419
15420 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15421
15422 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15423 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15424 calling `tramp-imap-put-file'. Add file size to the call.
15425 (tramp-imap-get-file-entries): Compute also user name, file size,
15426 and date.
15427 (tramp-imap-handle-insert-directory): Insert uid and gid.
15428 (tramp-imap-handle-file-attributes): Transform uid and gid
15429 according to `id-format'.
15430 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15431 size in header X-Size.
15432
15433 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15434
15435 * simple.el (transpose-subr): Give clearer error when the mark
15436 is not set. (Bug#4807)
15437
15438 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15439
15440 * net/tramp.el (tramp-perl-file-truename): New defconst.
15441 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15442 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15443 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15444 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15445
15446 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15447 Ignore `dired-call-process'.
15448 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15449
15450 2009-10-26 Julian Scheid <julians37@gmail.com>
15451
15452 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15453 (tramp-get-remote-readlink): New defun.
15454 (tramp-handle-file-truename): Use it.
15455 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15456 file exists if cache value present.
15457 (tramp-check-cached-permissions): New defun.
15458 (tramp-handle-file-readable-p): Use it.
15459 (tramp-handle-file-writable-p): Likewise.
15460 (tramp-handle-file-executable-p): Likewise.
15461 (tramp-handle-file-name-all-completions): Try using Perl to get
15462 partial completions. When perl not available, combine `cd' and
15463 `ls' into single remote operation and use shell expansion to get
15464 partial remote directory contents. Set `file-exists-p' cache for
15465 directory and any files returned by ls. Change cache handling to
15466 support partial directory contents. Use error message emitted by
15467 remote `cd' or Perl code for local tramp-error.
15468 (tramp-do-copy-or-rename-file-directly): Avoid separate
15469 tramp-send-command-and-check call.
15470 (tramp-handle-process-file): Merge three remote ops into one.
15471 Do not flush all caches when `process-file-side-effects' is set.
15472 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15473 file-attributes shows uid/gid to be set already.
15474
15475 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15476
15477 * textmodes/tex-mode.el (tex-dvi-view-command)
15478 (tex-show-queue-command, tex-open-quote):
15479 * progmodes/ruby-mode.el (auto-mode-alist)
15480 (interpreter-mode-alist): Purecopy strings.
15481
15482 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15483
15484 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15485 string for the hook, keymap and abbrev table.
15486
15487 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15488
15489 * x-dnd.el (x-dnd-xdnd-to-action):
15490 * startup.el (fancy-startup-text, fancy-about-text): Change to
15491 defconst from defvar.
15492
15493 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15494
15495 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15496 Purecopy initialization strings.
15497
15498 * mail/sendmail.el (mail-header-separator)
15499 (mail-personal-alias-file):
15500 * mail/rmail.el (rmail-default-dont-reply-to-names)
15501 (rmail-ignored-headers, rmail-retry-ignored-headers)
15502 (rmail-highlighted-headers, rmail-secondary-file-directory)
15503 (rmail-secondary-file-regexp):
15504 * files.el (null-device, file-name-invalid-regexp)
15505 (locate-dominating-stop-dir-regexp)
15506 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15507 (interpreter-mode-alist): Use mapcar instead of mapc.
15508
15509 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15510
15511 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15512 (completion-ignored-extensions):
15513 (debug-ignored-errors): Purecopy strings.
15514
15515 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15516
15517 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15518 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15519 (pcomplete--here): Use push.
15520
15521 * subr.el (all-completions): Declare the 4th arg obsolete.
15522
15523 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15524
15525 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15526 (pcomplete-unquote-argument): New function.
15527 (pcomplete--common-suffix): Always pay attention to case.
15528 (pcomplete--table-subvert): Quote and unquote the text.
15529 (pcomplete--common-quoted-suffix): New function.
15530 (pcomplete-std-complete): Use it and pcomplete-begin.
15531
15532 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15533 we're inside a dedicated or minibuffer window.
15534
15535 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15536
15537 * bookmark.el: Update documentation, especially documentation
15538 of `bookmark-alist' and of the bookmark file format.
15539 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15540
15541 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15542
15543 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15544 keybindings apply to the mail buffer (Bug#4003). Shrink help
15545 window to buffer.
15546
15547 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15548 (global-whitespace-mode, global-whitespace-newline-mode)
15549 (whitespace-toggle-options, global-whitespace-toggle-options):
15550 Doc fix (Bug#3660).
15551
15552 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15553 of xmltok-start before the end tag was inserted (Bug#2840).
15554
15555 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15556 patterns that are preceded by an open-paren (Bug#1320).
15557
15558 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15559
15560 * files.el (delete-directory): Delete symlinks to directories with
15561 delete-file (Bug#4739).
15562
15563 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15564
15565 * vc.el (vc-backend-for-registration): Rename from
15566 vc-get-backend-for-registration. Update callers.
15567
15568 * international/mule-cmds.el (set-language-info-alist):
15569 Purecopy lang-env.
15570 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15571 (charset): Purecopy the name.
15572 (define-char-code-property): Purecopy string arguments.
15573
15574 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15575 Purecopy string arguments.
15576
15577 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15578 * ediff-hook.el (menu-bar-ediff-menu):
15579 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15580 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15581
15582 2009-10-24 Glenn Morris <rgm@gnu.org>
15583
15584 * comint.el (comint-dynamic-list-completions):
15585 * term.el (term-dynamic-list-completions): Use choose-completion rather
15586 than obsolete alias mouse-choose-completion.
15587
15588 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15589 file-cache-choose-completion.
15590 (file-cache-choose-completion): Handle an optional event argument.
15591 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15592
15593 * progmodes/octave-mod.el (octave-complete-symbol):
15594 Use choose-completion if mouse-choose-completion is ever removed.
15595
15596 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15597 use.
15598
15599 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15600 compiler.
15601
15602 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15603
15604 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15605
15606 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15607 Ignore `pred' now that we receive one.
15608 Handle test-completion specially.
15609
15610 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15611
15612 * vc.el (vc-responsible-backend): Throw an error if not backend is
15613 found. Remove the REGISTER argument. Move the code dealing with
15614 REGISTER ...
15615 (vc-get-backend-for-registration): ... here. New function.
15616 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15617 of vc-responsible-backend, pass the file name instead of the
15618 directory name.
15619
15620 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15621
15622 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15623 New funs.
15624 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15625 (pcomplete-comint-setup): Don't modify a global var via
15626 accidental side-effects.
15627 (pcomplete-shell-setup): Adjust call accordingly.
15628 (pcomplete-parse-comint-arguments): Use push.
15629
15630 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15631
15632 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15633 Allow uncapitalized info node names (Bug#3921).
15634
15635 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15636 to the DEBUG file (Bug#3781).
15637
15638 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15639
15640 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15641 dictionary entry (Bug#4579).
15642
15643 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15644
15645 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15646 from `rfn-eshadow-update-overlay-hook' when unloading.
15647 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15648 "rsyncc". Adjust doc string.
15649 (tramp-temp-buffer-file-name): New buffer-local defvar.
15650 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15651 Keep temporary file when indicated by method ("rsync" and
15652 "rsyncc").
15653 (tramp-handle-write-region): Handle APPEND.
15654 (tramp-delete-temp-file-function): New defun. Added to
15655 `kill-buffer-hook'.
15656
15657 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15658
15659 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15660
15661 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15662
15663 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15664 (color-name-rgb-alist, tty-standard-colors)
15665 (tty-color-mode-alist): Change to defconst.
15666
15667 * simple.el (mark-inactive): Purecopy message.
15668
15669 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15670 (global-map, yank-menu):
15671 * textmodes/ispell.el (ispell-menu-map):
15672 * net/eudc.el (eudc-tools-menu):
15673 * international/mule-cmds.el (describe-language-environment-map)
15674 (setup-language-environment-map, set-coding-system-map)
15675 (mule-menu-keymap):
15676 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15677 * replace.el (occur-mode-map):
15678 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15679
15680 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15681
15682 * calc/calc.el (math-read-number, math-read-number-simple):
15683 Use `save-match-data'.
15684
15685 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15686
15687 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15688 rather than fiddling with global-map bindings, since it should only
15689 affect per-terminal settings.
15690 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15691
15692 * minibuffer.el (completion-table-with-terminator): Allow to specify
15693 the terminator-regexp.
15694
15695 * simple.el (switch-to-completions): Look for *Completions* in other
15696 frames as well.
15697
15698 * pcomplete.el: Allow the use of completion-tables.
15699 (pcomplete-std-complete): New command.
15700 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15701 (pcomplete--here): Use a function for `form' rather than an expression,
15702 so it can be byte-compiled.
15703 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15704 Add edebug declaration.
15705 (pcomplete-show-completions): Remove unused var `curbuf'.
15706 (pcomplete-do-complete, pcomplete-stub):
15707 Don't assume `completions' is a list of strings any more.
15708
15709 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15710
15711 * find-dired.el (find-name-arg): Fix typo in docstring.
15712
15713 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15714
15715 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15716 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15717
15718 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15719 pcomplete-entries.
15720
15721 * comint.el (comint-read-input-ring, comint-write-input-ring)
15722 (comint-substitute-in-file-name)
15723 (comint-dynamic-complete-as-filename)
15724 (comint-dynamic-simple-complete)
15725 (comint-dynamic-list-filename-completions)
15726 (comint-dynamic-list-completions)
15727 (comint-redirect-results-list-from-process): Minor simplifications.
15728
15729 2009-10-21 Kevin Ryde <user42@zip.com.au>
15730
15731 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15732 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15733 the first form. And insert a blank line after ";;; Code" since
15734 that's usual style. (Bug#4612)
15735
15736 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15737
15738 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15739
15740 * minibuffer.el (completion-table-with-terminator): Properly implement
15741 boundaries, in case `terminator' appears in the suffix.
15742 (completion--embedded-envvar-table): Don't return boundaries if
15743 there's no valid completion. Simplify.
15744 (completion-file-name-table): New completion table extracted from
15745 completion--file-name-table.
15746 (completion--file-name-table): Use it.
15747 (read-file-name-predicate): Declare obsolete.
15748 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15749 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15750 completion-file-name-table, and use the `pred' argument.
15751 * files.el (locate-file-completion-table): Use the `pred' arg rather
15752 than read-file-name-predicate.
15753 (abbreviate-file-name): Use \` rather than ^ for BOS.
15754
15755 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15756
15757 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15758 vc-responsible-backend to register, it causes problems.
15759
15760 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15761
15762 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15763
15764 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15765
15766 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15767 (tramp-smb-handle-file-attributes): Use it.
15768 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15769 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15770 `mapcar'. Use `tramp-smb-get-stat-capability'.
15771 Add `dired-filename' text properties.
15772 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15773 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15774 version.
15775
15776 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15777
15778 * subr.el (read-key-delay): Reduce to 0.01.
15779 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15780 (bug#4751).
15781
15782 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15783
15784 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15785
15786 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15787 (Info-menu): Remove unused vars `last' and `completions'.
15788 (Info-index-nodes): Remove unused var `node'.
15789
15790 * info.el (Info-complete-menu-item): Use complete-with-action.
15791
15792 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15793
15794 Make vc-annotate work through copies and renames.
15795 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15796 Return the file name too.
15797 (vc-annotate-revision-at-line)
15798 (vc-annotate-find-revision-at-line)
15799 (vc-annotate-revision-previous-to-line)
15800 (vc-annotate-show-log-revision-at-line): Update to get the file
15801 name from vc-annotate-extract-revision-at-line.
15802 (vc-annotate-show-diff-revision-at-line-internal): Change the
15803 argument to mean whether to show a file diff or not. Get the file
15804 name from vc-annotate-extract-revision-at-line.
15805 (vc-annotate-show-diff-revision-at-line):
15806 Update vc-annotate-show-diff-revision-at-line call.
15807 (vc-annotate-warp-revision): Add an optional file argument.
15808
15809 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15810 (vc-git-annotate-extract-revision-at-line): Also return the file
15811 name if found.
15812
15813 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15814 command. Remove unused code.
15815 (vc-hg-annotate-re): Update to match --follow output.
15816 (vc-hg-annotate-extract-revision-at-line): Also return the file
15817 name if found.
15818
15819 * vc.el: Update annotate-extract-revision-at-line documentation.
15820
15821 2009-10-18 Kevin Ryde <user42@zip.com.au>
15822
15823 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15824 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15825
15826 * net/browse-url.el (browse-url): Identify alist with "consp and
15827 not functionp" and let all other things go down the `apply' leg,
15828 as suggested by Stefan. (Further to bug#4531.)
15829
15830 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15831
15832 * minibuffer.el (read-file-name): Check for repeat before putting
15833 a default argument in file-name-history (Bug#4657).
15834
15835 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15836 read syntax (Bug#4737).
15837
15838 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15839
15840 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15841
15842 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15843 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15844 entries and make note of obsolete tags.
15845
15846 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15847
15848 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15849
15850 2009-10-18 Glenn Morris <rgm@gnu.org>
15851
15852 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15853 grep, so that binary files (eg international/uni-bidi.el) can match.
15854 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15855 now, and in any case the file header format has changed.
15856
15857 2009-10-17 Glenn Morris <rgm@gnu.org>
15858
15859 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15860 (flyspell-get-word, flyspell-large-region)
15861 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15862
15863 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15864
15865 * Makefile.in (ELCFILES): Add ede/shell.
15866
15867 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15868
15869 * term/common-win.el (x-colors): Purecopy it.
15870
15871 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15872
15873 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15874 permissive for when the buffer is empty.
15875 (tar-header-block-tokenize): Decode the username and groupname.
15876 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15877
15878 2009-10-17 Eric Ludlam <zappo@gnu.org>
15879
15880 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15881 contains multibyte characters, choose first applicable coding
15882 system automatically.
15883
15884 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15885
15886 * international/mule-cmds.el (select-safe-coding-system): If the file
15887 has a coding cookie, use it regardless of any other setting (bug#4712).
15888
15889 2009-10-17 Glenn Morris <rgm@gnu.org>
15890
15891 * foldout.el (foldout-mouse-swallow-events):
15892 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15893
15894 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15895 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15896 (dired-keep-marker-symlink, dired-dwim-target)
15897 (dired-copy-preserve-time): Do not autoload these defcustoms.
15898
15899 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15900 messages from messing up the file coding. (Bug#4623)
15901
15902 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15903
15904 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15905 if no match is found for the current dictionary. (Bug#4578)
15906
15907 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15908 optional, since that is how it is documented, and this is often called
15909 with a nil argument. (Bug#4577)
15910 (flyspell-external-point-words, flyspell-auto-correct-word)
15911 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15912 (flyspell-word-search-backward): Remove nil argument in calls to
15913 flyspell-get-word, since it is not needed now.
15914
15915 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15916
15917 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15918
15919 2009-10-16 Glenn Morris <rgm@gnu.org>
15920
15921 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15922
15923 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15924
15925 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15926 (ange-ftp-file-size): New function.
15927 (ange-ftp-file-attributes): Use it.
15928
15929 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15930
15931 * net/tramp-smb.el (tramp-smb-version): New defvar.
15932 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15933 repeated checks.
15934
15935 2009-10-16 Glenn Morris <rgm@gnu.org>
15936
15937 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15938 Maybe copy some custom properties from old to new name. (Bug#4706)
15939
15940 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15941
15942 * subr.el (error, sit-for, start-process-shell-command)
15943 (start-file-process-shell-command): Set the calling convention
15944 after the function definition.
15945
15946 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15947
15948 * subr.el (error, sit-for, start-process-shell-command)
15949 (start-file-process-shell-command): Use the new
15950 set-advertised-calling-convention feature.
15951
15952 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15953
15954 * international/ucs-normalize.el (ucs-normalize-version):
15955 Change to 1.2.
15956 (check-range): Adjust for Unicode 5.2.
15957
15958 2009-10-15 Juri Linkov <juri@jurta.org>
15959
15960 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15961 to the `menu-item' format.
15962
15963 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15964
15965 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15966 if the environment variable does not exist.
15967
15968 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15969 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15970 parameter.
15971 (tramp-smb-handle-add-name-to-file)
15972 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15973 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15974 (tramp-smb-handle-file-attributes)
15975 (tramp-smb-do-file-attributes-with-stat)
15976 (tramp-smb-handle-file-local-copy)
15977 (tramp-smb-handle-insert-directory)
15978 (tramp-smb-handle-make-directory)
15979 (tramp-smb-handle-make-directory-internal)
15980 (tramp-smb-handle-make-symbolic-link)
15981 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15982 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15983 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15984 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15985 Handle long file names.
15986 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15987 process is running.
15988 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15989 Read share names with "-g" option.
15990
15991 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15992
15993 * net/rcirc.el (rcirc-view-log-file): New command.
15994 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15995 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15996 specified.
15997
15998 2009-10-15 Glenn Morris <rgm@gnu.org>
15999
16000 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16001 from the second command-line argument.
16002 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16003 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16004 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16005 w32-batch-update-autoloads.
16006 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16007 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16008
16009 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16010 the headers cannot be located. Simplify, subtracting superflous
16011 save-excursions.
16012
16013 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16014
16015 Replace completion-base-size by completion-base-position to fix bugs
16016 such as (bug#4699).
16017 * simple.el (completion-base-position): New var.
16018 (completion-base-size): Mark as obsolete.
16019 (choose-completion): Make it work for mouse events as well.
16020 Pass the new base-position to choose-completion-string.
16021 (choose-completion-guess-base-position): New function, extracted from
16022 choose-completion-delete-max-match.
16023 (choose-completion-delete-max-match): Use it. Make obsolete.
16024 (choose-completion-string): Use the new base-position info.
16025 (completion-root-regexp): Delete.
16026 (completion-setup-function): Preserve completion-base-position.
16027 Eliminate obsolete base-size manipulation.
16028 * minibuffer.el (display-completion-list): Don't mess with base-size.
16029 (minibuffer-completion-help): Set completion-base-position instead.
16030 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16031 choose-completion.
16032 * textmodes/bibtex.el (bibtex-complete):
16033 * emacs-lisp/crm.el (crm--choose-completion-string):
16034 Adjust to new calling convention.
16035 * complete.el (partial-completion-mode): Use minibufferp to avoid
16036 bumping into incompatible change to choose-completion-string-functions.
16037 * ido.el (ido-choose-completion-string): Make its calling convention
16038 more permissive.
16039 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16040 base-size manipulation.
16041 (comint-dynamic-list-input-ring): Use dotimes and push.
16042 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16043 fundamental-mode. Use `or'.
16044
16045 2009-10-14 Juri Linkov <juri@jurta.org>
16046
16047 * misearch.el (multi-isearch-next-buffer-from-list)
16048 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16049
16050 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16051
16052 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16053 `bytecomp.el'.
16054
16055 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16056 string we return is all made up of text from the completions rather
16057 than part from the completions and part from the input (bug#4219).
16058
16059 * ido.el (ido-everywhere): Use define-minor-mode.
16060
16061 * buff-menu.el (list-buffers, ctl-x-map):
16062 Mark the entry points with ;;;###autoload cookies.
16063
16064 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16065
16066 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16067 correctly in the detached head case.
16068 (vc-git-print-log): Remove unused binding.
16069
16070 * vc.el (vc-responsible-backend): When a directory is passed for
16071 for registration create a VC repository if no backend is
16072 responsible for the directory argument.
16073 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16074
16075 * vc.el: Move comments about RCS and SCCS ...
16076 * vc-rcs.el:
16077 * vc-sccs.el: ... here, respectively.
16078
16079 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16080
16081 * minibuffer.el (completion--file-name-table): Return nil if there's
16082 no file completion, even if substitute-in-file-name changed
16083 the string (bug#4708).
16084
16085 2009-10-13 Juri Linkov <juri@jurta.org>
16086
16087 * files-x.el (read-file-local-variable-value): Don't filter out
16088 minor modes from mode name completion (bug#4664).
16089
16090 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16091
16092 * international/mule-cmds.el (ucs-names): Remove exclusion of
16093 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16094
16095 2009-10-13 Kenichi Handa <handa@m17n.org>
16096
16097 * international/uni-name.el: Regenerated.
16098
16099 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16100
16101 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16102 should be automatically buffer-local, but isn't.)
16103
16104 2009-10-12 Sam Steingold <sds@gnu.org>
16105
16106 * progmodes/compile.el (compilation-next-error-function): Fix the
16107 timestamps if the buffer has been visited before.
16108 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16109 non-anchored patterns, like the perl one (bug#3928).
16110
16111 2009-10-12 Glenn Morris <rgm@gnu.org>
16112
16113 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16114 Let-bind `size'.
16115
16116 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16117
16118 * proced.el (proced-unload-function): New function.
16119
16120 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16121 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16122 Doc fix.
16123
16124 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16125
16126 2009-10-11 Juri Linkov <juri@jurta.org>
16127
16128 * files-x.el (read-file-local-variable-value):
16129 Provide default value only for bound variables (bug#4664).
16130
16131 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16132
16133 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16134 connection methods like smb.
16135
16136 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16137 can be empty.
16138
16139 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16140 (tramp-smb-file-name-handler-alist): Add handlers for
16141 `add-name-to-file', `make-symbolic-link'.
16142 (tramp-smb-handle-add-name-to-file)
16143 (tramp-smb-do-file-attributes-with-stat)
16144 (tramp-smb-handle-make-symbolic-link)
16145 (tramp-smb-get-cifs-capabilities): New defuns.
16146 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16147 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16148 (tramp-smb-handle-file-local-copy)
16149 (tramp-smb-handle-make-directory-internal)
16150 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16151 The file name syntax depends on cifs capabilities.
16152 (tramp-smb-handle-file-attributes):
16153 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16154 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16155 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16156
16157 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16158
16159 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16160 (eieio-defclass): Apply deftype handler and setf-method properties
16161 directly.
16162 (eieio-add-new-slot): Avoid union function from cl library.
16163 (eieio--typep): New function.
16164 (eieio-perform-slot-validation): Use it.
16165
16166 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16167
16168 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16169 Update documentation to refer to the variables documented in r1.135.
16170 (Bug#4188)
16171
16172 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16173
16174 * bookmark.el (Info-suffix-list): Remove this unused variable.
16175 (bookmark-current-point): Remove this obsolete variable.
16176 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16177 Adjust for removal of bookmark-current-point.
16178
16179 (bookmarks-already-loaded, bookmark-current-buffer)
16180 (bookmark-yank-point): Document. (Bug#4188)
16181
16182 2009-10-10 Glenn Morris <rgm@gnu.org>
16183
16184 * frame.el (frame-height): Doc fix.
16185
16186 * calendar/calendar.el (calendar-split-width-threshold): New option.
16187 (calendar-basic-setup): Use calendar-split-width-threshold.
16188
16189 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16190
16191 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16192 Ideographic Supplement" range (U+1F200..U+1F2FF).
16193
16194 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16195
16196 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16197 since the list will have been rebuilt anyway. (Bug#4349)
16198
16199 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16200
16201 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16202 (bookmark-bmenu-execute-deletions): Don't save here, as
16203 bookmark-delete will now do so if necessary.
16204 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16205 (Bug#4348)
16206
16207 2009-10-09 Glenn Morris <rgm@gnu.org>
16208
16209 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16210
16211 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16212
16213 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16214 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16215 argument now, so the two function's behaviors will match. (Bug#3645)
16216
16217 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16218
16219 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16220 (tramp-file-name-real-host, tramp-file-name-port):
16221 Apply `save-match-data'.
16222
16223 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16224 case both directories are remote.
16225 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16226 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16227
16228 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16229
16230 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16231
16232 2009-10-07 Glenn Morris <rgm@gnu.org>
16233
16234 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16235 of concat.
16236
16237 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16238
16239 * files-x.el (read-file-local-variable): Include some
16240 non-user-variables in the completion table (bug#4664).
16241
16242 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16243
16244 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16245 message.
16246
16247 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16248 (tramp-smb-file-name-handler-alist): Add handler for
16249 `copy-directory', `expand-file-name', `set-file-modes'.
16250 (tramp-smb-handle-copy-directory)
16251 (tramp-smb-handle-expand-file-name)
16252 (tramp-smb-handle-set-file-modes): New defuns.
16253 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16254 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16255 entry.
16256 (tramp-smb-handle-insert-directory): Don't flush the cache.
16257 (tramp-smb-maybe-open-connection): Check for samba client and
16258 server versions.
16259
16260 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16261
16262 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16263 to not error out of search for "^lisp=" fails.
16264
16265 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16266
16267 * makefile.w32-in (WINS_UPDATES): New macro.
16268 (custom-deps, finder-data, autoloads): Use it.
16269
16270 2009-10-07 Glenn Morris <rgm@gnu.org>
16271
16272 * Makefile.in (autoloads): Revert previous change.
16273 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16274 the list of preloaded files passed on the command-line, get
16275 it from src/Makefile.
16276
16277 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16278 show the original buffer rather than a random one.
16279
16280 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16281
16282 * help.el (describe-no-warranty): Place point in a slightly better
16283 position in the GPLv3 text.
16284
16285 2009-10-06 Sam Steingold <sds@gnu.org>
16286
16287 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16288 the comm attribute is present before calling regexp-quote.
16289
16290 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16291
16292 * play/animate.el (animate-string): For good effect, make sure
16293 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16294
16295 * play/animate.el (animate-sequence, animate-birthday-present):
16296 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16297
16298 2009-10-06 Glenn Morris <rgm@gnu.org>
16299
16300 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16301
16302 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16303 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16304 (batch-update-autoloads): Process a string value of autoload-excludes,
16305 set during the build process.
16306 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16307
16308 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16309 inside with-parsed... macro so that `v' is defined.
16310
16311 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16312 * progmodes/fortran.el (fortran-end-of-block)
16313 (fortran-beginning-of-block):
16314 Also push mark in the macro case.
16315
16316 * emerge.el (emerge-show-file-name):
16317 * calc/calc.el (calc-quit):
16318 * calc/calc-misc.el (calc-big-or-small):
16319 * calc/calc-graph.el (calc-graph-view):
16320 * calc/calc-ext.el (calc-reset):
16321 * calendar/calendar.el (calendar-basic-setup):
16322 Use window-full-height-p.
16323
16324 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16325 header we don't understand, don't insert another. (Bug#4624)
16326 If changing mime charset, insert the new one in the right place.
16327
16328 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16329
16330 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16331 (cal-tex-cursor-month): Correctly increment the end date for diary and
16332 holiday listing. (Bug#4626)
16333
16334 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16335
16336 * help-fns.el (describe-function-1): Don't burp if the function is not
16337 a symbol.
16338
16339 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16340
16341 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16342 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16343 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16344 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16345
16346 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16347 (eieio-default-superclass): Reflow docstrings.
16348 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16349 (eieio-unbind-method-implementations, defmethod)
16350 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16351 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16352 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16353 (eieio-slot-originating-class-p, eieio-slot-name-index)
16354 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16355 (constructor, initialize-instance, no-next-method, object-print)
16356 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16357 Fix typos in docstrings.
16358 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16359 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16360 (next-method-p): Doc fixes.
16361 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16362 Fix typos in error messages.
16363 (eieio-defmethod): Fix typo in description of generic method.
16364
16365 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16366 (eieio-persistent-save-interactive, slot-missing):
16367 Fix typos in docstrings.
16368 (eieio-instance-inheritor-slot-boundp): Doc fix.
16369
16370 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16371 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16372
16373 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16374 (eieio-custom-object-apply-reset):
16375 Fix typos in docstrings and error messages.
16376
16377 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16378 Fix typo in docstring.
16379
16380 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16381 (eieio-browse-tree): Doc fix.
16382 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16383 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16384 Fix typos in docstrings.
16385
16386 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16387 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16388 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16389 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16390 Reflow docstrings.
16391
16392 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16393
16394 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16395 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16396 Set log-view-vc-backend so that diff can work.
16397
16398 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16399 vc-version-diff.
16400 (vc-diff-internal): Autoload this instead of vc-version-diff.
16401
16402 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16403
16404 * simple.el (eval-expression): Doc fix.
16405
16406 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16407
16408 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16409
16410 * files.el (directory-files-no-dot-files-regexp): New defconst.
16411 (delete-directory): Use it.
16412 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16413
16414 * net/tramp.el (tramp-verbose): Fix docstring.
16415 (tramp-methods): Add recursive option to `tramp-copy-args'.
16416 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16417 "scp1_old", "scp2_old", "rsync", "rsyncc".
16418 (tramp-default-method): Check also for `auth-source-user-or-password'.
16419 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16420 Add handler for `copy-directory'.
16421 (tramp-handle-copy-directory): New defun.
16422 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16423 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16424 Optimize sent command.
16425
16426 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16427
16428 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16429 window if necessary.
16430
16431 * calendar/calendar.el (calendar-basic-setup): Don't call
16432 switch-to-buffer in a dedicated window.
16433
16434 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16435
16436 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16437 don't do anything related to relocating, just return nil.
16438 (bookmark-error-no-filename): New error.
16439 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16440 bookmark has no file. Don't even attempt to handle things that
16441 are not files; the whole point of custom handlers is to keep that
16442 knowledge elsewhere anyway. Tighten some comments.
16443 (bookmark-file-or-variation-thereof): Remove now-unused function.
16444 (bookmark-location): Doc string fix.
16445 (Bug#4250)
16446
16447 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16448
16449 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16450 don't use a file dialog, because they usually don't know how to read
16451 a directory target from the user. (Bug#4230)
16452 Also, make sure the prompt can display directories as well as files.
16453
16454 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16455
16456 * bookmark.el (bookmark-set, bookmark-buffer-name):
16457 Improve doc strings. (Bug#1193)
16458
16459 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16460
16461 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16462 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16463 (bookmark-get-annotation, bookmark-set-annotation)
16464 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16465 (bookmark-set-position, bookmark-get-front-context-string)
16466 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16467 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16468 (bookmark-jump-other-window, bookmark-handle-bookmark)
16469 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16470 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16471 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16472 Improve doc strings to say whether bookmark can be a string or
16473 a record or both, and make other consistency and clarity fixes.
16474 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16475 (bookmark-default-annotation-text, bookmark-yank-word)
16476 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16477 (bookmark-import-new-list, bookmark-maybe-rename)
16478 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16479 (bookmark-bmenu-bookmark): Give these doc strings.
16480 (bookmark-bmenu-check-position): Give this a doc string, but also
16481 add a FIXME comment about how the function may be pointless.
16482 (bookmark-default-handler): Rework doc string and change a
16483 parameter name, to clarify that this takes a bookmark record
16484 not a bookmark name.
16485 (bookmark-set): Change a parameter name to indicate its meaning,
16486 and improve the doc string a bit.
16487 (Bug#4188)
16488
16489 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16490
16491 * bookmark.el (bookmark-alist): Document the new `handler' element
16492 in the param alist.
16493 (bookmark-make-record-function): Adjust documentation for above.
16494 (Bug#4193)
16495
16496 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16497
16498 * info.el (Info-bookmark-make-record): Document this function.
16499 (Info-bookmark-jump): Document with a doc string, not just a comment.
16500 (Bug#4203)
16501
16502 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16503
16504 * files.el (copy-directory): New defun.
16505
16506 * dired-aux.el (dired-copy-file-recursive): Use it.
16507
16508 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16509
16510 * files-x.el (modify-dir-local-variable)
16511 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16512 docstrings.
16513
16514 * recentf.el (recentf-unload-function): New function.
16515
16516 2009-10-04 Glenn Morris <rgm@gnu.org>
16517
16518 * window.el (window-full-height-p): Add doc string.
16519
16520 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16521
16522 * window.el (window-full-height-p): New function. (Bug#4543)
16523
16524 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16525
16526 * vc.el: Remove commented out code.
16527 (vc-derived-from-dir-mode): Remove, unused.
16528 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16529
16530 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16531
16532 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16533 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16534 there could be recursive loading when `default-directory' is a
16535 remote file name. (Bug#4614)
16536
16537 2009-10-03 Glenn Morris <rgm@gnu.org>
16538
16539 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16540 the frame is wide.
16541 (calendar-generate-window): Test for shrinkability rather than width.
16542
16543 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16544 reusing existing buffers, in case we happen to visit two files with the
16545 same basename. (Bug#4593)
16546
16547 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16548
16549 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16550 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16551 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16552 subdirs of cedet as well.
16553 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16554
16555 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16556
16557 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16558 Obey advertised-signature-table.
16559
16560 * help-fns.el (help-function-arglist): Don't check
16561 advertised-signature-table.
16562 (describe-function-1): Do it here instead so it also applies to subrs.
16563
16564 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16565
16566 * simple.el (start-file-process): Say in the doc-string, that file
16567 handlers might not support pty association, if PROGRAM is nil.
16568
16569 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16570 HOST and USER are strings. They are nil, when there are
16571 incomplete entries in ~/.netrc, for example.
16572 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16573 root directory ("device busy" error otherwise).
16574
16575 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16576 Flush file properties of created directory.
16577
16578 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16579
16580 * makefile.w32-in (WINS_BASIC): Remove cedet.
16581 (WINS_CEDET): Add cedet.
16582 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16583
16584 2009-10-02 Kevin Ryde <user42@zip.com.au>
16585
16586 * net/browse-url.el (browse-url): Pass any symbol in
16587 browse-url-browser-function to `apply', since if you've mistakenly put
16588 an unbound symbol then the error is clearer. (Bug#4531)
16589
16590 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16591
16592 * allout.el (allout-init, allout-back-to-current-heading)
16593 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16594 (allout-ascend, allout-up-current-level, allout-end-of-level)
16595 (allout-previous-visible-heading, allout-forward-current-level)
16596 (allout-backward-current-level, allout-show-children):
16597 * apropos.el (apropos-describe-plist):
16598 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16599 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16600 * completion.el (add-completion, add-permanent-completion):
16601 * descr-text.el (describe-text-category, describe-char):
16602 * desktop.el (desktop-lazy-abort):
16603 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16604 * dired.el (dired-build-subdir-alist):
16605 * ediff.el (ediff-version):
16606 * elide-head.el (elide-head, elide-head-show):
16607 * emerge.el (emerge-version):
16608 * env.el (getenv):
16609 * face-remap.el (variable-pitch-mode):
16610 * faces.el (describe-face):
16611 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16612 (dired-at-point):
16613 * files.el (find-file-existing, auto-save-mode):
16614 * font-lock.el (font-lock-fontify-buffer):
16615 * help-fns.el (describe-function, describe-variable)
16616 (describe-syntax, describe-categories):
16617 * help.el (view-lossage, describe-bindings, describe-key)
16618 (describe-mode):
16619 * hexl.el (hexl-current-address):
16620 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16621 * info.el (Info-goto-emacs-key-command-node):
16622 * log-edit.el (log-edit-insert-cvs-template)
16623 (log-edit-insert-cvs-rcstemplate):
16624 * menu-bar.el (menu-bar-mode):
16625 * mouse.el (mouse-appearance-menu):
16626 * newcomment.el (comment-indent-new-line):
16627 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16628 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16629 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16630 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16631 * recentf.el (recentf-mode):
16632 * savehist.el (savehist-mode, savehist-save):
16633 * shadowfile.el (shadow-copy-files):
16634 * simple.el (kill-ring-save, next-line, previous-line)
16635 (normal-erase-is-backspace-mode):
16636 * strokes.el (strokes-update-window-configuration)
16637 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16638 (strokes-xpm-for-stroke):
16639 * time.el (emacs-uptime, emacs-init-time):
16640 * tutorial.el (tutorial--describe-nonstandard-key)
16641 (tutorial--detailed-help):
16642 * type-break.el (type-break-mode)
16643 (type-break-mode-line-message-mode, type-break-query-mode)
16644 (type-break-guesstimate-keystroke-threshold):
16645 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16646 * version.el (emacs-version):
16647 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16648 * winner.el (winner-mode):
16649 * calendar/timeclock.el (timeclock-in, timeclock-out)
16650 (timeclock-status-string, timeclock-change)
16651 (timeclock-workday-remaining-string)
16652 (timeclock-workday-elapsed-string)
16653 (timeclock-when-to-leave-string):
16654 * calendar/todo-mode.el (todo-add-category):
16655 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16656 * emacs-lisp/autoload.el (update-file-autoloads):
16657 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16658 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16659 (checkdoc-message-text, checkdoc-defun):
16660 * emacs-lisp/debug.el (debugger-list-functions):
16661 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16662 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16663 (eieio-describe-generic):
16664 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16665 * emacs-lisp/shadow.el (list-load-path-shadows):
16666 * emulation/cua-base.el (cua-mode):
16667 * emulation/edt.el (edt-set-scroll-margins):
16668 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16669 (tpu-toggle-regexp, tpu-toggle-search-direction)
16670 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16671 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16672 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16673 (viper-set-parsing-style-toggling-macro)
16674 (viper-set-emacs-state-searchstyle-macros):
16675 * emulation/viper.el (viper-set-hooks):
16676 * eshell/esh-mode.el (eshell-truncate-buffer):
16677 * international/mule-cmds.el (prefer-coding-system)
16678 (describe-input-method, describe-language-environment):
16679 * international/mule-diag.el (list-character-sets)
16680 (describe-character-set, describe-coding-system)
16681 (describe-fontset, list-fontsets, list-input-methods):
16682 * mail/sendmail.el (mail-signature):
16683 * net/ange-ftp.el (ange-ftp-copy-file):
16684 * net/browse-url.el (browse-url):
16685 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16686 * net/quickurl.el (quickurl-add-url):
16687 * net/rcirc.el (names, topic):
16688 * net/xesam.el (xesam-mode):
16689 * play/5x5.el (5x5-new-game):
16690 * play/yow.el (apropos-zippy):
16691 * progmodes/ada-mode.el (ada-mode-version):
16692 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16693 (f90-end-of-block)
16694 (f90-beginning-of-block):
16695 * progmodes/fortran.el (fortran-end-of-block)
16696 (fortran-beginning-of-block):
16697 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16698 * progmodes/python.el (python-describe-symbol, python-shell):
16699 * term/ns-win.el (ns-print-buffer):
16700 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16701 * textmodes/flyspell.el (flyspell-mode-on):
16702 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16703 (pages-directory-for-addresses):
16704 * textmodes/table.el (table-recognize-cell)
16705 (table-query-dimension, table-generate-source)
16706 (table-insert-sequence, table--warn-incompatibility):
16707 * textmodes/tex-mode.el (tex-validate-buffer):
16708 * textmodes/texinfmt.el (texinfmt-version)
16709 (texinfo-format-buffer):
16710 Use `called-interactively-p' instead of `interactive-p'.
16711
16712 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16713
16714 * image-mode.el (image-toggle-display):
16715 * emacs-lisp/elp.el (elp-instrument-function):
16716 * emacs-lisp/advice.el (ad-make-advised-definition):
16717 * emacs-lisp/easy-mmode.el (define-minor-mode):
16718 * net/browse-url.el (browse-url-maybe-new-window):
16719 * progmodes/sh-script.el (sh-learn-buffer-indent):
16720 Pass new argument 'any to `called-interactively-p'.
16721
16722 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16723
16724 * international/uni-bidi.el:
16725 * international/uni-category.el:
16726 * international/uni-combining.el:
16727 * international/uni-comment.el:
16728 * international/uni-decimal.el:
16729 * international/uni-decomposition.el:
16730 * international/uni-digit.el:
16731 * international/uni-lowercase.el:
16732 * international/uni-mirrored.el:
16733 * international/uni-name.el:
16734 * international/uni-numeric.el:
16735 * international/uni-old-name.el:
16736 * international/uni-titlecase.el:
16737 * international/uni-uppercase.el:
16738 Regenerate from Unicode 5.2.0 data.
16739
16740 2009-10-01 Glenn Morris <rgm@gnu.org>
16741
16742 * Makefile.in (ELCFILES): Regenerate.
16743
16744 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16745
16746 * subr.el (interactive-p): Mark obsolete.
16747 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16748 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16749 advertised-signature-table for subroutines as well.
16750
16751 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16752 (set-advertised-calling-convention): New function.
16753 (make-obsolete, define-obsolete-function-alias)
16754 (make-obsolete-variable, define-obsolete-variable-alias):
16755 Make the optional-ness of `when' obsolete.
16756 (define-obsolete-face-alias): Make `when' non-optional.
16757 * help-fns.el (help-function-arglist):
16758 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16759 Use advertised-signature-table.
16760
16761 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16762
16763 * files.el (delete-directory): New defun. The original function
16764 in fileio.c has been renamed to `delete-directory-internal'.
16765
16766 * dired.el (dired-delete-file): Call `delete-directory' with
16767 RECURSIVE parameter.
16768
16769 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16770 parameter RECURSIVE. Implementation is missing.
16771
16772 * net/tramp.el (tramp-handle-make-directory): Flush upper
16773 directory's file properties.
16774 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16775 (tramp-handle-dired-recursive-delete-directory): Flush directory
16776 properties after the remove command only.
16777
16778 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16779 Handle optional parameter RECURSIVE.
16780
16781 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16782 Handle optional parameter RECURSIVE.
16783
16784 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16785 connection timeout.
16786 (tramp-smb-handle-delete-directory): Handle optional parameter
16787 RECURSIVE.
16788
16789 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16790
16791 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16792 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16793 (byte-compile-defmacro): Use backquotes.
16794
16795 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16796
16797 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16798 has no associated file.
16799 (vc-resynch-buffer): Use vc-dir-buffers.
16800
16801 2009-10-01 Glenn Morris <rgm@gnu.org>
16802
16803 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16804 (chart-file-count):
16805 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16806 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16807 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16808 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16809 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16810 (eieio-copy-parents-into-subclass, make-instance, class-children)
16811 (eieio-generic-form):
16812
16813 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16814 match-data. (Bug#4555).
16815
16816 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16817 rather than parsing it as a regexp. This relaxes the layout
16818 requirements and makes errors easier to detect.
16819 (check-declare-verify): Check file is regular.
16820 (check-declare-directory): Doc fix.
16821 * subr.el (declare-function): Doc fix.
16822
16823 * ibuffer.el (ibuffer-format-qualifier):
16824 * isearch.el (hi-lock-regexp-okay):
16825 * calc/calc.el (math-zerop):
16826 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16827 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16828 Remove unused declarations.
16829
16830 2009-09-30 Eric Ludlam <zappo@gnu.org>
16831
16832 * emacs-lisp/eieio.el (boolean-p): Delete.
16833
16834 2009-09-30 Glenn Morris <rgm@gnu.org>
16835
16836 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16837
16838 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16839 filename is not a string.
16840
16841 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16842
16843 * files.el (safe-local-eval-forms): Fix typo.
16844
16845 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16846
16847 * vc-hooks.el (vc-dir-buffers): New var.
16848 (vc-state-refresh): New function.
16849 (vc-state): Use it.
16850 (vc-after-save): Always ask the backend to recompute the new state.
16851 Always call vc-dir if necessary, using vc-dir-buffers.
16852 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16853 Use vc-dir-buffers.
16854 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16855 (vc-dir-prepare-status-buffer, vc-dir-update)
16856 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16857 Don't call expand-file-name on default-directory.
16858
16859 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16860
16861 * speedbar.el (speedbar-item-delete):
16862 * calc/calc-prog.el (calc-kbd-if):
16863 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16864
16865 * epa.el (epa-key-list-mode-map):
16866 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16867
16868 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16869 (hs-show-hook): Fix typo in docstring.
16870
16871 2009-09-29 Glenn Morris <rgm@gnu.org>
16872
16873 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16874 file-name-nondirectory call preventing location of cedet files.
16875 (check-declare-verify): Use literal search rather than re-search.
16876 Add basic defmethod and defclass, and define-overloadable-function.
16877
16878 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16879 Use tramp-compat-file-attributes rather than nonexistent
16880 tramp-compat-handle-file-attributes.
16881
16882 * Makefile.in (lisptagsfiles4): New.
16883 (AUTOGENEL): Add cedet loaddefs files.
16884 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16885 (update-elclist, compile-always, backup-compiled-files)
16886 (bootstrap-clean): Add yet another directory level.
16887 (update-elclist): Use LC_COLLATE rather than COLLATE.
16888 (ELCFILES): Update, via `make update-elclist'.
16889
16890 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16891
16892 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16893 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16894 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16895
16896 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16897
16898 * Makefile.in (lisptagsfiles3): Define.
16899 (TAGS, TAGS-LISP): Use it.
16900 (update-elclist): Add third directory level to look for elc files.
16901 (compile-always): Likewise.
16902 (backup-compiled-files): Likewise.
16903 (bootstrap-clean): Likewise.
16904 (ELCFILES): Update.
16905
16906 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16907
16908 * Makefile.in (ELCFILES): Add CEDET files.
16909
16910 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16911
16912 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16913
16914 * net/tramp.el (top): Require tramp-imap.
16915
16916 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16917 Use `tramp-compat-handle-file-attributes'.
16918
16919 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16920
16921 * net/tramp-imap.el: New package.
16922
16923 2009-09-28 Eric Ludlam <zappo@gnu.org>
16924
16925 * emacs-lisp/chart.el:
16926 * emacs-lisp/eieio-base.el:
16927 * emacs-lisp/eieio-comp.el:
16928 * emacs-lisp/eieio-custom.el:
16929 * emacs-lisp/eieio-datadebug.el:
16930 * emacs-lisp/eieio-opt.el:
16931 * emacs-lisp/eieio-speedbar.el:
16932 * emacs-lisp/eieio.el: New files.
16933
16934 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16935
16936 * whitespace.el (whitespace-trailing-regexp)
16937 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16938 Fix doc string.
16939
16940 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16941
16942 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16943 menu.
16944
16945 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16946 menu-bar-ediff-menu.
16947
16948 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16949 define-overloadable-function.
16950
16951 * progmodes/autoconf.el: Provide autoconf as well, so that this
16952 file can be `require'd.
16953
16954 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16955
16956 * emacs-lisp/autoload.el (generated-autoload-feature)
16957 (generated-autoload-load-name): New vars.
16958 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16959 (make-autoload): Recognize define-overloadable-function and
16960 defclass forms (for EIEIO).
16961
16962 * Makefile.in (update-subdirs): Exclude cedet directory.
16963
16964 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16965
16966 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16967
16968 * faces.el: Default light-background background for region face to
16969 ns_selection_color under NS.
16970
16971 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16972
16973 * net/imap-hash.el: New library, see NEWS.
16974
16975 * Makefile.in (ELCFILES): Add imap-hash.el.
16976
16977 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16978
16979 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16980 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16981 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16982 definition where the docstring could be taken for the return value.
16983
16984 2009-09-26 Glenn Morris <rgm@gnu.org>
16985
16986 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16987 Add option to only show images below a certain size.
16988 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16989 save-excursion calls.
16990
16991 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16992
16993 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16994 subdirectories) and eieio.
16995
16996 2009-09-26 Alan Mackenzie <acm@muc.de>
16997
16998 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16999 Correct buggy bracketing. (Bug#4289)
17000
17001 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17002 character constants (as case labels). (Bug#4289)
17003
17004 2009-09-25 Juri Linkov <juri@jurta.org>
17005
17006 * files.el (safe-local-eval-forms): Allow time-stamp in
17007 before-save-hook (Bug#4554).
17008
17009 2009-09-25 Drew Adams <drew.adams@oracle.com>
17010
17011 * menu-bar.el (list-buffers-directory): Doc fix.
17012
17013 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17014
17015 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17016 Try and avoid copying twice the same paragraph.
17017 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17018 Remove save-excursion.
17019 (log-edit-changelog-entry): Do it here instead.
17020
17021 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17022
17023 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17024 when available, instead of hardcoding mode names. Doc fix.
17025
17026 * menu-bar.el (list-buffers-directory): Add docstring.
17027 Make automatically buffer-local.
17028
17029 * dired.el (dired-mode):
17030 * files.el (cd-absolute):
17031 * pcvs.el (cvs-temp-buffer):
17032 * pcvs-util.el (cvs-get-buffer-create):
17033 * shell.el (shell-mode):
17034 * vc-dir.el (vc-dir-mode):
17035 Don't make `list-buffers-directory' buffer local.
17036
17037 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17038
17039 * comint.el (comint-exec, comint-run, make-comint):
17040 Doc fixes (Bug#4542).
17041
17042 2009-09-25 Glenn Morris <rgm@gnu.org>
17043
17044 * mail/rmailmm.el (rmail-mime): New custom group.
17045 Move all defcustoms in this file into this group.
17046 (rmail-mime-media-type-handlers-alist): Revert previous change.
17047 (rmail-mime-show-images): New option.
17048 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17049 references to it, since it wasn't actually used for anything.
17050 (rmail-mime-insert-image): New function.
17051 (rmail-mime-image): Use rmail-mime-insert-image.
17052 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17053 obey the value of `rmail-mime-show-images' option. Print the size of
17054 attachments.
17055
17056 2009-09-25 David Engster <deng@randomsample.de>
17057
17058 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17059
17060 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17061
17062 * whitespace.el: Does not highlight trailing spaces While point is
17063 at end of line. Does not highligt spaces at beginning of buffer
17064 while point is at beginning of buffer. Does not highlight spaces
17065 at end of buffer while point is at end of buffer. (Bug#4177)
17066 New version 12.0.
17067 (whitespace-display-mappings): Adjust initialization.
17068 (whitespace-point, whitespace-font-lock-refontify): New vars.
17069 (whitespace-color-on, whitespace-color-off): Adjust code.
17070 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17071 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17072 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17073
17074 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17075
17076 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17077
17078 * textmodes/sgml-mode.el: Remove xml-mode alias.
17079
17080 * files.el (auto-mode-alist, conf-mode-maybe)
17081 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17082
17083 2009-09-24 Alan Mackenzie <acm@muc.de>
17084
17085 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17086 c-forward-conditionals, but it doesn't move point and doesn't set
17087 the mark.
17088 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17089 (c-down-conditional-with-else, c-backward-conditional)
17090 (c-forward-conditional): Refactor to use c-scan-conditionals.
17091
17092 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17093
17094 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17095 (help-default-arg-highlight): Remove.
17096 (help-highlight-arg): New function.
17097 (help-do-arg-highlight): Use it.
17098 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17099
17100 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17101
17102 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17103 Undo last change, which didn't fix the problem and introduced others.
17104
17105 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17106
17107 * progmodes/gdb-mi.el: Don't require speedbar.
17108 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17109
17110 2009-09-24 Glenn Morris <rgm@gnu.org>
17111
17112 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17113
17114 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17115
17116 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17117 there is no newline after the final mime boundary. (Bug#4539)
17118 Move markers on insertion so that any buttons inserted don't end up in
17119 the next part of a multipart message.
17120 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17121 (rmail-mime-bulk-handler): Optionally handle images.
17122 (rmail-mime-image): New button action.
17123 (rmail-mime-image-handler): New function.
17124 (rmail-mime-mode): New mode.
17125 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17126
17127 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17128
17129 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17130 than just dropping elements from it (bug#4504).
17131
17132 * term.el (term-set-scroll-region): Don't move cursor any more.
17133 (term-handle-ansi-escape): Call term-goto here instead.
17134 Suggested by Ivan Kanis <apple@kanis.eu>.
17135
17136 * term.el: Require CL.
17137 (term-ansi-reset): New function.
17138 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17139 (term-handle-colors-array): Simplify.
17140
17141 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17142
17143 * allout.el (allout-overlay-interior-modification-handler)
17144 (allout-obtain-passphrase):
17145 * epa-file.el (epa-file-write-region):
17146 * ps-print.el (ps-begin-job):
17147 * vc-hooks.el (vc-toggle-read-only):
17148 * vc-rcs.el (vc-rcs-rollback):
17149 * vc-sccs.el (vc-sccs-rollback):
17150 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17151 (vc-version-diff, vc-revert, vc-rollback):
17152 * wdired.el (wdired-check-kill-buffer):
17153 * emacs-lisp/authors.el (authors):
17154 * net/socks.el (socks-open-connection):
17155 * net/zeroconf.el (zeroconf-service-add-hook):
17156 * obsolete/vc-mcvs.el (vc-mcvs-register):
17157 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17158 (gdb-select-frame):
17159 * progmodes/grep.el (lgrep, rgrep):
17160 * progmodes/idlw-help.el (idlwave-help-check-locations)
17161 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17162 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17163 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17164 (reftex-toc-rename-label): Fix typos in error messages.
17165
17166 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17167 (dired-copy-how-to-fn): Doc fix.
17168 (dired-files-attributes, dired-read-shell-command):
17169 Fix typos in docstrings.
17170
17171 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17172 (dired-x-find-file-other-window): Reflow docstrings.
17173 (dired-omit-marker-char, dired-read-shell-command)
17174 (dired-x-submit-report): Fix typos in docstrings.
17175
17176 * shell.el (shell-mode-hook):
17177 * view.el (View-scroll-line-forward):
17178 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17179 Fix typos in docstrings.
17180
17181 * net/dig.el (dig-invoke): Fix typo in docstring.
17182 (query-dig): Reflow docstring.
17183
17184 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17185 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17186 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17187 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17188 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17189 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17190 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17191 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17192 (idlwave-completion-map, idlwave-current-indent)
17193 (idlwave-custom-ampersand-surround, idlwave-customize)
17194 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17195 (idlwave-define-abbrev, idlwave-determine-class-special)
17196 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17197 (idlwave-end-block-reg, idlwave-end-of-statement)
17198 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17199 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17200 (idlwave-explicit-class-listed, idlwave-file-header)
17201 (idlwave-fill-paragraph, idlwave-find-class-definition)
17202 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17203 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17204 (idlwave-in-quote, idlwave-indent-action-table)
17205 (idlwave-indent-expand-table, idlwave-indent-line)
17206 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17207 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17208 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17209 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17210 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17211 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17212 (idlwave-outlawed-buffers, idlwave-popup-select)
17213 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17214 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17215 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17216 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17217 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17218 (idlwave-statement-type, idlwave-struct-skip)
17219 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17220 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17221 (idlwave-what-module-find-class): Fix typos in docstrings.
17222 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17223 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17224 (idlwave-find-module, idlwave-find-structure-definition)
17225 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17226 (idlwave-list-load-path-shadows, idlwave-next-statement)
17227 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17228 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17229 (idlwave-template): Reflow docstrings.
17230
17231 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17232 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17233 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17234 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17235 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17236 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17237 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17238 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17239 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17240 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17241 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17242 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17243 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17244 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17245 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17246 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17247 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17248 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17249 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17250 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17251 Fix typos in docstrings.
17252 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17253 (idlwave-shell-hide-output, idlwave-shell-mode)
17254 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17255 Reflow docstrings.
17256
17257 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17258
17259 2009-09-24 Ivan Kanis <apple@kanis.eu>
17260
17261 * term.el (term-bold-attribute): New var.
17262 (term-handle-colors-array): Use it.
17263
17264 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17265
17266 * progmodes/gdb-mi.el (gdb-version): New variable.
17267 (gdb-non-stop-handler): Set gdb-version.
17268 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17269 Condition "--thread" option on gdb-version.
17270 (gdb-invalidate-threads): Remove unused argument.
17271
17272 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17273
17274 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17275 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17276
17277 2009-09-23 Glenn Morris <rgm@gnu.org>
17278
17279 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17280 replying to mail without References or Message-Id. (Bug#4525)
17281
17282 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17283
17284 * term/ns-win.el (ns-reg-to-script): New variable.
17285
17286 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17287
17288 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17289
17290 2009-09-22 Sam Steingold <sds@gnu.org>
17291
17292 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17293 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17294 to 1 because hg returns status 1 when nothing is found.
17295 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17296
17297 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17298
17299 * textmodes/fill.el: Convert to utf-8 encoding.
17300 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17301 pre-Unicode days.
17302
17303 * add-log.el (change-log-fill-forward-paragraph): New function.
17304 (change-log-mode): Use it so fill-region DTRT.
17305 Set fill-indent-according-to-mode here rather than in
17306 change-log-fill-paragraph.
17307 (change-log-fill-paragraph): Remove.
17308
17309 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17310
17311 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17312 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17313
17314 2009-09-22 Glenn Morris <rgm@gnu.org>
17315
17316 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17317 the scroll-bar scroll the calendar window rather than the buffer.
17318
17319 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17320 commands that move point (as opposed to scrolling).
17321
17322 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17323
17324 * emacs-lisp/elint.el (elint): New custom group.
17325 (elint-log-buffer): Make it a defcustom.
17326 (elint-scan-preloaded, elint-ignored-warnings)
17327 (elint-directory-skip-re): New options.
17328 (elint-builtin-variables): Doc fix.
17329 (elint-preloaded-env): New variable.
17330 (elint-unknown-builtin-args): Add an entry for encode-time.
17331 (elint-extra-errors): Make it a variable rather than a constant.
17332 (elint-preloaded-skip-re): New constant.
17333 (elint-directory): Skip files matching elint-directory-skip-re.
17334 (elint-features): New variable, local to linted buffers.
17335 (elint-update-env): Initialize elint-features. Possibly add
17336 elint-preloaded-env to the buffer's environment.
17337 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17338 Skip quoted forms.
17339 (elint-init-form): New function, extracted from elint-init-env.
17340 Make non-list forms a warning rather than an error.
17341 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17342 easy-menu-define, put that adds an error-condition, and provide.
17343 When requiring cl, also require cl-macs. Really require cl, to handle
17344 some cl macros. Store required libraries in the list elint-features,
17345 so as not to re-load them. Treat cc-require like require.
17346 (elint-init-env): Call elint-init-form to do the work.
17347 Handle eval-and-compile and such like.
17348 (elint-add-required-env): Do not clear messages.
17349 (elint-special-forms): Add handlers for function, defalias, if, when,
17350 unless, and, or.
17351 (elint-form): Add optional argument to ignore elint-special-forms,
17352 useful to prevent recursive calls from handlers. Doc fix.
17353 Respect elint-ignored-warnings.
17354 (elint-form): Respect elint-ignored-warnings.
17355 (elint-bound-variable, elint-bound-function): New variables.
17356 (elint-unbound-variable): Respect elint-bound-variable.
17357 (elint-get-args): Respect elint-bound-function.
17358 (elint-check-cond-form): Add some simple handling for (f)boundp and
17359 featurep tests.
17360 (elint-check-defalias-form): New handler.
17361 (elint-check-let-form): Make an empty let a warning rather than an
17362 error.
17363 (elint-check-setq-form): Make an empty setq a warning rather than an
17364 error. Respect elint-ignored-warnings.
17365 (elint-check-defvar-form): Accept null doc-strings.
17366 (elint-check-conditional-form): New handler. Does some simple-minded
17367 checking of featurep and (f)boundp tests.
17368 (elint-put-function-args): New function.
17369 (elint-initialize): Use elint-scan-doc-file rather than
17370 elint-find-builtin-variables. Use elint-put-function-args.
17371 Possibly scan preloaded-file-list.
17372 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17373 extend to handle functions as well.
17374
17375 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17376
17377 * linum.el (linum-delete-overlays, linum-update-window):
17378 Do not modify the right margin. (Bug#3971)
17379
17380 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17381
17382 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17383 Use nxml-mode instead of xml-mode.
17384
17385 2009-09-21 Kevin Ryde <user42@zip.com.au>
17386
17387 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17388
17389 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17390
17391 * net/dig.el (dig-mode): Use define-derived-mode.
17392
17393 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17394
17395 * vc-dispatcher.el (vc-do-command): Return the process object in
17396 the asynchronous case. Use when instead of if. Do not run
17397 vc-exec-after to display a message if not enabled. (Bug#4463)
17398
17399 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17400 properties to the stash strings.
17401 (vc-git-stash-list): Return a list of strings.
17402 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17403 (vc-git-stash-show-at-point): New functions.
17404 (vc-git-stash-map): New keymap.
17405
17406 * register.el (ctl-x-r-map): Define the keys here instead of
17407 using autoload.
17408
17409 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17410
17411 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17412 list, to workaround performance problem (bug#4485).
17413
17414 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17415
17416 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17417
17418 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17419
17420 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17421 Document that this option is not recommended to use.
17422
17423 2009-09-19 Glenn Morris <rgm@gnu.org>
17424
17425 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17426 variable `var'.
17427
17428 * calc/calc-alg.el (var):
17429 * calc/calcalg2.el (var): Define for compiler.
17430
17431 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17432
17433 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17434 Doc fix (Bug#3932).
17435
17436 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17437
17438 * time-stamp.el (time-stamp-month-dd-yyyy)
17439 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17440 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17441 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17442 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17443 Remove functions that have been obsolete since 1995 (Bug#4436).
17444
17445 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17446 indent buffer only if called interactively (Bug#4452).
17447
17448 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17449 Eli Zaretskii <eliz@gnu.org>
17450
17451 This fixes bug#4197 (merged to bug#865, though not identical).
17452 * server.el (server-auth-dir): Add docstring note about FAT32.
17453 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17454 but warn against using them.
17455
17456 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17457
17458 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17459 older GDB where there is no has_more field.
17460
17461 2009-09-19 Glenn Morris <rgm@gnu.org>
17462
17463 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17464
17465 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17466
17467 * files.el (auto-mode-alist): Change default for XML files to nXML
17468 mode (Bug#4169).
17469
17470 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17471
17472 * server.el (server-ensure-safe-dir): Pass 'integer
17473 to `file-attributes', as suggested.
17474
17475 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17476
17477 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17478 (dired-query): Use read-key.
17479
17480 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17481
17482 * cus-start.el (ns-use-qd-smoothing): Remove.
17483
17484 2009-09-18 Glenn Morris <rgm@gnu.org>
17485
17486 * allout.el (top-level): Remove unnecessary progn.
17487
17488 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17489
17490 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17491 definition of abbrev table.
17492
17493 * speedbar.el (speedbar-track-mouse):
17494 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17495 * net/eudc.el (eudc-expand-inline):
17496 * net/newst-backend.el (newsticker--cache-read-feed):
17497 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17498 condition-case handlers.
17499
17500 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17501
17502 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17503 (gdb-var-list): Add an element for has_more field.
17504 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17505 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17506 (gdb-var-update-handler-1): Parse output of dynamic variable
17507 objects (STL containers).
17508 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17509 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17510
17511 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17512 gdb-var-list.
17513 (gud-speedbar-buttons): Make node expandable if expression "has more"
17514 children.
17515
17516 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17517
17518 * startup.el (emacs-quick-startup): Remove variable and all uses.
17519 (command-line): Set `inhibit-x-resources' instead.
17520 (command-line-1): Use `inhibit-x-resources' instead.
17521
17522 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17523
17524 * subr.el: Fix last change to avoid using the `unless' macro,
17525 which breaks bootstrapping.
17526
17527 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17528
17529 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17530 extended definitions, in case we reload subr.el after having
17531 loaded CL.
17532 (eval-next-after-load): Mark as obsolete.
17533
17534 2009-09-17 Juri Linkov <juri@jurta.org>
17535
17536 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17537 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17538 (menu-bar-showhide-menu, menu-bar-tools-menu)
17539 (menu-bar-describe-menu, menu-bar-help-menu)
17540 (minibuffer-local-completion-map, minibuffer-local-map):
17541 Fix list quoting.
17542
17543 2009-09-17 Glenn Morris <rgm@gnu.org>
17544
17545 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17546 arguments, whether or not it has a handler.
17547
17548 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17549
17550 * simple.el (hard-newline): Give it a doc-string.
17551
17552 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17553 (lisp-mode-syntax-table): Give them doc-strings.
17554
17555 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17556
17557 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17558 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17559 (menu-bar-options-menu, menu-bar-showhide-menu)
17560 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17561 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17562 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17563 (menu-bar-options-menu, menu-bar-tools-menu)
17564 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17565 (menu-bar-help-menu):
17566 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17567 string arguments.
17568
17569 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17570 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17571 calls for the menu names and :help.
17572
17573 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17574
17575 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17576 to :minor-mode-function (bug#4455).
17577
17578 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17579
17580 * startup.el (command-line): Initialize the window-system after
17581 processing the command-line.
17582
17583 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17584 page-delimiter matches the empty string.
17585
17586 2009-09-16 Glenn Morris <rgm@gnu.org>
17587
17588 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17589 byte-compile-not-obsolete-var. It's a list now.
17590 (byte-compile-not-obsolete-funcs): New variable.
17591 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17592 byte-compile-not-obsolete-funcs.
17593 (byte-compile-variable-ref, byte-compile-defvar): Update for
17594 byte-compile-not-obsolete-vars name-change and list nature.
17595 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17596 and variables behind (f)boundp tests.
17597 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17598
17599 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17600
17601 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17602
17603 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17604
17605 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17606 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17607 Don't autoload.
17608
17609 2009-09-15 Stephen Eglen <stephen@gnu.org>
17610
17611 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17612 the virtual-buffers, use the name of the buffer specified by
17613 find-file-noselect, as the match may be a symlink. (This was a
17614 problem if the target and the symlink had different names.)
17615
17616 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17617
17618 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17619
17620 * desktop.el (desktop-path): Check user-emacs-directory.
17621
17622 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17623
17624 * loadup.el: Use after-load-functions to GC after loading each file.
17625 Remove the explicit GC calls that used to be sprinkled around.
17626
17627 * subr.el (after-load-functions): New hook.
17628 (do-after-load-evaluation): Run it. Use string-match-p to detect
17629 `obsolete' packages, rather than painfully extracting the relevant
17630 directory name.
17631
17632 2009-09-15 Glenn Morris <rgm@gnu.org>
17633
17634 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17635 free variable `doc'.
17636
17637 * dired.el (dired-mode-map): Add menu entry for async shell command.
17638
17639 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17640 variables, also consider the .elc files, since the .el files are
17641 normally gzipped (subsequent code locates the .el.gz from the .elc).
17642
17643 * calc/calc-prog.el (arglist): Define for compiler.
17644
17645 * calendar/diary-lib.el (diary-display-function): Change the default to
17646 fancy display.
17647 (body): Define for compiler.
17648
17649 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17650 (byte-compile-file-form, byte-compile-lambda)
17651 (byte-compile-top-level-body, byte-compile-form)
17652 (byte-compile-variable-ref, byte-compile-setq)
17653 (byte-compile-setq-default, byte-compile-body)
17654 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17655 (batch-byte-compile): Give some more local variables with common names
17656 a "bytecomp-" prefix to avoid masking warnings about free variables.
17657
17658 * startup.el (command-line-1): Give local variables with common names a
17659 distinguishing prefix, so as not to hide free variable warnings during
17660 bootstrap.
17661
17662 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17663 clever and add a suffix to make a unique name, just let the user decide
17664 whether or not to overwrite it. If the input is a directory, write the
17665 default filename to that directory. (Bug#4388)
17666 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17667 is a filename-as-a-directory.
17668
17669 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17670
17671 * textmodes/page.el (what-page): Don't move to beginning of line.
17672 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17673
17674 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17675
17676 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17677
17678 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17679
17680 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17681 * help.el (help-for-help-internal): Add purecopy calls for text.
17682
17683 * vc.el (top): print-log method now takes an optional SHORTLOG
17684 argument. Add a new method: root.
17685 (vc-root-diff, vc-print-root-log): New functions.
17686 (vc-log-short-style): New variable.
17687 (vc-print-log-internal): Add support for showing short logs.
17688
17689 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17690 vc-print-root-log and vc-print-root-diff.
17691
17692 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17693 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17694 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17695 short logs.
17696
17697 * vc-cvs.el (vc-cvs-print-log):
17698 * vc-mtn.el (vc-mtn-print-log):
17699 * vc-rcs.el (vc-rcs-print-log):
17700 * vc-sccs.el (vc-sccs-print-log):
17701 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17702 that is ignored for now.
17703
17704 * vc-mtn.el (vc-mtn-annotate-command):
17705 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17706
17707 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17708
17709 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17710 to function-key-map, and give them ascii-character property.
17711 * term/x-win.el (x-alternatives-map):
17712 * term/ns-win.el (ns-alternatives-map):
17713 * term/internal.el (msdos-key-remapping-map):
17714 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17715
17716 2009-09-14 Glenn Morris <rgm@gnu.org>
17717
17718 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17719 temp-buffers (2009-09-12).
17720
17721 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17722
17723 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17724 the new read-key function.
17725
17726 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17727
17728 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17729 is defined (Bug#4405).
17730
17731 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17732
17733 * recentf.el (recentf-cleanup): Use a hash table to find
17734 duplicates (Bug#4407).
17735
17736 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17737
17738 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17739 kp-0 to ascii equivalents (Bug#4325).
17740
17741 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17742
17743 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17744
17745 * eshell/em-hist.el:
17746 * eshell/em-dirs.el (eshell-complete-user-reference):
17747 Declare pcomplete functions and variables to avoid compiler warnings.
17748
17749 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17750
17751 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17752 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17753 * eshell/em-alias.el (eshell-aliases-file):
17754 * eshell/em-hist.el (eshell-history-file-name):
17755 Use expand-file-name instead of concat to make file names (Bug#4308).
17756
17757 2009-09-13 Glenn Morris <rgm@gnu.org>
17758
17759 * ediff-merg.el (ediff-do-merge):
17760 * filesets.el (filesets-run-cmd):
17761 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17762 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17763 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17764 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17765 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17766 Replace empty `let's with `progn'.
17767
17768 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17769
17770 * mail/sendmail.el (send-mail-function):
17771 * tooltip.el (tooltip-mode):
17772 * simple.el (transient-mark-mode):
17773 * rfn-eshadow.el (file-name-shadow-mode):
17774 * frame.el (blink-cursor-mode):
17775 * font-core.el (global-font-lock-mode):
17776 * files.el (temporary-file-directory)
17777 (small-temporary-file-directory, auto-save-file-name-transforms):
17778 * epa-hook.el (auto-encryption-mode):
17779 * composite.el (global-auto-composition-mode):
17780 Use custom-initialize-delay.
17781 * startup.el (command-line): Don't explicitly call
17782 custom-reevaluate-setting for all the above vars.
17783 * custom.el (custom-initialize-safe-set)
17784 (custom-initialize-safe-default): Delete.
17785
17786 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17787
17788 * term/x-win.el (x-initialize-window-system):
17789 * term/w32-win.el (w32-initialize-window-system):
17790 * term/ns-win.el (ns-initialize-window-system): Don't call
17791 mouse-wheel-mode since it's enabled globally by default already.
17792
17793 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17794 actually define the variable, but only silences the byte-compiler.
17795 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17796 before looking it up.
17797 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17798 is changed.
17799
17800 2009-09-12 Glenn Morris <rgm@gnu.org>
17801
17802 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17803 1000.
17804 (elint-add-required-env): Don't beep on error.
17805 (elint-forms): In case of error, return ENV unchanged.
17806 (elint-init-env): Skip non-list forms.
17807 (elint-log): Handle unknown file positions.
17808
17809 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17810
17811 * epg.el (epg-make-context): Add autoload cookie.
17812 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17813 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17814 (epg-verify-string, epg-start-sign, epg-sign-file)
17815 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17816 (epg-encrypt-string, epg-start-export-keys)
17817 (epg-export-keys-to-file, epg-export-keys-to-string)
17818 (epg-start-import-keys, epg-import-keys-from-file)
17819 (epg-import-keys-from-string, epg-start-receive-keys)
17820 (epg-receive-keys, epg-import-keys-from-server)
17821 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17822 (epg-sign-keys, epg-start-generate-key)
17823 (epg-generate-key-from-file, epg-generate-key-from-string):
17824 Remove autoload cookie.
17825
17826 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17827
17828 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17829 reevaluation of trash-directory.
17830
17831 * mwheel.el: Fix last change.
17832 (mouse-wheel-mode): New defvar.
17833 (mouse-wheel-mode): Remove autoload cookie.
17834
17835 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17836
17837 * mwheel.el (mwheel-installed-bindings): New var.
17838 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17839 the bindings we set last time. Use custom-initialize-delay.
17840 * loadup.el: Load mwheel after term/*-win.el.
17841 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17842 and mouse-wheel-up-event now that their first evaluation is done
17843 sufficiently late to be correct.
17844
17845 * startup.el (tutorial-directory): Make it a defcustom.
17846 Use custom-initialize-delay rather than eval-at-startup to set it.
17847 * image.el (image-load-path): Make it a defcustom.
17848 Use custom-initialize-delay rather than eval-at-startup to set it.
17849 * subr.el (eval-at-startup): Remove.
17850 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17851
17852 * subr.el (do-after-load-evaluation): Warn the user after loading an
17853 obsolete package.
17854
17855 2009-09-12 Glenn Morris <rgm@gnu.org>
17856
17857 * proced.el (proced-mark-alt): Remove alias.
17858 (proced-mode-map): Remove proced-mark-alt.
17859
17860 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17861 Elint file and directory. Remove initialization entry.
17862
17863 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17864 commands.
17865 (elint-current-buffer): Set mode-line-process.
17866 (elint-init-env): Handle define-derived-mode.
17867 Fix declare-function with unspecified arglist. Guard against odd
17868 defalias statements (eg iso-insert's 8859-1-map).
17869 (elint-add-required-env): Use a temp buffer.
17870 (elint-form): Just print the function/macro name, not the whole form.
17871 Return env unchanged if we fail to parse a macro.
17872 (elint-forms): Guard against parse errors.
17873 (elint-output): New function, to handle batch mode.
17874 (elint-log-message): Add optional argument. Use elint-output.
17875 (elint-set-mode-line): New function.
17876
17877 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17878
17879 * emacs-lisp/elp.el (elp-not-profilable): Add more
17880 functions (Bug#4233).
17881
17882 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17883
17884 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17885 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17886
17887 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17888
17889 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17890 (gdb-var-list-children): Use json parsing.
17891
17892 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17893
17894 * progmodes/js.el (js--proper-indentation): Handle the case where
17895 char-before is null. Reported by Deniz Dogan.
17896
17897 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17898
17899 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17900
17901 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17902
17903 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17904 (epg-digest-algorithm-alist): Add SHA224.
17905 (epg-context-set-passphrase-callback)
17906 (epg-context-set-progress-callback): Add description about
17907 callback function.
17908
17909 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17910
17911 * custom.el (custom-delayed-init-variables): New var.
17912 (custom-initialize-delay): New function.
17913 * startup.el (command-line): "Re"evaluate all vars in
17914 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17915 explicitly any more.
17916 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17917 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17918
17919 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17920
17921 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17922
17923 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17924 (gdb-var-update-handler): Use json parsing.
17925
17926 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17927
17928 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17929 decode annotated text, regardless of language environment. (Bug#2741)
17930
17931 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17932
17933 * Makefile.in (autoloads): Make rmail.el writable as well.
17934
17935 2009-09-11 Glenn Morris <rgm@gnu.org>
17936
17937 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17938 loaddefs.el.
17939 * dired.el: Regenerate with extracted autoloads.
17940 * Makefile.in (autoloads): Make dired.el writable.
17941
17942 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17943 * ibuffer.el: Regenerate with extracted autoloads.
17944 * Makefile.in (autoloads): Make ibuffer.el writable.
17945
17946 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17947 * version.el (emacs-copyright, emacs-major-version)
17948 (emacs-minor-version): Reformat doc-strings for make-docfile.
17949
17950 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17951 functions and variables, since they must be stuff specific to some other
17952 platform.
17953 (apropos-print): Make mouse-click message less specific about button.
17954
17955 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17956 that records where a macro was defined.
17957 * help-fns.el (describe-function-1): Mention if a function has a
17958 compiler-macro.
17959 * help-mode.el (help-function-cmacro): New button.
17960
17961 * locate.el (top-level): Always require dired.
17962 (locate-mode-map): Initialize inside the defvar.
17963
17964 * net/ange-ftp.el (dired-compress-file): Declare.
17965 (ange-ftp-dired-compress-file): Add doc string.
17966
17967 * term/ns-win.el (x-display-name, x-setup-function-keys):
17968 Unify doc-strings with X versions.
17969
17970 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17971
17972 * emulation/crisp.el (crisp-mode-map): Move initialization
17973 into declaration.
17974 (crisp-mode): Use define-minor-mode.
17975
17976 * progmodes/xscheme.el (xscheme-evaluation-commands):
17977 Put a :advertised-binding property rather than using
17978 advertised-xscheme-send-previous-expression.
17979 (advertised-xscheme-send-previous-expression): Declare obsolete.
17980 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17981 `advertised-undo'.
17982 (crisp-mode): Add corresponding bindings to
17983 undo's :advertised-binding instead.
17984 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17985 than using dired-advertised-find-file.
17986 (dired-advertised-find-file):
17987 * simple.el (advertised-undo):
17988 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17989 (widget-keymap): Put a :advertised-binding property rather
17990 than using advertised-widget-backward.
17991 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17992 than using advertised-undo.
17993 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17994
17995 2009-09-10 Simon South <ssouth@slowcomputing.org>
17996
17997 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17998 Mark mode is enabled and region is active; otherwise indent or
17999 insert TAB as usual.
18000 (delphi-mode): Update description of TAB-key binding.
18001
18002 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18003
18004 * subr.el (define-key-rebound-commands): Mark obsolete.
18005 * startup.el (precompute-menubar-bindings): Remove.
18006 (normal-top-level): Remove obsolete code that tried to precompute
18007 menubar bindings.
18008 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18009 define-key-rebound-commands and precompute-menubar-bindings.
18010
18011 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18012
18013 * net/imap.el (imap-interactive-login): Better messages.
18014 (imap-open): Fix bug with renamed buffer on reconnect.
18015 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18016 for easier debugging and cleaner code. On successful (guessed based on
18017 server capabilities) secondary authentication, set imap-state
18018 correctly.
18019 (imap-last-authenticator): Define imap-last-authenticator as a variable
18020 to avoid warnings.
18021
18022 2009-09-10 Glenn Morris <rgm@gnu.org>
18023
18024 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18025
18026 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18027 (byte-compile-file-form-autoload): Don't warn about unknown functions
18028 where the autoload statement comes after the use.
18029 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18030 that any handlers inside the body (eg require) are in turn respected.
18031
18032 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18033 effects.
18034
18035 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18036 and syntax and abbrev tables basic docs, if they don't have any.
18037
18038 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18039
18040 * international/mule-cmds.el (top-level): Require cl when compiling.
18041 (view-hello-file): Use default-value rather than
18042 default-enable-multibyte-characters.
18043
18044 * progmodes/fortran.el: Move all safe and risky properties into the
18045 defcustoms.
18046
18047 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18048 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18049 * mail/undigest.el:
18050 Put autoloads in rmail.el rather than loaddefs.el.
18051 * mail/rmail.el: Regenerate with extracted autoloads.
18052
18053 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18054 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18055
18056 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18057
18058 Reported in thread for Bug#4375.
18059 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18060 "-data-evaluate-expression" instead of print.
18061 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18062 (gdb-tooltip-print): Parse output from above MI command.
18063 (gdb): Revert 2009-08-11 change. User should detach inferior
18064 manually.
18065
18066 Remove the word "separate" from IO functions as inferior
18067 output is now never displayed in the GUD buffer.
18068
18069 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18070
18071 * startup.el (command-line-normalize-file-name): On Windows and
18072 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18073
18074 2009-09-10 Juri Linkov <juri@jurta.org>
18075
18076 * isearch.el (isearch-text-char-description): Propertize escape
18077 character sequences with the `escape-glyph' face. (Bug#4344)
18078
18079 * simple.el (shell-command): Set asynchronous process filter to
18080 `comint-output-filter'. (Bug#4343)
18081
18082 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18083 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18084 the list. Move "asm" to the bottom.
18085 (grep-find-ignored-directories): Add `choice' with nil value
18086 to empty the list easily.
18087 (grep-find-ignored-files): New option.
18088 (grep-files-history): Set to nil by default instead of '("ch" "el").
18089 (grep-compute-defaults): Add "<X>" to `grep-template'.
18090 (grep-read-files): Bind new local variables `default-alias' and
18091 `default-extension'. Use a list of default values for the file prompt.
18092 (lgrep): Add `--exclude=' command line options composed from
18093 `grep-find-ignored-files'.
18094 (rgrep): Add `-name' command line options composed from
18095 `grep-find-ignored-files'. (Bug#4301)
18096
18097 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18098
18099 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18100 (bug#4368).
18101
18102 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18103
18104 * calendar/time-date.el (autoload):
18105 Expand define-obsolete-function-alias into defalias and make-obsolete
18106 for old Emacsen that Gnus supports.
18107 (with-no-warnings): Define it for old Emacsen.
18108 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18109 is available.
18110 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18111 float-time is available; suppress compile warning for time-to-seconds.
18112
18113 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18114
18115 * net/imap.el (imap-message-map): Docstring fix.
18116
18117 2009-09-09 Glenn Morris <rgm@gnu.org>
18118
18119 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18120 line numbers too. (Bug#4374)
18121
18122 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18123
18124 * smerge-mode.el (smerge-remove-props, smerge-refine):
18125 Use with-silent-modifications (bug#4342).
18126
18127 * subr.el (with-silent-modifications): New macro.
18128
18129 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18130
18131 * files.el (top-level): Require `cl' when compiling.
18132
18133 2009-09-07 Glenn Morris <rgm@gnu.org>
18134
18135 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18136
18137 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18138 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18139
18140 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18141
18142 * vc-git.el (vc-git-annotate-command): Use separator to parse
18143 arguments correctly.
18144
18145 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18146
18147 * proced.el (proced-mode): Doc fix.
18148
18149 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18150
18151 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18152 lstat fails.
18153 (tramp-do-file-attributes-with-ls): Check for file existence at
18154 remote end.
18155 (tramp-do-file-attributes-with-stat): Likewise.
18156 (tramp-convert-file-attributes): Return nil when attr is nil.
18157
18158 2009-09-05 Glenn Morris <rgm@gnu.org>
18159
18160 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18161 properties to this button.
18162 (diary-fancy-display): Don't extend the button to the final newline.
18163 (diary-fancy-display-mode): Continue to define "q" as a local key.
18164
18165 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18166 efficient.
18167
18168 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18169
18170 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18171 (byte-compile-dest-file-function): New option.
18172 (byte-compile-dest-file): Doc fix.
18173 Obey byte-compile-dest-file-function.
18174 (byte-compile-cl-file-p): New function.
18175 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18176 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18177 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18178 than for file being previously loaded.
18179 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18180 (byte-compile-file-form-require): Handle the case where requiring a file
18181 indirectly causes CL to be loaded.
18182
18183 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18184
18185 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18186 before killing the old buffer, since by the time `kill-buffer' is
18187 run so many buffer variables have been set to nil that it may not
18188 behave as expected. (Bug#4061)
18189
18190 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18191
18192 * files.el (find-alternate-file): If the old buffer is modified
18193 and visiting a file, behave similarly to `kill-buffer' when
18194 killing it, thus reverting to the pre-1.878 behavior; see
18195 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18196 for discussion. Also, consult `buffer-file-name' as a variable
18197 not as a function, for consistency with the rest of the code.
18198
18199 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18200
18201 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18202 also when adding a new directory.
18203
18204 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18205 New defun.
18206
18207 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18208
18209 * files.el (locate-file-completion-table): Make it provide boundary
18210 information, so partial-completion works better.
18211
18212 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18213
18214 * mail/footnote.el (Footnote-text-under-cursor):
18215 Check footnote-text-marker-alist before using it (bug#4324).
18216
18217 2009-09-04 Glenn Morris <rgm@gnu.org>
18218
18219 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18220 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18221 * play/solitaire.el, play/tetris.el:
18222 Remove leading * from defcustom and defface docs.
18223
18224 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18225 necessary.
18226 (diary-fancy-overriding-map): New variable.
18227 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18228 Use view-mode.
18229
18230 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18231 goto-line.
18232
18233 2009-09-03 Glenn Morris <rgm@gnu.org>
18234
18235 * arc-mode.el (archive-mode):
18236 * dos-fns.el (set-default-process-coding-system):
18237 * man.el (Man-getpage-in-background):
18238 * menu-bar.el (menu-bar-describe-menu):
18239 * server.el (server-process-filter):
18240 * startup.el (command-line):
18241 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18242 * w32-fns.el (set-default-process-coding-system):
18243 * x-dnd.el (x-dnd-handle-file-name):
18244 * international/mule-cmds.el (mule-menu-keymap)
18245 (set-default-coding-systems, language-info-alist, set-language-info)
18246 (set-language-environment, standard-display-european-internal)
18247 (set-locale-environment):
18248 * international/mule-diag.el (mule-diag):
18249 * mail/emacsbug.el (report-emacs-bug):
18250 * mail/rmail.el (rmail-mode):
18251 * mail/sendmail.el (mail-setup):
18252 Use default-value rather than default-enable-multibyte-characters.
18253
18254 * progmodes/f90.el: Move all safe properties into the defcustoms.
18255 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18256
18257 * calendar/appt.el (appt-check):
18258 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18259 (diary-check-diary-file, diary-list-entries)
18260 (diary-include-other-diary-files, diary-simple-display)
18261 (diary-fancy-display, diary-print-entries)
18262 (diary-mark-included-diary-files, diary-make-entry):
18263 Don't call substitute-in-file-name on diary-file.
18264
18265 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18266 Stefan Monnier <monnier@iro.umontreal.ca>
18267
18268 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18269 (footnote-mode-map): Move initialization into the declaration.
18270 (footnote-minor-mode-map): Define it rather than changing global-map.
18271 (footnote-mode): Use define-minor-mode.
18272
18273 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18274
18275 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18276 (tramp-do-file-attributes-with-perl)
18277 (tramp-do-file-attributes-with-stat): Rename from
18278 `tramp-handle-file-attributes-with-*'.
18279 (tramp-handle-file-attributes): Use them.
18280 (tramp-do-directory-files-and-attributes-with-perl)
18281 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18282 `tramp-handle-directory-files-and-attributes-with-*'.
18283 (tramp-handle-directory-files-and-attributes): Use them.
18284 (tramp-method-out-of-band-p): Additional parameter SIZE.
18285 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18286 (tramp-handle-write-region): Use it.
18287 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18288 (tramp-handle-vc-registered): Check, whether the first run did
18289 return files to be tested.
18290 (tramp-advice-make-auto-save-file-name): Do not call directly
18291 `tramp-handle-make-auto-save-file-name', because this would bypass
18292 the locking mechanism.
18293
18294 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18295 (file-remote-p, process-file, start-file-process, set-file-times)
18296 (tramp-compat-file-attributes): Compatibility functions shall not
18297 call directly `tramp-handle-*', because this would bypass the
18298 locking mechanism.
18299 (tramp-compat-number-sequence): New defun.
18300
18301 2009-09-02 Glenn Morris <rgm@gnu.org>
18302
18303 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18304 alias for float-time.
18305 (time-to-number-of-days): In Emacs, use float-time.
18306 * net/newst-backend.el (time-add): Suppress warnings from compat
18307 function.
18308 * time.el (emacs-uptime, emacs-init-time):
18309 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18310 Use float-time rather than time-to-seconds.
18311
18312 * minibuffer.el (completion-initials-expand): Fix typo.
18313
18314 * faces.el (modeline, modeline-inactive, modeline-highlight)
18315 (modeline-buffer-id):
18316 * info.el (info-menu-5): Mark these face aliases as obsolete.
18317
18318 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18319
18320 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18321 space ...
18322 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18323 no "--thread" option.
18324 (gdb-stopped): Don't print "Switched to thread" message when it is
18325 unchanged.
18326
18327 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18328
18329 * minibuffer.el (completion-try-completion)
18330 (completion-all-completions): Remove ill-defined (and
18331 mistakenly installed and luckily never used nor documented)
18332 `completion-styles' property.
18333 (completion-initials-expand, completion-initials-all-completions)
18334 (completion-initials-try-completion): New functions.
18335 (completion-styles-alist): Add doc to each entry.
18336 Add new `initials' entry.
18337
18338 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18339
18340 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18341 MI command -var-evaluate-expression.
18342 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18343 and tweak for case of string child.
18344 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18345
18346 2009-09-01 Glenn Morris <rgm@gnu.org>
18347
18348 * add-log.el (change-log-date-face, change-log-name-face)
18349 (change-log-email-face, change-log-file-face, change-log-list-face)
18350 (change-log-conditionals-face, change-log-function-face)
18351 (change-log-acknowledgement-face):
18352 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18353 (custom-modified-face, custom-set-face, custom-changed-face)
18354 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18355 (custom-documentation-face, custom-state-face, custom-comment-face)
18356 (custom-comment-tag-face, custom-variable-tag-face)
18357 (custom-variable-button-face, custom-face-tag-face)
18358 (custom-group-tag-face-1, custom-group-tag-face):
18359 * diff-mode.el (diff-header-face, diff-file-header-face)
18360 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18361 (diff-added-face, diff-changed-face, diff-function-face)
18362 (diff-context-face, diff-nonexistent-face):
18363 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18364 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18365 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18366 (Info-title-4-face):
18367 * isearch.el (isearch-lazy-highlight-face):
18368 * log-view.el (log-view-file-face, log-view-message-face):
18369 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18370 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18371 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18372 (cvs-msg-face):
18373 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18374 (smerge-base-face, smerge-markers-face):
18375 * wid-edit.el (widget-documentation-face, widget-button-face)
18376 (widget-field-face, widget-single-line-field-face)
18377 (widget-inactive-face, widget-button-pressed-face):
18378 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18379 (woman-addition-face):
18380 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18381 (eshell-ls-executable-face, eshell-ls-readonly-face)
18382 (eshell-ls-unreadable-face, eshell-ls-special-face)
18383 (eshell-ls-missing-face, eshell-ls-archive-face)
18384 (eshell-ls-backup-face, eshell-ls-product-face)
18385 (eshell-ls-clutter-face):
18386 * eshell/em-prompt.el (eshell-prompt-face):
18387 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18388 * obsolete/old-whitespace.el (whitespace-highlight-face):
18389 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18390 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18391 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18392 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18393 (antlr-font-lock-literal-face):
18394 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18395 (ebrowse-root-class-face, ebrowse-file-name-face)
18396 (ebrowse-default-face, ebrowse-member-attribute-face)
18397 (ebrowse-member-class-face, ebrowse-progress-face):
18398 * progmodes/make-mode.el (makefile-space-face):
18399 * progmodes/sh-script.el (sh-heredoc-face):
18400 * textmodes/flyspell.el (flyspell-incorrect-face)
18401 (flyspell-duplicate-face):
18402 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18403 * textmodes/texinfo.el (texinfo-heading-face):
18404 Mark face aliases with "-face" suffix as obsolete.
18405
18406 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18407 compiler.
18408
18409 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18410 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18411 easy-menu-define wants to modify these.
18412
18413 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18414
18415 * net/browse-url.el (browse-url-file-url):
18416 * term/internal.el (dos-codepage-setup):
18417 Use default-value rather than default-enable-multibyte-characters.
18418
18419 * progmodes/etags.el (etags-goto-tag-location):
18420 * progmodes/flymake.el (flymake-highlight-line)
18421 (flymake-goto-file-and-line, flymake-goto-line):
18422 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18423 (gdb-goto-breakpoint):
18424 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18425 * progmodes/python.el (python-find-function)
18426 (python-pdbtrack-track-stack-file):
18427 * progmodes/verilog-mode.el (verilog-surelint-off):
18428 * term/ns-win.el (ns-open-file-select-line):
18429 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18430 Use forward-line rather than goto-line.
18431
18432 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18433 * textmodes/reftex-index.el (reftex-display-index):
18434 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18435 * textmodes/reftex-toc.el (reftex-toc):
18436 Remove unnecessary bindings of default-major-mode (all are followed by
18437 major-mode check and possible mode switch).
18438
18439 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18440
18441 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18442 Handle watchpoints (bug#4282).
18443 (def-gdb-thread-buffer-command): Enable thread to be selected by
18444 clicking without selecting threads buffer first.
18445 (gdb-current-context-command): Use selected frame so that "up",
18446 "down" etc work in the GUD buffer.
18447 (gdb-update): Find selected frame before rendering stack buffer.
18448 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18449
18450 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18451
18452 * progmodes/sym-comp.el (displayed-completions): Remove.
18453 (symbol-complete): Use minibuffer-complete.
18454
18455 2009-08-31 Glenn Morris <rgm@gnu.org>
18456
18457 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18458
18459 * apropos.el (apropos-symbols-internal):
18460 Handle (obsolete) face aliases.
18461
18462 * faces.el (describe-face): Adjust the output format to be more like
18463 describe-variable, and to mention (obsolete) face aliases.
18464 Adjust the whitespace so that help-setup-xref works.
18465
18466 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18467 * calendar/diary-lib.el (diary-button-face):
18468 Mark these face aliases as obsolete.
18469
18470 * calendar/calendar.el (calendar-today): Doc fix.
18471
18472 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18473
18474 * progmodes/gdb-mi.el (gdb-control-all-threads)
18475 (gdb-control-current-thread): Force tool bar update.
18476 (gdb-non-stop-handler): New function.
18477 (gdb-init-1): Use it to test if non-stop mode is supported.
18478 Remove unused gdbmi buffer type.
18479
18480 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18481
18482 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18483 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18484
18485 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18486
18487 * comint.el (comint-exec-1): Check command is non-null first.
18488 Part of gdb-mi.el change (2009-08-28).
18489
18490 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18491
18492 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18493
18494 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18495
18496 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18497 instead of `dolist' to avoid a recursive require when bootstrapping.
18498
18499 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18500
18501 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18502
18503 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18504
18505 * net/imap.el (imap-send-command): Simplify.
18506 (imap-wait-for-tag): point-max -> buffer-size.
18507
18508 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18509
18510 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18511 with constant argument.
18512
18513 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18514
18515 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18516
18517 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18518 Change default, since most of our files don't have a history.
18519 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18520 the user.
18521
18522 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18523 Add comint-run.
18524
18525 * calc/calc.el: Improve commenting convention.
18526 (calc-digit-map, toplevel): Simplify.
18527
18528 * comint.el (comint-insert-input): Be careful to only set point if we
18529 don't delegate to some other command.
18530
18531 * proced.el (proced-signal-list): Make it an alist.
18532 (proced-grammar-alist): Capitalize names.
18533 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18534 Disable undo manually and make it read-only.
18535 Use completion-annotate-function.
18536
18537 * minibuffer.el (minibuffer-message): If the current buffer is not
18538 a minibuffer, insert the message in the echo area rather than at the
18539 end of the buffer.
18540 (completion-annotate-function): New variable.
18541 (minibuffer-completion-help): Use it.
18542 (completion--embedded-envvar-table): Environment vars are
18543 always case-sensitive.
18544
18545 2009-08-30 Glenn Morris <rgm@gnu.org>
18546
18547 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18548 from fortran-current-defun.
18549 (fortran-beginning-of-subprogram): Be more precise about finding the
18550 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18551 (fortran-end-of-subprogram): Simplify.
18552 (fortran-current-defun): Use fortran-start-prog-re.
18553
18554 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18555
18556 * subr.el (do-after-load-evaluation): Simplify.
18557
18558 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18559
18560 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18561
18562 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18563 (vc-rcs-print-log): Use it.
18564
18565 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18566
18567 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18568
18569 * paths.el (abbrev-file-name): Move to abbrev.el.
18570 * abbrev.el (abbrev-file-name): Move from paths.el.
18571 Obey user-emacs-directory.
18572 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18573 user-emacs-directory.
18574 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18575 abbrev-file-name and calc-settings-file any more.
18576 * startup.el (command-line): Recompute abbrev-file-name and
18577 abbreviated-home-dir.
18578 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18579 of the special code for when C-h bindings haven't been changed.
18580 (display-startup-echo-area-message): Use with-current-buffer.
18581 (command-line-1): Use a list of strings, rather than a list of lists
18582 of strings for longopts.
18583
18584 * files.el (get-free-disk-space): Use / for default-directory.
18585
18586 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18587 Use with-current-buffer.
18588
18589 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18590 Recognize immutable variables like most-positive-fixnum.
18591 (byte-compile-setq-default): Check and warn if trying to assign
18592 to an immutable variable, or a non-variable.
18593
18594 * progmodes/cc-vars.el (c-comment-continuation-stars):
18595 * progmodes/cc-engine.el (c-looking-at-bos):
18596 * progmodes/cc-cmds.el (c-toggle-auto-state)
18597 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18598 (c-comment-line-break-function): Add version of obsolescence.
18599
18600 2009-08-28 Juri Linkov <juri@jurta.org>
18601
18602 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18603 associated with `archive-mode'.
18604
18605 * image.el (image-type-header-regexps): Use only JPEG magic number
18606 to determine JPEG images, and don't use `image-jpeg-p' because
18607 Emacs can display non-JFIF non-Exif JPEG images.
18608
18609 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18610
18611 * arc-mode.el (archive-mode):
18612 * emacs-lisp/re-builder.el (re-builder-unload-function):
18613 Protect against the default value of `major-mode' being nil.
18614
18615 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18616
18617 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18618 Fix typos in docstrings.
18619
18620 * progmodes/js.el (js--macro-decl-re): Doc fix.
18621 (js--plain-method-re, js--split-name): Refloc docstring.
18622 (js--class-styles, js--make-merged-item, js--splice-into-items):
18623 Fix typos in docstrings; reflow docstrings.
18624 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18625 (js--variable-decl-matcher, js--inside-pitem-p)
18626 (js--parse-state-at-point, js--get-all-known-symbols)
18627 (js--symbol-history, js-find-symbol, js--js-references)
18628 (js--moz-interactor, js--js-encode-value, js--read-tab):
18629 Fix typos in docstrings.
18630
18631 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18632
18633 * textmodes/reftex.el (reftex-get-file-buffer-force):
18634 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18635 * emulation/viper.el (viper-go-away, viper-set-hooks):
18636 * emacs-lisp/re-builder.el (re-builder-unload-function):
18637 * emacs-lisp/bytecomp.el (byte-compile-file):
18638 * ses.el (ses-unload-function):
18639 * hexl.el (hexl-find-file):
18640 * files.el (normal-mode):
18641 * ehelp.el (with-electric-help):
18642 * autoinsert.el (auto-insert-alist):
18643 * arc-mode.el (archive-mode):
18644 Use (default-value 'major-mode) instead of default-major-mode.
18645
18646 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18647 * international/mule.el (load-with-code-conversion):
18648 * emacs-lisp/debug.el (debug):
18649 * ediff-vers.el (ediff-rcs-get-output-buffer):
18650 * dired.el (dired-internal-noselect): Don't let-bind
18651 default-major-mode around code that doesn't use it.
18652 E.g. buffer creation via get-buffer-create doesn't use it.
18653
18654 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18655
18656 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18657 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18658 when writing the temp file. Otherwise, epa-file gets confused.
18659 (tramp-register-file-name-handlers): Make it a defun. Move also
18660 `epa-file-handler' to the front of `file-name-handler-alist'.
18661
18662 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18663
18664 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18665 start right after a ^M.
18666 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18667 (tramp-completion-file-name-regexp-separate)
18668 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18669 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18670 Don't modify last-coding-system-used by accident.
18671 (tramp-completion-file-name-handler): Apply the checks here,
18672 instead during registration.
18673 (tramp-register-file-name-handlers): Rename from
18674 `tramp-register-file-name-handler'. Register both
18675 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18676 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18677
18678 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18679
18680 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18681 Remove variable ...
18682 (gdb-init-1, gdb-display-separate-io-buffer)
18683 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18684 references to it.
18685 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18686 (gdb-inferior-filter): Use comint-output-filter to stop
18687 echoing and remove ^M characters.
18688
18689 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18690
18691 * emulation/viper-init.el (viper-restore-cursor-type):
18692 * emulation/cua-base.el (cua--update-indications):
18693 Replace default-cursor-type with (default-value 'cursor-type).
18694
18695 * mail/sendmail.el (mail-recover-1):
18696 * international/mule-diag.el (describe-current-coding-system-briefly)
18697 (describe-current-coding-system):
18698 * international/mule-cmds.el (select-safe-coding-system)
18699 (select-message-coding-system)
18700 (set-language-environment-coding-systems, set-locale-environment):
18701 * hexl.el (hexl-insert-multibyte-char):
18702 * dos-w32.el (find-buffer-file-type-coding-system):
18703 * simple.el (what-cursor-position):
18704 Replace uses of default-buffer-file-coding-system
18705 with (default-value 'buffer-file-coding-system).
18706
18707 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18708 Replace uses of default-cursor-in-non-selected-windows
18709 with (default-value 'cursor-in-non-selected-windows).
18710 Use with-current-buffer.
18711
18712 * mail/feedmail.el: Use CL macros.
18713 (feedmail-run-the-queue, feedmail-send-it-immediately):
18714 * dos-w32.el (find-buffer-file-type): Replace uses of
18715 default-buffer-file-type with (default-value 'buffer-file-type).
18716
18717 2009-08-28 Glenn Morris <rgm@gnu.org>
18718
18719 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18720 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18721 Use default-value of major-mode rather than default-major-mode.
18722
18723 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18724
18725 * Makefile.in (update-elcfiles): Report left over elc files.
18726
18727 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18728 expand-file-name and with-current-buffer.
18729 (mail-get-names, mail-directory): Use with-current-buffer.
18730
18731 * vc.el (vc-read-revision): New function.
18732 (vc-version-diff, vc-merge): Use it.
18733
18734 2009-08-27 Sam Steingold <sds@gnu.org>
18735
18736 * simple.el (kill-do-not-save-duplicates): New user option.
18737 (kill-new): When it is non-nil, and the new string is the same as
18738 the latest kill, set replace to t to avoid duplicates in kill-ring.
18739
18740 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18741
18742 * net/tramp.el (tramp-handle-process-file): Do not flush all
18743 caches when `process-file-side-effects' is set.
18744 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18745 instead of `tramp-find-file-exists-command'.
18746 Unset `process-file-side-effects'.
18747
18748 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18749
18750 * net/tramp.el (tramp-methods): New method "rsyncc".
18751 (top): Add completion function for "rsyncc".
18752 (tramp-message-show-message): New defvar.
18753 (tramp-message, tramp-error): Use it.
18754 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18755 remote copying.
18756 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18757 `tramp-methods' entry `copy-env' of "rsyncc".
18758 (tramp-vc-registered-read-file-names): New defconst.
18759 (tramp-vc-registered-file-names): New defvar.
18760 (tramp-handle-vc-registered): Implement optimization strategy.
18761 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18762 (tramp-vc-file-name-handler): New defun.
18763 (tramp-get-ls-command, tramp-get-test-command)
18764 (tramp-get-file-exists-command, tramp-get-remote-ln)
18765 (tramp-get-remote-perl, tramp-get-remote-stat)
18766 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18767
18768 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18769 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18770 timestamps.
18771 (tramp-get-file-property): Check for timestamps in
18772 `tramp-cache-inhibit-cache'.
18773 (tramp-set-file-property): Write timestamp.
18774
18775 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18776
18777 * language/japan-util.el (japanese-symbol-table): Add entries for
18778 cp932-2-byte.
18779
18780 * international/characters.el: Add category `j' to cp932-2-byte.
18781
18782 2009-08-27 Kenichi Handa <handa@m17n.org>
18783
18784 * international/fontset.el (build-default-fontset-data): New macro.
18785 (setup-default-fontset): Use build-default-fontset-data for CJK,
18786 tibetan, ethiopic, and ipa.
18787
18788 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18789
18790 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18791 (enable-multibyte-characters): Not customizable any more.
18792
18793 * subr.el (default-mode-line-format, default-header-line-format)
18794 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18795 (default-direction-reversed, default-truncate-lines)
18796 (default-left-margin, default-tab-width, default-case-fold-search)
18797 (default-left-margin-width, default-right-margin-width)
18798 (default-left-fringe-width, default-right-fringe-width)
18799 (default-fringes-outside-margins, default-scroll-bar-width)
18800 (default-vertical-scroll-bar, default-indicate-empty-lines)
18801 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18802 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18803 (default-scroll-down-aggressively, default-fill-column)
18804 (default-cursor-type, default-buffer-file-type)
18805 (default-cursor-in-non-selected-windows)
18806 (default-buffer-file-coding-system, default-major-mode)
18807 (default-enable-multibyte-characters): Mark as obsolete.
18808
18809 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18810
18811 * vc-dir.el (vc-dir-update): Remove debug helper.
18812
18813 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18814
18815 2009-08-26 Sam Steingold <sds@gnu.org>
18816
18817 * simple.el (save-interprogram-paste-before-kill): New user option.
18818 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18819 save the interprogram-paste into kill-ring before overriding it
18820 with the Emacs kill.
18821
18822 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18823
18824 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18825 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18826 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18827 and move to vc-rcs.el.
18828 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18829 move to vc-rcs.el.
18830 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18831 (vc-rcs-update-changelog): Remove.
18832 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18833 and move to vc-rcs.el.
18834
18835 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18836 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18837 renaming.
18838 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18839 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18840 vc.el, renamed to be RCS specific.
18841
18842 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18843 New functions.
18844 (vc-cvs-update-changelog): Move here from vc.el.
18845
18846 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18847 New functions.
18848
18849 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18850
18851 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18852
18853 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18854
18855 * vc-git.el (vc-git-register): Use "git add" for directories.
18856 (vc-git-stash, vc-git-stash-show): New functions.
18857 (vc-git-extra-menu-map): Bind them.
18858
18859 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18860 directory correctly in case the item is a directory itself.
18861
18862 * vc.el: Document the desired behavior for reverted files in the
18863 `added' state.
18864 (vc-default-prettify-state-info): Remove function, unused.
18865
18866 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18867
18868 2009-08-26 Glenn Morris <rgm@gnu.org>
18869
18870 * bindings.el (standard-mode-line-format): Reposition dashes in
18871 which-func entry. (Bug#4217)
18872
18873 * files.el (enable-local-variables, enable-local-eval)
18874 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18875 the defcustoms.
18876 (auto-mode-alist, ignored-local-variables)
18877 (save-some-buffers-action-alist): Move risky declarations to the
18878 definitions.
18879 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18880 (font-lock-defaults, format-alist, imenu--index-alist)
18881 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18882 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18883 (mode-line-modified, mode-line-mule-info, mode-line-position)
18884 (mode-line-process, mode-line-remote, outline-level)
18885 (parse-time-rules, rmail-output-file-alist)
18886 (special-display-buffer-names, vc-mode):
18887 Move risky declarations to the relevant files.
18888 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18889 (mode-line-modified, mode-line-process, mode-line-position)
18890 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18891 * font-core.el (font-lock-defaults):
18892 * format.el (format-alist):
18893 * vc-hooks.el (vc-mode):
18894 * window.el (special-display-buffer-names):
18895 * international/mule-cmds.el (input-method-alist):
18896 Define riskiness here (dumped file) rather than in files.el.
18897 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18898 * imenu.el (imenu-generic-expression, imenu--index-alist):
18899 * outline.el (outline-level):
18900 * time.el (display-time-string):
18901 * calendar/parse-time.el (parse-time-rules):
18902 * mail/rmailout.el (rmail-output-file-alist):
18903 Autoload riskiness here, rather than placing in files.el.
18904
18905 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18906
18907 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18908
18909 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18910
18911 * simple.el (process-file-side-effects): New defvar.
18912
18913 * dired-aux.el (dired-show-file-type):
18914 * vc.el (vc-diff-internal):
18915 * vc-arch.el (vc-arch-diff):
18916 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18917 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18918 * vc-git.el (vc-git-registered, vc-git-working-revision)
18919 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18920 (vc-git--empty-db-p):
18921 * vc-hooks.el (vc-user-login-name):
18922 * vc-svn.el (vc-svn-registered, vc-svn-state)
18923 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18924 * progmodes/grep.el (grep-probe): Let-bind
18925 `process-file-side-effects' with nil.
18926
18927 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18928
18929 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18930 daemon. Replace ping by checking for running service for bluez
18931 and zeroconf. (Bug#4239)
18932
18933 2009-08-25 Kevin Ryde <user42@zip.com.au>
18934
18935 * net/dig.el (dig): Add autoload cookie.
18936
18937 2009-08-25 Glenn Morris <rgm@gnu.org>
18938
18939 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18940 load-history for absolute file-names.
18941 (byte-compile-file-form-require): Warn about use of the cl package.
18942
18943 * format.el (format-alist): Doc fix.
18944
18945 * play/bubbles.el (top-level): Don't require cl at run-time.
18946
18947 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18948 run-time cl).
18949
18950 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18951
18952 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18953 from cl package.
18954 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18955
18956 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18957
18958 * calc/calc-alg.el (math-trig-rewrite)
18959 (math-hyperbolic-trig-rewrite): New functions.
18960 (calc-simplify): Simplify trig functions when asked.
18961
18962 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18963
18964 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18965
18966 2009-08-24 Kenichi Handa <handa@m17n.org>
18967
18968 * language/ind-util.el (mapthread): Delete it.
18969 (combinatorial): New function.
18970 (indian--puthash-cv): Use combinatorial instead of mapthread.
18971
18972 2009-08-22 Kevin Ryde <user42@zip.com.au>
18973
18974 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18975 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18976 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18977 Clarify docstring that the value is strings not symbols.
18978 (checkdoc-list-of-strings-p): New function.
18979
18980 2009-08-22 Glenn Morris <rgm@gnu.org>
18981
18982 * files.el (auto-mode-alist):
18983 * hippie-exp.el (he-concat-directory-file-name):
18984 * lpr.el (lpr-windows-system, printer-name):
18985 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18986 * ps-print.el (ps-windows-system):
18987 * startup.el (command-line):
18988 * emulation/viper-ex.el (viper-glob-function):
18989 * international/mule-cmds.el (set-language-environment-coding-systems):
18990 * net/ange-ftp.el (ange-ftp-write-region):
18991 * obsolete/fast-lock.el (fast-lock-cache-name):
18992 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18993 unisoft-unix, vax-vms, win32, w32.
18994
18995 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18996 given name if the pattern is not more specific.
18997
18998 * calendar/lunar.el (lunar-phase-names): New option.
18999 (lunar-phase): Doc fix.
19000 (lunar-cycles-per-year): New constant.
19001 (lunar-index): New function.
19002 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19003 (lunar-phase-name): Use lunar-phase-names.
19004 (calendar-lunar-phases): Use format.
19005 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19006
19007 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19008 Copy imenu-example--name-and-position function here for own use.
19009 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19010
19011 * bs.el (bs--redisplay):
19012 * cus-edit.el (custom-redraw):
19013 * ibuffer.el (ibuffer-bury-buffer):
19014 * server.el (server-goto-line-column):
19015 * startup.el (command-line-1):
19016 * strokes.el (strokes-xpm-for-stroke):
19017 * term.el (term-display-buffer-line):
19018 * view.el (View-goto-line):
19019 * calc/calc.el (calc-do, calc-trail-buffer):
19020 * play/gamegrid.el (gamegrid-add-score-insecure):
19021 * progmodes/ada-mode.el (ada-compile-goto-error):
19022 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19023 (ebrowse-select-1st-to-9nth):
19024 * progmodes/cperl-mode.el (cperl-time-fontification):
19025 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19026 * progmodes/gud.el (gud-display-line):
19027 (idlwave-shell-display-line):
19028 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19029 * progmodes/make-mode.el (makefile-browser-toggle):
19030 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19031 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19032 * textmodes/picture.el (picture-draw-rectangle):
19033 * textmodes/reftex-index.el (reftex-index-goto-letter):
19034 (reftex-select-jump-to-previous):
19035 * textmodes/reftex-sel.el (reftex-find-start-point)
19036 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19037 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19038 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19039 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19040 * textmodes/two-column.el (2C-associated-buffer):
19041 Use forward-line rather than goto-line.
19042
19043 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19044 goto-line.
19045
19046 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19047 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19048 (quick-check-list-to-regexp): Declare.
19049
19050 * progmodes/make-mode.el (makefile-browser-insert-selection):
19051 Use goto-char rather than goto-line.
19052
19053 * progmodes/prolog.el (compilation-error-regexp-alist)
19054 (compilation-forget-errors): Declare.
19055
19056 2009-08-22 Juri Linkov <juri@jurta.org>
19057
19058 * progmodes/grep.el (lgrep, rgrep): At the beginning
19059 set `dir' to `default-directory' unless `dir' is a non-nil
19060 readable directory. (Bug#4052)
19061 (lgrep, rgrep): Change a weird way to report an error
19062 from using `read-string' to using `error'.
19063 Instead of using interactive arguments in the function body,
19064 add new argument `confirm'.
19065
19066 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19067
19068 * textmodes/remember.el (remember-buffer):
19069 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19070 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19071 (icalendar-extract-ical-from-buffer):
19072 * net/newst-treeview.el (newsticker-groups-filename):
19073 * net/newst-backend.el (newsticker-cache-filename):
19074 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19075 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19076 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19077 (speedbar-buffers-line-path, speedbar-path-line)
19078 (speedbar-buffers-line-path):
19079 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19080 (epg-sign-keys):
19081 * epa.el (epa-display-verify-result):
19082 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19083
19084 2009-08-21 Glenn Morris <rgm@gnu.org>
19085
19086 * progmodes/js.el (inferior-moz-process): Fix declaration.
19087
19088 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19089
19090 * obsolete/rnewspost.el (news-mail-reply):
19091 Use goto-char rather than goto-line.
19092
19093 * term/ns-win.el (ns-open-file-select-line):
19094 Use line-beginning-position rather than goto-line.
19095
19096 * apropos.el (apropos-command):
19097 * ehelp.el (electric-helpify):
19098 * printing.el (pr-show-setup):
19099 * strokes.el (strokes-help):
19100 * tutorial.el (tutorial--describe-nonstandard-key)
19101 (tutorial--detailed-help):
19102 * woman.el (woman-mini-help, woman-display-extended-fonts):
19103 * calc/calc-help.el (calc-describe-key):
19104 * emulation/edt.el (edt-electric-helpify):
19105 * international/mule-diag.el (mule-diag):
19106 * play/yow.el (apropos-zippy):
19107 * progmodes/python.el (python-describe-symbol):
19108 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19109 * textmodes/table.el (*table--cell-describe-mode)
19110 (*table--cell-describe-bindings):
19111 Use help-print-return-message rather than the now obsolete alias.
19112
19113 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19114 (calendar-cursor-to-visible-date):
19115 * play/5x5.el (5x5-position-cursor):
19116 * play/decipher.el (decipher):
19117 * play/gomoku.el (gomoku-goto-xy):
19118 * play/landmark.el (lm-goto-xy):
19119 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19120 (mpuz-paint-digit):
19121 Use forward-line, not goto-line.
19122
19123 * mail/rmail.el (rmail-obsolete): Delete custom group.
19124 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19125 (rmail-remote-password, rmail-remote-password-required):
19126 Remove unneeded :set-after and :set properties.
19127
19128 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19129
19130 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19131
19132 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19133
19134 * loadup.el: Remove leftover macos code.
19135
19136 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19137 Explicitly pass the date format to git blame so that user local
19138 so that the output format can be parsed.
19139
19140 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19141
19142 * net/dbus.el (top): Don't check for (getenv
19143 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19144
19145 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19146
19147 * log-edit.el (log-edit-strip-single-file-name): New var.
19148 (log-edit-insert-changelog): Use it. Bug#3571
19149
19150 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19151
19152 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19153 Bug#3287
19154
19155 * help.el (help-print-return-message): Rename from
19156 print-help-return-message.
19157
19158 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19159 cvs-mode-map parent hack.
19160 (log-view-mode): Derive from special-mode.
19161
19162 * linum.el (linum-mode): window-size-change-functions is redundant.
19163 Adapt to new window-configuration-change-hook behavior.
19164 (linum-after-size, linum-after-config): Remove.
19165
19166 * imenu.el (imenu-example--name-and-position)
19167 (imenu-example--lisp-extract-index-name)
19168 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19169 Mark as obsolete.
19170
19171 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19172 (inferior-prolog-mode): Use it.
19173 (inferior-prolog-load-file): Reset list of errors.
19174
19175 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19176
19177 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19178
19179 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19180
19181 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19182
19183 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19184 is running already.
19185
19186 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19187
19188 * subr.el (listify-key-sequence-1): Use normal syntax since those
19189 integers are nowadays always represented by the same (positive) number
19190 on all platforms.
19191 (read-key-empty-map): New const.
19192 (read-key-delay): New var.
19193 (read-key): New function.
19194 (force-mode-line-update): Use with-current-buffer.
19195 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19196 (start-process-shell-command, start-file-process-shell-command):
19197 Discourage the use of command-args.
19198
19199 2009-08-19 Glenn Morris <rgm@gnu.org>
19200
19201 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19202
19203 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19204
19205 * simple.el (choose-completion-string): Don't rely on
19206 minibuffer-completing-file-name and ad-hoc checks to decide whether
19207 to continue completion or not.
19208
19209 * minibuffer.el (minibuffer-hide-completions): New function.
19210 (completion--do-completion): Use it.
19211 (completions-annotations): New face.
19212 (completion--insert-strings): Use it.
19213 (completion-pcm--delim-wild-regex): Add docstring.
19214 (completion-pcm--string->pattern): Add support for 0-width delimiters
19215 in completion-pcm--delim-wild-regex.
19216
19217 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19218
19219 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19220 Remove unused var `buffer-modified-p'.
19221
19222 * minibuffer.el (completion--do-completion): Move point for the #b001
19223 case as well (bug#4176).
19224 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19225
19226 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19227
19228 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19229 and :session buses.
19230
19231 2009-08-18 Kenichi Handa <handa@m17n.org>
19232
19233 * international/ucs-normalize.el (ucs-normalize-version):
19234 Change to 1.1.
19235 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19236 (utf-8-hfs): Make it perform normalization on encoding too.
19237
19238 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19239 (sentence-end-without-space): Delete duplicated chars.
19240 (sentence-end-base): Likewise.
19241
19242 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19243 (html-mode): Delete duplicated chars from sentence-end-base.
19244
19245 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19246 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19247
19248 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19249
19250 * files.el (hack-one-local-variable): If the mode function is for
19251 a minor mode, pass it an argument (Bug#4148).
19252
19253 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19254
19255 * net/tramp.el (tramp-register-completion-file-name-handler):
19256 Check also for (member 'partial-completion completion-styles).
19257
19258 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19259
19260 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19261 abbrev (Bug#3943).
19262
19263 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19264
19265 * progmodes/cperl-mode.el: Merge upstream 6.2.
19266 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19267 (cperl-forward-re): Check cperl-brace-recursing.
19268 (cperl-highlight-charclass): New function.
19269 (cperl-find-pods-heres): Use it.
19270 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19271 (cperl-beautify-regexp-piece): Fix column calculation.
19272 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19273 (cperl-beautify-level): Don't process entire regexp.
19274 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19275 calling man.
19276 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19277 (cperl-init-faces): Build a list in the normal way.
19278
19279 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19280
19281 * calendar/parse-time.el (parse-time-string-chars): Save match
19282 data.
19283
19284 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19285
19286 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19287 (sql-product): Use it.
19288 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19289 (sql-set-product): Add completion.
19290 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19291 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19292 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19293 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19294 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19295 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19296 (sql-highlight-db2-keywords): Remove.
19297 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19298 (sql-highlight-product): Use derived-mode-p.
19299 (sql-set-sqli-buffer): Use with-current-buffer.
19300 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19301 Simplify.
19302
19303 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19304
19305 * term.el: Fix commenting convention, turn comments into docstrings.
19306
19307 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19308
19309 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19310
19311 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19312
19313 * calendar/parse-time.el (parse-time-string-chars): Compute using
19314 character classes, to handle non-ascii characters (Bug#3190).
19315
19316 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19317
19318 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19319 another heredoc if the user adds another < (Bug#3226).
19320
19321 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19322 Don't initialize based on window-system (Bug#4124).
19323
19324 * facemenu.el (facemenu-read-color): Use a completion function
19325 that accepts any defined color, such as RGB triplets (Bug#3677).
19326
19327 * files.el (get-free-disk-space): Change fallback default
19328 directory to /. Expand DIR argument before switching to fallback.
19329 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19330
19331 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19332
19333 * files.el (load-library): Doc fix.
19334
19335 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19336
19337 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19338 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19339 incremental search string.
19340
19341 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19342 XEmacs.
19343
19344 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19345 (ediff-merge-region-is-non-clash)
19346 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19347 Also check if the job is really a merge job.
19348
19349 * ediff.el (ediff-current-file): New function.
19350
19351 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19352
19353 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19354 conventions.
19355 (js-insert-and-indent): Delete function.
19356 (js-mode-map): Don't bind keys to js-insert-and-indent.
19357 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19358 (js-end-of-defun): Rename from js--end-of-defun.
19359 (js-auto-indent-flag): Delete variable.
19360
19361 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19362
19363 * progmodes/js.el: Remove proclaim statement.
19364 Defvar which-func-imenu-joiner-function to silence compiler.
19365
19366 * files.el (auto-mode-alist): Use js-mode for .js files.
19367
19368 * progmodes/js2-mode.el: Remove file.
19369
19370 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19371
19372 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19373
19374 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19375
19376 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19377 Karl Landstrom <karl.landstrom@brgeight.se>
19378
19379 * progmodes/js.el: New file.
19380
19381 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19382
19383 * timezone.el (timezone-parse-date): Add ability to understand ISO
19384 basic format (minimal separators) dates in addition to the
19385 already-supported extended format dates.
19386
19387 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19388
19389 * international/ucs-normalize.el: Add a `coding' file variable.
19390
19391 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19392
19393 2009-08-14 Sam Steingold <sds@gnu.org>
19394
19395 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19396
19397 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19398
19399 * faces.el (help-argument-name): Define it here instead of
19400 help-fns.el, because in daemon mode help-fns.el may be loaded when
19401 faces are still uninitialized (Bug#1078).
19402
19403 * help-fns.el (help-argument-name): Move defface to faces.el.
19404
19405 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19406
19407 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19408 create buffer with a pty but no process so that GDB can make the
19409 inferior the controlling process.
19410
19411 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19412
19413 * international/ucs-normalize.el: New file.
19414
19415 2009-08-13 Richard Stallman <rms@gnu.org>
19416
19417 * mail/rmail.el (rmail-get-attr-names):
19418 Accept an attribute header that is too short.
19419
19420 * mail/rmail.el (rmail-forget-messages):
19421 Ignore nil elt in rmail-message-vector. Use dotimes.
19422
19423 * progmodes/compile.el (compilation-goto-locus):
19424 Use next-error-move-function.
19425
19426 * simple.el (next-error-move-function): New variable.
19427
19428 2009-08-12 Juri Linkov <juri@jurta.org>
19429
19430 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19431 always non-nil. (Bug#4052)
19432
19433 * replace.el (read-regexp): Return empty string when
19434 `default-value' is nil.
19435 (keep-lines-read-args): Don't use empty string as the
19436 default value for `read-regexp'. (Bug#2495)
19437
19438 2009-08-12 Juri Linkov <juri@jurta.org>
19439
19440 * international/mule-cmds.el (ucs-insert): Change arguments
19441 from `arg' to `character', `count', `inherit' to be the same
19442 as in `insert-char'. Doc fix. (Bug#4039)
19443
19444 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19445
19446 2009-08-12 Juri Linkov <juri@jurta.org>
19447
19448 * files-x.el: New file.
19449
19450 * files.el: Move code that deals with adding/deleting
19451 file/directory-local variables to files-x.el.
19452
19453 * Makefile.in (ELCFILES): Add files-x.elc.
19454
19455 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19456
19457 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19458 to use `goto-line'.
19459 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19460 `goto-line'.
19461 (gdb-invalidate-disassembly): Do not refresh upon receiving
19462 'update signal. Instead, update all disassembly buffers only after
19463 threads list.
19464 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19465 (gdb-starting): Move -data-list-register-names...
19466 (gdb-stopped): ...here so it's sent when first thread stops.
19467 (gdb-registers-handler-custom): Do nothing if register names are
19468 unknown yet.
19469
19470 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19471 from `gdb-mi.el' to avoid extra tangling.
19472
19473 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19474 change which breaks `gud-def' definitions used in `gdb'.
19475 (gdb-update-gud-running): No extra fuss for updating frame number.
19476
19477 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19478
19479 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19480 (describe-language-environment-map, setup-language-environment-map)
19481 (set-coding-system-map): Move initialization into declaration.
19482 (set-language-info-alist): Last arg to define-key-after can be skipped.
19483
19484 * international/quail.el (quail-completion-1): Simplify.
19485 (quail-define-rules): Use slightly more compact code.
19486 (quail-insert-decode-map): Propertize keys, compact columns.
19487
19488 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19489 Add goto-line.
19490
19491 2009-08-10 Miles Bader <miles@gnu.org>
19492
19493 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19494 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19495 (js2-instance-member, js2-private-member, js2-private-function-call)
19496 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19497 (js2-magic-paren, js2-external-variable):
19498 Remove "-face" suffix from face names.
19499 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19500 (js2-highlight-undeclared-vars, js2-peek-token)
19501 (js2-parse-function-params, js2-mode-show-errors)
19502 (js2-mode-show-warnings, js2-make-magic-delimiter)
19503 (js2-mode-highlight-magic-parens): Update to use new face names.
19504
19505 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19506
19507 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19508 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19509
19510 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19511
19512 * subr.el: Provide hashtable-print-readable.
19513
19514 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19515 hs-c-like-adjust-block-beginning.
19516 (hs-hide-block-at-point): Stop hiding at the beginning of
19517 hs-block-end-regexp (Bug#700).
19518
19519 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19520
19521 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19522 a macro.
19523 (gdb-registers-handler-custom): Do not fail when register names
19524 are unavailable.
19525
19526 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19527
19528 * progmodes/gdb-mi.el (gdb-control-all-threads)
19529 (gdb-control-current-thread): Interactive setters for
19530 `gdb-gud-control-all-threads' to use in menu.
19531 (gdb-show-run-p): Show «Go» when process is not active.
19532 (gud-tool-bar-map): Add non-stop/A,T indicator.
19533 Uses gud/thread.xpm and gud/all.xpm.
19534
19535 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19536
19537 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19538 (nslookup-font-lock-keywords): Make it a variable.
19539 (net-utils-mode): New mode for viewing diagnostic network output.
19540 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19541 (net-utils-run-simple): New function.
19542 (ifconfig, iwconfig, netstat, arp, route): Use it.
19543
19544 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19545
19546 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19547 (gdb-memory-set-address, def-gdb-set-positive-number)
19548 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19549 after changing settings.
19550 (gdb-invalidate-disassembly): Update when first shown.
19551 (gdb-edit-locals-value): Fixed.
19552 (gdb-registers-handler-custom): Print registers in right order and
19553 allow changing register values (only for current thread yet).
19554 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19555 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19556 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19557 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19558 Thread info in mode name.
19559 (gdb-registers-mode-map): TAB to switch to locals.
19560
19561 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19562
19563 * mail/rmail.el (rmail-add-mbox-headers)
19564 (rmail-set-message-counters-counter): Search for
19565 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19566
19567 2009-08-08 Glenn Morris <rgm@gnu.org>
19568
19569 * Makefile.in (ELCFILES): Update.
19570
19571 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19572
19573 * mail/sendmail.el (mail-yank-original):
19574 Set buffer-file-coding-system from the one used by the message whose
19575 text is yanked.
19576
19577 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19578 to "windows" when "pgnuplot" is used.
19579 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19580 Don't call accept-process-output if "pgnuplot" is used.
19581 (calc-graph-init): Don't send -display and -geometry to
19582 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19583 running "pgnuplot -V" with shell-command-to-string.
19584
19585 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19586 the default.
19587
19588 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19589
19590 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19591 org/org-latex.elc.
19592
19593 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19594
19595 * vc-dispatcher.el (vc-resynch-window): Update comment.
19596
19597 * term.el (term-handle-ansi-escape): Add comments with the
19598 terminfo capabilities implemented.
19599
19600 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19601
19602 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19603 (gdb-var-create-handler): Rewritten using JSON parser.
19604 (gdb-propertize-header): Move earlier.
19605 (gdb-set-header): Remove to avoid duplication.
19606 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19607 Refresh disassembly buffers only after threads list have been
19608 update.
19609 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19610 variables.
19611
19612 2009-08-04 Juri Linkov <juri@jurta.org>
19613
19614 * files.el: Commands to add/delete file/directory-local variables.
19615 (read-file-local-variable, read-file-local-variable-value)
19616 (read-file-local-variable-mode, modify-file-local-variable)
19617 (modify-file-local-variable-prop-line)
19618 (modify-dir-local-variable): New functions.
19619 (add-file-local-variable, delete-file-local-variable)
19620 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19621 (add-dir-local-variable, delete-dir-local-variable)
19622 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19623 (copy-dir-locals-to-file-locals-prop-line): New commands.
19624
19625 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19626
19627 * abbrev.el (insert-abbrev-table-description): Prettify output.
19628 Suggested by Karl Chen.
19629
19630 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19631
19632 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19633 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19634 (gdb-overlay-arrow-position, gdb-thread-position)
19635 (gdb-disassembly-position): Declare variables.
19636 (gdb-wait-for-pending): Function now.
19637 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19638 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19639 compilation goes smoothly.
19640 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19641 (gdb-non-stop-setting): New customization setting which replaces
19642 `gdb-non-stop' so changing it doesn't break active GDB session.
19643 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19644 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19645 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19646 (gdb-show-threads-by-default): New customization options.
19647 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19648 routines.
19649 (gdb-get-buffer-create): Send buffers update signal when they are
19650 created.
19651 (gdb-invalidate-locals, gdb-invalidate-registers)
19652 (gdb-invalidate-breakpoints)
19653 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19654 (gdb-invalidate-memory): Accept update signal.
19655 (gdb-current-context-command): Use --frame option.
19656 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19657 Implement `gdb-frame-number' selection logic.
19658 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19659 whether to show GUD toolbar buttons.
19660 (gdb-thread-exited): Unselect current thread when it exits.
19661 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19662 (gdb-mark-line): Routine which sets overlay arrow or inverses
19663 video on fringeless displays.
19664 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19665 to build aligned columns of data in GDB buffers and set text
19666 properties line-by-line.
19667 (gdb-invalidate-breakpoints)
19668 (gdb-breakpoints-list-handler-custom)
19669 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19670 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19671 (gdb-registers-handler-custom): Align data columns.
19672 (gdb-locals-handler-custom): Now prints data like in variable
19673 declarations.
19674 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19675 Remove confusing buttons.
19676 (gdb-invalidate-threads): Append --frame.
19677 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19678 between breakpoints/threads buffers.
19679 (gdb-set-window-buffer): Now can ignore dedicated windows.
19680 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19681 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19682 (def-gdb-thread-buffer-gud-command): Replaces
19683 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19684 for fine thread control.
19685 (gdb-preempt-existing-or-display-buffer): New function used to
19686 display bound buffers without breaking window layout.
19687 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19688 (gdb-select-frame): New version of `gdb-frames-select' which now
19689 sets `gdb-frame-number' so commands may use --frame option instead
19690 of inner debugger state.
19691 (gdb-frame-handler): Do not set `gdb-frame-number'.
19692 (gdb-threads-mode-map): Select threads with mouse.
19693
19694 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19695 avoid compilation warning.
19696 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19697 `gdb-show-stop-p`.
19698
19699 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19700 Argument `key' renamed to `buffer-type'.
19701 (gdb-current-context-buffer-name): Do not add thread info to
19702 buffer name when no thread is selected.
19703 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19704 command (bug 3794).
19705 (gdb-thread-selected): Handle `=thread-selected' notification.
19706 (gdb-wait-for-pending): New macro to deal with congestion problems.
19707 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19708 breakpoints.
19709 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19710 This fixes problem similar to one described in bug 3947.
19711 (gud-menu-map): More menu items.
19712 (gdb-init-1): Reset `gdb-thread-number' to nil.
19713
19714 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19715 non-stop settings.
19716
19717 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19718 (gdb-current-context-command): Do not append --thread if
19719 `gdb-thread-number' is nil.
19720 (gdb-running-threads-count, gdb-stopped-threads-count):
19721 New variables.
19722 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19723 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19724 New customization options.
19725 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19726 GUD commands.
19727 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19728 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19729 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19730 set `gdb-thread-number' and update `gud-running' properly.
19731 (gdb-running): Update threads list when new threads appear.
19732 (gdb-stopped): Support non-stop operation and new thread switching
19733 logic.
19734 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19735 (gdb-json-partial-output): New set of JSON routines.
19736 (def-gdb-auto-update-trigger): New `signal-list' optional
19737 argument.
19738 (gdb-thread-list-handler-custom): Update `gud-running',
19739 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19740 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19741 (gdb-continue-thread, gdb-step-thread): New commands for fine
19742 thread execution control.
19743 (gud-menu-map): New menu items to switch non-stop options.
19744 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19745 (gdb-send): Mimic RET properly (bug 3794).
19746
19747 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19748 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19749 gdb-buffer-rules.
19750 (def-gdb-auto-update-handler): New nopreserve optional argument.
19751 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19752
19753 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19754 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19755 (gdb-parent-mode): New mode to derive other GDB modes from.
19756 (gdb-display-disassembly-for-thread)
19757 (gdb-frame-disassembly-for-thread): New commands for threads
19758 buffer.
19759
19760 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19761 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19762 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19763 (gdb-update): We now store all GDB buffers in a list so that they
19764 can be updated by traversing a list instead of calling invalidate
19765 triggers explicitly.
19766 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19767 pair for GDB buffer.
19768 (gdb-stack-buffer-name): Add thread information.
19769 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19770 handle pending triggers.
19771 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19772 (def-gdb-thread-buffer-simple-command)
19773 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19774 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19775 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19776 New commands which show buffers bound to thread.
19777 (gdb-stack-list-locals-regexp): Remove unused regexp.
19778
19779 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19780 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19781 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19782 to (gud-comint-buffer) in *-buffer-name functions
19783 because (gdb-get-target-string) already does that.
19784 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19785 (gdb-changed-registers-handler): Rewritten without regexps.
19786
19787 * progmodes/gdb-mi.el: Basic thread selection support.
19788 (gdb-thread-number): New variable.
19789 (gdb-current-context-command): New macro which adds --thread
19790 option to command.
19791 (gdb-threads-mode-map): Select thread with SPC.
19792 (gdb-thread-list-handler-custom): Mark current thread with overlay
19793 arrow. Synchronize GDB thread and Emacs thread.
19794 (gdb-select-thread): New command which selects current thread.
19795 (gdb-invalidate-frames, gdb-invalidate-locals)
19796 (gdb-invalidate-registers): Use --thread option.
19797
19798 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19799
19800 * net/tramp.el (top): Make check for tramp-gvfs loading more
19801 robust. (Bug#3977)
19802 (tramp-handle-insert-file-contents): `unwind-protect' must be
19803 inside `with-parsed-tramp-file-name'.
19804
19805 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19806 fails.
19807
19808 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19809
19810 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19811 directory if CLASSPATH is not set.
19812
19813 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19814
19815 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19816 New defconst.
19817 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19818
19819 2009-08-02 Kevin Ryde <user42@zip.com.au>
19820
19821 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19822 Update freshmeat link. Delete newsforge.com as it seems gone.
19823
19824 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19825
19826 * select.el (x-set-selection): Doc fix (Bug#4021).
19827
19828 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19829
19830 * help-fns.el (describe-variable): Treat list return values from
19831 dir-locals-find-file properly (Bug#4005).
19832
19833 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19834
19835 * net/tramp.el (tramp-debug-message): Print also microseconds.
19836
19837 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19838
19839 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19840 or END is non-nil.
19841 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19842 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19843 format.
19844
19845 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19846 (tramp-get-file-property): Use it.
19847
19848 * autorevert.el (auto-revert-handler):
19849 Allow `auto-revert-tail-mode' for remote files.
19850
19851 2009-08-02 Jason Rumney <jasonr@gnu.org>
19852
19853 * minibuffer.el (read-file-name): Treat confirm options to
19854 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19855
19856 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19857
19858 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19859 (font-lock-variable-name-face, font-lock-constant-face):
19860 Darken the colors for light backgrounds.
19861
19862 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19863
19864 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19865 month names. (Bug#3987)
19866
19867 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19868
19869 * simple.el (line-move-finish): Pass whole number to
19870 line-move-to-column.
19871 (line-move-visual): Perform hscroll to the recorded position.
19872
19873 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19874
19875 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19876
19877 2009-07-29 Alan Mackenzie <acm@muc.de>
19878
19879 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19880
19881 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19882
19883 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19884 (gdb-place-breakpoints): Use full path when setting breakpoints.
19885
19886 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19887
19888 * calc/calc.el (calc-mode-map): Add keybinding for
19889 `calc-transpose-lines'.
19890
19891 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19892
19893 * calc/calc-misc.el (calc-transpose-lines): New function.
19894
19895 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19896
19897 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19898 Simplify check for out-of-band methods.
19899 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19900 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19901
19902 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19903
19904 * vc-git.el (vc-git-checkin): Fix typo.
19905
19906 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19907
19908 * progmodes/js2-mode.el: New file.
19909
19910 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19911
19912 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19913 (gud-menu-map): Adjust tooltip accordingly.
19914
19915 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19916
19917 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19918 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19919
19920 * add-log.el (change-log-mode-map): Add a menu.
19921
19922 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19923
19924 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19925 function returns nil.
19926 (dbus-handle-event): Handle special return value :ignore.
19927 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19928
19929 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19930
19931 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19932 it's not needed.
19933
19934 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19935
19936 Fix Bug#3888:
19937
19938 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19939
19940 * term/pc-win.el (x-display-name, x-colors)
19941 (x-select-enable-clipboard, x-select-text): Doc fix.
19942
19943 * term/common-win.el (x-display-name, x-colors): Doc fix.
19944
19945 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19946 (xw-defined-colors): Doc fix.
19947
19948 * w32-fns.el (x-select-text, x-setup-function-keys)
19949 (x-get-selection, x-set-selection): Doc fix.
19950
19951 * term/x-win.el (x-select-text, x-setup-function-keys)
19952 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19953
19954 * select.el (x-set-selection): Doc fix.
19955
19956 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19957
19958 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19959 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19960 "IsNSSSupportAvailable" method is not available.
19961 Reported by Steve Youngs <steve@sxemacs.org>.
19962
19963 2009-07-24 Kenichi Handa <handa@m17n.org>
19964
19965 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19966 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19967 (build-unicode-category-table): Fix range checks.
19968
19969 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19970
19971 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19972 the buffer we try to sync is current when calling
19973 vc-resynch-buffer.
19974
19975 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19976 not show up to date files.
19977
19978 2009-07-24 Glenn Morris <rgm@gnu.org>
19979
19980 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19981 Add autoload cookies. If necessary, initialize.
19982 (elint-log): Handle non-file buffers.
19983 (elint-initialize): Add optional argument to reinitialize.
19984 (elint-find-builtin-variables): Save excursion.
19985
19986 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19987
19988 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19989 for Lint.
19990
19991 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19992
19993 * vc.el (vc-print-log-internal): New function, split out from ...
19994 (vc-print-log): ... here.
19995 (vc-dir-move-to-goal-column): Declare.
19996
19997 * vc-git.el (vc-git-add-signoff): New variable.
19998 (vc-git-checkin): Use it.
19999 (vc-git-toggle-signoff): New function.
20000 (vc-git-extra-menu-map): Bind it to menu.
20001 (vc-git--run-command-string): Accept a nil FILE argument.
20002 (vc-git-stash-list): New function.
20003 (vc-git-dir-extra-headers): Use it.
20004
20005 2009-07-23 Glenn Morris <rgm@gnu.org>
20006
20007 * help-fns.el (describe-variable): Describe ignored and risky local
20008 variables in a similar way to that in which we describe safe ones.
20009
20010 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20011 (byte-compile-output-file-form, byte-compile-output-docform)
20012 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20013 Give some more local variables with common names a "bytecomp-" prefix,
20014 so as not to shadow things during compilation.
20015 * emacs-lisp/cl-macs.el (load-time-value)
20016 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20017 `outbuffer' to `bytecomp-outbuffer'.
20018
20019 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20020 since the next two variables cover them automatically now.
20021 (elint-builtin-variables, elint-autoloaded-variables): New.
20022 (elint-unknown-builtin-args): Remove all members, since they can be
20023 parsed automatically now.
20024 (elint-extra-errors): New.
20025 (elint-env-add-env, elint-env-add-macro): Use cadr.
20026 (elint-current-buffer): Use or. Change final message.
20027 (elint-get-top-forms): Use line-end-position.
20028 (elint-init-env): Use cadr. Handle autoload, declare-function,
20029 and defalias.
20030 (elint-add-required-env): Doc fix. Use or. Standardize error.
20031 (regexp-assoc): Remove unused function.
20032 (elint-top-form): Set elint-current-pos, to record the start of the
20033 top-level form, for compilation-mode.
20034 (elint-form): Trap errors in macro expansion. Use dolist.
20035 (elint-unbound-variable): Use elint-builtin-variables and
20036 elint-autoloaded-variables.
20037 (elint-get-args): Use cadr, or.
20038 (elint-check-cond-form): Use dolist, cadr.
20039 (elint-check-condition-case-form): Doc fix. Use cadr.
20040 Use elint-extra-errors.
20041 (elint-log): New function.
20042 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20043 Distinguish errors and warnings.
20044 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20045 Use a bytecomp-style format.
20046 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20047 (elint-get-log-buffer): Use compilation mode. Disable undo.
20048 Don't truncate lines.
20049 (elint-initialize): Set builtin and autoloaded variable lists.
20050 Only process elint-unknown-builtin-args if non-nil.
20051 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20052 New functions.
20053 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20054
20055 2009-07-22 Kevin Ryde <user42@zip.com.au>
20056
20057 * net/newst-backend.el (newsticker--parse-atom-1.0)
20058 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20059 (newsticker--parse-rss-1.0):
20060 * progmodes/idlwave.el (idlwave-mode):
20061 * progmodes/idlw-shell.el (idlwave-shell-mode):
20062 * progmodes/vera-mode.el (vera-mode):
20063 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20064 * progmodes/vhdl-mode.el (vhdl-mode):
20065 * textmodes/table.el (table-generate-source)
20066 (table--warn-incompatibility):
20067 Hyperlink urls in docstrings with URL `...'.
20068
20069 2009-07-22 Glenn Morris <rgm@gnu.org>
20070
20071 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20072 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20073 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20074 Remove leading * from defcustom docs.
20075
20076 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20077
20078 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20079 defcustom doc.
20080 (list-load-path-shadows): Optionally, just return shadows as a string.
20081
20082 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20083
20084 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20085
20086 * mail/rmailedit.el (rmail-edit-mode):
20087 Use auto-save-include-big-deletions.
20088
20089 * mail/rmail.el (rmail-variables):
20090 Use auto-save-include-big-deletions.
20091
20092 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20093 changes.
20094
20095 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20096
20097 * calc/calc.el (calc-undo-length): New variable.
20098 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20099
20100 2009-07-21 Richard Stallman <rms@gnu.org>
20101
20102 * files.el (auto-save-mode): Handle buffer-save-size = -2
20103 for toggling mode.
20104
20105 2009-07-21 Glenn Morris <rgm@gnu.org>
20106
20107 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20108
20109 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20110
20111 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20112 silence compiler. Instead...
20113 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20114 (ps-print-ensure-fontified): Update for above function name changes.
20115
20116 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20117 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20118 silence compiler. Instead...
20119 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20120 (mh-show-buffer): Only define for compiler.
20121 (pr-mh-current-message): Update for above function name changes.
20122
20123 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20124 as an argument.
20125 (find-file-noselect, insert-file-1): Update for above change.
20126
20127 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20128
20129 * mail/mailclient.el (mailclient-send-it): Fix message.
20130
20131 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20132 (edebug-eval): Check cl-debug-env is bound.
20133 (print-level, print-circle): Don't redefine built-in variables.
20134
20135 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20136 (custom-print-vectors): Remove old comments from doc.
20137
20138 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20139 (emerge-version): Make the variable an obsolete alias for the
20140 emacs-version variable. Make the function obsolete.
20141 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20142 Emerge options, rather than merging in into the main Options menu.
20143 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20144 and auto advance modes. Disable edit/fast items when not relevant.
20145
20146 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20147
20148 * term/vt420.el (terminal-init-vt420): Fix typo.
20149
20150 2009-07-20 Sam Steingold <sds@gnu.org>
20151
20152 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20153 variable (removed from compile.el on 2004-03-11).
20154
20155 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20156
20157 * files.el (hack-local-variables-filter): Fix last change.
20158
20159 2009-07-19 Juri Linkov <juri@jurta.org>
20160
20161 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20162 (dir-local-variables-alist): New buffer-local variable.
20163 (hack-local-variables-filter): If variable is not dir-local,
20164 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20165 because file-local overrides dir-local.
20166 (c-postprocess-file-styles) <declare-function>:
20167 Remove obsolete declaration.
20168 (hack-dir-local-variables): Add dir-local variable/value pair to
20169 `dir-local-variables-alist' and remove duplicates. Doc fix.
20170
20171 * help-fns.el (describe-variable): Add information about
20172 file-local and dir-local variables.
20173
20174 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20175
20176 * files.el (hack-local-variables-filter): Rewrite.
20177
20178 2009-07-19 Glenn Morris <rgm@gnu.org>
20179
20180 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20181 Silence compiler by only defining on XEmacs.
20182
20183 * international/mule.el (auto-coding-regexp-alist): Only match
20184 BABYL... at the start of buffer, not of lines. (Bug#3790)
20185
20186 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20187 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20188 (cal-menu-context-mouse-menu): Doc fix.
20189
20190 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20191
20192 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20193
20194 2009-07-18 Juri Linkov <juri@jurta.org>
20195
20196 * info.el: Virtual Info keyword finder.
20197 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20198 (Info-finder-file): New variable.
20199 (Info-finder-find-file): New function.
20200 (finder-known-keywords, finder-package-info)
20201 (find-library-name, lm-commentary): Use defvar and
20202 declare-function to silence compiler warnings.
20203 (Info-finder-find-node): New function.
20204 (info-finder): New command.
20205
20206 * subr.el (process-kill-buffer-query-function): New function.
20207 (add-hook)<kill-buffer-query-functions>: Add hook
20208 `process-kill-buffer-query-function'.
20209
20210 2009-07-18 Alan Mackenzie <acm@muc.de>
20211
20212 * progmodes/cc-mode.el (c-before-hack-hook)
20213 (c-postprocess-file-styles): Give invocation of `c-set-style'
20214 DONT-OVERRIDE parameter of t. Already set style variables will
20215 thus not be overridden by style settings given by `c-file-syle'.
20216
20217 * files.el (hack-local-variables-filter): Remove entries with
20218 duplicate keys from `file-local-variables-alist'.
20219
20220 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20221
20222 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20223 x-set-selection if display-selections-p returns nil for the
20224 current frame.
20225
20226 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20227
20228 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20229
20230 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20231
20232 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20233 Accept nil in addition to a regexp.
20234 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20235 Accept nil in addition to a regexp.
20236 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20237 buffers that have an associated file. Handle nil values of
20238 desktop-buffers-not-to-save and desktop-files-not-to-save.
20239 (Bug#3833)
20240
20241 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20242 (x-disown-selection-internal): New functions.
20243
20244 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20245
20246 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20247 warning.
20248 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20249 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20250
20251 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20252
20253 * simple.el (set-mark): Revert last change.
20254
20255 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20256
20257 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20258 rendering of pngs is not possible instead of messaging a long
20259 description.
20260
20261 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20262
20263 * w32-fns.el (x-selection-owner-p): New function.
20264
20265 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20266 (mouse-yank-at-click, mouse-yank-primary):
20267 If select-active-regions is non-nil, deactivate the mark before
20268 insertion.
20269
20270 * simple.el (deactivate-mark, set-mark): Only save selection if we
20271 own it.
20272
20273 2009-07-17 Kenichi Handa <handa@m17n.org>
20274
20275 * case-table.el (describe-buffer-case-table): Fix for the case
20276 that KEY is a cons.
20277
20278 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20279
20280 * vc-rcs.el (vc-rcs-find-file-hook):
20281 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20282
20283 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20284
20285 * net/tramp.el (tramp-wait-for-output): Handle the case when
20286 commands do not return a newline but a null byte before the shell
20287 prompt. (Bug#3858)
20288
20289 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20290
20291 * term/ns-win.el (ns-set-alpha): Don't declare.
20292 (ns-set-background-alpha): Remove function.
20293
20294 2009-07-16 Kevin Ryde <user42@zip.com.au>
20295
20296 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20297 y-or-n-p, for safety.
20298
20299 2009-07-16 Richard Stallman <rms@gnu.org>
20300
20301 * files.el (auto-save-mode): If buffer-saved-size is -2,
20302 don't clobber it.
20303
20304 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20305 (rmail-retry-ignored-headers): Add more uninteresting fields.
20306
20307 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20308
20309 * net/rcirc.el (rcirc): Use history variables.
20310 (rcirc-server-name-history, rcirc-nick-name-history)
20311 (rcirc-server-port-history): New variables.
20312
20313 2009-07-15 Kenichi Handa <handa@m17n.org>
20314
20315 * international/mule-cmds.el (set-language-environment-charset):
20316 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20317 ignore them.
20318
20319 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20320 Delete unibyte-display.
20321
20322 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20323
20324 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20325
20326 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20327
20328 * simple.el (deactivate-mark): Optional argument FORCE.
20329 (set-mark): Use deactivate-mark.
20330
20331 * info.el (Info-search): No need to check transient-mark-mode
20332 before calling deactivate-mark.
20333
20334 * select.el (x-set-selection): Doc fix.
20335 (x-valid-simple-selection-p): Allow buffer values.
20336 (xselect--selection-bounds): Handle buffer values.
20337 Suggested by David De La Harpe Golden.
20338
20339 * mouse.el (mouse-set-region, mouse-drag-track):
20340 Call copy-region-as-kill before setting the mark, to let
20341 select-active-regions work.
20342
20343 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20344
20345 * simple.el (deactivate-mark): If select-active-regions is
20346 non-nil, copy the selection data into a string.
20347 (activate-mark): If select-active-regions is non-nil, set the
20348 selection to the current buffer.
20349 (set-mark): Update selection if select-active-regions is non-nil.
20350
20351 * select.el (x-valid-simple-selection-p): Allow buffer values.
20352
20353 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20354
20355 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20356 and more featureful message-mode.
20357
20358 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20359
20360 * select.el (x-set-selection): Doc fix.
20361 (x-valid-simple-selection-p): Disallow selection data consisting
20362 of a list or cons of integers, since that is not used.
20363 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20364 (xselect-convert-to-string, xselect-convert-to-length)
20365 (xselect-convert-to-filename, xselect-convert-to-charpos)
20366 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20367
20368 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20369
20370 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20371 output in -break-info command (Emacs bug #3794).
20372
20373 2009-07-14 Glenn Morris <rgm@gnu.org>
20374
20375 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20376 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20377 (edebug-print-length, edebug-print-level, edebug-print-circle)
20378 (edebug-sit-for-seconds, edebug-view-outside)
20379 (edebug-bounce-point, edebug-set-global-break-condition)
20380 (edebug-Go-nonstop-mode, edebug-trace-mode)
20381 (edebug-Trace-fast-mode, edebug-continue-mode)
20382 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20383 (edebug-visit-eval-list): Doc fixes.
20384
20385 * subr.el (def-edebug-spec): Doc fix.
20386
20387 2009-07-14 Kenichi Handa <handa@m17n.org>
20388
20389 * international/characters.el: Fix setting of category ?C.
20390
20391 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20392
20393 * term/ns-win.el (x-select-font): defalias x-select-font to
20394 ns-popup-font-panel instead of generate-fontset-menu.
20395
20396 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20397
20398 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20399
20400 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20401
20402 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20403 the PK\003\004 header (Bug#3770).
20404
20405 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20406
20407 * pcomplete.el (pcomplete-comint-setup): Check for
20408 shell-dynamic-complete-filename too.
20409
20410 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20411
20412 * simple.el (temporary-goal-column): Change the value for
20413 line-move-visual to a cons cell.
20414 (line-move-visual): Record or set the window hscroll, if
20415 necessary (Bug#3494).
20416 (line-move-1): Handle cons value of temporary-goal-column.
20417
20418 2009-07-11 Kenichi Handa <handa@m17n.org>
20419
20420 * international/mule-diag.el (describe-character-set): Don't show
20421 width.
20422
20423 2009-07-10 Sam Steingold <sds@gnu.org>
20424
20425 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20426 Omake sometimes indents the errors it prints, so allow all
20427 regexps to start with spaces.
20428
20429 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20430
20431 * cus-edit.el (customize-changed-options-previous-release):
20432 Bump value to 22.1. (Bug#3804)
20433
20434 2009-07-08 Sam Steingold <sds@gnu.org>
20435
20436 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20437 to be a cons cell (test . ignored-directory) to selectively ignore
20438 some directories depending on the location of the search.
20439
20440 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20441
20442 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20443 remote user is root, on the local host.
20444 (tramp-local-host-p): Either the local user or the remote user
20445 must be root. (Bug#3771)
20446
20447 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20448
20449 * progmodes/gdb-mi.el (gdb): Remove description of
20450 gdb-use-separate-io-buffer.
20451 (menu): Don't allow toggling of or enable
20452 gdb-use-separate-io-buffer from menubar.
20453
20454 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20455
20456 * mail/unrmail.el (unrmail): Make sure the message ends with two
20457 newlines (Bug#3769).
20458
20459 2009-07-08 Glenn Morris <rgm@gnu.org>
20460
20461 * calendar/calendar.el (calendar-current-date): Rework previous change.
20462
20463 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20464
20465 * calendar/calendar.el (calendar-current-date):
20466 Add an optional argument giving an offset from today.
20467
20468 2009-07-08 Glenn Morris <rgm@gnu.org>
20469
20470 * tutorial.el (tutorial--describe-nonstandard-key):
20471 Adjust the message for when a key has been unbound.
20472 (help-with-tutorial): Hide the arch-tag.
20473
20474 2009-07-08 Kenichi Handa <handa@m17n.org>
20475
20476 * international/fontset.el (setup-default-fontset): For each
20477 script, append (not set) font-specs.
20478
20479 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20480 docstring.
20481
20482 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20483
20484 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20485 -data-list-register-names to ...
20486 (gdb-starting): ... here because GDB 7.0 requires execution to
20487 have started when using this MI command.
20488 (gdb-set-header): New function to distinguish select and
20489 unselected tabs in gdb buffers.
20490 (gdb-propertize-header): New macro that uses gdb-set-header.
20491 (gdb-breakpoints-header, gdb-locals-header): Use it.
20492 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20493
20494 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20495
20496 * Makefile.in (ELCFILES): Remove fadr.elc.
20497
20498 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20499
20500 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20501 may contain frame information, so `string-match' should be used.
20502 (gdb-update): Disassembly is invalidated through
20503 `gdb-get-selected-frame'.
20504 (gdb-pad-string): New function to pad string with spaces.
20505 (gdb-invalidate-disassembly): Invalidate only if the buffer
20506 exists.
20507 (gdb-disassembly-handler-custom): Column alignment.
20508 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20509 placing new ones.
20510 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20511 end of line, too.
20512 (gdb-frame-handler): Match convention to for disassembly buffer
20513 mode name.
20514 (gdb-stack-list-frames-handler): Rewritten without regexps.
20515 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20516 not highlight breakpoints without line information.
20517 (gdb-input): Add trailing newline to command.
20518
20519 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20520 buffer properly.
20521 (gdb-breakpoints-list-handler-custom): Replacement for
20522 `gdb-break-list-handler'. Using real parser instead of regexps
20523 now.
20524 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20525 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20526 to place breakpoints.
20527 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20528 functions.
20529 (gdb-disassembly-handler-custom): Show overlay arrow.
20530 (gdb-disassembly-place-breakpoints): Show breakpoints in
20531 disassembly buffer.
20532 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20533 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20534 instead of parsing breakpoints buffer. Fixed old menu references
20535 in `gud-menu-map'.
20536
20537 * fadr.el: Remove.
20538
20539 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20540 (gdb-memory-address): New variable which holds top address of
20541 memory page shown in memory buffer.
20542 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20543 New customization variables.
20544 New functions:
20545 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20546 display the memory buffer.
20547 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20548 buffer display parameters.
20549 (def-gdb-memory-format, gdb-memory-format-binary)
20550 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20551 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20552 Functions for setting memory buffer format.
20553 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20554 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20555 unit size used in memory buffer.
20556 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20557 Switch to next/previous page of memory buffer.
20558 Now using (bindat-get-field) instead of fadr functions.
20559
20560 2009-07-07 Sam Steingold <sds@gnu.org>
20561
20562 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20563 non-top-level files.
20564
20565 2009-07-07 Kenichi Handa <handa@m17n.org>
20566
20567 * international/mule-cmds.el (reset-language-environment):
20568 Put the highset priority to the charset iso-8859-1.
20569
20570 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20571
20572 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20573 to the end of the line when locating the block (Bug#700).
20574
20575 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20576
20577 * net/tramp.el (tramp-handle-write-region): Flush file properties
20578 in case of short track.
20579
20580 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20581
20582 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20583 Coded custom representation of verilog error regular expressions
20584 to work with Emacs-22's new format.
20585 (verilog-error-regexp-xemacs-alist): Coded custom representation
20586 of verilog error regular expressions to work with XEmacs format.
20587 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20588 error recognition into XEmacs.
20589 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20590 error recognition into Emacs-22.
20591
20592 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20593
20594 * woman.el: Remove stand-alone closing parentheses.
20595 (woman-file-name, woman2-format-paragraphs)
20596 (woman-leave-blank-lines): Code cleanup.
20597 (woman-use-own-frame): Change default to nil.
20598 (woman-italic, woman-bold, woman-unknown, woman-addition):
20599 Change defaults to inherit from default faces.
20600 (woman2-process-escapes): Consume the newline after a stand-alone
20601 filler character (Bug#3651).
20602
20603 2009-07-06 Glenn Morris <rgm@gnu.org>
20604
20605 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20606 (top-level): Move provide to the end.
20607 (ffap): Remove defunct URL from custom group.
20608
20609 * subr.el (eval-after-load): Doc fix.
20610
20611 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20612
20613 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20614 `calc-embedded-word' is called twice.
20615
20616 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20617
20618 * files.el (find-alternate-file-other-window, find-alternate-file):
20619 Obey confirm-nonexistent-file-or-buffer.
20620
20621 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20622
20623 * dired-aux.el (dired-show-file-type): Handle remote files.
20624
20625 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20626
20627 * desktop.el (desktop-globals-to-save):
20628 Add file-name-history (Bug#2750).
20629
20630 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20631
20632 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20633
20634 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20635
20636 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20637 property on entire argument since this is what eshell-lisp-command
20638 expects.
20639
20640 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20641
20642 * net/tramp-gvfs.el (tramp-gvfs-methods)
20643 (tramp-gvfs-zeroconf-domain)
20644 (tramp-bluez-discover-devices-timeout): Add version flag.
20645 (tramp-gvfs-handler-mounted-unmounted)
20646 (tramp-gvfs-connection-mounted-p): Polish handling of
20647 incompatibilities between GVFS 0.2 and 1.0.
20648
20649 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20650
20651 * cus-start.el (all): Add make-pointer-invisible.
20652
20653 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20654
20655 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20656 formatted correctly.
20657
20658 2009-07-02 Juri Linkov <juri@jurta.org>
20659
20660 * info.el: Virtual Info files and nodes.
20661 (Info-virtual-files, Info-virtual-nodes): New variables.
20662 (Info-current-node-virtual): New variable.
20663 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20664 New functions.
20665 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20666 to check for a virtual file instead of checking a fixed list
20667 of node names.
20668 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20669 instead of ad-hoc processing of "dir" and (apropos history toc).
20670 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20671 instead of ad-hoc processing of "dir" and (apropos history toc).
20672 Reread a file when moving from a virtual node.
20673 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20674 (Info-directory-toc-nodes, Info-directory-find-file)
20675 (Info-directory-find-node): New functions.
20676 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20677 (Info-history): Move part of code to
20678 `Info-history-find-node'.
20679 (Info-history-toc-nodes, Info-history-find-file)
20680 (Info-history-find-node): New functions.
20681 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20682 (Info-toc): Move part of code to `Info-toc-find-node'.
20683 (Info-toc-find-node): New function.
20684 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20685 the current Info file name to references because now the node
20686 "*TOC*" belongs to the same Info manual.
20687 (Info-toc-build): Rename from `Info-build-toc'.
20688 (Info-toc-nodes): Rename input argument `file' to `filename'.
20689 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20690 instead of ad-hoc processing of ("dir" apropos history toc).
20691 (Info-index-nodes): Use Info-virtual-file-p
20692 to check for a virtual file instead of checking a fixed list
20693 of node names.
20694 (Info-index-node): Add check for `Info-current-node-virtual'.
20695 Raise `save-match-data' higher up the tree to contain
20696 `search-forward' too (bug fix).
20697 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20698 (Info-virtual-index-nodes): New variable.
20699 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20700 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20701 (Info-apropos-file, Info-apropos-nodes): New variables.
20702 (Info-apropos-toc-nodes, Info-apropos-find-file)
20703 (Info-apropos-find-node, Info-apropos-matches): New functions.
20704 (info-apropos): Move part of code to `Info-apropos-find-node' and
20705 `Info-apropos-matches'.
20706 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20707 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20708 for a virtual file instead of checking a fixed list of node names.
20709
20710 * simple.el (async-shell-command): New command.
20711
20712 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20713
20714 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20715 instead of `mount-info'.
20716
20717 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20718
20719 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20720 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20721
20722 2009-07-02 Kenichi Handa <handa@m17n.org>
20723
20724 * international/mule.el (set-keyboard-coding-system): Force *-unix
20725 coding-system to avoid eol conversion.
20726
20727 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20728
20729 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20730 Add handler for `process-file', `shell-command' and
20731 `start-file-process'.
20732 (tramp-gvfs-handle-shell-command)
20733 (tramp-gvfs-handle-start-file-process)
20734 (tramp-gvfs-handle-process-file): New defuns.
20735 (tramp-synce-list-devices): Simplify check for existence of property.
20736
20737 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20738
20739 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20740
20741 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20742
20743 * language/korean.el (set-language-info-alist): Add korean-cp949,
20744 cp949 to spec.
20745
20746 2009-07-01 Kenichi Handa <handa@m17n.org>
20747
20748 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20749
20750 * international/encoded-kb.el: Deleted.
20751
20752 * international/mule.el (set-keyboard-coding-system): Perform the
20753 necessary setup here instead of calling encoded-kbd-setup-display.
20754
20755 2009-07-01 Glenn Morris <rgm@gnu.org>
20756
20757 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20758
20759 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20760
20761 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20762
20763 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20764
20765 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20766 Handle also the 'rename case, when setting file modes. (Bug#3712)
20767 (tramp-default-file-modes): Remove execute permissions.
20768
20769 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20770 (top): Add a default for "synce" in `tramp-default-user-alist'.
20771 Add completion function for "synce" method.
20772 (tramp-hal-service, tramp-hal-path-manager)
20773 (tramp-hal-interface-manager, tramp-hal-interface-device):
20774 New defconst.
20775 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20776 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20777 New defuns.
20778
20779 * net/trampver.el: Update release number.
20780
20781 2009-06-30 Kenichi Handa <handa@m17n.org>
20782
20783 * international/fontset.el (setup-default-fontset): Add CJK fonts
20784 for symbols and the other miscellaneous characters.
20785
20786 * language/korea-util.el (setup-korean-environment-internal):
20787 Make char-width-table suitable for Korean environments.
20788 (exit-korean-environment): Cancel above.
20789
20790 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20791 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20792 setup-function to make char-width-table suitable for respective
20793 environments, and an exit-function to cancel that.
20794
20795 * language/japan-util.el (setup-japanese-environment-internal):
20796 Call use-cjk-char-width-table with arg `ja_JP'.
20797
20798 * international/characters.el (cjk-char-width-table): Delete it.
20799 (cjk-char-width-table-list): New variable.
20800 (use-cjk-char-width-table): New arg local-name.
20801 (use-default-char-width-table): Fix for the case that Emacs is
20802 already using the default char-width-table.
20803
20804 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20805
20806 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20807 modes mandatory. (Bug#3712)
20808
20809 2009-06-29 Alan Mackenzie <acm@muc.de>
20810
20811 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20812 correction between the visible width of TABs and their number of bytes.
20813
20814 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20815
20816 * server.el (server-buffer-done): Prevent kill-buffer from
20817 prompting by clearing the buffer modification flag (Bug#3696).
20818
20819 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20820
20821 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20822 (verilog-endcomment-reason-re): Support unique case and priority case.
20823 (verilog-basic-complete-re): Support localparam lineup.
20824 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20825 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20826 commenting.
20827 (verilog-leap-to-case-head): Now support *nested* unique &
20828 priority case statements.
20829 (verilog-auto-lineup): Make just declarations the default (as it
20830 had been).
20831 (verilog-leap-to-case-head): Support priority/unique case statements.
20832 (verilog-auto-lineup): Rework to give users radio buttons to
20833 select the various styles of automatic lineup.
20834 (verilog-error-regexp-alist): Rework to support the XEmacs style
20835 of error regular expressions from compilers, lint tools &
20836 simulators. Note that GNU Emacs has made it impossible for a mode
20837 to load such things.
20838 (electric-verilog-terminate-line, verilog-indent-declaration)
20839 (verilog-auto-wiure): Rework for radio button selection of
20840 auto-lineup selection of specification of auto lineup.
20841 (verilog-beg-of-statement-1): Redesign to support proper operation
20842 in additional code, based on testing with auto-lineup.
20843 (verilog-calculate-indent, assignments & declarations)
20844 (verilog-backward-token): Enhance to support auto-lineup of
20845 assignments & declarations.
20846 (verilog-in-directive-p, verilog-at-struct-p): New function for
20847 easy test of whether we are.
20848 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20849 to support safe execution at almost anyline.
20850 (verilog-calc-1): Properly support indenting deep inside generate
20851 blocks.
20852 (verilog-init-font): Remove definition & use of verilog-init-font,
20853 as it is redundant with font-lock-defaults.
20854 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20855 to avoid circular calls if syntax-ppss is a function (as is the
20856 case now in 22.x GNU Emacs) as that function would sometimes call
20857 itself, leading to (nearly) infinite recursion.
20858 (verilog-ovm-begin-re, verilog-ovm-end-re)
20859 (verilog-ovm-statement-re, verilog-leap-to-head)
20860 (verilog-backward-token): Add support for OVM macros. Some are
20861 complete statements, and others open and close scopes like begin
20862 and end.
20863 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20864 (verilog-defun-level-generate-only-re): Really fix the defun-list
20865 compilation issue.
20866 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20867 coverpoint, constraint and cross statements.
20868 (verilog-defun-level-list, verilog-generate-defun-level-list)
20869 (verilog-all-defun-level-list): Redo these specifications - it is
20870 too hard to support eval-when compile aggregation of lists also
20871 built at when-compile time.
20872 (verilog-defun-level-list): Place defconsts of variables used in
20873 building regular expressions which are built in eval-when-compile
20874 bodies in the same eval-when-compile body to facilitate compile
20875 without load.
20876 (verilog-beg-block-re-ordered): Support indenting
20877 virtual/protected tasks and functions.
20878 (verilog-defun-level-list, verilog-in-generate-region-p)
20879 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20880 indentation of some module items (generate items).
20881 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20882 across virtual/protected tasks and functions.
20883
20884 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20885
20886 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20887 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20888 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20889 in concatenations. Reported by Yishay Belkind.
20890 (verilog-auto-ascii-enum): Support one-hot state machines in
20891 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20892 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20893 modport in AUTOINST and add vl-modport for users.
20894 Reported by David Rogoff.
20895 (verilog-auto-inout-module, verilog-auto-inst)
20896 (verilog-decls-get-interfaces, verilog-insert-definition)
20897 (verilog-insert-one-definition, verilog-read-decls)
20898 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20899 (verilog-sig-modport, verilog-signals-combine-bus)
20900 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20901 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20902 Suggested by David Rogoff.
20903 (verilog-repair-open-comma): Fix non-insertion of comma when
20904 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20905 (verilog-make-width-expression): Simplify [A-1:0] expression
20906 widths to just {A{1'b0}}.
20907 (verilog-mode): Cleanup checkdoc warnings.
20908 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20909 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20910 inputs/outputs or data type. Suggested by Vasu Kandadi.
20911 (next-error-last-buffer): Fix byte-compiler warning.
20912 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20913 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20914 or shell command text during AUTO expansion. Suggested by Tad Truex.
20915 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20916 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20917 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20918 in AUTOINOUT. Reported by Matthew Lovell.
20919 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20920 causing use of <= assignments. Reported by Alex Reed.
20921 (verilog-read-decls): Fix triand, trior, wand, wor to be
20922 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20923 (verilog-extended-complete-re): Support import "DPI-C" functions.
20924 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20925 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20926 (verilog-insert-date, verilog-insert-year)
20927 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20928 Windows systems. Reported by Michael Potts.
20929 (verilog-read-module-name): Fix AUTOINST when the child module
20930 declaration's name is a tick define. Reported by Elliot Mednick.
20931 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20932 passed to next parameter's definition. Reported by Bruce T.
20933 (verilog-read-decls): Fix detecting "parameter int" when using
20934 AUTOINSTPARAM. Reported by Bruce T.
20935 (verilog-goto-defun): Fix goto not finding modules unless first
20936 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20937 (verilog-mode): Expand -f flag arguments on entry to mode so
20938 verilog-goto-defun will work. Reported by Lawrence Butcher.
20939 (verilog-getopt): Expand environment variables in -f file
20940 arguments. Suggested by Lawrence Butcher.
20941 (verilog-set-define): Fix "Symbol's value as variable is void"
20942 when reading enumerations.
20943 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20944 Suggested by Stephen Peltan.
20945 (verilog-read-defines): Fix reading of enumerations in include
20946 files. Reported by Steve Peltan.
20947
20948 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20949
20950 * files.el (trash-directory): Fix defcustom type.
20951
20952 2009-06-28 Juri Linkov <juri@jurta.org>
20953
20954 * help-fns.el (describe-function-1): Correctly locate adviced
20955 functions in hyperlink (Bug#2438).
20956
20957 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20958
20959 * files.el (trash-directory): Change default to nil.
20960 (move-file-to-trash): If trash-directory is nil and
20961 system-move-file-to-trash is unbound, perform freedesktop-style
20962 trashing.
20963
20964 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20965
20966 * files.el (move-file-to-trash): Add freedesktop trash
20967 support (Bug#973).
20968
20969 2009-06-28 Glenn Morris <rgm@gnu.org>
20970
20971 * autorevert.el (global-auto-revert-non-file-buffers)
20972 (global-auto-revert-mode): Doc fixes.
20973
20974 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20975
20976 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20977
20978 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20979
20980 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20981 opened an X connection before calling x-get-resource (Bug#3194).
20982
20983 * play/doctor.el: Remove reference to obsolete website.
20984 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20985
20986 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20987
20988 Remove find-file-not-found-hook VC method. (Bug#2757)
20989 * vc-hooks.el (vc-file-not-found-hook)
20990 (vc-default-find-file-not-found-hook): Remove functions.
20991 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20992 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20993 * vc.el:
20994 * vc-hg.el:
20995 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20996
20997 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20998
20999 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21000 compatibility function for `looking-back'.
21001
21002 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21003 Use `ispell-looking-back'.
21004
21005 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21006
21007 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21008 rather than `filename'.
21009
21010 2009-06-23 Miles Bader <miles@gnu.org>
21011
21012 * face-remap.el (text-scale-set): New function.
21013
21014 2009-06-23 Glenn Morris <rgm@gnu.org>
21015
21016 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21017
21018 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21019
21020 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21021
21022 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21023
21024 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21025 Simplify Persian conditionals.
21026
21027 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21028 variable `filename'.
21029
21030 * comint.el (comint-insert-input): Doc fix.
21031
21032 * Makefile.in (ELCFILES): Fix typo in previous change.
21033
21034 2009-06-23 Miles Bader <miles@gnu.org>
21035
21036 * cus-start.el: Add entry for `recenter-redisplay'.
21037
21038 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21039
21040 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21041 Add an optional argument for the backend, use it instead of
21042 calling vc-backend.
21043 (vc-mode-line): Add an optional argument for the backend.
21044 Pass the backend to vc-state and vc-working-revision. Move code for
21045 special handling for vc-state being a buffer to ...
21046
21047 * vc-rcs.el (vc-rcs-find-file-hook):
21048 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21049
21050 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21051 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21052 vc-stay-local-p and vc-mode-line calls.
21053
21054 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21055 (vc-cvs-diff, vc-cvs-annotate-command)
21056 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21057 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21058 vc-mode-line calls.
21059
21060 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21061 direct comparison.
21062 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21063 backend when calling vc-mode-line.
21064 (vc-register): Do not create a closure for calling the vc register
21065 function, call it directly.
21066
21067 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21068
21069 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21070 to make it obvious item can be clicked.
21071
21072 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21073
21074 2009-06-23 Kenichi Handa <handa@m17n.org>
21075
21076 * language/korea-util.el (korean-key-bindings): Change the binding
21077 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21078 same command.
21079
21080 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21081
21082 Sync with Tramp 2.1.16.
21083
21084 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21085
21086 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21087 when a loading of a package fails. Completion function for rsync
21088 is `tramp-completion-function-alist-ssh'.
21089 (all): Replace all calls of `split-string' and
21090 `tramp-split-string' by `tramp-compat-split-string'.
21091 (tramp-default-method): Use `tramp-compat-process-running-p'.
21092 (tramp-default-proxies-alist): Allow also Lisp forms.
21093 (tramp-remote-path): Add choice "Private Directories".
21094 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21095 (tramp-domain-regexp): Allow also "-", "_" and ".".
21096 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21097 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21098 (tramp-debug-message): Insert header line in debug buffer.
21099 (tramp-handle-directory-files-and-attributes-with-stat):
21100 Care about filenames with spaces, or starting with "-".
21101 (tramp-handle-dired-uncache): New defun.
21102 (tramp-handle-insert-directory): Don't flush the directory from
21103 cache, this is handled by `dired-uncache' now.
21104 (tramp-handle-insert-file-contents): Improve error handling.
21105 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21106 Quote `tramp-end-of-output'.
21107 (tramp-action-password): Improve trace message.
21108 (tramp-check-for-regexp): Both echoes must be present, before removing.
21109 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21110 (tramp-compute-multi-hops): Eval cons cells of
21111 `tramp-default-proxies-alist'.
21112 (tramp-maybe-open-connection): Use the same command pattern for
21113 first hop and further hops.
21114 (tramp-wait-for-output): Remove handling of newlines.
21115 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21116 (tramp-split-string): Remove function. It is handled in
21117 tramp-compat now.
21118
21119 * net/tramp-cmds.el (tramp-bug):
21120 Recommend `tramp-cleanup-all-connections' in the bug mail.
21121
21122 * net/tramp-compat.el (tramp-compat-split-string)
21123 (tramp-compat-process-running-p): New defuns.
21124
21125 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21126 for `dired-uncache'.
21127
21128 * net/tramp-gvfs.el: New package.
21129
21130 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21131 Add handler for `dired-uncache'.
21132 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21133
21134 * net/trampver.el: Update release number. Make version check fit
21135 for SXEmacs 22.
21136
21137 2009-06-22 Jim Meyering <meyering@redhat.com>
21138
21139 Automatically handle .xz suffix (XZ-compressed files), too.
21140 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21141 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21142
21143 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21144 Nick Roberts <nickrob@snap.net.nz>
21145
21146 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21147 repository (http://sphinx.net.ru/hg/gdb-mi/).
21148
21149 2009-06-22 Glenn Morris <rgm@gnu.org>
21150
21151 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21152 `mode' and `eval' entries. (Bug#3430)
21153
21154 * Makefile.in (ELCFILES): Add fadr.elc.
21155
21156 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21157 differing behavior of \n and ^ in strings. (Bug#3385)
21158
21159 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21160
21161 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21162 property.
21163 (lisp-indent-function): Make it a defcustom.
21164
21165 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21166
21167 * progmodes/gdb-ui.el: Replace with ...
21168 * progmodes/gdb-mi.el: ... this file.
21169 * progmodes/gud.el: Modify for gdb-mi.el.
21170
21171 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21172
21173 * fadr.el: New file.
21174
21175 See ChangeLog.14 for earlier changes.
21176
21177 ;; Local Variables:
21178 ;; coding: utf-8
21179 ;; End:
21180
21181 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
21182
21183 This file is part of GNU Emacs.
21184
21185 GNU Emacs is free software: you can redistribute it and/or modify
21186 it under the terms of the GNU General Public License as published by
21187 the Free Software Foundation, either version 3 of the License, or
21188 (at your option) any later version.
21189
21190 GNU Emacs is distributed in the hope that it will be useful,
21191 but WITHOUT ANY WARRANTY; without even the implied warranty of
21192 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21193 GNU General Public License for more details.
21194
21195 You should have received a copy of the GNU General Public License
21196 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.