* loadup.el: Use version numbers in Cygwin build.
[bpt/emacs.git] / lisp / ChangeLog
1 2010-12-17 Ken Brown <kbrown@cornell.edu>
2
3 * loadup.el: Use version numbers in Cygwin build.
4
5 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
6
7 * ido.el (ido-file-internal): Ask for confirmation before
8 overwriting an existing file (Bug#1238).
9
10 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
11
12 * tool-bar.el (tool-bar-setup): Add separators.
13
14 * menu-bar.el (featurep): Use menu-bar-separator.
15
16 2010-12-16 Daiki Ueno <ueno@unixuser.org>
17
18 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
19 key selection prompt; make 'silent as default (Bug#7487).
20
21 2010-12-16 Leo <sdl.web@gmail.com>
22
23 * eshell/eshell.el (eshell-directory-name): Use
24 locate-user-emacs-file (Bug#7578).
25
26 2010-12-15 Glenn Morris <rgm@gnu.org>
27
28 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
29
30 2010-12-15 Jari Aalto <jari.aalto@cante.net>
31 Scott Evans <gse@antisleep.com>
32
33 * rect.el (rectange--default-line-number-format)
34 (rectangle-number-line-callback): New functions.
35 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
36
37 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
38
39 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
40 Delete unused variables.
41 (move-to-column-force): Remove function obsolete since 21.2.
42
43 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
44
45 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
46 (tramp-handle-insert-file-contents): Do not set permanent-local
47 property.
48
49 * net/tramp-cache.el (tramp-persistency-file-name): Use
50 `locate-user-emacs-file' if fboundp.
51
52 * net/tramp-sh.el (tramp-methods): Add "ksu".
53 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
54 method list.
55
56 2010-12-14 Glenn Morris <rgm@gnu.org>
57
58 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
59 (find-tag-marker-ring): Declare.
60 (js-find-symbol): Require etags.
61
62 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
63 Require mail-utils.
64 (mail-alias-file): Don't autoload. Doc fix.
65 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
66 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
67 Mark as obsolete, and risky.
68 (mail-setup): Simplify.
69
70 * mail/mailalias.el (build-mail-aliases): Make it interactive.
71 * mail/sendmail.el (build-mail-aliases): Update autoload.
72
73 * dired.el (dired-trivial-filenames, dired-chown-program)
74 (dired-auto-revert-buffer): Remove autoload cookies.
75 * mail/sendmail.el (mail-recover-1): Require 'dired.
76
77 * dired.el (dired-subdir-switches, dired-chown-program)
78 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
79 Make into defcustoms.
80 (dired-chown-program): Simplify initialization.
81
82 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
83
84 2010-12-13 Romain Francoise <romain@orebokech.com>
85
86 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
87
88 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
89
90 * net/netrc.el (netrc-point-at-eol): Remove the unused
91 netrc-point-at-old and netrc-bound-and-true-p bindings.
92 (netrc-parse): Cache the netrc contents.
93
94 2010-12-13 Eli Zaretskii <eliz@gnu.org>
95
96 * subr.el (posn-col-row): Evaluate header-line-format in the
97 context of the POSITION window's buffer.
98
99 2010-12-13 Glenn Morris <rgm@gnu.org>
100
101 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
102 (with-silent-modifications): Doc fixes.
103
104 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
105
106 * net/tramp.el (tramp-action-password, tramp-process-actions):
107 Revert previous from. Use `save-restriction'.
108
109 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
110
111 * calendar/diary-lib.el (diary-list-sexp-entries):
112 Handle case of no newline at end of file. (Bug#7536)
113
114 2010-12-13 Glenn Morris <rgm@gnu.org>
115
116 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
117
118 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
119
120 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
121 (tramp-process-actions): Do not widen.
122
123 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
124 Protect buffer-modified value. (Bug#7557)
125
126 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
127
128 * log-edit.el (log-edit-changelog-entries):
129 Regexp quote filename. (Bug#7505)
130
131 2010-12-13 Tom Breton <tehom@panix.com>
132
133 * cus-edit.el (custom-save-all):
134 Bind print-length and print-level to nil. (Bug#7581)
135
136 2010-12-13 Glenn Morris <rgm@gnu.org>
137
138 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
139 Run hooks to update menu contents. (Bug#7586)
140
141 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
142 file names, for the sake of MS Windows. (Bug#7588)
143
144 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
147 empty lines without a leading space.
148
149 2010-12-13 Leo <sdl.web@gmail.com>
150
151 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
152 while mapping over marks (Bug#6810).
153
154 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
155
156 * image-dired.el (image-dired-db-file)
157 (image-dired-temp-image-file, image-dired-gallery-dir)
158 (image-dired-temp-rotate-image-file): Set default values relative
159 to image-dired-dir (Bug#7518).
160
161 2010-12-13 Lawrence Mitchell <wence@gmx.li>
162
163 * format.el (format-decode-run-method): Pass args FROM and TO, not
164 point-min and point-max, to shell-command-on-region (Bug#7488).
165
166 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
167
168 * frame.el (blink-cursor-mode): Make default t for ns.
169
170 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
171
172 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
173
174 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
175
176 * comint.el (comint-dynamic-list-input-ring)
177 (comint-dynamic-complete-filename)
178 (comint-replace-by-expanded-filename)
179 (comint-dynamic-simple-complete)
180 (comint-dynamic-list-filename-completions)
181 (comint-dynamic-list-completions): Doc fix (Bug#7499).
182
183 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
184 Doc fix (Bug#7471).
185
186 2010-12-13 Martin Rudalics <rudalics@gmx.at>
187
188 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
189 (Bug#7533).
190
191 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
192
193 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
194 (Bug#7491).
195
196 2010-12-13 Eli Zaretskii <eliz@gnu.org>
197
198 * files.el (file-relative-name): Handle UNC file names on
199 DOS/Windows. (Bug#4674)
200
201 2010-12-13 Daiki Ueno <ueno@unixuser.org>
202
203 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
204 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
205 (epg-context-set-passphrase-callback): Mention that the callback
206 is not called when used with GnuPG 2.x.
207
208 2010-12-13 Glenn Morris <rgm@gnu.org>
209
210 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
211 Ensure ps-footer-font-size-internal is initialized.
212 Call ps-get-page-dimensions before trying to use ps-font-for-text.
213
214 2010-12-13 Kenichi Handa <handa@m17n.org>
215
216 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
217 within condition-case.
218 (rmail-show-mime): Don't use condition-case.
219 (rmail-search-mime-message): New function.
220 (rmail-search-mime-message-function): Set to
221 rmail-search-mime-message.
222
223 2010-12-13 Leo <sdl.web@gmail.com>
224
225 * ido.el (ido-common-initialization): New function. (bug#3274)
226 (ido-mode): Use it.
227 (ido-completing-read): Call it.
228
229 2010-12-12 Karl Fogel <kfogel@red-bean.com>
230
231 * bookmark.el (bookmark-name-from-full-record): Rename back to
232 this original name from `bookmark-name-from-record' reverting part
233 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
234 As Drew Adams pointed out, there was no reason to cause churn for
235 third-party callers.
236
237 2010-12-12 Alan Mackenzie <acm@muc.de>
238
239 * progmodes/cc-engine.el (c-forward-type): Before scanning a
240 template arglist, check that the current language supports this.
241
242 2010-12-11 Glenn Morris <rgm@gnu.org>
243
244 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
245 state of the file matches. (Bug#7544)
246 (vc-bzr-register, vc-bzr-checkin)
247 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
248 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
249
250 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
251
252 2010-12-11 Karel Klíč <kklic@redhat.com>
253
254 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
255
256 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 Derive from prog-mode, use derived-mode-p, and fix up various
259 minor style issues in lisp/progmodes.
260
261 * progmodes/vhdl-mode.el (vhdl-mode):
262 * progmodes/verilog-mode.el (verilog-mode):
263 * progmodes/vera-mode.el (vera-mode):
264 * progmodes/sql.el (sql-mode):
265 * progmodes/scheme.el (scheme-mode):
266 * progmodes/perl-mode.el (perl-mode):
267 * progmodes/octave-inf.el (inferior-octave-mode):
268 * progmodes/autoconf.el (autoconf-mode):
269 * progmodes/m4-mode.el (m4-mode):
270 * progmodes/inf-lisp.el (inferior-lisp-mode):
271 * progmodes/idlwave.el (idlwave-mode):
272 * progmodes/icon.el (icon-mode):
273 * progmodes/idlw-help.el (idlwave-help-mode):
274 * progmodes/dcl-mode.el (dcl-mode):
275 * progmodes/idlw-shell.el (idlwave-shell-mode):
276 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
277 (ebrowse-member-mode, ebrowse-electric-position-mode):
278 Use define-derived-mode.
279
280 * progmodes/xscheme.el (exit-scheme-interaction-mode)
281 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
282 (xscheme-debugger-mode-p, xscheme-send-string-1):
283 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
284 (tcl-load-file, tcl-restart-with-file):
285 * progmodes/ps-mode.el (ps-run-running):
286 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
287 * progmodes/js.el (js--get-all-known-symbols):
288 * progmodes/inf-lisp.el (inferior-lisp-proc):
289 * progmodes/idlwave.el (idlwave-beginning-of-statement)
290 (idlwave-template, idlwave-update-buffer-routine-info)
291 (idlwave-update-current-buffer-info)
292 (idlwave-get-routine-info-from-buffers, idlwave-choose)
293 (idlwave-scan-class-info, idlwave-fix-keywords)
294 (idlwave-list-buffer-load-path-shadows):
295 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
296 (idlwave-toolbar-remove):
297 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
298 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
299 (idlwave-shell-menu-def):
300 * progmodes/idlw-complete-structtag.el
301 (idlwave-prepare-structure-tag-completion):
302 * progmodes/gud.el (gud-set-buffer):
303 * progmodes/f90.el (f90-backslash-not-special):
304 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
305
306 * progmodes/xscheme.el (xscheme-start)
307 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
308 * progmodes/which-func.el (which-function):
309 * progmodes/vhdl-mode.el (vhdl-set-style):
310 * progmodes/verilog-mode.el (verilog-set-compile-command)
311 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
312 (verilog-set-define, verilog-auto-reeval-locals):
313 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
314 * progmodes/simula.el (simula-mode):
315 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
316 * progmodes/python.el (python-check, python-mode):
317 * progmodes/prolog.el (prolog-mode-variables):
318 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
319 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
320 * progmodes/delphi.el (delphi-mode):
321 * progmodes/cc-styles.el (c-setup-paragraph-variables):
322 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
323 (c-font-lock-init): Move make-local-variable to their setq.
324
325 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
326 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
327 make-local-hook.
328 * progmodes/sh-script.el (sh-require-final-newline): Remove.
329 (sh-set-shell): Don't set require-final-newline since it's already done
330 by prog-mode.
331 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
332 since we never set it.
333 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
334 Use read-string and standard prompt.
335 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
336 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
337 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
338 (meta-common-mode-map): Rename from meta-mode-map.
339 Remove C-m binding, which is a user preference, not mode specific.
340 (meta-common-mode): New major mode; replace meta-common-initialization.
341 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
342 around with font-lock.
343 * progmodes/etags.el (select-tags-table-mode):
344 Derive from special-mode.
345 * progmodes/octave-mod.el (octave-mode):
346 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
347 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
348 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
349 Let define-derived-mode do its job.
350 * progmodes/cpp.el (cpp-edit-mode-map):
351 Move initialization into declaration.
352 (cpp-edit-mode): Use define-derived-mode.
353 (cpp-edit-load): Use derived-mode-p.
354 * progmodes/mixal-mode.el (mixal-mode):
355 * progmodes/f90.el (f90-mode):
356 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
357 require-final-newline since prog-mode does it already.
358 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
359 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
360 * progmodes/antlr-mode.el: Require cc-mode upfront.
361 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
362 the declaration.
363 (antlr-directory-dependencies, antlr-show-makefile-rules):
364 Use derived-mode-p.
365 (antlr-language-option): Don't assume point-min==1.
366 (antlr-mode): Use define-derived-mode.
367 * progmodes/ada-mode.el: Use derived-mode-p.
368 (ada-mode): Use define-derived-mode.
369 Use hack-local-variables-hook.
370
371 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
374 (texinfo-mode): Don't disable adaptive-fill-mode.
375 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
376 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
377 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
378 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
379 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
380 (texinfo-insert-@quotation, texinfo-insert-@samp)
381 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
382 (texinfo-insert-@uref): Use define-skeleton.
383 (texinfo-insert-@-with-arg): Delete.
384
385 2010-12-10 Eli Zaretskii <eliz@gnu.org>
386
387 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
388 nil, do quote archive member names. (Bug#6144)
389
390 2010-12-10 Glenn Morris <rgm@gnu.org>
391
392 * files.el (diff-no-select): Declare.
393
394 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
395 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
396
397 * comint.el (comint-input-ring-file-name): Doc fix.
398
399 2010-12-09 Eli Zaretskii <eliz@gnu.org>
400
401 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
402 New functions.
403 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
404 Use them instead of `nil' and `>', respectively.
405 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
406 instead of `nil'.
407 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
408 and menu-bar-positive-p instead of `nil' and `>', respectively.
409 (Bug#1077)
410
411 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
412
413 * whitespace.el (whitespace-newline-mode): Code fix.
414
415 2010-12-09 Glenn Morris <rgm@gnu.org>
416
417 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
418 Rename functions without commas, update callers.
419
420 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
421
422 * whitespace.el (whitespace-cleanup-region):
423 Clean up spaces before tabs. (Bug#7582)
424
425 2010-12-08 Karl Fogel <kfogel@red-bean.com>
426
427 * bookmark.el: Adjust parameter names and doc strings to resolve
428 confusion over whether "bookmark" meant a bookmark name or a
429 bookmark record. Along the way, shorten one function's name for
430 similar reasons. (Issue #7548)
431 (bookmark-name-from-record): New name for
432 `bookmark-name-from-full-record'. All callers changed.
433 (bookmark-get-bookmark, bookmark-get-bookmark-record)
434 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
435 (bookmark-get-annotation, bookmark-set-annotation)
436 (bookmark-get-filename, bookmark-set-filename)
437 (bookmark-get-position, bookmark-set-position)
438 (bookmark-get-front-context-string, bookmark-set-front-context-string)
439 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
440 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
441 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
442 Rename `bookmark' parameter to `bookmark-name-or-record', to
443 clearly show its role, and shorten or adjust doc strings accordingly.
444 (bookmark-set-name): Same, and pass the parameter directly to
445 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
446 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
447 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
448 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
449 and in some cases shorten doc string accordingly.
450 (bookmark-rename): Change `old' and `new' parameters to `old-name'
451 and `new-name', and adjust an internal variable to avoid confusion.
452 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
453 parameter in doc string.
454
455 2010-12-08 Glenn Morris <rgm@gnu.org>
456
457 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
458 from gdb's history file. (Bug#7575)
459
460 * mail/emacsbug.el (report-emacs-bug):
461 Try to handle some other mail clients.
462
463 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * files.el (dir-locals-collect-variables): Don't let errors stop us.
466 Use string-prefix-p.
467 (file-name-version-regexp): New var.
468 (file-name-sans-versions):
469 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
470 (jka-compr-get-compression-info): Use dolist.
471 (jka-compr-compression-info-list): Don't bother specifying
472 version/backup regexps.
473
474 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
475
476 * simple.el (just-one-space): Make argument n default to 1 if
477 omitted.
478
479 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * electric.el (electric-indent-post-self-insert-function):
482 Delete trailing newlines even if we don't reindent.
483
484 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * minibuffer.el (completion-at-point): Remove the `arg'.
487 * bindings.el (complete-symbol): Move back from minibuffer.el.
488
489 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
490
491 * simple.el (just-one-space): Delete newlines for negative arg.
492
493 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
496 (ansi-color-filter-apply): Simplify.
497 (ansi-color-apply): Use `font-lock-face' rather than `face'.
498
499 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
500
501 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
502
503 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
504
505 * dired.el (dired-use-ls-dired): Set default to a special
506 "unspecified" value.
507 (dired-insert-directory): When called the first time, check
508 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
509
510 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
511
512 * replace.el: Add "collect" feature to occur.
513 (occur-collect-regexp-history): New var.
514 (occur-read-primary-args): Return a replace string for nlines,
515 if needed.
516 (occur): Extend the meaning of nlines.
517
518 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
521 (which-func-update-1): Distinguish symbols from strings.
522 (which-function): Stay within 80 columns.
523
524 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * subr.el (with-demoted-errors): Distinguish symbols from strings.
527
528 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
529 Improve docstring.
530 (comment-style): Use comment-styles's docs to describe values.
531
532 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
533
534 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
535 and ns-show-prefs (Bug#7535).
536
537 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
538 bindings (Bug#7535).
539
540 2010-12-03 Glenn Morris <rgm@gnu.org>
541
542 * nxml/nxml-mode.el: Require rng-nxml.
543 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
544 Remove declarations.
545
546 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
547 * nxml/rng-nxml.el, nxml/rng-valid.el:
548 Remove leading `*' from defcustom docs.
549
550 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
551 (normal-top-level-add-to-load-path, tty-handle-args):
552 Convert comments to basic doc-strings.
553
554 * net/browse-url.el (browse-url-url-at-point)
555 (browse-url-default-browser): Remove autoload cookies.
556
557 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
558 Remove more undefined cl functions.
559
560 * vc/diff.el (diff-sentinel): Make new arguments optional.
561 * ibuf-ext.el (diff-sentinel): Update declaration.
562
563 2010-12-03 Daiki Ueno <ueno@unixuser.org>
564
565 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
566 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
567 (epg-context-set-passphrase-callback): Mention that the callback
568 is not called when used with GnuPG 2.x.
569
570 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
571
572 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
573 (tramp-file-name-port): Check also for `tramp-default-port'.
574 (tramp-get-connection-name): New defun.
575 (tramp-get-connection-process): Use it.
576 (tramp-debug-message): Extend function exclude list.
577 (tramp-drop-volume-letter): Fix doc string.
578
579 * net/tramp-cmds.el: Remove solved todo item.
580
581 * net/tramp-efs.el:
582 * net/tramp-ftp.el:
583 * net/tramp-gvfs.el:
584 * net/tramp-gw.el:
585 * net/tramp-imap.el:
586 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
587 and `tramp-default-user-alist', respectively.
588
589 * net/tramp-gw.el (tramp-gw-open-connection):
590 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
591
592 * net/tramp-imap.el (tramp-imap-make-iht): Use just
593 `tramp-file-name-port'.
594
595 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
596 and "psftp". Exchange "%k" marker with options.
597 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
598 Compute size of link target.
599 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
600 `tramp-current-*' up due to gateway methods. Optimze computing of
601 copy arguments. Use `tramp-get-connection-name' and
602 `tramp-get-connection-buffer'. Improve debug messages.
603 (tramp-compute-multi-hops): Remove port determination.
604 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
605
606 * net/trampver.el: Update release number.
607
608 2010-12-02 Glenn Morris <rgm@gnu.org>
609
610 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
611 Avoid infinite loop over windows. (Bug#7492)
612
613 * progmodes/flymake.el (flymake-check-file-limit):
614 Allow nil to mean "no limit".
615 (flymake-check-patch-master-file-buffer): Update for above change.
616 Allow a .tex file-name extension to be optional.
617 (flymake-master-tex-init): Also match \include statements.
618
619 2010-11-30 Sam Steingold <sds@gnu.org>
620
621 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
622 (nxml-parent-document-set): A function to set `nxml-parent-document'.
623 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
624 (nxml-mode-hook): Remove `defcustom' (auto-defined by
625 define-derived-mode').
626 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
627 users who want to call `nxml-parent-document-set'.
628
629 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
630
631 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
632 stand-alone lines, since that is handled by log-edit-match-to-eoh
633 (Bug#6465).
634
635 2010-11-27 Eduard Wiebe <usenet@pusto.de>
636
637 * dired.el (dired-get-filename): Replace backslashes with slashes
638 in file names on MS-Windows, needed by `locate'. (Bug#7308)
639 * locate.el (locate-default-make-command-line): Don't consider
640 drive letter and root directory part of
641 `directory-listing-before-filename-regexp'. (Bug#7308)
642 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
643
644 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
647 of :smie-open/close-alist.
648 (smie-next-sexp): Make it accept a "start token" as argument.
649 (smie-indent-keyword): Be careful not to misidentify tokens that span
650 more than one line, as empty lines. Add argument `token'.
651
652 2010-11-27 Kenichi Handa <handa@m17n.org>
653
654 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
655 multipart subtypes, insert all as usual.
656
657 * mail/rmail.el: Require rfc2047.
658
659 2010-11-27 Kenichi Handa <handa@m17n.org>
660
661 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
662 (rmail-mime-entity-disposition)
663 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
664 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
665 (rmail-mime-save): Handle the case that the button's `data' is a
666 MIME entity.
667 (rmail-mime-insert-text): New function.
668 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
669 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
670 (rmail-mime-insert-bulk): New function mostly copied from the old
671 rmail-mime-bulk-handler.
672 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
673 (rmail-mime-process-multipart): New function mostly copied from
674 the old rmail-mime-multipart-handler.
675 (rmail-mime-show): Just call rmail-mime-process.
676 (rmail-mime-process): New function mostly copied from the old
677 rmail-mime-show.
678 (rmail-mime-insert-multipart, rmail-mime-parse)
679 (rmail-mime-insert, rmail-show-mime)
680 (rmail-insert-mime-forwarded-message)
681 (rmail-insert-mime-resent-message): New functions.
682 (rmail-insert-mime-forwarded-message-function): Set to
683 rmail-insert-mime-forwarded-message.
684 (rmail-insert-mime-resent-message-function): Set to
685 rmail-insert-mime-resent-message.
686
687 * mail/rmailsum.el: Require rfc2047.
688 (rmail-header-summary): Handle multiline Subject: field.
689 (rmail-summary-line-decoder): Change the default to
690 rfc2047-decode-string.
691
692 * mail/rmail.el (rmail-enable-mime): Change the default to t.
693 (rmail-mime-feature): Change the default to `rmailmm'.
694 (rmail-quit): Delete the specifal code for rmail-enable-mime.
695 (rmail-display-labels): Likewise.
696 (rmail-show-message-1): Check rmail-enable-mime, and use
697 rmail-show-mime-function for a MIME message. Decode the headers
698 according to RFC2047.
699
700 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * progmodes/which-func.el (which-func-imenu-joiner-function):
703 Return a string, as expected.
704 (which-function-mode): Make sure we stop any previous timer before
705 starting a new one.
706
707 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
708
709 * net/tramp.el (tramp-default-method-alist)
710 (tramp-default-user-alist, tramp-default-proxies-alist):
711 Adapt custom options type. (Bug#7445)
712
713 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
714
715 * progmodes/python.el: Add Ipython support (Bug#5390).
716 (python-shell-prompt-alist)
717 (python-shell-continuation-prompt-alist): New options.
718 (python--set-prompt-regexp): New function.
719 (inferior-python-mode, run-python, python-shell):
720 Require ansi-color. Use python--set-prompt-regexp to set the comint
721 prompt based on the Python interpreter.
722 (python--prompt-regexp): New var.
723 (python-check-comint-prompt)
724 (python-comint-output-filter-function): Use it.
725 (run-python): Use a pipe (Bug#5694).
726
727 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
728
729 * progmodes/python.el (run-python): Doc fix.
730 (python-keep-current-directory-in-path): New var (Bug#7454).
731
732 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
733
734 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
735 Prompt user before actually printing.
736
737 2010-11-27 Glenn Morris <rgm@gnu.org>
738
739 * startup.el (package-enable-at-startup, package-initialize):
740 Remove unnecessary declarations.
741
742 2010-11-27 Eli Zaretskii <eliz@gnu.org>
743
744 * international/characters.el (glyphless-char-display-control):
745 Exclude newline and TAB from the c0-control group.
746
747 2010-11-27 Glenn Morris <rgm@gnu.org>
748
749 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
750 (expand-mail-aliases): Remove unnecessary autoload.
751
752 * allout.el (allout-command-prefix, allout-mode-map): Declare.
753
754 * shell.el (shell-dir-cookie-re): Move definition before use.
755
756 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
757 Replace undefined CL functions.
758
759 2010-11-26 Eli Zaretskii <eliz@gnu.org>
760
761 * simple.el (prog-mode): Set bidi-paragraph-direction to
762 left-to-right.
763
764 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
765
766 2010-11-26 Glenn Morris <rgm@gnu.org>
767
768 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
769 diary-outlook-formats can be sensitive to calendar-date-style.
770 (diary-outlook-formats): Simplify the default setting.
771 (diary-from-outlook-internal): Pass subject and body as arguments.
772 Use dolist rather than dotimes. Don't save the diary buffer.
773 (diary-from-outlook-gnus, diary-from-outlook-rmail):
774 Pass subject and body as explicit arguments to the -internal function.
775
776 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
777
778 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
779 parsing them. This makes mailto:...?subject=foo\nbar work.
780
781 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * vc/diff.el (diff): Fix last change.
784
785 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
788 (pcase--dontcare-upats): New var.
789 (pcase-let, pcase-let*): Generate better code.
790 Accept the same bodies as `let'.
791 (pcase-dolist): New macro.
792 (pcase--trivial-upat-p): New helper function.
793 (pcase--expand): Strip leading "(let nil" if any.
794
795 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
796
797 * mail/mailclient.el (browse-url): Require.
798 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
799 use the external browser function to send the mail (bug#7469).
800
801 * net/browse-url.el (browse-url-browser-function): Revert the
802 default back to the previous value, since the new value broke
803 mailclient.el.
804 (browse-url-mailto-function): New variable for mailto: URLs.
805 (browse-url): Use the new variable for mailto: URLs.
806
807 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
808
809 * eshell/esh-cmd.el (eshell-parse-command):
810 * eshell/esh-arg.el (eshell-parse-arguments):
811 * eshell/em-script.el (eshell-source-file):
812 Use with-silent-modifications.
813
814 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
815
816 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
817 for a merge location.
818
819 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
820 (vc-bzr-merge-branch): Always prompt.
821 (vc-bzr-async-command): Use the full branch filename.
822
823 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * shell.el (shell): Use current-buffer by default if it's already
826 a shell mode buffer and its process is dead.
827 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
828
829 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
830
831 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
832 Mention that the keywords should be comma separated.
833
834 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
835
836 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
837 Accept optional prefix arg meaning to prompt for a command.
838 (vc-update): Use vc-BACKEND-pull if available. Accept optional
839 prefix arg meaning to prompt for a command.
840 (vc-pull): Alias for vc-update.
841
842 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
843 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
844 (vc-bzr-merge-branch): New functions, implementing merge-branch
845 and pull operations.
846
847 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
848
849 * Makefile.in: Fix up last merge.
850
851 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
852 (diff-sentinel): Get them as arguments instead.
853 (diff-old-file, diff-new-file, diff-extra-args): Remove.
854 (diff-file-local-copy, diff-better-file-name): New funs.
855 (diff-no-select): Rename from diff-into-buffer.
856 Support buffers additionally to files. Move `buf' arg. Don't display buf.
857 Prefer closures to buffer-local variables.
858 (diff): Adjust accordingly.
859 (diff-buffer-with-file): Move from files.el.
860 * files.el (diff-buffer-with-file): Move to vc/diff.el.
861 (diff-buffer-internal): Remove.
862 (diff-buffer-buffer): Remove.
863 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
864 the buffer name used, and so as not to mess up windows and frames.
865
866 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
867
868 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
869 (diff-buffer-internal): New function extracted from diff-buffer-with-file
870 (diff-buffer-with-file): Use it.
871 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
872 (diff): Use it.
873
874 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
875
876 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
877 \ref's or \pageref's value as default instead of initial input.
878
879 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
880
881 * files.el (backup-by-copying-when-mismatch): The default value is
882 now t.
883
884 * startup.el (normal-top-level):
885 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
886 `backup-by-copying-when-mismatch'.
887
888 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
889
890 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
891
892 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
893
894 * progmodes/python.el (python-font-lock-keywords):
895 Highlight top-level augmented assignments (Bug#6445).
896
897 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
898
899 * term/ns-win.el (ns-right-control-modifier)
900 (ns-right-command-modifier): Defvar them.
901
902 * cus-start.el (all): Add ns-right-control-modifier and
903 ns-right-command-modifier (Bug#7458).
904
905 2010-11-20 Glenn Morris <rgm@gnu.org>
906
907 * emacs-lisp/authors.el (authors-ignored-files)
908 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
909
910 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
911
912 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
913 (report-emacs-bug-parse-query-results)
914 (report-emacs-bug-create-existing-bugs-buffer): Pass through
915 keywords used for querying the bug database to show them in the
916 existing bugs buffer.
917
918 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
919
920 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
921
922 * info.el (info-tool-bar-map): Add some :vert-only keywords.
923
924 2010-11-20 Eli Zaretskii <eliz@gnu.org>
925
926 * international/characters.el (glyphless-char-display-control):
927 Make it a defcustom, with update-glyphless-char-display as its
928 :set attribute.
929 (top level): Don't call update-glyphless-char-display.
930
931 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
932
933 Sync with Tramp 2.2.0.
934
935 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
936 `file-remote-p' (due to compatibility).
937
938 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
939 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
940
941 * net/trampver.el: Update release number.
942
943 2010-11-20 Eli Zaretskii <eliz@gnu.org>
944
945 * faces.el (glyphless-char): Define value for `pc'.
946
947 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
948
949 Implemented a bug querying mechanism.
950 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
951 (report-emacs-bug-create-existing-bugs-buffer)
952 (report-emacs-bug-parse-query-results)
953 (report-emacs-bug-query-existing-bugs): New functions.
954
955 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
956
957 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
958 a \ref{} or \pageref{} macro, then use its value as initial input.
959
960 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
961
962 * calc/calc-units.el (math-build-units-table-buffer):
963 calc/README: Mention that the TeX specific units won't use the
964 `tex' prefix in TeX mode.
965 calc/calc-lang.el (math-variable-table): Don't use the `tex'
966 prefix for units in TeX mode.
967
968 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
969
970 * simple.el (kill-new, kill-append, kill-region):
971 * comint.el (comint-kill-region): Make the yank-handler argument
972 obsolete.
973
974 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
977 that are both openers (resp. closers) and something else.
978 (smie-grammar): Loosen definition of valid values.
979 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
980 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
981 (smie-indent-after-keyword): Adjust users.
982 (smie-indent-keyword): Don't indent empty lines.
983
984 * vc-hg.el (vc-hg-program): New var.
985 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
986 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
987
988 2010-11-18 Glenn Morris <rgm@gnu.org>
989
990 * emacs-lisp/autoload.el (autoload-find-destination): The function
991 coding-system-eol-type may return non-numeric values. (Bug#7414)
992
993 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
994
995 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
996
997 2010-11-18 Eli Zaretskii <eliz@gnu.org>
998
999 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1000
1001 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1002
1003 * textmodes/picture.el (picture-mouse-set-point): Don't use
1004 posn-col-row; explicitly compute the motion based on the posn at
1005 the window-start (Bug#7390).
1006
1007 2010-11-18 Glenn Morris <rgm@gnu.org>
1008
1009 * novice.el (disabled-command-function):
1010 Fix 2009-11-15 change. (Bug#7384)
1011
1012 2010-11-18 Glenn Morris <rgm@gnu.org>
1013
1014 * calendar/calendar.el (diary-iso-date-forms): Make elements
1015 mutually exclusive. (Bug#7377)
1016
1017 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1018
1019 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1020 when filling the remaining "unconstrained" values.
1021
1022 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1025 safety predicate.
1026
1027 * files.el (safe-local-variable-p): Gracefully handle errors.
1028
1029 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1030 Use smie-indent-virtual when indenting relative to an opener.
1031 (smie-rule-separator): Use smie-rule-parent.
1032 (smie-indent-keyword): Consult rules, even for openers at bol.
1033 (smie-indent-comment-close): Try to align closer's content.
1034
1035 2010-11-18 Glenn Morris <rgm@gnu.org>
1036
1037 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1038
1039 2010-11-18 Glenn Morris <rgm@gnu.org>
1040
1041 * printing.el (pr-menu-bind): Doc fix.
1042
1043 * speedbar.el (speedbar-toggle-images): Doc fix.
1044
1045 * progmodes/python.el (python-shell): Doc fix.
1046
1047 * wid-edit.el (widget-field-use-before-change)
1048 (widget-use-overlay-change): Doc fixes.
1049
1050 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 Minor cleanup to improve style.
1053 * textmodes/rst.el (rst-update-section): Use point-marker.
1054 (rst-get-decoration): Eliminate unneeded assignment.
1055 (rst-promote-region, rst-straighten-decorations)
1056 (rst-section-tree, rst-adjust): Use point-marker.
1057 (rst-toc-mode-mouse-goto): Avoid setq.
1058 (rst-shift-region-guts, rst-shift-region-left)
1059 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1060 (rst-convert-bullets-to-enumeration): Use copy-marker.
1061
1062 * minibuffer.el (completion-fail-discreetly): New var.
1063 (completion--do-completion): Use it.
1064
1065 * electric.el (electric-pair-pairs): New var.
1066 (electric-pair-post-self-insert-function): Use it.
1067 (electric-layout-post-self-insert-function): Don't insert a before
1068 newline unless it's actually needed.
1069
1070 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1071
1072 * progmodes/python.el (run-python): Explain why we remove the current
1073 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1074
1075 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1076
1077 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1078
1079 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1080 (octave-mode-map): Don't bind ;, SPC, and LF.
1081 (octave-auto-indent, octave-auto-newline): Remove.
1082 (electric-layout-rules): Declare.
1083 (octave-mode): Set electric-layout-rules.
1084 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1085 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1086 (octave-electric-space): Remove.
1087
1088 * electric.el (electric-layout-mode): New minor mode.
1089 (electric--after-char-pos): New function.
1090 (electric-indent-post-self-insert-function): Use it.
1091 (electric-layout-rules): New var.
1092 (electric-layout-post-self-insert-function): New function.
1093 (electric-indent-mode): Make them interact better.
1094
1095 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1098 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1099 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1100
1101 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1102
1103 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1104 Make sure to check inside the word (Bug#6761).
1105
1106 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1107
1108 * startup.el (command-line): If the cursorColor resource is set,
1109 change the cursor face-spec (Bug#7392).
1110
1111 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1112
1113 The main features of the following allout.el changes are:
1114 - implement user customization for the allout key bindings
1115 - add a customization control by which the user can inhibit use of
1116 a trailing Ctrl-H, so by default it's reserved for use with
1117 describe-prefix-bindings
1118 - adapt to new version of called-interactively-p, while
1119 maintaining backwards compatibility with old version
1120 - fix hotspot navigation so i works properly with meta-modified keys
1121
1122 * allout.el (allout-keybindings, allout-bind-keys)
1123 (allout-keybindings-binding, allout-prefixed-keybindings)
1124 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1125 (allout-keybindings-list, allout-mode-map-adjustments)
1126 (allout-setup-mode-map): Establish allout-mode keymaps as user
1127 customizable settings, and also establish a customizable setting which
1128 regulates whether or not a trailing control-h is reserved for use with
1129 describe-prefix-bindings - and inhibit it by default, so that control-h
1130 *is* reserved for describe-prefix-bindings unless the user changes it.
1131
1132 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1133 and accurately between modified and unmodified events, and handle
1134 modified events more comprehensively.
1135
1136 * allout.el (allout-substring-no-properties):
1137 Alias to use or provide version of `substring-no-properties'.
1138 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1139
1140 * allout.el (allout-next-single-char-property-change):
1141 Alias to use or provide version of `next-single-char-property-change'.
1142 (allout-annotate-hidden, allout-hide-by-annotation):
1143 Use `allout-next-single-char-property-change'.
1144
1145 * allout.el (allout-select-safe-coding-system):
1146 Alias to use or provide version of `select-safe-coding-system'.
1147 (allout-toggle-subtree-encryption):
1148 Use `allout-select-safe-coding-system'.
1149
1150 * allout.el (allout-set-buffer-multibyte):
1151 Alias to use or provide version of `set-buffer-multibyte'.
1152 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1153
1154 * allout.el (allout-called-interactively-p): Macro for using the
1155 different versions of called-interactively-p identically, depending on
1156 the subroutine's argument signature.
1157 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1158 Use `(interactive "p")' instead of `(called-interactively-p)'.
1159
1160 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1161 (allout-previous-visible-heading, allout-forward-current-level)
1162 (allout-backward-current-level, allout-show-children):
1163 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1164
1165 * allout.el (allout-before-change-handler):
1166 Exempt edits to the (overlaid) character after the allout outline
1167 bullet from edit confirmation prompt.
1168
1169 * allout.el (allout-add-resumptions):
1170 Ensure that it respects correct buffer for keybindings.
1171
1172 * allout.el (allout-beginning-of-line):
1173 Use `allout-previous-single-char-property-change' alias for the sake of
1174 diverse compatibility.
1175
1176 * allout.el (allout-end-of-line):
1177 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1178
1179 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1180
1181 * frame.el (frame-notice-user-settings): Don't clobber other
1182 user-set parameters when calling face-set-after-frame-default in
1183 response to background-color parameter (Bug#7373).
1184
1185 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1186
1187 * international/characters.el (glyphless-char-display-control):
1188 Rename from glyphless-char-control; all users changed. Doc fix.
1189 Signal an error if display method is not one of the recognized
1190 symbols.
1191
1192 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1193
1194 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1195 (tramp-compat-line-end-position): Remove them.
1196
1197 * net/tramp.el (tramp-parse-rhosts-group)
1198 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1199 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1200 (tramp-parse-netrc-group, tramp-parse-putty-group)
1201 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1202 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1203 (tramp-sh-handle-file-selinux-context)
1204 (tramp-sh-handle-file-name-all-completions)
1205 (tramp-sh-handle-insert-directory)
1206 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1207 (tramp-wait-for-output, tramp-send-command-and-read)
1208 * net/tramp-smb.el (tramp-smb-read-file-entry)
1209 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1210
1211 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1212 `point-at-bol'.
1213 (tramp-remote-coding-commands): Add an alternative using "base64
1214 -d -i". This is needed for older base64 versions from GNU
1215 coreutils. Reported by Klaus Reichl
1216 <Klaus.Reichl@thalesgroup.com>.
1217
1218 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1219
1220 * simple.el (count-words-region): New function.
1221
1222 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * shell.el (shell-dir-cookie-re): New custom variable.
1225 (shell-dir-cookie-watcher): New function.
1226
1227 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1228 and compilation-mode (bug#7350).
1229
1230 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1231 highlight when one of them is empty.
1232
1233 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1234 trailing space.
1235 (skeleton-newline): New function.
1236 (skeleton-internal-1): Use it.
1237
1238 * simple.el (open-line): `newline' may strip trailing space.
1239
1240 2010-11-12 Kevin Ryde <user42@zip.com.au>
1241
1242 * international/mule-cmds.el (princ-list): Use mapc.
1243
1244 2010-11-12 Glenn Morris <rgm@gnu.org>
1245
1246 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1247 Use it to replace all instances of "*Compile-Log*"
1248
1249 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1252 indentation specs.
1253
1254 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * progmodes/modula2.el: Use SMIE and skeleton.
1257 (m2-mode-syntax-table): (*..*) can be nested.
1258 Add //...\n. Fix paren syntax.
1259 (m2-mode-map): Remove LF and TAB bindings.
1260 (m2-indent): Add safety property.
1261 (m2-smie-grammar): New var.
1262 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1263 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1264 (m2-mode): Use define-derived-mode.
1265 (m2-newline, m2-tab): Remove.
1266 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1267 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1268 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1269 (m2-import): Use define-skeleton.
1270
1271 2010-11-11 Glenn Morris <rgm@gnu.org>
1272
1273 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1274
1275 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1276 (ls-lisp-verbosity): Add custom :set-after property.
1277 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1278 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1279 (ls-lisp-insert-directory): Update caller.
1280 (ls-lisp-set-options): New function.
1281 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1282 Doc fix.
1283
1284 * play/landmark.el (lm-prompt-for-move):
1285 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1286
1287 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1288
1289 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1290 (idlwave-study-twins): Prefix dynamic local variable `name'.
1291 (idlwave-routine-twin-compare): Update for above change.
1292
1293 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1294 Prefix dynamic local variables `name', `kwd', and `link'.
1295 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1296 * progmodes/idlw-complete-structtag.el
1297 (idlwave-complete-structure-tag-help):
1298 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1299 (idlwave-complete-sysvar-tag-help)
1300 (idlwave-complete-class-structure-tag-help):
1301 Update for above name changes.
1302
1303 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1304
1305 * net/browse-url.el (browse-url-browser-function): Change the
1306 default to use `browse-url-mail' on mailto: URLs.
1307
1308 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1309
1310 * emacs-lisp/package.el (package-read-all-archive-contents):
1311 Reset package-archive-contents to nil before re-reading.
1312
1313 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1314
1315 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1316 already found as misspellings by (flyspell-large-region), just
1317 do highlighting (bug#7322).
1318
1319 2010-11-10 Glenn Morris <rgm@gnu.org>
1320
1321 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1322
1323 * emulation/edt.el (edt-with-position): New macro.
1324 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1325 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1326 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1327
1328 * emulation/tpu-extras.el (tpu-with-position): New macro.
1329 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1330
1331 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1332
1333 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1334 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1335 (texinfo-master-menu, texinfo-insert-node-lines)
1336 (texinfo-multiple-files-update):
1337 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1338 Use line-beginning-position.
1339
1340 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1341 No recent Emacs supports system-type `emx'.
1342
1343 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1344 (ada-command-separator, ada-default-prj-properties)
1345 (ada-find-any-references): Update for above name change.
1346
1347 * dirtrack.el (dirtrack-directory-function)
1348 (dirtrack-canonicalize-function):
1349 * filecache.el (file-cache-completion-ignore-case)
1350 (file-cache-case-fold-search, file-cache-ignore-case):
1351 * term.el (serial-port-is-file-p): Cosmetic change.
1352
1353 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1354 Remove non-existent `windows-95' system-type.
1355 * dired.el (dired-chown-program): Remove non-existent `linux'
1356 system-type.
1357
1358 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1359 (ping-program-options): Remove non-existent `linux' system-type.
1360
1361 * startup.el (package-initialize): Update declaration.
1362
1363 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1364 (ls-lisp-handle-switches): Use time-less-p.
1365 (ls-lisp-format-time): Use float-time.
1366
1367 * textmodes/remember.el (remember-time-to-seconds): Remove.
1368 (remember-store-in-mailbox): Use float-time.
1369
1370 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1371
1372 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1373 never a real function.
1374 (with-no-warnings): Remove compat stub, now unused.
1375 (time-less-p): Doc fix.
1376 (time-to-number-of-days): Simplify.
1377
1378 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1379 Remove.
1380 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1381 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1382 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1383 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1384 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1385
1386 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1387 (eshell-shuffle-files, eshell-shorthand-tar-command)
1388 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1389 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1390 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1391 Prefix dynamic local variable `matches'.
1392
1393 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1394 Prefix dynamic local variable `skeleton'.
1395
1396 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1397
1398 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1399 in mail buffer; make yank-action always a command that yanks original
1400 buffer.
1401
1402 2010-11-09 Glenn Morris <rgm@gnu.org>
1403
1404 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1405
1406 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1409 completion field (bug#7211).
1410
1411 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1412 Fix handling of backslash escapes.
1413 (python-quote-syntax): Adjust accordingly.
1414
1415 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1416
1417 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1418 (vc-mtn-workfile-branch): Adjust to new output format.
1419
1420 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * international/mule-cmds.el (princ-list): Mark as obsolete.
1423
1424 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * emacs-lisp/smie.el: New package.
1427
1428 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1429
1430 * files.el (backup-by-copying-when-mismatch):
1431 Set `permanent-local' property.
1432
1433 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1434 `permanent-local' property for `backup-by-copying-when-mismatch'.
1435
1436 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1437
1438 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1439
1440 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1441
1442 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1443 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1444 AUTOINOUT for SV style multidimensional arrays, bug294.
1445 Reported by Eric Mastromarchi.
1446 (verilog-preprocess): Use with-current-buffer and
1447 font-lock-fontify-buffer to cleanup style issues.
1448
1449 2010-11-09 Glenn Morris <rgm@gnu.org>
1450
1451 * locate.el (locate, locate-mode): Doc fixes.
1452
1453 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1454
1455 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1456 user for confirmation.
1457 (server-force-stop): Use it.
1458 (server-start): Use server-force-stop for kill-emacs-hook, to
1459 avoid user interaction while killing Emacs.
1460
1461 2010-11-09 Glenn Morris <rgm@gnu.org>
1462
1463 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1464 (meta-indent-line): Simplify.
1465
1466 * vc/emerge.el (emerge-line-number-in-buf):
1467 * textmodes/ispell.el (ispell-region):
1468 * textmodes/fill.el (current-fill-column):
1469 * progmodes/xscheme.el (xscheme-send-current-line):
1470 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1471 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1472 * progmodes/sh-script.el (sh-handle-prev-do):
1473 * progmodes/meta-mode.el (meta-indent-line):
1474 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1475 (idlwave-in-quote):
1476 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1477 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1478 * progmodes/fortran.el (fortran-looking-at-if-then):
1479 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1480 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1481 (cperl-find-pods-heres):
1482 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1483 * net/quickurl.el (quickurl-list-insert):
1484 * net/ldap.el (ldap-search-internal):
1485 * net/eudc.el (eudc-expand-inline):
1486 * mail/sendmail.el (sendmail-send-it):
1487 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1488 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1489 (viper-brac-function):
1490 * calc/calc-yank.el (calc-do-grab-region):
1491 * calc/calc-keypd.el (calc-keypad-press):
1492 * term.el (term-move-columns, term-insert-spaces):
1493 * speedbar.el (speedbar-highlight-one-tag-line):
1494 * simple.el (current-word):
1495 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1496 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1497 (Info-scroll-down):
1498 * hippie-exp.el (he-line-beg):
1499 * epa.el (epa--marked-keys):
1500 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1501 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1502 (dired-relist-entry):
1503 * buff-menu.el (Buffer-menu-buffer):
1504 * array.el (current-line):
1505 * allout.el (allout-resolve-xref)
1506 (allout-latex-verbatim-quote-curr-line):
1507 Replace yet more uses of end-of-line etc with line-end-position, etc.
1508
1509 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1512 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1513 (checkdoc-syntax-table): Initialize in the declaration.
1514 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1515 the mode on unconditionally.
1516
1517 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1518 (extent-end-position, extent-start-position): Remove setf method for
1519 non-existing functions (bug#7319).
1520
1521 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1522
1523 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1524 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1525 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1526 (smie-prec2->grammar): Rename from smie-prec2-levels.
1527 (smie-grammar): Rename from smie-op-levels.
1528 (smie-indent--hanging-p): Rename from smie-hanging-p.
1529 (smie-rule-hanging-p): New alias.
1530 (smie-indent--bolp): Rename from smie-bolp.
1531 (smie-indent--hanging-p): New alias.
1532 (smie--token): New dynamically bound variable.
1533 (smie-indent--parent): New function.
1534 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1535 (smie-rule-next-p): Rename from smie-next-p.
1536 (smie-rule-prev-p): Rename from smie-prev-p.
1537 (smie-rule-sibling-p, smie-rule-parent)
1538 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1539 (smie-rule-separator-outdent): New var.
1540 (smie-indent--rule): Merge with smie-indent--column.
1541 (smie-indent-forward-token, smie-indent-backward-token):
1542 Also recognize close parens.
1543 (smie-indent-keyword): Don't use smie-indent--column any more.
1544 (smie-indent-after-keyword): Ignore closers by default.
1545 (smie-indent-line): Use with-demoted-errors.
1546 * progmodes/octave-mod.el (octave-smie-grammar):
1547 Rename from octave-smie-op-levels.
1548 (octave-smie-rules): Adjust to new behavior.
1549 * progmodes/prolog.el (prolog-smie-grammar):
1550 Rename from prolog-smie-op-levels.
1551
1552 2010-11-07 Glenn Morris <rgm@gnu.org>
1553
1554 * eshell/esh-util.el (subst-char-in-string)
1555 (directory-files-and-attributes): These compatibility definitions are
1556 not needed on any version of Emacs since at least 21.4.
1557
1558 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1559 (verilog-get-end-of-line): Remove.
1560 (verilog-within-string, verilog-re-search-forward-substr)
1561 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1562 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1563 Use point-at-bol, point-at-eol.
1564 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1565 Remove.
1566 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1567 (electric-pascal-terminate-line, pascal-set-auto-comments)
1568 (pascal-indent-paramlist, pascal-indent-declaration)
1569 (pascal-get-lineup-indent, pascal-func-completion)
1570 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1571 Use point-at-bol, point-at-eol.
1572 * progmodes/flymake.el (flymake-line-beginning-position)
1573 (flymake-line-end-position): Remove.
1574 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1575 * eshell/esh-util.el (line-end-position, line-beginning-position):
1576 Remove compat definitions.
1577
1578 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1579 Use end-of-line N.
1580 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1581 Use line-end-position.
1582
1583 * emacs-lisp/chart.el (chart-zap-chars):
1584 * play/decipher.el (decipher-set-map):
1585 * progmodes/ada-mode.el (ada-get-current-indent)
1586 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1587 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1588 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1589 (ada-get-all-references):
1590 * progmodes/cperl-mode.el (cperl-electric-paren)
1591 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1592 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1593 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1594 (cperl-word-at-point-hard):
1595 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1596 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1597 (idlwave-shell-display-line):
1598 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1599 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1600 * progmodes/js.el (js--re-search-forward-inner)
1601 (js--re-search-backward-inner):
1602 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1603 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1604 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1605 * textmodes/flyspell.el (flyspell-process-localwords):
1606 * textmodes/ispell.el (ispell-buffer-local-parsing)
1607 (ispell-buffer-local-dict, ispell-buffer-local-words):
1608 Use point-at-bol and point-at-eol.
1609
1610 * speedbar.el (speedbar-generic-item-info)
1611 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1612 (speedbar-add-indicator, speedbar-check-vc-this-line)
1613 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1614 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1615 Replace more uses of end-of-line etc with line-end-position.
1616
1617 2010-11-06 Glenn Morris <rgm@gnu.org>
1618
1619 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1620 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1621 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1622 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1623 (texinfo-multiple-files-update):
1624 * textmodes/table.el (table--probe-cell-left-up)
1625 (table--probe-cell-right-bottom):
1626 * textmodes/picture.el (picture-tab-search):
1627 * textmodes/page-ext.el (pages-copy-header-and-position)
1628 (pages-directory-for-addresses):
1629 * progmodes/vera-mode.el (vera-get-offset):
1630 * progmodes/simula.el (simula-calculate-indent):
1631 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1632 * progmodes/prolog.el (end-of-prolog-clause):
1633 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1634 * progmodes/icon.el (indent-icon-exp):
1635 * progmodes/etags.el (tag-re-match-p):
1636 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1637 * progmodes/ebnf2ps.el (ebnf-begin-file):
1638 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1639 (dcl-save-local-variable):
1640 * play/life.el (life-setup):
1641 * play/gametree.el (gametree-looking-at-ply):
1642 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1643 * mail/sendmail.el (mail-mode-auto-fill):
1644 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1645 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1646 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1647 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1648 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1649 * type-break.el (type-break-file-keystroke-count):
1650 * term.el (term-replace-by-expanded-history-before-point)
1651 (term-skip-prompt, term-extract-string):
1652 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1653 (speedbar-contract-line, speedbar-toggle-line-expansion)
1654 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1655 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1656 * sort.el (sort-skip-fields):
1657 * skeleton.el (skeleton-internal-list):
1658 * simple.el (line-move-finish, line-move-to-column):
1659 * shell.el (shell-forward-command):
1660 * misc.el (copy-from-above-command):
1661 * makesum.el (double-column):
1662 * ebuff-menu.el (electric-buffer-update-highlight):
1663 * dired.el (dired-move-to-end-of-filename):
1664 * dframe.el (dframe-popup-kludge):
1665 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1666 * arc-mode.el (archive-get-lineno):
1667 Use line-end-position and line-beginning-position.
1668
1669 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1670 (idlwave-study-twins): Prefix dynamic local `class'.
1671 (idlwave-routine-twin-compare): Update for above name change.
1672
1673 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1674 Use boundp tests to silence compiler. Update for changed name of
1675 bytecomp-filename variable.
1676
1677 * emulation/viper-cmd.el (viper-read-string-with-history):
1678 Prefix dynamic local `initial'.
1679 (viper-minibuffer-standard-hook): Update for above name change.
1680
1681 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1682 (elint-init-form): Update for above name change.
1683
1684 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1685 local variables `cbeg' and `cend' a prefix.
1686 (mail-extr-voodoo): Update for above name change.
1687
1688 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1689 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1690 (reftex-toc-promote-action): Doc fix.
1691
1692 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1693 `prompt', `data' a prefix.
1694 (reftex-select-post-command-hook, reftex-select-callback)
1695 (reftex-select-mouse-accept, reftex-select-read-cite):
1696 Update for above name changes.
1697
1698 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1699 `refstyle' to reftex-refstyle.
1700 (reftex-offer-label-menu): Update for above name change.
1701 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1702 `refstyle' name change.
1703
1704 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1705 with with-current-buffer.
1706 (diff, template): Give dynamic local variables a prefix.
1707 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1708 (emerge-line-number-in-buf): Update for above name change.
1709 (emerge-combine-versions-internal): Rename local `template' to
1710 emerge-combine-template.
1711 (emerge-combine-versions-edit): Update for above name change.
1712
1713 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1714
1715 * textmodes/reftex-cite.el
1716 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1717 entries with whitespace after \bibitem.
1718 (reftex-create-bibtex-file): Match entries containing numbers and
1719 symbol constituents. Make sure that entries with whitespace at
1720 various places are found.
1721
1722 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1723
1724 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1725
1726 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1727
1728 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1729
1730 2010-11-05 Glenn Morris <rgm@gnu.org>
1731
1732 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1733 (woman2-roff-buffer): Give local variable `request' a prefix.
1734 (woman0-macro): Rename argument `request' in the same way.
1735 (woman-request): New name for `request' dynamic variable.
1736 (woman-unquote, woman-forward-arg): Update for above name change.
1737 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1738 (woman1-unquote): New name for `unquote' dynamic variable.
1739 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1740 (woman-translations): Rename from `translations'. No longer global.
1741 (woman2-tr, woman-translate): Update for above name change.
1742 (woman-translate): Check for bound variable.
1743 (woman2-roff-buffer): Give local variable `translations' a prefix.
1744
1745 * play/doctor.el: Give all local variables a prefix. Update callers.
1746 (doc$, doctor-put-meaning): Use backquote.
1747
1748 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1749 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1750
1751 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1752 variables bytes, ptr, op a prefix.
1753 (disassemble-offset): Update for above change.
1754
1755 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1756
1757 * emacs-lisp/package.el (package-unpack): Remove no-op.
1758 (package--builtins, package--dir): Doc fix.
1759 (package-activate-1, package-activate, package-install)
1760 (package-compute-transaction): Fix error message.
1761 (package-delete): Use delete-directory. Omit system packages.
1762 (package-initialize): Set package-alist to nil first.
1763 (package-menu-mark-delete, package-menu-mark-install): Don't add
1764 symbols that are inconsistent with the package state.
1765 (package-menu-execute): Perform deletions and installations as
1766 single batch operations.
1767
1768 2010-11-03 Glenn Morris <rgm@gnu.org>
1769
1770 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1771 (props): Remove unnecessary declaration.
1772
1773 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1774 set-process-query-on-exit-flag.
1775
1776 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1777 (reftex-toc-do-promote): Remove unused local `mpos'.
1778 (reftex-toc-restore-region): Make `mpos' local to this function.
1779
1780 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1781
1782 * play/landmark.el (lm-losing-threshold): Correct spelling.
1783 (lm-human-plays): Use new name.
1784
1785 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1786 (gomoku-human-plays): Use new name.
1787
1788 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1789 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1790 (gomoku-score-trans-table, gomoku-winning-threshold)
1791 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1792
1793 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1794
1795 * emacs-lisp/package.el: Don't put built-in packages in
1796 package-alist, to avoid loading inefficiencies.
1797 (package-built-in-p): Make VERSION optional, and treat it as a
1798 minimum acceptable version.
1799 (package-activate): Search separately for built-in packages.
1800 Emit a warning if a dependency fails.
1801 (define-package): Handle most common case, where there is no
1802 obsolete package, first.
1803 (package-compute-transaction): Print required version in error.
1804 (package--initialized): New variable.
1805 (list-packages): Use it.
1806 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1807 built-in packages in packages-alist; keep it separate.
1808 Set package--initialized.
1809 (describe-package): Avoid activating packages as a side-effect.
1810 Search separately for built-in packages.
1811 (describe-package-1): Handle the case where an elpa package is
1812 simultaneously built-in and available/installed.
1813 (package-installed-p, package--generate-package-list):
1814 Search separately for built-in packages.
1815 (package-load-descriptor): Doc fix.
1816
1817 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1818
1819 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1820 Handle __DATA__ and __END__.
1821
1822 2010-11-02 Noah Friedman <friedman@splode.com>
1823
1824 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1825 nil, do not ask to recompile files that are not already compiled,
1826 and do not recompile them.
1827
1828 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1829
1830 * emacs-lisp/package.el (package-initialize): Ensure that
1831 obsoleted built-in packages are not in package-activated-list
1832 during activation.
1833 (describe-package-1): Make the "installed" status override
1834 "built-in".
1835
1836 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1837
1838 * subr.el (version-separator, version-regexp-alist): Remove '*'
1839 from docstring.
1840 (version-list-<=, version<=, version=): Doc fix.
1841
1842 2010-11-01 Kenichi Handa <handa@m17n.org>
1843
1844 * faces.el (glyphless-char): Inherit underline for tty.
1845
1846 2010-11-01 Kenichi Handa <handa@m17n.org>
1847
1848 Implement various display methods for glyphless characters.
1849
1850 * international/characters.el (char-acronym-table): New variable.
1851 (glyphless-char-control): New variable.
1852 (update-glyphless-char-display): New funciton.
1853
1854 * faces.el (glyphless-char): New face.
1855
1856 2010-11-01 Glenn Morris <rgm@gnu.org>
1857
1858 * calendar/holidays.el (general-holidays, oriental-holidays)
1859 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1860 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1861 the definitions of their targets.
1862
1863 * emacs-lisp/smie.el (smie): New custom group.
1864 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1865
1866 * faces.el (xw-defined-colors, x-setup-function-keys):
1867 * mouse-sel.el (x-select-text):
1868 * term/w32console.el (x-setup-function-keys): Update declarations.
1869
1870 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1871
1872 * textmodes/ispell.el (comment-add): Declare.
1873
1874 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1875 Declare.
1876
1877 * info.el (finder-keywords-hash, package-alist): Declare.
1878
1879 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1880
1881 * finder.el (finder-compile-keywords): Don't use intern-soft,
1882 since package names may not yet exist in the obarray.
1883
1884 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1885
1886 * vc/vc-arch.el (vc-arch-checkin):
1887 * vc/vc-cvs.el (vc-cvs-checkin):
1888 * vc/vc-mtn.el (vc-mtn-checkin):
1889 * vc/vc-rcs.el (vc-rcs-checkin):
1890 * vc/vc-sccs.el (vc-sccs-checkin):
1891 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1892 since 2010-04-21 commit by Stefan Monnier.
1893
1894 2010-11-01 Glenn Morris <rgm@gnu.org>
1895
1896 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1897
1898 * startup.el (package-enable-at-startup, package-initialize):
1899 Silence compiler.
1900
1901 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1902 Silence compiler.
1903
1904 2010-10-31 Julien Danjou <julien@danjou.info>
1905
1906 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1907 (byte-recompile-directory):
1908 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1909 Use `byte-recompile-file'.
1910
1911 2010-10-31 Glenn Morris <rgm@gnu.org>
1912
1913 * cus-start.el: Handle standard values via a keyword.
1914 Only set version property if specified.
1915 (cursor-in-non-selected-windows, menu-bar-mode)
1916 (tool-bar-mode, show-trailing-whitespace):
1917 Do not specify standard values.
1918 (transient-mark-mode, temporary-file-directory): Use :standard.
1919
1920 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1921
1922 * term/x-win.el (x-get-selection-value): New function that gets
1923 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1924
1925 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1926
1927 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1928 preserve owner and group when editing files. (Bug#7289)
1929
1930 2010-10-31 Glenn Morris <rgm@gnu.org>
1931
1932 * speedbar.el (speedbar-mode):
1933 * play/fortune.el (fortune-in-buffer, fortune):
1934 * play/gomoku.el (gomoku-mode):
1935 * play/landmark.el (lm-mode):
1936 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1937 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1938
1939 * select.el (x-selection): Mark it as an obsolete alias.
1940
1941 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1942
1943 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1944 major-mode (bug#7284).
1945
1946 2010-10-31 Glenn Morris <rgm@gnu.org>
1947
1948 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1949 rather than just an unused variable that inherits from the real one.
1950
1951 2010-10-31 Alan Mackenzie <acm@muc.de>
1952
1953 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1954 This fixes bug #7185.
1955
1956 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1957
1958 * startup.el (command-line): Search for package directories, and
1959 don't load package.el if none are found.
1960
1961 * emacs-lisp/package.el (describe-package, list-packages):
1962 Call package-initialize if it has not been called yet.
1963
1964 2010-10-30 Alan Mackenzie <acm@muc.de>
1965
1966 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1967 which fontifies the tail of an enum.
1968 (c-basic-matchers-after): Insert a call to the above new function.
1969 This fixes bug #7264.
1970
1971 2010-10-30 Glenn Morris <rgm@gnu.org>
1972
1973 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1974 tool-bar-mode, transient-mark-mode. (Bug#7306)
1975 Include the :set property in the dumped Emacs.
1976
1977 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 SMIE: change indent rules format, improve smie-setup.
1980 * emacs-lisp/smie.el (smie-precs-precedence-table)
1981 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1982 Mark them pure so the tables gets built at compile time.
1983 (smie-bnf-precedence-table): Store the closer-alist in the table.
1984 (smie-prec2-levels): Preserve the closer-alist.
1985 (smie-blink-matching-open): Be more forgiving in case of indentation.
1986 (smie-hanging-p): Rename from smie-indent--hanging-p.
1987 (smie-bolp): Rename from smie-indent--bolp.
1988 (smie--parent, smie--after): New dynamic vars.
1989 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1990 (smie-indent-rules): Remove.
1991 (smie-indent--offset-rule): Remove fun.
1992 (smie-rules-function): New var.
1993 (smie-indent--rule): New fun.
1994 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1995 (smie-indent-exps): Use it.
1996 (smie-setup): Setup paren blinking; add keyword args for token
1997 functions; extract closer-alist from op-levels.
1998 (smie-indent-debug-log): Remove var.
1999 (smie-indent-debug): Remove fun.
2000 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2001 (prolog-smie-rules): New fun to replace it.
2002 (prolog-mode-variables): Simplify.
2003 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2004 it's setup automatically.
2005 (octave-smie-indent-rules): Remove.
2006 (octave-smie-rules): New fun to replace it.
2007 (octave-mode): Simplify.
2008
2009 2010-10-29 Glenn Morris <rgm@gnu.org>
2010
2011 * files.el (temporary-file-directory): Remove (already defined in C).
2012 * cus-start.el: Add temporary-file-directory.
2013
2014 * abbrev.el (abbrev-mode):
2015 * composite.el (auto-composition-mode):
2016 * menu-bar.el (menu-bar-mode):
2017 * simple.el (transient-mark-mode):
2018 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2019 that they do not define the associated variables twice.
2020 * simple.el (transient-mark-mode): Remove defvar.
2021 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2022 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2023 Handle multiple groups, and also custom-delayed-init-variables.
2024 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2025
2026 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2029 (pcase-if): Add one minor optimization.
2030 (pcase-split-equal): Rename from pcase-split-eq.
2031 (pcase-split-member): Rename from pcase-split-memq.
2032 (pcase-u1): Add strings to the member optimization.
2033 Add `guard' variant of predicates.
2034 (pcase-q1): Add string patterns.
2035
2036 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2037
2038 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2039
2040 2010-10-28 Glenn Morris <rgm@gnu.org>
2041
2042 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2043 Move menu-bar related settings to ../menu-bar.el.
2044 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2045 Move ns-specific settings here from term/ns-win.el.
2046
2047 * simple.el (x-selection-owner-p): Remove unused declaration.
2048
2049 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2050
2051 * minibuffer.el (completion-cycling): New var (bug#7266).
2052 (minibuffer-complete, completion--do-completion):
2053 Use completion--flush-all-sorted-completions.
2054 (minibuffer-complete): Only cycle if completion-cycling is set.
2055 (completion--flush-all-sorted-completions): Unset completion-cycling.
2056 (minibuffer-force-complete): Set completion-cycling.
2057 (completion-all-sorted-completions): Move declaration before first use.
2058
2059 2010-10-28 Leo <sdl.web@gmail.com>
2060
2061 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2062 which changes the order of matches seen by users (bug#7231).
2063
2064 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2065
2066 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2067 Don't confuse -omega as "-o mega".
2068
2069 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2072 (log-edit-author): New dynamic var.
2073 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2074 to return the author if different from committer.
2075 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2076
2077 * play/landmark.el: Adjust commenting convention.
2078 (lm-nil-score): Rename from nil-score.
2079 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2080 (OOOOscore): Move into a let in lm-score-trans-table.
2081 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2082
2083 * electric.el (electric-indent-chars): Autoload.
2084 * progmodes/octave-mod.el (octave-mode):
2085 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2086 (ruby-mode-abbrev-table): Merge initialization and declaration.
2087
2088 2010-10-27 Glenn Morris <rgm@gnu.org>
2089
2090 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2091 variable.
2092
2093 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2094
2095 * term/ns-win.el: Restore require of cl when compiling.
2096 (menu-bar-final-items): Remove non-existent `windows' menu.
2097 (ns-handle-nxopen): Optionally handle the temp-case.
2098 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2099 (ns-insert-file, ns-find-file): Use `pop'.
2100
2101 2010-10-26 Glenn Morris <rgm@gnu.org>
2102
2103 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2104
2105 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2106
2107 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2108 global map.
2109 * term/common-win.el (x-setup-function-keys): Remove most of the
2110 keymappings. Comment on the remaining ones.
2111
2112 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2113
2114 * server.el (server-port): New option. (Bug#854)
2115 (server-start): Use server-port.
2116
2117 2010-10-26 Glenn Morris <rgm@gnu.org>
2118
2119 * term/ns-win.el (ns-version-string): Remove unused declaration.
2120 (ns-invocation-args): Change to x-invocation-args.
2121 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2122 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2123 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2124 Use x-invocation-args instead of ns-invocation-args.
2125 (ns-initialize-window-system, handle-args-function-alist):
2126 Use x-handle-args instead of ns-handle-args.
2127 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2128 * startup.el (command-line-ns-option-alist): Replace
2129 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2130 ns-handle-iconic with the x- equivalents.
2131
2132 * term/common-win.el (x-select-enable-clipboard):
2133 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2134
2135 * term/ns-win.el: No need to require cl when compiling.
2136 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2137 (xw-defined-colors): Use the common-win definitions.
2138 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2139 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2140 * term/common-win.el (x-select-text, x-alternatives-map)
2141 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2142 * loadup.el [ns]: Load common-win.
2143
2144 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2145
2146 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2147 recipients; expand mail aliases (Bug#7280).
2148
2149 2010-10-25 Glenn Morris <rgm@gnu.org>
2150
2151 * term/common-win.el (x-handle-switch): Simplify with pop.
2152 Optionally handle numeric switches.
2153 (x-handle-numeric-switch): Just call x-handle-switch.
2154 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2155 (x-handle-name-switch, x-handle-display, x-handle-args):
2156 Simplify with pop.
2157
2158 * term/ns-win.el: Do not require easymenu.
2159 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2160 <spell>: Move adjustments to menu-bar.el.
2161 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2162 <separator-undo, spell>: Move ns-win's adjustments here.
2163 * loadup.el [ns]: Do not load easymenu.
2164
2165 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2166
2167 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2168 Delete (Bug#7222).
2169
2170 * startup.el (fancy-startup-tail): Instead of using inline images,
2171 refer to image files from etc/.
2172
2173 * wid-edit.el (checkbox): Likewise.
2174 (widget-image-find): Center image specs.
2175
2176 2010-10-24 Glenn Morris <rgm@gnu.org>
2177
2178 * term/ns-win.el (x-select-text): Doc fix.
2179 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2180 (x-select-text): Move to term/common-win.
2181 * term/w32-win.el (xw-defined-colors): Move to common-win.
2182 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2183 (x-setup-function-keys, x-select-text): Move to common-win.
2184 * term/common-win.el (x-select-text, x-alternatives-map)
2185 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2186 definitions here.
2187
2188 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2189
2190 * net/mairix.el (mairix-searches-mode-map):
2191 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2192
2193 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2194
2195 * verilog-mode.el (verilog-directive-re): Make this variable
2196 auto-built for efficiency of execution and updating.
2197 (verilog-extended-complete-re): Support 'pure' fucntion & task
2198 declarations (these have no bodies).
2199 (verilog-beg-of-statement): General cleanup to enable support of
2200 'pure' fucntion & task declarations (these have no bodies).
2201 These efforts together fix Verilog bug210 from veripool; which was also
2202 noticed by Steve Pearlmutter.
2203 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2204 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2205 Support `elsif. Reported by Shankar Giri.
2206 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2207 attribute handling for lining up declarations and assignments.
2208 (verilog-beg-of-statement-1): Fix issue where continued declaration
2209 is indented differently if it is after a begin..end clock.
2210 (verilog-in-attribute-p, verilog-skip-backward-comments)
2211 (verilog-skip-forward-comment-p): Support proper treatment of
2212 attributes by indent code. Reported by Jeff Steele.
2213 (verilog-in-directive-p): Fix comment to correctly describe function.
2214 (verilog-backward-up-list, verilog-in-struct-region-p)
2215 (verilog-backward-token, verilog-in-struct-p)
2216 (verilog-in-coverage-p, verilog-do-indent)
2217 (verilog-pretty-declarations): Use verilog-backward-up-list as
2218 wrapper around backward-up-list inorder to properly skip comments.
2219 Reported by David Rogoff.
2220 (verilog-property-re, verilog-endcomment-reason-re)
2221 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2222 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2223 of if). Reported by Max Bjurling and
2224 (verilog-calc-1): Fix for clocking block in modport
2225 declaration. Reported by Brian Hunter.
2226
2227 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2228
2229 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2230 (verilog-gate-keywords, verilog-read-sub-decls)
2231 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2232 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2233 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2234 (verilog-read-decls): Fix spaces in V2K module parameters causing
2235 mis-identification as interfaces, bug287.
2236 (verilog-read-decls): Fix not treating "parameter string" as a
2237 parameter in AUTOINSTPARAM.
2238 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2239 treating `elsif similar to `endif inside AUTOSENSE.
2240 (verilog-do-indent): Implement correct automatic or static task or
2241 function end comment highlight. Reported by Steve Pearlmutter.
2242 (verilog-font-lock-keywords-2): Fix highlighting of single
2243 character pins, bug264. Reported by Michael Laajanen.
2244 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2245 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2246 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2247 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2248 (verilog-pretty-expr): Fix interactive arguments, bug272.
2249 Reported by Mark Johnson.
2250 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2251 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2252 bug269. Suggested by Gary Delp.
2253 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2254 (verilog-preprocessor, verilog-set-compile-command):
2255 Create verilog-preprocess and verilog-preprocessor to show
2256 preprocessed output.
2257 (verilog-get-beg-of-line, verilog-get-end-of-line)
2258 (verilog-modi-file-or-buffer, verilog-modi-name)
2259 (verilog-modi-point, verilog-within-string): Move defmacro's
2260 before first use to avoid warning. Reported by Steve Pearlmutter.
2261 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2262 (verilog-colorize-region, verilog-highlight-buffer)
2263 (verilog-highlight-includes, verilog-highlight-modules)
2264 (verilog-highlight-region, verilog-mode): Rename colorize to
2265 highlight to match other packages. Disable module highlighting,
2266 as received speed complaints, reenable for experimentation only
2267 using new verilog-highlight-modules.
2268 (verilog-read-decls): Fix regexp stack overflow in very large
2269 AUTO_TEMPLATEs, bug250.
2270 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2271 (verilog-scan): Create verilog-save-buffer-state to standardize
2272 making insignificant changes that shouldn't call hooks.
2273 (verilog-save-no-change-functions, verilog-save-scan-cache)
2274 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2275 Create verilog-save-no-change-functions to wrap verilog-scan
2276 preservation, and fix to work with nested preserved calls.
2277 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2278 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2279 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2280 (verilog-submit-bug-report): Update variable list to be complete.
2281 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2282 breaking on-the-fly font-locking.
2283 (verilog-colorize-buffer, verilog-colorize-include-files)
2284 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2285 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2286 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2287 AUTOINST cell instance name, middle mouse button now finds-file on
2288 it. Suggested by Brad Dobbie.
2289 (verilog-alw-get-temps, verilog-auto-reset)
2290 (verilog-auto-sense-sigs, verilog-read-always-signals)
2291 (verilog-read-always-signals-recurse): Fix loop indexes being
2292 AUTORESET. AUTORESET now assumes any variables in the
2293 initialization section of a for() should be ignored.
2294 Reported by Dan Dever.
2295 (verilog-error-font-lock-keywords)
2296 (verilog-error-regexp-emacs-alist)
2297 (verilog-error-regexp-xemacs-alist): Fix error detection of
2298 Cadence HAL, reported by David Asher. Repair drift between the
2299 three similar error variables.
2300 (verilog-modi-lookup, verilog-modi-lookup-cache)
2301 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2302 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2303 Fix slow verilog-auto expansion on very large files.
2304 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2305 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2306 "{1*2{...". Broke in last revision.
2307 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2308 submodule connections with replications "{#{a},#{b}}".
2309
2310 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2311
2312 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2313 Fix typo in docstring.
2314
2315 2010-10-24 Kenichi Handa <handa@m17n.org>
2316
2317 * face-remap.el (text-scale-adjust): Call read-event with a proper
2318 prompt.
2319
2320 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2321
2322 * emacs-lisp/unsafep.el: Don't mark functions that display
2323 messages as safe. Suggested by Johan Bockgård.
2324
2325 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2328 Turn comments into docstrings.
2329
2330 * minibuffer.el (completion--replace): Move point where it belongs
2331 when there's a common suffix (bug#7215).
2332
2333 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2334
2335 Merge read-color and facemenu-read-color (Bug#7242).
2336
2337 * faces.el (read-color): Use the completion code from
2338 facemenu-read-color. Require match in completion. Doc fix.
2339
2340 * facemenu.el (facemenu-read-color): Alias for read-color.
2341 (facemenu-set-foreground, facemenu-set-background):
2342 Use read-color.
2343
2344 * frame.el (set-background-color, set-foreground-color)
2345 (set-cursor-color, set-mouse-color, set-border-color):
2346 Use read-color.
2347
2348 2010-10-24 Leo <sdl.web@gmail.com>
2349
2350 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2351 argument of delete-file and delete-directory (Bug#7011).
2352
2353 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2354
2355 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2356 button-buffer-map.
2357
2358 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2359
2360 * emacs-lisp/package.el (package--generate-package-list): Make the
2361 *Packages* buffer read-only.
2362
2363 2010-10-24 Alan Mackenzie <acm@muc.de>
2364
2365 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2366 result of `c-beginning-of-decl-1' between invocations of a lambda
2367 function (Bug #7265).
2368
2369 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2370
2371 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2372 executable is not available on the system (Bug#7268).
2373
2374 2010-10-24 Glenn Morris <rgm@gnu.org>
2375
2376 * select.el (selection-coding-system, next-selection-coding-system):
2377 Sync doc with C versions.
2378
2379 * w32-vars.el (x-select-enable-clipboard):
2380 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2381 * term/common-win.el (x-select-enable-clipboard): Move here.
2382
2383 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2384 definition of C variable.
2385
2386 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2387 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2388 Don't redefine things that are defined in C.
2389 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2390 (show-trailing-whitespace, auto-hscroll-mode)
2391 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2392 Set up the appropriate custom properties.
2393
2394 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2395
2396 Bind "C-c ]" to ...
2397 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2398 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2399 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2400 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2401
2402 2010-10-23 Glenn Morris <rgm@gnu.org>
2403
2404 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2405 say what it was.
2406
2407 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2408 Sync docs with C version.
2409
2410 * term/ns-win.el (xw-defined-colors):
2411 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2412
2413 * term/pc-win.el (x-select-enable-clipboard):
2414 * term/x-win.el (x-select-enable-clipboard):
2415 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2416
2417 * comint.el (comint-password-prompt-regexp): Make it less vague.
2418 Bump version.
2419
2420 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2421
2422 * help.el (finder-by-keyword): Remove unnecessary autoload.
2423
2424 2010-10-22 Glenn Morris <rgm@gnu.org>
2425
2426 * loadup.el: Unconditionally load float-sup.
2427 * paren.el (show-paren-delay):
2428 * emacs-lisp/float-sup.el:
2429 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2430 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2431 (lazy-lock-stealth-verbose): Assume float support.
2432 * ps-print.el: Assume float support on Emacs.
2433 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2434 Remove non-float branch.
2435
2436 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2437 src/Makefile no longer being pre-processed.
2438
2439 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * emacs-lisp/find-func.el (find-library): Use test-completion.
2442
2443 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2444
2445 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2446
2447 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2448
2449 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2450 space in stat format string.
2451 (tramp-send-command): Unset $PS1 when using here documents, in
2452 order not to get several prompts.
2453 (tramp-get-inline-coding): Return `nil' in case of errors.
2454
2455 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2456
2457 * hexl.el (hexl-mode, hexl-mode-exit):
2458 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2459 (hexl-revert-buffer-function): New function.
2460 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2461
2462 2010-10-19 Alan Mackenzie <acm@muc.de>
2463
2464 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2465 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2466 that these keywords aren't wrongly matched as identifiers.
2467
2468 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2469 setting of c-new-BEG and c-new-END from c-before-change to
2470 c-after-change. (Bug#7181)
2471
2472 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2473
2474 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2475 Don't mark as safe.
2476
2477 * custom.el (custom-theme-set-variables): Likewise.
2478 (load-theme): Add custom-theme-set-faces and
2479 custom-theme-set-variables to safe-functions while loading.
2480 (custom-enabled-themes): Mark as risky.
2481
2482 2010-10-18 Julien Danjou <julien@danjou.info>
2483
2484 * bindings.el: Remove end dashes in default mode-line-format.
2485
2486 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2487
2488 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2489 to delete-forward-char.
2490
2491 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2492 deletechar, and hence delete-forward-char.
2493
2494 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * repeat.el (repeat): Use read-key (bug#6256).
2497
2498 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2499
2500 * emacs-lisp/unsafep.el: Don't mark functions that display
2501 messages as safe. Suggested by Johan Bockgård.
2502
2503 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * minibuffer.el (completion--replace): Move point where it belongs
2506 when there's a common suffix (bug#7215).
2507
2508 2010-10-19 Kenichi Handa <handa@m17n.org>
2509
2510 * international/characters.el: Add category '|' (word breakable)
2511 to fullwidth characters.
2512
2513 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2514
2515 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2516 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2517 order to make stat results a float. Patch by Andreas Schwab
2518 <schwab@linux-m68k.org>.
2519
2520 2010-10-18 Julien Danjou <julien@danjou.info>
2521
2522 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2523 hidden by `make-pointer-invisible'.
2524
2525 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2526
2527 * files.el (locate-file-completion-table): Strip non-matching elements
2528 before checking length of list (bug#7238).
2529
2530 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2531
2532 * custom.el (custom-theme-set-variables): Mark as a safe function.
2533 (load-theme): Check forms using unsafep.
2534
2535 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2536
2537 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2538
2539 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2540 Fix aspell data file searching (bug#7230).
2541
2542 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2543
2544 * cus-theme.el (custom-theme--migrate-settings): New var.
2545 (customize-create-theme): Allow editing the `user' theme.
2546 (custom-theme-add-variable, custom-theme-add-var-1)
2547 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2548 to the front of each variable or face widget.
2549 (custom-theme-write): Save theme settings in the correct order.
2550 Optionally, remove saved settings from user customizations.
2551 (custom-theme-write-variables, custom-theme-write-faces):
2552 Save only the checked widgets.
2553 (customize-themes): Add a link for migrating custom settings.
2554
2555 * custom.el (custom-declare-theme, provide-theme):
2556 Use custom-theme-name-valid-p.
2557 (custom-theme-name-valid-p): Remove checks that are now
2558 unnecessary since themes no longer obey load-path.
2559
2560 * cus-edit.el (custom-variable-value-create): For the simple
2561 style, hide documentation string when hidden.
2562
2563 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2564
2565 * cus-edit.el (custom-variable, custom-face): Combine the
2566 :inhibit-magic and :display-style properties into a single
2567 :custom-style property.
2568 (custom-toggle-hide-variable, custom-toggle-hide-face):
2569 New functions. If hiding an edited value, save it to :shown-value.
2570 (custom-variable-value-create, custom-face-value-create): Use them.
2571 (custom-magic-reset): Allow magic property to be unset.
2572
2573 * custom.el: Custom themes no longer use load-path.
2574 (custom-theme-load-path): New option. Change built-in theme
2575 directory to etc/.
2576 (custom-enabled-themes): Add custom-theme-load-path dependency.
2577 (custom-theme--load-path): New function.
2578 (load-theme, custom-available-themes): Use it.
2579
2580 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2581 (customize-themes): Link to custom-theme-load-path variable.
2582 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2583 :custom-style property.
2584
2585 * themes/*.el: Moved to etc/.
2586
2587 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2588
2589 * textmodes/reftex-cite.el
2590 (reftex-extract-bib-entries-from-thebibliography): Do not move
2591 point when searching for \bibitem entries. Match entries with
2592 spaces or tabs in front of arguments.
2593
2594 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2595
2596 * cus-theme.el (customize-create-theme): Delete overlays after
2597 erasing. If given a THEME arg, display only the faces of that arg
2598 instead of custom-theme--listed-faces.
2599 (custom-theme-variable-menu, custom-theme-variable-action)
2600 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2601 (custom-theme-add-variable, custom-theme-add-face): Apply value
2602 from the theme settings, instead of the current value.
2603 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2604 (custom-theme-visit-theme): Allow calling outside theme buffers.
2605 (custom-theme-merge-theme): Don't enable the theme when merging.
2606 (custom-theme-write-variables, custom-theme-write-faces): Use the
2607 :shown-value properties to save buffer values, not global ones.
2608 (customize-themes): Display a warning about user customizations.
2609
2610 * cus-edit.el (custom-variable-value-create)
2611 (custom-face-value-create): Obey new special properties
2612 :shown-value and :inhibit-magic.
2613
2614 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2615
2616 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2617 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2618 <dale@codefu.org>.
2619
2620 2010-10-14 Kenichi Handa <handa@m17n.org>
2621
2622 * mail/rmail.el (rmail-show-message-1): Catch an error of
2623 base64-decode-region and just show an error message (bug#7165).
2624
2625 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2626 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2627 a font-spec (bug#7197).
2628
2629 2010-10-14 Glenn Morris <rgm@gnu.org>
2630
2631 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2632
2633 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2634
2635 * international/mule.el (define-coding-system):
2636 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2637 * composite.el (compose-region): Fix typo in docstring.
2638
2639 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2640
2641 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2642 only after checking the theme-face property.
2643
2644 * faces.el (face-spec-reset-face): Reset all attributes in one
2645 single call to set-face-attribute.
2646 (face-spec-match-p): Make it a defsubst.
2647 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2648 (x-create-frame-with-faces, tty-create-frame-with-faces)
2649 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2650 frame-set-background-mode, since they are recomputed immediately
2651 afterwards in face-set-after-frame-default.
2652 (face-set-after-frame-default): Minor optimization.
2653 (cursor): Provide non-trivial defface spec.
2654
2655 * custom.el (custom-theme-recalc-face): Simplify.
2656
2657 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2658
2659 * calc/calc-alg.el (math-var): Rename from `var'.
2660 (math-is-polynomial, math-is-poly-rec): Replace `var'
2661 with `math-var'.
2662
2663 * calc/calcalg2.el (math-var): Rename from `var'.
2664 (calcFunc-table, math-scan-for-limits): Replace `var'
2665 with `math-var'.
2666
2667 2010-10-13 Glenn Morris <rgm@gnu.org>
2668
2669 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2670
2671 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2672
2673 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2674
2675 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2676
2677 * net/tls.el (tls-program): Remove spurious %s from openssl.
2678 (tls-starttls-switches): Remove starttls hack.
2679 (open-tls-stream): Ditto.
2680 (tls-find-starttls-argument): Ditto.
2681
2682 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2683
2684 * image.el (image-library-alist): Declare as obsolete alias.
2685 (image-type-available-p): Use `dynamic-library-alist'.
2686
2687 * term/w32-win.el (dynamic-library-alist):
2688 Use instead of `image-library-alist'.
2689
2690 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2691
2692 * subr.el (last): Make it faster. (Bug#7174)
2693
2694 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2695
2696 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2697
2698 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2699
2700 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2701 (describe-theme-1): Extract doc from unloaded themes.
2702
2703 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2704
2705 * themes/tango-theme.el:
2706 * themes/tango-dark-theme.el:
2707 * themes/wheatgrass-theme.el: New files.
2708
2709 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2710
2711 * cus-theme.el (describe-theme, customize-themes)
2712 (custom-theme-save): New commands.
2713 (custom-new-theme-mode-map): Bind C-x C-s.
2714 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2715 (customize-create-theme): New optional arg THEME.
2716 (custom-theme-revert): Use it.
2717 (custom-theme-visit-theme): Remove dead code.
2718 (custom-theme-merge-theme): Use custom-available-themes.
2719 (custom-theme-write): Make interactive.
2720 (custom-theme-write): Use custom-theme-name-valid-p.
2721 (describe-theme-1, custom-theme-choose-revert)
2722 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2723 New funs.
2724 (custom-theme-allow-multiple-selections): New option.
2725 (custom-theme-choose-mode): New major mode.
2726
2727 * custom.el (custom-theme-set-variables): Remove dead code.
2728 Obey custom--inhibit-theme-enable.
2729 (custom--inhibit-theme-enable): New var.
2730 (provide-theme): Obey it.
2731 (load-theme): Replace load with manual read/eval, in order to
2732 check for correctness. Use custom-theme-name-valid-p.
2733 (custom-theme-name-valid-p): New function.
2734 (custom-available-themes): Use it.
2735
2736 * cus-edit.el (custom--initialize-widget-variables): New function.
2737 (Custom-mode): Use it.
2738
2739 * cus-face.el (custom-theme-set-faces): Remove dead code.
2740 Obey custom--inhibit-theme-enable.
2741
2742 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2743
2744 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2745
2746 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2747
2748 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2749
2750 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2751 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2752 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2753
2754 * cus-start.el (all): ns-right-alternate-modifier is new.
2755
2756 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * emacs-lisp/lisp.el (lisp-completion-at-point):
2759 Use emacs-lisp-mode-syntax-table for the whole function.
2760
2761 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2762
2763 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2764 instead of font-lock-mode before adding keywords.
2765 Remove hi-lock-mode off code. Remove inhibit hack.
2766 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2767 non-nil; removed hook inhibit hack.
2768
2769 2010-10-12 Glenn Morris <rgm@gnu.org>
2770
2771 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2772 (load-path-shadows-find): ... to this.
2773 (list-load-path-shadows): Update for above change.
2774
2775 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2776
2777 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2778
2779 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2780 Fix comment for declare-function.
2781
2782 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2783
2784 * custom.el (custom-fix-face-spec): New function; code moved from
2785 custom-face-edit-fix-value.
2786 (custom-push-theme): Use it when checking if a face has been
2787 changed outside customize.
2788 (custom-available-themes): New function.
2789 (load-theme): Use it.
2790
2791 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2792
2793 * custom.el (custom-push-theme): Cleanup (use cond).
2794 (disable-theme): Recompute the saved-face property.
2795 (custom-theme-recalc-face): Follow face alias before setting prop.
2796
2797 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2798 New variables, containing checkbox images.
2799
2800 * startup.el (fancy-startup-tail):
2801 * wid-edit.el (checkbox): Use them.
2802
2803 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2804
2805 * shell.el (shell-mode-map):
2806 * progmodes/modula2.el (m2-mode-map):
2807 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2808 * play/mpuz.el (mpuz-mode-map):
2809 * play/landmark.el (lm-mode-map):
2810 * play/decipher.el (decipher-mode-map):
2811 * play/5x5.el (5x5-mode-map):
2812 * net/telnet.el (telnet-mode-map):
2813 * net/quickurl.el (quickurl-list-mode-map):
2814 * net/mairix.el (mairix-searches-mode-map):
2815 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2816 * net/dig.el (dig-mode-map):
2817 * mail/mspools.el (mspools-mode-map):
2818 * hexl.el (hexl-mode-map):
2819 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2820 (wordstar-C-o-map, wordstar-C-q-map):
2821 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2822 * emacs-lisp/chart.el (chart-map):
2823 * edmacro.el (edmacro-mode-map):
2824 * erc/erc-list.el (erc-list-menu-mode-map):
2825 * array.el (array-mode-map): Declare and define in one step.
2826
2827 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2828
2829 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2830
2831 * epa.el (epa-passphrase-callback-function): Display filename
2832 passed as the 3rd arg.
2833 * epa-file.el (epa-file-passphrase-callback-function):
2834 Pass filename to epa-passphrase-callback-function.
2835
2836 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2837
2838 * cus-edit.el (custom-face-widget-to-spec)
2839 (custom-face-get-current-spec, custom-face-state): New functions.
2840 (custom-face-set, custom-face-mark-to-save)
2841 (custom-face-value-create, custom-face-state-set): Use them.
2842
2843 * cus-theme.el (custom-theme--listed-faces): New var.
2844 (customize-create-theme): Use *Custom Theme* as the buffer name.
2845 Set revert-buffer-function. Optional arg BUFFER. Insert all
2846 faces listed in custom-theme--listed-faces.
2847 (custom-theme-revert): New function.
2848 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2849 bottom of the list.
2850 (custom-theme-write): Prompt for theme name if empty.
2851 (custom-theme-write-variables): Use dolist.
2852 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2853
2854 2010-10-09 Alan Mackenzie <acm@muc.de>
2855
2856 Enhance fontification of declarators to take account of the
2857 presence/absence of "typedef".
2858
2859 * cc-engine.el (c-forward-type): New &optional param
2860 "brace-block-too".
2861 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2862 presence of either or both of a "struct"-like keyword and "typedef".
2863
2864 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2865 fontification of declarators which follow a "}".
2866 (c-font-lock-declarations): Fontify declarators according to the
2867 presence/absence of "typedef".
2868
2869 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2870 for "typedef".
2871 (c-typedef-decl-key): New lang variable built from
2872 c-typedef-decl-kwds.
2873
2874 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2875
2876 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2877 since that's too annoying. Move the filter groups commands to
2878 TAB/backtab.
2879
2880 * epa.el (epa-passphrase-callback-function): Say what we're
2881 querying the password for.
2882
2883 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2884 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2885
2886 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2887
2888 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2889 (custom-magic-value-create): Pad button tags with spaces.
2890 (custom-face-edit): New variable.
2891 (custom-face-value-create): Determine whether to use the usual
2892 face editor here, instead of using custom-face-selected.
2893 Pass face defaults to custom-face-edit widget.
2894 (custom-face-selected, custom-display-unselected): Delete widgets.
2895 (custom-display-unselected-match): Function removed.
2896 (custom-face-set, custom-face-mark-to-save):
2897 Accept custom-face-edit widgets as the direct widget child.
2898
2899 * wid-edit.el (widget--completing-widget): New var.
2900 (widget-default-complete): Bind it when doing completion.
2901 (widget-string-complete, widget-file-complete): Use it.
2902
2903 2010-10-09 Glenn Morris <rgm@gnu.org>
2904
2905 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2906 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2907 (holiday-hebrew-misc): Small simplifications.
2908
2909 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2910
2911 * net/browse-url.el: Don't require thingatpt, term, dired,
2912 executable, or w3-auto when compiling.
2913 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2914 Declare.
2915 (browse-url-text-emacs): Require term.
2916
2917 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2918
2919 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2920
2921 2010-10-08 Glenn Morris <rgm@gnu.org>
2922
2923 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2924
2925 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2926 (shadows-compare-text-p): Make it an obsolete alias for...
2927 (load-path-shadows-compare-text): ... new name.
2928 (find-emacs-lisp-shadows): Update for above name change.
2929 (load-path-shadows-same-file-or-nonexistent): New name for the old
2930 shadow-same-file-or-nonexistent.
2931
2932 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2933
2934 * minibuffer.el (completion--some, completion--do-completion)
2935 (minibuffer-complete-and-exit, minibuffer-completion-help)
2936 (completion-basic-try-completion)
2937 (completion-basic-all-completions)
2938 (completion-pcm--find-all-completions): Use lexical-let to
2939 avoid some false matches in variable completion (Bug#7056)
2940
2941 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2942
2943 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2944
2945 2010-10-08 Leo <sdl.web@gmail.com>
2946
2947 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2948 return non-nil if the file exists (Bug#7090).
2949
2950 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2951
2952 * minibuffer.el (completion--replace):
2953 Better preserve markers (bug#7138).
2954
2955 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2956
2957 * server.el (server-process-filter): Doc fix.
2958
2959 2010-10-08 Drew Adams <drew.adams@oracle.com>
2960
2961 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2962
2963 2010-10-08 Glenn Morris <rgm@gnu.org>
2964
2965 * vc/ediff-wind.el (ediff-setup-control-frame):
2966 * vc/ediff-ptch.el (ediff-default-backup-extension):
2967 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2968 (ediff-exec-process): Remove system-types emx, windows-95.
2969
2970 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2971
2972 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2973
2974 * cus-edit.el (custom-variable, custom-face): Doc fix.
2975 (custom-face-edit): Add value-create attribute.
2976 (custom-face-edit-value-create)
2977 (custom-face-edit-value-visibility-action): New functions.
2978 Hide unused face attributes by default, and add a visibility toggle.
2979 (custom-face-edit-deactivate): Show empty values with shadow face.
2980 (custom-face-selected): Only use this for face specs with default
2981 attributes.
2982 (custom-face-value-create): Cleanup.
2983
2984 * wid-edit.el (widget-checklist-value-create): Use dolist.
2985 (widget-checklist-match-find): Make second arg optional.
2986
2987 2010-10-07 Glenn Morris <rgm@gnu.org>
2988
2989 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2990 Prefix things.
2991
2992 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2993 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2994 load-path-shadows-mode, update references.
2995 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2996 Rename variable and button.
2997 (list-load-path-shadows): Update button caller.
2998
2999 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3000
3001 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3002 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3003 (smie-merge-prec2s): Handle those new entries.
3004 (smie-prec2-levels): Only set precedence to nil for actual
3005 openers/closers.
3006 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3007 that is now unnecessary.
3008
3009 2010-10-07 Miles Bader <miles@gnu.org>
3010
3011 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3012
3013 2010-10-07 Glenn Morris <rgm@gnu.org>
3014
3015 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3016 (mail-position-on-field): Remove declarations.
3017 (mail-position-on-field): Autoload it.
3018 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3019 and mail-header-end. Don't require sendmail.
3020
3021 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3022 (shadow-mode): New mode.
3023 (shadow-find-file): New button.
3024 (list-load-path-shadows): Use shadow-mode and buttons.
3025
3026 * iimage.el (iimage-version): Remove.
3027 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3028 Turn into defcustoms.
3029 (iimage-mode-map): Give it a doc string.
3030
3031 * calendar/appt.el (appt-activate): Give a warning rather than an error
3032 if there is no diary-file.
3033
3034 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3035
3036 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3037 Use `tramp-handle-find-backup-file-name'.
3038
3039 2010-10-06 Glenn Morris <rgm@gnu.org>
3040
3041 * font-core.el (font-lock-defaults-alist): Remove variable.
3042 (font-lock-mode): Doc fix.
3043 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3044 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3045 (font-lock-set-defaults): Doc fix.
3046 Do not consult font-lock-defaults-alist.
3047
3048 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3049
3050 * emacs-lisp/cl.el: No longer provide cl-19.
3051
3052 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3053
3054 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3055 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3056 New defuns, taken from tramp-smb.el.
3057 (tramp-coding-system-change-eol-conversion)
3058 (tramp-set-process-query-on-exit-flag): Remove.
3059
3060 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3061 (tramp-compat-coding-system-change-eol-conversion)
3062 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3063 from tramp.el.
3064
3065 * net/tramp-gvfs.el:
3066 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3067 by `tramp-compat-set-process-query-on-exit-flag'.
3068
3069 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3070 Use `tramp-handle-directory-files-and-attributes',
3071 `tramp-handle-file-exists-p' and
3072 `tramp-handle-file-newer-than-file-p'.
3073 (tramp-imap-handle-file-exists-p)
3074 (tramp-imap-handle-file-executable-p)
3075 (tramp-imap-handle-file-readable-p)
3076 (tramp-imap-handle-directory-files-and-attributes)
3077 (tramp-imap-handle-file-newer-than-file-p): Remove.
3078
3079 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3080 by `tramp-compat-set-process-query-on-exit-flag' and
3081 `tramp-coding-system-change-eol-conversion' by
3082 `tramp-compat-coding-system-change-eol-conversion'.
3083
3084 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3085 Use `tramp-handle-directory-files-and-attributes',
3086 `tramp-handle-file-exists-p' and
3087 `tramp-handle-file-newer-than-file-p'.
3088 (tramp-smb-handle-directory-files-and-attributes)
3089 (tramp-smb-handle-file-exists-p)
3090 (tramp-smb-handle-file-newer-than-file-p): Remove.
3091 (tramp-smb-maybe-open-connection):
3092 Replace `tramp-set-process-query-on-exit-flag' by
3093 `tramp-compat-set-process-query-on-exit-flag'.
3094
3095 2010-10-05 Glenn Morris <rgm@gnu.org>
3096
3097 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3098
3099 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3100
3101 Continue reorganization of load dependencies. (Bug#7156)
3102
3103 * net/tramp.el (tramp-handle-file-local-copy-hook)
3104 (tramp-delete-temp-file-function): Move down.
3105 (tramp-exists-file-name-handler): Move up.
3106 (tramp-register-file-name-handlers): Simplify autoload.
3107 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3108 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3109 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3110 (tramp-handle-file-name-completion)
3111 (tramp-handle-file-name-directory)
3112 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3113 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3114 (tramp-handle-find-backup-file-name)
3115 (tramp-handle-insert-file-contents, tramp-handle-load)
3116 (tramp-handle-substitute-in-file-name)
3117 (tramp-handle-unhandled-file-name-directory)
3118 (tramp-mode-string-to-int, tramp-local-host-p)
3119 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3120
3121 * net/tramp-gvfs.el (top):
3122 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3123
3124 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3125 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3126
3127 2010-10-04 Glenn Morris <rgm@gnu.org>
3128
3129 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3130 (appt-activate): Give status messages.
3131
3132 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3133
3134 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3135 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3136 `gnutls-negotiate' (formerly `starttls-negotiate').
3137 Remove trivial wrapper `starttls-open-stream'.
3138
3139 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3140
3141 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3142 log-outgoing commands.
3143 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3144 to create a buffer local revert-buffer-function variable.
3145 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3146 revert-buffer-function lambda.
3147
3148 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3149
3150 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3151 `gnutls-boot'. Make TYPE the only required parameter.
3152 Allow TRUSTFILES and KEYFILES to be lists.
3153 (open-ssl-stream): Use it.
3154
3155 2010-10-03 Glenn Morris <rgm@gnu.org>
3156
3157 * subr.el (directory-sep-char): Remove obsolete variable.
3158 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3159 it is "necessary".
3160
3161 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3162 * vc/vc.el (vc-static-header-alist): Doc fix.
3163 * vc/vc-cvs.el (vc-cvs-header):
3164 * vc/vc-rcs.el (vc-rcs-header):
3165 * vc/vc-sccs.el (vc-sccs-header):
3166 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3167 * obsolete/vc-mcvs.el (vc-mcvs-header):
3168 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3169 on XEmacs.
3170
3171 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3172
3173 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3174 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3175
3176 2010-10-03 Glenn Morris <rgm@gnu.org>
3177
3178 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3179
3180 * textmodes/rst.el (rst-font-lock-keywords-function):
3181 Drop Emacs 20 code.
3182
3183 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3184
3185 * printing.el: Drop Emacs 20 code.
3186
3187 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3188 without having used appt.el already).
3189
3190 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3191 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3192 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3193 XEmacs.
3194 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3195 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3196
3197 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3198 (charset-width, find-charset-region, chars-in-region, forward-point)
3199 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3200 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3201 Remove compatibility cruft (none of these are used by ps*.el).
3202
3203 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3204
3205 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3206
3207 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3208
3209 * server.el (server-process-filter, server-return-error):
3210 Give emacsclient time to shut down after receiving an error string.
3211
3212 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3213
3214 * files.el (remote-file-name-inhibit-cache): New defcustom.
3215
3216 * time.el (display-time-file-nonempty-p):
3217 Use `remote-file-name-inhibit-cache'.
3218
3219 * net/tramp.el (tramp-completion-reread-directory-timeout):
3220 Fix docstring.
3221
3222 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3223 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3224 `remote-file-name-inhibit-cache'. Check also for an integer
3225 value. Add/increase counter when `tramp-verbose' >= 10.
3226 (tramp-set-file-property): Add/increase counter when
3227 `tramp-verbose' >= 10.
3228
3229 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3230 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3231 (tramp-bug): Set tramp-autoload cookie. Report all interned
3232 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3233 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3234 characters only in strings.
3235
3236 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3237 to backward compatibility.
3238
3239 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3240 (tramp-handle-file-name-all-completions)
3241 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3242 (tramp-open-connection-setup-interactive-shell):
3243 Call `tramp-cleanup-connection' directly.
3244
3245 2010-10-02 Glenn Morris <rgm@gnu.org>
3246
3247 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3248
3249 * subr.el (char-bytes): Remove obsolete function.
3250
3251 * isearch.el (isearch-return-char): Remove obsolete function.
3252
3253 * mouse.el: No longer provide mldrag.
3254 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3255 Remove obsolete aliases.
3256
3257 * comint.el (comint-kill-output): Remove obsolete alias.
3258
3259 * composite.el (decompose-composite-char): Remove obsolete function.
3260 * ps-def.el (decompose-composite-char): Remove unused function.
3261
3262 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3263
3264 * outline.el (outline-visible): Remove obsolete function.
3265
3266 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3267 * faces.el (internal-find-face, internal-get-face)
3268 (frame-update-faces, frame-update-face-colors)
3269 (x-frob-font-weight, x-frob-font-slant)
3270 (internal-frob-font-weight, internal-frob-font-slant)
3271 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3272 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3273 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3274 since Emacs 21.1.
3275 * emulation/viper-util.el (viper-get-face):
3276 * obsolete/lucid.el (find-face, get-face): Use facep.
3277 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3278 Remove unused functions.
3279 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3280
3281 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3282 delete tempfile if interrupted during compilation.
3283
3284 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3285
3286 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3287 gnutls-cli.
3288 (tls-program): Add --insecure to be consistent with the defaults from
3289 openssl s_client. Now all three commands are insecure.
3290
3291 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3292
3293 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3294 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3295 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3296
3297 2010-10-01 Glenn Morris <rgm@gnu.org>
3298
3299 * obsolete/sc.el: Remove file.
3300
3301 * files.el (temporary-file-directory): On darwin, also try
3302 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3303
3304 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3305
3306 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3307 Let's not break compatibility gratuitously, shall we?
3308
3309 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3310
3311 * net/tls.el (tls-starttls-switches): New variable.
3312 (tls-find-starttls-argument): Use it.
3313 (open-tls-stream): Ditto.
3314
3315 * net/netrc.el (netrc-credentials): Return the value of the "default"
3316 entry.
3317 (netrc-machine): Ditto.
3318
3319 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3320
3321 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3322
3323 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3324
3325 * server.el (server-start): Don't write pid to the authentication file.
3326 (server-create-tty-frame): Don't send pid.
3327 (server-process-filter): Send pid at the start of every connection.
3328
3329 2010-09-30 Glenn Morris <rgm@gnu.org>
3330
3331 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3332 (show-all-diary-entries): Remove obsolete function aliases.
3333
3334 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3335 Remove options, obsolete since 22.1.
3336 (appt-display-format, appt-display-message):
3337 Remove backwards-compatibility code.
3338 (appt-check): No longer check appt-issue-message.
3339 (appt-make-list): No longer autoload it. Doc fix. No longer
3340 activate the package.
3341
3342 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3343
3344 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3345 (starttls-negotiate): Just call boot, and let the handshake be
3346 triggered from the read loop.
3347
3348 2010-09-29 Glenn Morris <rgm@gnu.org>
3349
3350 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3351 not displaying the diary.
3352 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3353 * calendar/appt.el (appt-check): No longer need to kill diary.
3354
3355 * calendar/diary-lib.el (diary-list-entries): Move the
3356 "Preparing..." message entirely here.
3357 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3358 messages to diary-list-entries.
3359 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3360 diary-display-function.
3361
3362 * calendar/diary-lib.el (diary-include-other-diary-files):
3363 Trap some recursive includes.
3364
3365 * calendar/appt.el (appt-activate): Check diary file.
3366
3367 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3368
3369 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3370 construction.
3371
3372 * calendar/time-date.el: No need to require cl for Emacs 21.
3373
3374 2010-09-28 Glenn Morris <rgm@gnu.org>
3375
3376 * calendar/appt.el (appt-check): Minor simplification.
3377
3378 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3379
3380 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3381 citation prefix.
3382
3383 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3384
3385 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3386 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3387
3388 2010-09-27 Kenichi Handa <handa@m17n.org>
3389
3390 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3391 "ustar" format.
3392
3393 2010-09-27 Kenichi Handa <handa@m17n.org>
3394
3395 * international/mule.el (define-coding-system): Docstring fixed.
3396
3397 * international/mule-diag.el (describe-character-set): Use princ
3398 with proper print-length and print-level instead of insert.
3399
3400 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3401
3402 * window.el (walk-windows): Doc fix (bug#7105).
3403
3404 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * emacs-lisp/float-sup.el (e): Remove.
3407
3408 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3409
3410 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3411 variable.
3412 (starttls-negotiate): Use it.
3413
3414 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3415
3416 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3417 back.
3418
3419 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3422
3423 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3424
3425 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3426
3427 * net/netrc.el (netrc-store-data): New function.
3428
3429 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3430
3431 * net/gnutls.el: GnuTLS glue code to set up a connection.
3432
3433 2010-09-25 Julien Danjou <julien@danjou.info>
3434
3435 * notifications.el: Call dbus-register-signal only if it is bound.
3436
3437 2010-09-25 Glenn Morris <rgm@gnu.org>
3438
3439 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3440 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3441 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3442 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3443 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3444 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3445 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3446 * eshell/esh-util.el, eshell/esh-var.el:
3447 Remove leading `*' from docs of faces and defcustoms.
3448
3449 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3450
3451 * eshell/em-ls.el (eshell-ls-archive-regexp):
3452 * eshell/esh-util.el (eshell-tar-regexp):
3453 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3454 * info.el (Info-suffix-list):
3455 * international/mule.el (auto-coding-alist):
3456 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3457 * progmodes/etags.el (tags-compression-info-list):
3458 Support xz compression.
3459
3460 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3461
3462 * files.el (get-free-disk-space): Don't assume the "df" output
3463 columns line up (Bug#6995).
3464
3465 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3466
3467 * finder.el (finder-unknown-keywords):
3468 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3469 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3470
3471 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3472
3473 * server.el (server-start): Revert part of 2010-08-08 change. Using
3474 address 127.0.0.1 for local host is now done in Fmake_network_process.
3475
3476 2010-09-24 Glenn Morris <rgm@gnu.org>
3477
3478 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3479 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3480 * textmodes/css-mode.el, textmodes/dns-mode.el:
3481 Move autoloaded auto-mode-alist entries to files.el.
3482 * files.el (auto-mode-alist): Move entries here.
3483
3484 2010-09-23 Glenn Morris <rgm@gnu.org>
3485
3486 * isearch.el (isearch-lazy-highlight-cleanup)
3487 (isearch-lazy-highlight-initial-delay)
3488 (isearch-lazy-highlight-interval)
3489 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3490 * net/net-utils.el (ipconfig-program-options):
3491 Move aliases to options before the associated definitions.
3492
3493 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3494
3495 * newcomment.el (comment-normalize-vars): Better test validity of
3496 comment-end-skip.
3497
3498 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3499
3500 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3501 (float-e): New name for `e'.
3502 (degrees-to-radians, radians-to-degrees):
3503 * calendar/solar.el (solar-longitude):
3504 * calculator.el (calculator-registers, calculator-funcall):
3505 * textmodes/artist.el (artist-spray-random-points):
3506 * play/bubbles.el (bubbles--initialize-images): Use new names.
3507
3508 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3509
3510 Update to CEDET 1.0's version of EIEIO.
3511
3512 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3513 New function.
3514 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3515 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3516 (class-precedence-list): If class is nil, return nil.
3517 (eieio-generic-call): If class of first input arg is nil, don't
3518 look up static methods, and do check for primary methods.
3519 (initialize-instance): See if the default needs to be evaluated
3520 during the constructor.
3521 (eieio-perform-slot-validation-for-default): Don't do the check
3522 for values that will eventually be evaluated.
3523 (eieio-eval-default-p): New function.
3524 (eieio-default-eval-maybe): Use it.
3525
3526 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3527
3528 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3529 method-invocation-order.
3530 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3531 (eieio-class-precedence-dfs): Compute class precedence list using
3532 dfs algorithm.
3533 (eieio-class-precedence-bfs): Compute class precedence list using
3534 bfs algorithm.
3535 (eieio-class-precedence-c3): Compute class precedence list using
3536 c3 algorithm.
3537 (class-precedence-list): New function.
3538 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3539 (inconsistent-class-hierarchy): New error symbol.
3540 (call-next-method): Stow the replacement argument list for future
3541 call-next-method invocations.
3542
3543 2010-09-23 Glenn Morris <rgm@gnu.org>
3544
3545 * calendar/appt.el (appt-check): If not displaying the diary,
3546 use (diary 1) to only get the entries we need.
3547 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3548 that it is in day order. (Bug#7019)
3549
3550 * calendar/appt.el (appt-check): Rather than showing the diary,
3551 just turn off invisible display, and only if needed.
3552
3553 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3554
3555 2010-09-23 Glenn Morris <rgm@gnu.org>
3556
3557 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3558 (byte-compile-defvar, byte-compile-cl-warn):
3559 Start warnings with lower-case, like the majority.
3560
3561 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3562
3563 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3564
3565 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3566 * files.el (auto-mode-alist): Move ld-script entries here, further down
3567 the list.
3568
3569 * vc/add-log.el: Don't require timezone when compiling.
3570 (timezone-make-date-sortable): Autoload it.
3571 (change-log-sortable-date-at): Don't require timezone.
3572 Use `ignore-errors'.
3573
3574 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3575 Move alias before definition, so it does not need autoloading.
3576
3577 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3578 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3579 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3580 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3581 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3582 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3583 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3584 * textmodes/tex-mode.el, textmodes/two-column.el:
3585 Remove leading `*' from docs of defcustoms etc.
3586
3587 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3588
3589 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3590
3591 2010-09-22 Dan Christensen <jdc@uwo.ca>
3592
3593 * calendar/time-date.el (date-to-time): Try using parse-time-string
3594 first before using the slower timezone-make-date-arpa-standard.
3595
3596 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3597
3598 * calendar/time-date.el (format-seconds): Comment fix.
3599
3600 2010-09-22 Glenn Morris <rgm@gnu.org>
3601
3602 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3603 is not automatically buffer-local.
3604
3605 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3606
3607 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3608 (smie-indent-comment): Be more careful with comment-start-skip.
3609 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3610 (smie-indent-functions): Use them.
3611
3612 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3613
3614 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3615
3616 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3617
3618 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3619 tool-bar-position. Don't modify frame parameters here.
3620 (menu-bar-options-save): Add tool-bar-position.
3621
3622 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3623
3624 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * textmodes/reftex-parse.el (reftex-what-macro)
3627 (reftex-context-substring): Let-bind forward-sexp-function to nil
3628 since we don't need/want to treat \begin...\end as a block (bug#7053).
3629
3630 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3631
3632 * simple.el (blink-matching-open): Use syntax-class.
3633
3634 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3635 Set invisibility spec for pascal's outline mode.
3636 (pascal-outline-change): Clean up calling convention.
3637 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3638
3639 * progmodes/prolog.el (prolog-smie-forward-token)
3640 (prolog-smie-backward-token): New functions.
3641 (prolog-mode-variables): Use them to parse "!," correctly.
3642 Set up smie-blink-matching for ".".
3643
3644 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3645 and `end'.
3646 (ispell-region, ispell-process-line): Update users.
3647
3648 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3649 point-min==1.
3650
3651 * textmodes/ispell.el: Fix commenting convention.
3652 (ispell-parse-output): Simplify, use push.
3653 (ispell-region): Use match-string-no-properties.
3654 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3655 (ispell-minor-mode): Use define-minor-mode.
3656 (ispell-message): Remove unused var `skip-regexp'.
3657 (ispell-add-per-file-word-list): Use dynamic let-binding.
3658 Try and use the proper comment marker.
3659
3660 * mail/sendmail.el: Fix commenting convention.
3661 (sendmail-send-it): Use line-beginning-position.
3662
3663 * help-fns.el (describe-variable): Add original value, if applicable.
3664
3665 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3666
3667 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3668
3669 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3670
3671 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3674 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3675 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3676 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3677 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3678 something like "." can also be a closer.
3679 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3680 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3681 Rename internal functions to use "--". Update callers.
3682
3683 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3684
3685 * fringe.el (fringe-styles): New var.
3686 (fringe-mode, fringe-query-style): Use it.
3687
3688 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3689
3690 * progmodes/sql.el: Version 2.8
3691 (sql-login-params): Update widget structure; changes still needed.
3692 (sql-product-alist): Add :list-all and :list-table features for
3693 SQLite, Postgres and MySQL products.
3694 (sql-redirect): Handle default value.
3695 (sql-execute, sql-execute-feature): New functions.
3696 (sql-read-table-name): New function.
3697 (sql-list-all, sql-list-table): New functions. User API.
3698 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3699 for above functions.
3700 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3701 for above functions.
3702 (sql-postgres-login-params): Add user and database defaults.
3703 (sql-buffer-live-p): Bug fix.
3704 (sql-product-history): New variable.
3705 (sql-read-product): New function. Use it.
3706 (sql-set-product, sql-product-interactive): Use it.
3707 (sql-connection-history): New variable.
3708 (sql-read-connection): New function. Use it.
3709 (sql-connect): New function.
3710 (sql-for-each-login): Redesign function interface.
3711 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3712 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3713 (sql-comint): Check for program. Existing live buffer.
3714 (sql-comint-postgres): Add port parameter.
3715
3716 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * emacs-lisp/warnings.el: Fix commenting convention.
3719 (display-warning): Use special mode and make the buffer read-only.
3720
3721 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3722
3723 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3724 empty string when it follows a repeated or optional pattern.
3725
3726 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3729 (indent-region): Use indent-according-to-mode.
3730
3731 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3732
3733 * fringe.el (fringe-mode): Doc fix.
3734
3735 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3736
3737 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3738 refreshing the preview buffer.
3739
3740 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3743 (latex-syntax-propertize-rules): New consts; replace
3744 tex-font-lock-syntactic-keywords.
3745 (tex-env-mark, latex-env-before-change): New functions.
3746 (latex-electric-env-pair-mode): New minor mode.
3747 (tex-font-lock-verb): Change arguments; do move point.
3748 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3749 representation as a form of comment.
3750 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3751 (doctex-syntax-propertize-rules): New const; replaces
3752 doctex-font-lock-syntactic-keywords.
3753 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3754
3755 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3756 (fortran-make-syntax-propertize-function): New function; replaces
3757 fortran-font-lock-syntactic-keywords.
3758 (fortran-mode): Use it.
3759 (fortran-line-length): Use it. Improve interactive spec.
3760
3761 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3762 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3763 when adding surrounding \(..\).
3764
3765 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3766
3767 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3768
3769 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3770 Use with-current-buffer.
3771
3772 * isearch.el (isearch-face): Rename from `isearch'.
3773 (isearch-highlight): Use new name.
3774
3775 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3776
3777 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3778 5, for `half' width fringes. (Bug#6933)
3779
3780 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3783 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3784
3785 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3786
3787 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3788
3789 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3790 in calculating new frame position. Add more space between new and
3791 parent on the left (Bug#7048).
3792
3793 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3794
3795 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3796 defmacro.
3797
3798 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3799
3800 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3801
3802 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3803 obsolete alias for x-selection-value.
3804
3805 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3806
3807 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3808
3809 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3810 cookie.
3811
3812 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3813
3814 * net/tramp-compat.el (tramp-compat-with-temp-message)
3815 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3816 (tramp-compat-process-put): New defuns.
3817
3818 * net/tramp.el (top):
3819 * net/tramp-gvfs.el (top):
3820 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3821
3822 * net/tramp.el (tramp-progress-reporter-update):
3823 Use `tramp-compat-funcall'.
3824
3825 * net/tramp.el (tramp-process-actions):
3826 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3827 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3828 (tramp-get-remote-stat, tramp-get-remote-readlink):
3829 Use `tramp-compat-with-temp-message'.
3830
3831 * net/tramp-sh.el (top): Require 'cl.
3832 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3833 (tramp-open-connection-setup-interactive-shell):
3834 Use `tramp-compat-process-put'.
3835
3836 2010-09-15 Alan Mackenzie <acm@muc.de>
3837
3838 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3839 indentation.
3840 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3841
3842 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3845 `lexical' for warnings related to lexical scoping.
3846 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3847 global vars which don't have a prefix and could hence affect lexical
3848 scoping in unrelated files.
3849
3850 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3851
3852 * net/imap.el: Revert back to version
3853 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3854 seem problematic.
3855
3856 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3857
3858 * obsolete/old-whitespace.el (whitespace-unload-function):
3859 Explicitly pass `obarray' to `unintern' to avoid a warning.
3860
3861 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3862
3863 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3864 Add `when' argument. Update callers.
3865
3866 * subr.el (unintern): Declare the obarray arg mandatory.
3867
3868 2010-09-14 Glenn Morris <rgm@gnu.org>
3869
3870 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3871 Doc fixes.
3872
3873 * calendar/diary-lib.el (diary-included-files): New variable.
3874 (diary-list-entries): Maybe initialize diary-included-files.
3875 (diary-include-other-diary-files): Append to diary-included-files.
3876 * calendar/appt.el (appt-update-list): Also check the members of
3877 diary-included-files. (Bug#6999)
3878 (appt-check): Doc fix.
3879
3880 2010-09-14 David Reitter <david.reitter@gmail.com>
3881
3882 * simple.el (line-move-visual): Do not truncate goal column to
3883 integer size. (Bug#7020)
3884
3885 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * repeat.el (repeat): Allow repeating when the last event is a click.
3888 Suggested by Drew Adams (bug#6256).
3889
3890 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3891
3892 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3893 Replace setting HGRCPATH to "" by some less invasive --config options.
3894
3895 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3896
3897 * font-lock.el (font-lock-beginning-of-syntax-function):
3898 Mark as obsolete.
3899
3900 2010-09-14 Glenn Morris <rgm@gnu.org>
3901
3902 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3903 and tool-bar modes. (Bug#6211)
3904 (menu-bar-mode): Move setting of standard-value after the
3905 minor-mode definition, otherwise it seems to have no effect.
3906
3907 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3908
3909 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3910 Fix typo. (Bug#6976)
3911
3912 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3913
3914 * whitespace.el: Allow cleaning up blanks without blank
3915 visualization (Bug#6651). Adjust help window for
3916 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3917 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3918 (whitespace-style): Add new value 'face. Adjust docstring.
3919 (whitespace-space, whitespace-hspace, whitespace-tab):
3920 Adjust foreground property face.
3921 (whitespace-line-column): Adjust docstring and type declaration.
3922 (whitespace-style-value-list, whitespace-toggle-option-alist)
3923 (whitespace-help-text): Adjust const initialization.
3924 (whitespace-toggle-options, global-whitespace-toggle-options):
3925 Adjust docstring.
3926 (whitespace-display-window, whitespace-interactive-char)
3927 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3928 (whitespace-help-scroll): New fun.
3929
3930 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3931
3932 * calendar/time-date.el (format-seconds): Comment fix.
3933
3934 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3935
3936 * progmodes/sql.el: Version 2.7.
3937 (sql-buffer-live-p): Improve detection.
3938 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3939 (sql-set-sqli-buffer): Use it.
3940 (sql-product-interactive): Run `sql-set-sqli-hook'.
3941 (sql-rename-buffer): Code cleanup.
3942 (sql-redirect, sql-redirect-value): New functions. More to come.
3943
3944 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3945
3946 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.
3947 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3948 (TRAMP_SRC): New macro.
3949 ($(lisp)/net/tramp-loaddefs.el): New target.
3950
3951 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3952
3953 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3954
3955 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3956
3957 * net/tramp.el (top): Don't show loading message. Require just
3958 'tramp-compat, everything else is required there.
3959 Use `ignore-errors' where appropriate.
3960 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3961 (tramp-terminal-type, tramp-end-of-output)
3962 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3963 (tramp-completion-function-alist-ssh)
3964 (tramp-completion-function-alist-telnet)
3965 (tramp-completion-function-alist-su)
3966 (tramp-completion-function-alist-putty, tramp-remote-path)
3967 (tramp-remote-process-environment, tramp-sh-extra-args)
3968 (tramp-actions-before-shell, tramp-uudecode)
3969 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3970 (tramp-perl-file-attributes)
3971 (tramp-perl-directory-files-and-attributes)
3972 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3973 (tramp-perl-encode, tramp-perl-decode)
3974 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3975 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3976 (tramp-handle-make-symbolic-link, tramp-handle-load)
3977 (tramp-handle-file-name-as-directory)
3978 (tramp-handle-file-name-directory)
3979 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3980 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3981 (tramp-do-file-attributes-with-ls)
3982 (tramp-do-file-attributes-with-perl)
3983 (tramp-do-file-attributes-with-stat)
3984 (tramp-handle-set-visited-file-modtime)
3985 (tramp-handle-verify-visited-file-modtime)
3986 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3987 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3988 (tramp-handle-file-selinux-context)
3989 (tramp-handle-set-file-selinux-context)
3990 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3991 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3992 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3993 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3994 (tramp-handle-file-ownership-preserved-p)
3995 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3996 (tramp-handle-directory-files-and-attributes)
3997 (tramp-do-directory-files-and-attributes-with-perl)
3998 (tramp-do-directory-files-and-attributes-with-stat)
3999 (tramp-handle-file-name-all-completions)
4000 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4001 (tramp-handle-copy-file, tramp-handle-copy-directory)
4002 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4003 (tramp-do-copy-or-rename-file-via-buffer)
4004 (tramp-do-copy-or-rename-file-directly)
4005 (tramp-do-copy-or-rename-file-out-of-band)
4006 (tramp-handle-make-directory, tramp-handle-delete-directory)
4007 (tramp-handle-delete-file)
4008 (tramp-handle-dired-recursive-delete-directory)
4009 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4010 (tramp-handle-insert-directory)
4011 (tramp-handle-unhandled-file-name-directory)
4012 (tramp-handle-expand-file-name)
4013 (tramp-handle-substitute-in-file-name)
4014 (tramp-handle-executable-find, tramp-process-sentinel)
4015 (tramp-handle-start-file-process, tramp-handle-process-file)
4016 (tramp-handle-call-process-region, tramp-handle-shell-command)
4017 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4018 (tramp-handle-insert-file-contents)
4019 (tramp-handle-insert-file-contents-literally)
4020 (tramp-handle-find-backup-file-name)
4021 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4022 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4023 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4024 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4025 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4026 (tramp-find-file-exists-command, tramp-open-shell)
4027 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4028 (tramp-open-connection-setup-interactive-shell)
4029 (tramp-local-coding-commands, tramp-remote-coding-commands)
4030 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4031 (tramp-inline-compress-commands, tramp-find-inline-compress)
4032 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4033 (tramp-send-command, tramp-wait-for-output)
4034 (tramp-send-command-and-check, tramp-barf-unless-okay)
4035 (tramp-send-command-and-read, tramp-mode-string-to-int)
4036 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4037 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4038 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4039 (tramp-method-out-of-band-p, tramp-local-host-p)
4040 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4041 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4042 (tramp-get-test-command, tramp-get-test-nt-command)
4043 (tramp-get-file-exists-command, tramp-get-remote-ln)
4044 (tramp-get-remote-perl, tramp-get-remote-stat)
4045 (tramp-get-remote-readlink, tramp-get-remote-trash)
4046 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4047 (tramp-get-local-uid, tramp-get-local-gid)
4048 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4049 tramp-sh.el.
4050 (tramp-methods, tramp-default-method-alist)
4051 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4052 Move initialization to tramp-sh.el.
4053 (tramp-temp-name-prefix): Make it a defconst.
4054 (tramp-dissect-file-name): Don't check anymore for multi-hop
4055 methods.
4056 (tramp-debug-outline-regexp): Add a docstring.
4057 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4058 (tramp-get-debug-buffer): Use it.
4059
4060 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4061 initialization forms.
4062 (tramp-set-connection-property): Don't protect `tramp-message'
4063 call, it isn't necessary any longer.
4064 (tramp-dump-connection-properties): Use `ignore-errors'.
4065
4066 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4067 'password-cache and 'auth-source.
4068
4069 * net/tramp-gvfs.el (top):
4070 * net/tramp-smb.el (top): Require 'tramp-sh.
4071
4072 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4073
4074 * net/tramp-sh.el: New file, derived from tramp.el.
4075 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4076 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4077 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4078 Use `ignore-errors' where appropriate.
4079 (tramp-sh-file-name-handler-alist): Rename from
4080 `tramp-file-name-handler-alist'.
4081 (tramp-send-command-and-check): Return t or nil. Remove all
4082 `zerop' checks, where called.
4083 (tramp-handle-set-file-modes)
4084 (tramp-do-copy-or-rename-file-directly)
4085 (tramp-handle-delete-directory, tramp-handle-delete-file)
4086 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4087 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4088 (tramp-get-remote-ln): Set tramp-autoload cookie.
4089
4090 * net/tramp-fish.el: Remove file.
4091
4092 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4093
4094 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4095 buffer-file-name to avoid file-locking. (Bug#7026)
4096
4097 2010-09-13 Julien Danjou <julien@danjou.info>
4098
4099 * notifications.el (notifications-notify): Add support for
4100 image-path and sound-name.
4101 (notifications-specification-version): Add this variable.
4102
4103 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4106
4107 2010-09-12 Leo <sdl.web@gmail.com>
4108
4109 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4110 (rcirc-completion-start): New variables.
4111 (rcirc-nick-completions): Rename to rcirc-completions.
4112 (rcirc-nick-completion-start-offset): Delete.
4113 (rcirc-completion-at-point): New function for constructing
4114 completion data for both nicks and irc commands. Add to
4115 completion-at-point-functions in rcirc mode.
4116 (rcirc-complete): Rename from rcirc-nick-complete; use
4117 rcirc-completion-at-point.
4118 (defun-rcirc-command): Update rcirc-client-commands.
4119
4120 2010-09-11 Glenn Morris <rgm@gnu.org>
4121
4122 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4123 atomically, to avoid parallel build errors. (Bug#4196)
4124
4125 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4126
4127 * progmodes/sql.el: Version 2.6
4128 (sql-dialect): Synonym for "sql-product".
4129 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4130 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4131 Set "sql-buffer" to buffer name not buffer object so multiple sql
4132 interactive buffers work properly. Reverts misguided changes in
4133 earlier work.
4134 (sql-comint): Make sure different buffer name is used if "*SQL*"
4135 buffer is for a different product.
4136 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4137 login param.
4138 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4139 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4140 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4141 Accept new buffer name or prompt for one.
4142 (sql-port): Default to zero.
4143 (sql-comint-mysql): Handle "sql-port" as a numeric.
4144 (sql-port-history): Delete unused variable.
4145 (sql-get-login): Default "sql-port" to a number.
4146 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4147 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4148 "sqlite3" executables.
4149 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4150 (sql-buffer-live-p): New function.
4151 (sql-mode-menu, sql-send-string): Use it.
4152 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4153 syntax pattern.
4154 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4155 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4156
4157 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4158
4159 * net/netrc.el (netrc-credentials): New convenience function.
4160
4161 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4162
4163 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4164 to replace texinfo-font-lock-syntactic-keywords.
4165 (texinfo-mode): Use it.
4166
4167 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4168 Use syntax-propertize-function.
4169
4170 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4171 replace sgml-font-lock-syntactic-keywords.
4172 (sgml-mode): Use it.
4173
4174 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4175 since we don't use it.
4176
4177 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4178
4179 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4180 if available.
4181 (vhdl-fontify-buffer): Adjust.
4182
4183 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4184 replace tcl-font-lock-syntactic-keywords.
4185 (tcl-mode): Use it.
4186
4187 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4188 replace simula-font-lock-syntactic-keywords.
4189 (simula-mode): Use it.
4190
4191 * progmodes/sh-script.el (sh-st-symbol): Remove.
4192 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4193 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4194 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4195 (sh-font-lock-paren): Set syntax-multiline.
4196 (sh-font-lock-syntactic-keywords): Remove.
4197 (sh-syntax-propertize-function): New function to replace it.
4198 (sh-mode): Use it.
4199
4200 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4201 Define while compiling.
4202 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4203 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4204 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4205 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4206 (ruby-here-doc-end-syntax): Only define when
4207 syntax-propertize is not available.
4208 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4209 New functions.
4210 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4211 (electric-indent-chars): Silence bytecompiler.
4212 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4213 electric-indent-chars.
4214
4215 * progmodes/python.el (python-syntax-propertize-function): New var to
4216 replace python-font-lock-syntactic-keywords.
4217 (python-mode): Use it.
4218 (python-quote-syntax): Simplify and adjust to new use.
4219
4220 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4221 replace perl-font-lock-syntactic-keywords.
4222 (perl-syntax-propertize-special-constructs): New fun to replace
4223 perl-font-lock-special-syntactic-constructs.
4224 (perl-font-lock-syntactic-face-function): New fun.
4225 (perl-mode): Use it.
4226
4227 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4228 to replace octave-font-lock-close-quotes.
4229 (octave-syntax-propertize-function): New function to replace
4230 octave-font-lock-syntactic-keywords.
4231 (octave-mode): Use it.
4232
4233 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4234 replaces mixal-font-lock-syntactic-keywords.
4235 (mixal-mode): Use it.
4236
4237 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4238 New var; replaces makefile-font-lock-syntactic-keywords.
4239 (makefile-mode): Use it.
4240 (makefile-imake-mode): Adjust.
4241
4242 * progmodes/js.el (js--regexp-literal): Define while compiling.
4243 (js-syntax-propertize-function): New var; replaces
4244 js-font-lock-syntactic-keywords.
4245 (js-mode): Use it.
4246
4247 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4248 replaces gdb-script-font-lock-syntactic-keywords.
4249 (gdb-script-mode): Use it.
4250
4251 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4252 (fortran--font-lock-syntactic-keywords): New var.
4253 (fortran-line-length): Update syntax-propertize-function and
4254 fortran--font-lock-syntactic-keywords.
4255
4256 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4257
4258 * progmodes/cfengine.el (cfengine-mode):
4259 Use syntax-propertize-function.
4260 (cfengine-font-lock-syntactic-keywords): Remove.
4261
4262 * progmodes/autoconf.el (autoconf-mode):
4263 Use syntax-propertize-function.
4264 (autoconf-font-lock-syntactic-keywords): Remove.
4265
4266 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4267 (ada-after-change-function, ada-initialize-syntax-table-properties)
4268 (ada-handle-syntax-table-properties): Only define when
4269 syntax-propertize is not available.
4270 (ada-mode): Use syntax-propertize-function.
4271
4272 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4273 (font-lock-fontify-syntactic-keywords-region): Move handling of
4274 font-lock-syntactically-fontified to...
4275 (font-lock-default-fontify-region): ...here.
4276 Let syntax-propertize-function take precedence.
4277 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4278
4279 * emacs-lisp/syntax.el (syntax-propertize-function)
4280 (syntax-propertize-chunk-size, syntax-propertize--done)
4281 (syntax-propertize-extend-region-functions): New vars.
4282 (syntax-propertize-wholelines, syntax-propertize-multiline)
4283 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4284 (syntax-propertize): New functions.
4285 (syntax-propertize-rules): New macro.
4286 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4287 (syntax-ppss): Call syntax-propertize.
4288
4289 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4290
4291 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4292
4293 * textmodes/ispell.el (ispell-init-process): Improve comments.
4294 XEmacs compatibility changes regarding (add-hook) 'local option
4295 and (set-process-query-on-exit-flag).
4296
4297 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4298
4299 * net/tramp-cache.el (tramp-parse-connection-properties):
4300 Set tramp-autoload cookie.
4301
4302 2010-09-09 Glenn Morris <rgm@gnu.org>
4303
4304 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4305 (imagemagick-register-types): Doc fix.
4306
4307 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4310
4311 * progmodes/js.el (require): Require is already "eval-and-compile".
4312 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4313 (js--re-search-backward): Use js--re-search-forward.
4314
4315 * progmodes/fortran.el (fortran-line-length): Don't recompute
4316 syntactic keywords redundantly a second time.
4317
4318 * progmodes/ada-mode.el: Replace "(set '" with setq.
4319 (ada-mode): Simplify.
4320 (ada-create-case-exception, ada-adjust-case-interactive)
4321 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4322 (ada-search-ignore-string-comment, ada-move-to-start)
4323 (ada-move-to-end): Use with-syntax-table.
4324
4325 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4326 (font-lock-unfontify-region, font-lock-default-fontify-region):
4327 Update usage correspondingly.
4328 (font-lock-fontify-syntactic-keywords-region):
4329 Set parse-sexp-lookup-properties buffer-locally here.
4330 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4331
4332 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4333
4334 2010-09-08 Glenn Morris <rgm@gnu.org>
4335
4336 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4337 Error if not compiled with -DBYTE_CODE_METER.
4338
4339 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4340 Ignore dir-locals-file.
4341
4342 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4345 Not a const.
4346 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4347 for the `gnu' messages.
4348 (compilation-set-skip-threshold): New command.
4349 (compilation-start): Use \' rather than $.
4350 (compilation-forget-errors): Use clrhash.
4351
4352 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4353
4354 * textmodes/ispell.el (ispell-valid-dictionary-list):
4355 Simplify logic.
4356
4357 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4358
4359 Migrate to Tramp 2.2. Rearrange load dependencies.
4360 (Bug#1529, Bug#5448, Bug#5705)
4361
4362 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4363 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4364 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4365
4366 * net/tramp.el (top): Remove all other tramp-* loads except
4367 tramp-compat.el. Remove all changes to tramp-unload-hook for
4368 other tramp-* packages. Rearrange defun order. Change calls of
4369 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4370 `tramp-compat-octal-to-decimal' to new function names.
4371 (tramp-terminal-type, tramp-initial-end-of-output)
4372 (tramp-methods, tramp-foreign-file-name-handler-alist)
4373 (tramp-tramp-file-p, tramp-completion-mode-p)
4374 (tramp-send-command-and-check, tramp-get-remote-path)
4375 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4376 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4377 (with-file-property, with-connection-property): Move to
4378 tramp-cache.el.
4379 (tramp-local-call-process, tramp-decimal-to-octal)
4380 (tramp-octal-to-decimal): Move to tramp-compat.el.
4381 (tramp-handle-shell-command): Do not require 'shell.
4382 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4383 symbols.
4384 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4385
4386 * net/tramp-cache.el (top): Require 'tramp. Add to
4387 `tramp-unload-hook'.
4388 (tramp-cache-data, tramp-get-file-property)
4389 (tramp-set-file-property, tramp-flush-file-property)
4390 (tramp-flush-directory-property, tramp-get-connection-property)
4391 (tramp-set-connection-property, tramp-flush-connection-property)
4392 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4393 cookie.
4394 (with-file-property, with-connection-property): New defuns, moved
4395 from tramp.el.
4396 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4397 macro.
4398
4399 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4400 (tramp-version): Set tramp-autoload cookie.
4401
4402 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4403 changes to tramp-unload-hook for other tramp-* packages. Add to
4404 `tramp-unload-hook'.
4405 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4406 (tramp-compat-call-process): New defuns, moved from tramp.el.
4407
4408 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4409 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4410 Add to `tramp-unload-hook'. Change call of
4411 `tramp-compat-decimal-to-octal' to new function name.
4412 (tramp-fish-method): Make it a defconst.
4413 (tramp-fish-file-name-p): Make it a defsubst.
4414 (tramp-fish-method, tramp-fish-file-name-handler)
4415 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4416
4417 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4418 `tramp-foreign-file-name-handler-alist'. Add to
4419 `tramp-unload-hook'.
4420 (tramp-ftp-method): Make it a defconst.
4421 (tramp-ftp-file-name-p): Make it a defsubst.
4422 (tramp-ftp-method, tramp-ftp-file-name-handler)
4423 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4424
4425 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4426 `tramp-foreign-file-name-handler-alist'. Add to
4427 `tramp-unload-hook'. Change checks, whether package can be
4428 loaded.
4429 (tramp-gvfs-file-name-p): Make it a defsubst.
4430 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4431 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4432 (tramp-gvfs-handle-file-directory-p): New defun.
4433 (tramp-gvfs-file-name-handler-alist): Use it.
4434
4435 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4436 `tramp-foreign-file-name-handler-alist'. Add to
4437 `tramp-unload-hook'.
4438 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4439 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4440 defconst.
4441 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4442 (tramp-gw-open-connection): Set tramp-autoload cookie.
4443
4444 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4445 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4446 Add to `tramp-unload-hook'. Change checks, whether package can be
4447 loaded.
4448 (tramp-imap-file-name-p): Make it a defsubst.
4449 (tramp-imap-method, tramp-imaps-method)
4450 (tramp-imap-file-name-handler)
4451 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4452
4453 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4454 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4455 Add to `tramp-unload-hook'. Change checks, whether package can be
4456 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4457 function name.
4458 (tramp-smb-tunnel-method): Make it a defconst.
4459 (tramp-smb-file-name-p): Make it a defsubst.
4460 (tramp-smb-method, tramp-smb-file-name-handler)
4461 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4462
4463 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4464 (tramp-uuencode-region): Set tramp-autoload cookie.
4465
4466 * net/trampver.el (top) Add to `tramp-unload-hook'.
4467 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4468 cookie. Update release number.
4469
4470 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4471
4472 * textmodes/ispell.el (ispell-start-process): Make sure original
4473 arg list is properly initialized (Bug#6993, Bug#6994).
4474
4475 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4476
4477 * files.el (directory-abbrev-alist): Use \` as default regexp.
4478
4479 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4480 chars like - or ] (bug#6984).
4481 (rx-any-condense-range): Explode 2-char ranges.
4482
4483 2010-09-06 Glenn Morris <rgm@gnu.org>
4484
4485 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4486
4487 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * textmodes/bibtex.el:
4490 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4491
4492 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4493
4494 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4495 since no callers use it.
4496 (imap-message-get): Ditto.
4497 (imap-message-put): Ditto.
4498 (imap-mailbox-map): Ditto.
4499 (imap-mailbox-put): Ditto.
4500 (imap-mailbox-get): Ditto.
4501 (imap-mailbox-get): Revert last change for this function.
4502
4503 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4504
4505 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4506 callers to use `imap-fetch' instead. According to the comments, this
4507 should be safe, since all other IMAP clients use the 1:* syntax.
4508 (imap-enable-exchange-bug-workaround): Remove.
4509 (imap-debug): Remove -- doesn't seem very useful.
4510
4511 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4512
4513 * net/imap.el (imap-log): New convenience function used throughout
4514 instead of repeating the same code all over the place.
4515
4516 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4517
4518 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4519 when mouse-drag-copy-region is non-nil (Bug#6956).
4520
4521 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4522
4523 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4524 Improve regexps (Bug#6987).
4525 (dired-sort-toggle): Search more robustly for -t flag.
4526
4527 * files.el (get-free-disk-space): Search more robustly for
4528 "available" column. Suggested by Ehud Karni
4529 <ehud@unix.mvs.co.il>.
4530
4531 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4532
4533 * international/uni-bidi.el:
4534 * international/uni-category.el:
4535 * international/uni-combining.el:
4536 * international/uni-decimal.el:
4537 * international/uni-mirrored.el:
4538 * international/uni-name.el: Regenerate.
4539
4540 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * electric.el (electric-indent-post-self-insert-function):
4543 Don't reindent with a sloppy indentation function.
4544
4545 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4546 border case in change-log-mode.
4547
4548 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4549
4550 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4551 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4552 Recognize leading tab in gcc-include regexp. Ignore names with
4553 leading "from" or "in" in gnu regexp (Bug#6937).
4554
4555 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4558 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4559 (ispell-start-process): Avoid setq and simplify logic.
4560 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4561 (kill-buffer-hook): Don't use it globally with code that uses
4562 expand-file-name since that may call kill-buffer via
4563 code_conversion_restore.
4564
4565 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4566
4567 * emacs-lisp/package.el (package-directory-list): Only call
4568 file-name-nondirectory on a string.
4569
4570 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4571
4572 * emacs-lisp/package.el (package--download-one-archive):
4573 Ensure that archive-contents is valid before saving it.
4574 (package-activate-1, package-mark-obsolete, define-package)
4575 (package-compute-transaction, package-list-maybe-add): Use push.
4576
4577 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 Use SMIE's blink-paren for octave-mode.
4580 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4581 Backslashes do not escape single-quotes, single-quotes do.
4582 (octave-block-else-regexp, octave-block-end-regexp)
4583 (octave-block-match-alist): Remove.
4584 (octave-smie-bnf-table): New var, with old content.
4585 (octave-smie-op-levels): Use it.
4586 (octave-smie-closer-alist): New var.
4587 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4588 (octave-blink-matching-block-open): Remove.
4589 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4590 (octave-electric-space): Let self-insert-command run expand-abbrev and
4591 blink parens.
4592
4593 * electric.el (electricity): New group.
4594 (electric-indent-chars): New var.
4595 (electric-indent-post-self-insert-function): New fun.
4596 (electric-indent-mode): New minor mode.
4597 (electric-pair-skip-self): New custom.
4598 (electric-pair-post-self-insert-function): New function.
4599 (electric-pair-mode): New minor mode.
4600
4601 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4602 calcAlg-blink-matching-open.
4603 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4604 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4605 Use the new blink-matching-check-function.
4606
4607 Provide blink-matching support to SMIE.
4608 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4609 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4610 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4611
4612 * simple.el (newline): Fix last change to properly remove itself from
4613 the hook.
4614
4615 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * simple.el (newline): Eliminate optimization.
4618 Use post-self-insert-hook to set hard-newline and things before
4619 running post-self-insert-hook.
4620 (blink-matching-check-mismatch): New function.
4621 (blink-matching-check-function): New variable.
4622 (blink-matching-open): Use them.
4623 Skip back forward over prefix chars skipped by forward-sexp.
4624 Don't check if the parens are backslash escaped.
4625 (blink-paren-post-self-insert-function): Check backslash escaping here.
4626
4627 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4628
4629 * emacs-lisp/package.el (package-menu-mode-map):
4630 Change package-menu-revert bindings to revert-buffer.
4631 (package-menu-mode): Set revert-buffer-function.
4632 (package-menu-revert): Doc fix.
4633
4634 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4635
4636 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4637 `default-directory' unless using Ispell per-directory personal
4638 dictionaries and not in a mini-buffer under XEmacs.
4639 (kill-buffer-hook): Do not kill ispell process on exit when
4640 `ispell-process-directory' is "~/". (Bug#6143)
4641
4642 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4643
4644 * simple.el (kill-new): Call interprogram-cut-function with only
4645 one argument.
4646
4647 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4648 Remove cut buffer from error message.
4649
4650 * term/x-win.el (x-select-text):
4651 * term/pc-win.el (x-selection-value):
4652 * term/ns-win.el (x-selection-value):
4653 * eshell/em-term.el:
4654 * w32-fns.el (x-get-selection-value):
4655 * mouse-sel.el (mouse-sel-set-selection-function):
4656 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4657
4658 * term/x-win.el: Update documentation for x-last-selected-text-*.
4659 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4660 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4661 (x-select-text): Remove argument PUSH, update documentation.
4662 Remove cut-buffer code.
4663 (x-selection-value-internal): Was previously x-selection-value.
4664 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4665 Update documentation, remove cut-buffer code.
4666 Call x-selection-value-internal.
4667 (x-clipboard-yank): Call x-selection-value-internal.
4668 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4669
4670 * term/pc-win.el (x-last-selected-text):
4671 x-cut-buffer-or-selection-value renamed to x-selection-value
4672 (x-select-text): Remove argument PUSH, update documentation.
4673
4674 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4675 x-cut-buffer-or-selection-value renamed to x-selection-value
4676 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4677 (x-select-text): Remove argument PUSH, update documentation.
4678
4679 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4680
4681 * w32-fns.el (x-last-selected-text):
4682 x-cut-buffer-or-selection-value renamed to x-selection-value.
4683 (x-cut-buffer-max): Remove.
4684 (x-select-text): Remove argument PUSH, update documentation.
4685
4686 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4687
4688 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4689
4690 * mouse-sel.el (mouse-sel-get-selection-function):
4691 x-cut-buffer-or-selection-value renamed to x-selection-value.
4692 (x-select-text): Remove optional push.
4693
4694 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * simple.el (blink-paren-function): Move from C to here.
4697 (blink-paren-post-self-insert-function): New function.
4698 (post-self-insert-hook): Use it.
4699
4700 * emacs-lisp/pcase.el (pcase-split-memq):
4701 Fix overenthusiastic optimisation.
4702 (pcase-u1): Handle the case of a lambda pred.
4703
4704 2010-08-31 Kenichi Handa <handa@m17n.org>
4705
4706 * international/mule-cmds.el (standard-display-european-internal):
4707 Setup standard-display-table for 8-bit characters by storing 8-bit
4708 characters in the element vector.
4709
4710 * disp-table.el (standard-display-8bit):
4711 Setup standard-display-table for 8-bit characters by storing 8-bit
4712 characters in the element vector.
4713 (standard-display-european): Likewise.
4714
4715 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4716
4717 * textmodes/nroff-mode.el (nroff-view): New command.
4718 (nroff-mode-map): Bind it to C-c C-c.
4719
4720 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 * emacs-lisp/smie.el (smie-down-list): New command.
4723
4724 Remove old indentation and navigation code on octave-mode.
4725 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4726 smie-down-list rather than add a binding for octave-down-block.
4727 (octave-mark-block, octave-blink-matching-block-open):
4728 Rely on forward-sexp-function.
4729 (octave-fill-paragraph): Don't narrow, so you can use
4730 indent-according-to-mode.
4731 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4732 (octave-in-block-p, octave-re-search-forward-kw)
4733 (octave-re-search-backward-kw, octave-indent-calculate)
4734 (octave-end-as-array-index-p, octave-block-end-offset)
4735 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4736 (octave-down-block, octave-backward-up-block, octave-up-block)
4737 (octave-before-magic-comment-p, octave-indent-line): Remove.
4738
4739 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4740
4741 * emacs-lisp/package.el (package--read-archive-file): Just use
4742 `read', to avoid copying an additional string.
4743 (package-menu-mode): Set header-line-format here.
4744 (package-menu-refresh, package-menu-revert): Signal an error if
4745 not in the Package Menu.
4746 (package-menu-package-list): New var.
4747 (package--generate-package-list): Operate on the current buffer;
4748 don't assume that it is *Packages*, since the user may rename it.
4749 Allow persistent package listings and sort keys using
4750 package-menu-package-list and package-menu-package-sort-key.
4751 (package-menu--version-predicate): Fix version calculation.
4752 (package-menu-sort-by-column): Don't select the window.
4753 (package--list-packages): Create the *Packages* buffer.
4754 Set package-menu-package-list-key.
4755 (list-packages): Sorting by status is now the default.
4756 (package-buffer-info): Use match-string-no-properties.
4757 (define-package): Add a &rest argument for future proofing, but
4758 don't use it yet.
4759 (package-install-from-buffer, package-install-buffer-internal):
4760 Merge into a single function, package-install-from-buffer.
4761 (package-install-file): Change caller.
4762
4763 * finder.el: Load finder-inf using `require'.
4764 (finder-list-matches): Sorting by status is now the default.
4765 (finder-compile-keywords): Simpify printing.
4766
4767 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4770 (octave-mode-map): Remove special bindings for forward/backward-block
4771 and octave-backward-up-block. Use smie-close-block.
4772 (octave-continuation-marker-regexp): New var.
4773 (octave-continuation-regexp): Use it.
4774 (octave-operator-table, octave-smie-op-levels)
4775 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4776 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4777 (octave-mode): Use SMIE.
4778 (octave-close-block): Delete.
4779
4780 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4781
4782 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4783 CLIPBOARD, not in PRIMARY. (Bug#6944)
4784
4785 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4788 a list of parents.
4789 (smie-indent-column): Allow indirection through variables.
4790
4791 * composite.el (save-buffer-state): Delete, unused.
4792 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4793 (font-lock-default-fontify-region): Use with-syntax-table.
4794 * jit-lock.el (with-buffer-unmodified): Remove.
4795 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4796
4797 Use `declare' in defmacros.
4798 * window.el (save-selected-window):
4799 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4800 * progmodes/python.el (def-python-skeleton):
4801 * net/dbus.el (dbus-ignore-errors):
4802 * jka-cmpr-hook.el (with-auto-compression-mode):
4803 * international/mule.el (with-category-table):
4804 * emacs-lisp/timer.el (with-timeout):
4805 * emacs-lisp/lisp-mnt.el (lm-with-file):
4806 * emacs-lisp/eieio.el (with-slots):
4807 * emacs-lisp/easymenu.el (easy-menu-define):
4808 * emacs-lisp/debug.el (debugger-env-macro):
4809 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4810 (Multiple-value-call, Multiple-value-prog1):
4811 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4812 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4813 edebug rule to definition.
4814 * emacs-lisp/lisp-mode.el (save-selected-window)
4815 (with-current-buffer, combine-after-change-calls)
4816 (with-output-to-string, with-temp-file, with-temp-buffer)
4817 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4818 (dolist, dotimes, when, unless):
4819 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4820
4821 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4822
4823 * finder.el: Require `package'.
4824 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4825 (finder-package-info): Var deleted.
4826 (finder-keywords-hash, finder--builtins-alist): New vars.
4827 (finder-compile-keywords): Compute package--builtins and
4828 finder-keywords-hash instead of finder-keywords-hash, respecting
4829 the "Package" header.
4830 (finder-unknown-keywords, finder-list-matches):
4831 Use finder-keywords-hash and package--list-packages.
4832 (finder-mode): Don't set font-lock-defaults.
4833 (finder-exit): We don't use "*Finder-package*" and "*Finder
4834 Category*" buffers anymore.
4835
4836 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4837 (package--builtins): Set default value to nil.
4838 (package-initialize): Load precomputed value of package--builtins
4839 from finder-inf.el.
4840 (package-alist, package-compute-transaction)
4841 (package-download-transaction): Improve docstring.
4842 (package-read-all-archive-contents): Do not change
4843 package--builtins here.
4844 (list-packages): Make package-list-packages an alias for this.
4845 Sort by status by default.
4846 (package--list-packages): Add optional PACKAGES arg.
4847 (describe-package-1): Use font-lock-face property. For built-in
4848 packages, insert file commentary.
4849 (package--generate-package-list): Rename from
4850 package-list-packages-internal; all callers changed. Add optional
4851 PACKAGES arg. Add alphabetical sort fallbacks.
4852 (package-menu--version-predicate, package-menu--status-predicate)
4853 (package-menu--description-predicate)
4854 (package-menu--name-predicate): New functions.
4855
4856 * info.el (Info-finder-find-node): Search package-alist instead of
4857 finder-package-info.
4858
4859 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4860
4861 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4862 "alpha" and "beta".
4863 (version-to-list): Handle versions like "10.3d".
4864
4865 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4868 (macroexp-accumulate): Use `declare'.
4869
4870 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4871
4872 * whitespace.el (whitespace-style): Adjust type declaration.
4873
4874 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4875
4876 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4877 empty argument to gvfs-copy.
4878
4879 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4880
4881 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4882 handle new TRASH arg of `delete-file'.
4883
4884 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4885
4886 * net/tramp.el (tramp-handle-insert-directory): Don't use
4887 `forward-word', its default syntax could be changed.
4888
4889 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4890 Michael Albinus <michael.albinus@gmx.de>
4891
4892 Implement compression for inline methods.
4893
4894 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4895 (tramp-copy-size-limit): Allow also nil.
4896 (tramp-inline-compress-commands): New defconst.
4897 (tramp-find-inline-compress, tramp-get-inline-compress)
4898 (tramp-get-inline-coding): New defuns.
4899 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4900 replaced by `tramp-get-inline-coding'.
4901 (tramp-handle-file-local-copy, tramp-handle-write-region)
4902 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4903
4904 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4905
4906 Detect ssh 'ControlMaster' argument automatically in some cases.
4907
4908 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4909 (tramp-default-method): Use it.
4910
4911 2010-08-26 Karel Klíč <kklic@redhat.com>
4912
4913 * net/tramp.el (tramp-file-name-for-operation):
4914 Add file-selinux-context.
4915
4916 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4917
4918 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4919
4920 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4921
4922 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4923 (Bug#6907).
4924
4925 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4926
4927 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4928 (js-paren-indent-offset, js-square-indent-offset)
4929 (js-curly-indent-offset): New options.
4930 (js--proper-indentation): Use them.
4931
4932 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4933
4934 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4935 instead of inspecting font-lock properties (Bug#6916).
4936
4937 2010-08-26 David Reitter <david.reitter@gmail.com>
4938
4939 * server.el (server-visit-files): Run pre-command-hook and
4940 post-command-hook for each buffer while it is current (Bug#6910).
4941 (server-execute): Do not run hooks here.
4942
4943 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4944
4945 Sync with Tramp 2.1.19.
4946
4947 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4948 (tramp-reporter-dump-variable, tramp-load-report-modules)
4949 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4950 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4951
4952 * net/tramp-compat.el (top): Do not autoload
4953 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4954 only when `start-file-process' is not bound.
4955 (byte-compile-not-obsolete-vars): Define if not bound.
4956 (tramp-compat-funcall): New defmacro.
4957 (tramp-compat-line-beginning-position)
4958 (tramp-compat-line-end-position)
4959 (tramp-compat-temporary-file-directory)
4960 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4961 (tramp-compat-copy-file, tramp-compat-copy-directory)
4962 (tramp-compat-delete-file, tramp-compat-delete-directory)
4963 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4964 Use it.
4965 (tramp-advice-file-expand-wildcards): Do not use
4966 `tramp-handle-file-remote-p'.
4967 (tramp-compat-make-temp-file): Simplify fallback implementation.
4968 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4969 (tramp-compat-copy-tree): Remove function.
4970 (tramp-compat-delete-file): New defun.
4971 (tramp-compat-delete-directory): Provide implementation for older
4972 Emacsen.
4973 (tramp-compat-file-attributes): Handle only
4974 `wrong-number-of-arguments' error.
4975
4976 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4977 Add PRESERVE_SELINUX_CONTEXT.
4978 (tramp-fish-handle-delete-file): Add TRASH arg.
4979 (tramp-fish-handle-directory-files-and-attributes):
4980 Do not use `tramp-fish-handle-file-attributes.
4981 (tramp-fish-handle-file-local-copy)
4982 (tramp-fish-handle-insert-file-contents)
4983 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4984
4985 * net/tramp-gvfs.el (top): Require url-util.
4986 (tramp-gvfs-mount-point): Remove.
4987 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4988 and `set-file-selinux-context'.
4989 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4990 (tramp-gvfs-handle-file-selinux-context)
4991 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4992 (with-tramp-dbus-call-method): Format trace message.
4993 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4994 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4995 Implement backup call, when operation on local files fails.
4996 Use progress reporter. Flush properties of changed files.
4997 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4998 Use `tramp-compat-delete-file'.
4999 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5000 (tramp-gvfs-handle-make-directory): Make more traces.
5001 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5002 (tramp-gvfs-url-file-name): Hexify file name in url.
5003 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5004 into account for the resulting file name.
5005 (tramp-gvfs-handler-askquestion): Preserve current message, in
5006 order to let progress reporter continue afterwards. (Bug#6257)
5007 Return dummy mountpoint, when the answer is "no".
5008 See `tramp-gvfs-maybe-open-connection'.
5009 (tramp-gvfs-handler-mounted-unmounted)
5010 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5011 attribute "default_location". Set "prefix" property.
5012 Handle default-location.
5013 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5014 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5015 exists. Raise an error, if not (due to a corresponding answer
5016 "no" in interactive questions, for example).
5017 Use `tramp-compat-funcall'.
5018
5019 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5020 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5021 (tramp-imap-do-copy-or-rename-file)
5022 (tramp-imap-handle-insert-file-contents)
5023 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5024 (tramp-imap-handle-delete-file): Add TRASH arg.
5025
5026 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5027 Add PRESERVE-SELINUX-CONTEXT.
5028 (tramp-smb-handle-copy-file)
5029 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5030 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5031 Use `with-progress-reporter'.
5032 (tramp-smb-handle-delete-file): Add TRASH arg.
5033
5034 * net/tramp.el (tramp-methods): Move hostname to the end in all
5035 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5036 appropriate.
5037 (tramp-verbose): Describe verbose level 9.
5038 (tramp-completion-function-alist)
5039 (tramp-file-name-regexp, tramp-chunksize)
5040 (tramp-local-coding-commands, tramp-remote-coding-commands)
5041 (with-connection-property, tramp-completion-mode-p)
5042 (tramp-action-process-alive, tramp-action-out-of-band)
5043 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5044 (tramp-exists-file-name-handler): Fix docstring.
5045 (tramp-remote-process-environment): Use `format' instead of
5046 `concat'. Protect version string by apostroph.
5047 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5048 XEmacs.
5049 (tramp-file-name-regexp-unified)
5050 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5051 not regard the volume letter as remote filename. (Bug#5447)
5052 (tramp-perl-file-attributes)
5053 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5054 (tramp-vc-registered-read-file-names): Read input as
5055 here-document, otherwise the command could exceed maximum length
5056 of command line.
5057 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5058 `set-file-selinux-context'.
5059 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5060 backtrace functions.
5061 (tramp-error-with-buffer): Don't show the connection buffer when
5062 we are in completion mode.
5063 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5064 (tramp-handle-file-selinux-context)
5065 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5066 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5067 New defuns.
5068 (with-progress-reporter): New defmacro.
5069 (tramp-debug-outline-regexp): New defconst.
5070 (top, tramp-rfn-eshadow-setup-minibuffer)
5071 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5072 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5073 (tramp-completion-mode-p, tramp-check-for-regexp)
5074 (tramp-open-connection-setup-interactive-shell)
5075 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5076 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5077 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5078 Use `tramp-compat-funcall'.
5079 (tramp-handle-make-symbolic-link): Flush file properties.
5080 (tramp-handle-load, tramp-handle-file-local-copy)
5081 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5082 (tramp-handle-vc-registered, tramp-maybe-send-script)
5083 (tramp-find-shell): Use `with-progress-reporter'.
5084 (tramp-do-file-attributes-with-stat): Add space in format string,
5085 in order to work around a bug in pdksh. Reported by Gilles Pion
5086 <gpion@lfdj.com>.
5087 (tramp-handle-verify-visited-file-modtime): Do not send a command
5088 when the connection is not established.
5089 (tramp-handle-set-file-times): Simplify the check for utc.
5090 (tramp-handle-directory-files-and-attributes)
5091 (tramp-get-remote-path): Use `copy-tree'.
5092 (tramp-completion-handle-file-name-all-completions): Ensure, that
5093 non remote files are still checked. Oops.
5094 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5095 Handle PRESERVE-SELINUX-CONTEXT.
5096 (tramp-do-copy-or-rename-file): Add progress reporter.
5097 (tramp-do-copy-or-rename-file-directly): Do not use
5098 `tramp-handle-file-remote-p'.
5099 (tramp-do-copy-or-rename-file-out-of-band):
5100 Use `tramp-compat-delete-directory'.
5101 (tramp-do-copy-or-rename-file-out-of-band)
5102 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5103 Use `format-spec-make'.
5104 (tramp-handle-delete-file): Add TRASH arg.
5105 (tramp-handle-dired-uncache): Flush directory cache, not only file
5106 cache.
5107 (tramp-handle-expand-file-name)
5108 (tramp-completion-handle-file-name-all-completions)
5109 (tramp-completion-handle-file-name-completion):
5110 Use `tramp-connectable-p'.
5111 (tramp-handle-start-file-process): Set connection property "vec".
5112 Use it, in order to invalidate file caches. Check only for
5113 `remote-tty' process property.
5114 Implement tty setting. (Bug#4604, Bug#6360)
5115 (tramp-file-name-for-operation): Add `call-process-region' and
5116 `set-file-selinux-context'.
5117 (tramp-find-foreign-file-name-handler)
5118 (tramp-advice-make-auto-save-file-name)
5119 (tramp-set-auto-save-file-modes): Remove superfluous check for
5120 `stringp'. This is done inside `tramp-tramp-file-p'.
5121 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5122 operations when we are in completion mode. This gives the user
5123 the chance to correct the file name in the minibuffer.
5124 (tramp-completion-mode-p): Use `non-essential'.
5125 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5126 compatibility: Use `completion-ignore-case' if
5127 `read-file-name-completion-ignore-case' does not exist.
5128 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5129 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5130 `tramp-open-shell'.
5131 (tramp-action-password): Hide password prompt before next run.
5132 (tramp-process-actions): Widen connection buffer for the trace.
5133 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5134 process property. Trace stty settings if `tramp-verbose' >= 9.
5135 Apply workaround for IRIX64 bug. Move argument of last
5136 `tramp-send-command' where it belongs to.
5137 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5138 front of `login-args'.
5139 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5140 on "/dev/null" instead of "/".
5141 (tramp-get-ls-command-with-dired): Make test for "--dired"
5142 stronger.
5143 (tramp-set-auto-save-file-modes): Adapt version check.
5144 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5145 (tramp-handle-process-file): Call the program in a subshell, in
5146 order to preserve working directory.
5147 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5148 `tramp-remote-sh' from `tramp-methods'.
5149 (tramp-get-ls-command): Make test for "--color=never" stronger.
5150 (tramp-check-for-regexp): Use (forward-line 1).
5151
5152 * net/trampver.el: Update release number.
5153
5154 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5155
5156 * help.el (help-map): Bind `C-h P' to describe-package.
5157
5158 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5159
5160 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5161 when downloading archives.
5162 (describe-package-1): Add package commentary.
5163 (package-install-button-action): New function.
5164 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5165 (package-menu-view-commentary): Function removed.
5166 (package-list-packages-internal): Hide the `package' package too.
5167
5168 2010-08-25 Kenichi Handa <handa@m17n.org>
5169
5170 * language/misc-lang.el ("Arabic"): New language environment.
5171 Setup composition-function-table for Arabic characters.
5172
5173 * international/fontset.el (setup-default-fontset): Fix typo for
5174 arabic OTF spec (fini->fina).
5175
5176 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5177
5178 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5179 on all frames.
5180
5181 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5182
5183 * whitespace.el: Allow cleaning up blanks without blank
5184 visualization (Bug#6651). Adjust help window for
5185 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5186 instead of whitespace-line-column (from EmacsWiki). New version
5187 13.1.
5188 (whitespace-style): Add new value 'face. Adjust docstring.
5189 (whitespace-space, whitespace-hspace, whitespace-tab):
5190 Adjust foreground property face.
5191 (whitespace-line-column): Adjust docstring and type declaration.
5192 (whitespace-style-value-list, whitespace-toggle-option-alist)
5193 (whitespace-help-text): Adjust const initialization.
5194 (whitespace-toggle-options, global-whitespace-toggle-options):
5195 Adjust docstring.
5196 (whitespace-display-window, whitespace-interactive-char)
5197 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5198 (whitespace-help-scroll): New fun.
5199
5200 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5201
5202 * emacs-lisp/package.el (list-packages): Alias for
5203 package-list-packages.
5204
5205 2010-08-24 Kevin Ryde <user42@zip.com.au>
5206
5207 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5208 (Bug#5651).
5209
5210 * progmodes/ruby-mode.el (ruby): Add defgroup.
5211
5212 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5213
5214 * progmodes/python.el: Add Ipython support (Bug#5390).
5215 (python-shell-prompt-alist)
5216 (python-shell-continuation-prompt-alist): New options.
5217 (python--set-prompt-regexp): New function.
5218 (inferior-python-mode, run-python, python-shell):
5219 Require ansi-color. Use python--set-prompt-regexp to set the comint
5220 prompt based on the Python interpreter.
5221 (python--prompt-regexp): New var.
5222 (python-check-comint-prompt)
5223 (python-comint-output-filter-function): Use it.
5224 (run-python): Use a pipe (Bug#5694).
5225
5226 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5227
5228 * progmodes/python.el (python-send-region): Send a different
5229 Python command if Ipython is in use.
5230 (python-check-version): Use a Python command to find the version.
5231
5232 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5233
5234 * mouse.el (mouse-yank-primary): Avoid setting primary when
5235 deactivating the mark (Bug#6872).
5236
5237 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5238
5239 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5240 with "else" (Bug#3991).
5241
5242 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5243
5244 * net/dbus.el: Accept UNIX domain sockets as bus address.
5245 (top): Don't initialize `dbus-registered-objects-table' anymore,
5246 this is done in dbusbind,c.
5247 (dbus-check-event): Adapt test for bus.
5248 (dbus-return-values-table, dbus-unregister-service)
5249 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5250 Adapt doc string.
5251
5252 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5253
5254 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5255
5256 2010-08-22 Juri Linkov <juri@jurta.org>
5257
5258 * simple.el (read-extended-command): New function with the logic
5259 for `completing-read' moved to Elisp from `execute-extended-command'.
5260 Use `function-called-at-point' in `minibuffer-default-add-function'
5261 to get a command name for M-n (bug#5364, bug#5214).
5262
5263 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5264
5265 * startup.el (command-line-1): Issue warning for ignored arguments
5266 --unibyte, etc (Bug#6886).
5267
5268 2010-08-22 Leo <sdl.web@gmail.com>
5269
5270 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5271 (ignore, bright, dim, keyword): Split list of nicknames before
5272 passing to rcirc-add-or-remove (Bug#6894).
5273
5274 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5275
5276 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5277
5278 2010-08-22 Leo <sdl.web@gmail.com>
5279
5280 Fix buffer-list rename&refresh after killing a buffer in ido.
5281 * ido.el: Revert Óscar's.
5282 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5283 Remember the buffers at head, rather than their name.
5284 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5285
5286 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5287 Stefan Monnier <monnier@iro.umontreal.ca>
5288
5289 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5290 extra backslash added to each line (bug#6890).
5291
5292 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5295
5296 2010-08-22 Glenn Morris <rgm@gnu.org>
5297
5298 * menu-bar.el (menu-bar-games-menu): Add landmark.
5299
5300 2010-08-22 Glenn Morris <rgm@gnu.org>
5301
5302 * align.el (align-regexp): Make group and spacing arguments
5303 use the interactive defaults when non-interactive. (Bug#6698)
5304
5305 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5306 expansion, so as not to need sendmail.
5307 (mail-text-start): Remove declaration.
5308 (rmail-retry-failure): Require sendmail.
5309
5310 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5311
5312 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5313
5314 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5315
5316 * progmodes/flymake.el (flymake-start-syntax-check-process):
5317 Use `start-file-process' in order to let it run also on remote hosts.
5318
5319 2010-08-22 Kenichi Handa <handa@m17n.org>
5320
5321 * files.el: Add `word-wrap' as safe local variable.
5322
5323 2010-08-22 Glenn Morris <rgm@gnu.org>
5324
5325 * woman.el (woman-translate): Case matters. (Bug#6849)
5326
5327 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5328
5329 * simple.el (kill-region): Doc fix (Bug#6787).
5330
5331 2010-08-22 Glenn Morris <rgm@gnu.org>
5332
5333 * calendar/diary-lib.el (diary-header-line-format):
5334 Fit it to the window, not the frame.
5335
5336 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5337
5338 * subr.el (ignore-errors): Add debug declaration.
5339
5340 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5341
5342 * whitespace.el (whitespace-color-off): Remove post-command-hook
5343 locally.
5344
5345 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5346
5347 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5348
5349 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5350
5351 * cus-edit.el (custom-group-value-create): Add extra newline
5352 before end line (Bug#6876).
5353
5354 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5355
5356 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5357 when extending it. Before killing on the second click, check if
5358 the buffer is the correct one. Doc fix.
5359 (mouse-secondary-save-then-kill): Allow usage without first
5360 calling mouse-start-secondary, by defaulting to point. Don't save
5361 an empty secondary selection. Doc fix.
5362
5363 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5364
5365 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5366 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5367 New version 13.0.
5368 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5369 Adjust initialization.
5370 (whitespace-bob-marker, whitespace-eob-marker)
5371 (whitespace-buffer-changed): New vars.
5372 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5373 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5374 (whitespace-post-command-hook, whitespace-display-char-on):
5375 Adjust code.
5376 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5377 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5378
5379 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * files.el (locate-file-completion-table): Only list the .el and .elc
5382 extensions if there's no other choice (bug#5955).
5383
5384 * facemenu.el (facemenu-self-insert-data): New var.
5385 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5386 New functions.
5387 (facemenu-add-face): Use them.
5388
5389 * simple.el (blink-matching-open): Obey forward-sexp-function.
5390
5391 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * simple.el (prog-mode-map): New var.
5394 (prog-indent-sexp): New command.
5395
5396 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5397
5398 * progmodes/prolog.el (smie): Require.
5399
5400 * emacs-lisp/smie.el (smie-default-backward-token)
5401 (smie-default-forward-token): Strip properties.
5402 (smie-next-sexp): Be more careful with associative operators.
5403 (smie-forward-sexp-command): Generalize.
5404 (smie-backward-sexp-command): Simplify.
5405 (smie-closer-alist): New var.
5406 (smie-close-block): New command.
5407 (smie-indent-debug-log): New var.
5408 (smie-indent-offset-rule): Add a few more cases.
5409 (smie-indent-column): New function.
5410 (smie-indent-after-keyword): Use it.
5411 (smie-indent-keyword): Use it.
5412 Fix up the opener code's point position.
5413 (smie-indent-comment): Only applies at BOL.
5414 (smie-indent-debug): New command.
5415
5416 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5417 declarations that are useful before running the macro.
5418
5419 2010-08-18 Joakim Verona <joakim@verona.se>
5420
5421 * image.el (imagemagick-types-inhibit): New variable.
5422 (imagemagick-register-types): New function.
5423 * image-mode.el (image-transform-properties): New function.
5424 (image-transform-set-scale, image-transform-fit-to-height)
5425 (image-transform-set-rotation, image-transform-set-resize)
5426 (image-transform-fit-to-width, image-transform-fit-to-height):
5427 New functions.
5428 (image-toggle-display-image): Support image transforms.
5429
5430 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5431
5432 * image.el (create-animated-image): Don't add heuristic mask to image
5433 (Bug#6839).
5434
5435 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5436
5437 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5438 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5439
5440 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5441
5442 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5443
5444 Font-lock '...' strings, plus various simplifications and fixes.
5445 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5446 (octave-font-lock-close-quotes): New function.
5447 (octave-font-lock-syntactic-keywords): New var.
5448 (octave-mode): Use it. Set beginning-of-defun-function.
5449 (octave-mode-map): Don't override the <foo>-defun commands.
5450 (octave-mode-menu): Pass it directly to easy-menu-define;
5451 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5452 (octave-block-match-alist): Fix up last change so that
5453 octave-close-block uses the more specific keyword.
5454 (info-lookup-mode): Silence byte-compiler.
5455 (octave-beginning-of-defun): Not interactive any more.
5456 Optimize slightly.
5457 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5458 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5459 (octave-completion-at-point-function): Make sure point is within
5460 beg..end.
5461 (octave-reindent-then-newline-and-indent):
5462 Use reindent-then-newline-and-indent.
5463 (octave-add-octave-menu): Remove.
5464
5465 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5466
5467 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5468 (report-emacs-bug-can-use-xdg-email): New functions.
5469 (report-emacs-bug): Set can-xdg-email to result of
5470 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5471 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5472 about it.
5473
5474 * net/browse-url.el (browse-url-default-browser): Add cond
5475 for browse-url-xdg-open.
5476 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5477
5478 2010-08-17 Glenn Morris <rgm@gnu.org>
5479
5480 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5481 (c-fontify-recorded-types-and-refs): Define for compiler.
5482 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5483 before use.
5484
5485 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5486 Fix format call.
5487
5488 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5489
5490 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5491 properties.
5492 (tramp-handle-process-file): Call the program in a subshell, in
5493 order to preserve working directory.
5494 (tramp-action-password): Hide password prompt before next run.
5495 (tramp-process-actions): Widen connection buffer for the trace.
5496
5497 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5498
5499 * net/rcirc.el (rcirc-log-process-buffers): New option.
5500 (rcirc-print): Use it.
5501 (rcirc-generate-log-filename): New function.
5502 (rcirc-log-filename-function): Change default to
5503 rcirc-generate-log-filename (Bug#6828).
5504
5505 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5506
5507 * simple.el (deactivate-mark): If select-active-regions is `only',
5508 only set selection for temporarily active regions.
5509
5510 * cus-start.el: Change defcustom for select-active-regions.
5511
5512 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5513
5514 * mouse.el (mouse--drag-set-mark-and-point): New function.
5515 (mouse-drag-track): Use LOCATION arg to push-mark.
5516 Use mouse--drag-set-mark-and-point to take click-count into
5517 consideration when updating point and mark (Bug#6840).
5518
5519 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5520
5521 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5522 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5523
5524 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5525
5526 * font-lock.el (lisp-font-lock-keywords-2):
5527 Add combine-after-change-calls, condition-case-no-debug,
5528 with-demoted-errors, and with-silent-modifications (Bug#6025).
5529
5530 2010-08-14 Kevin Ryde <user42@zip.com.au>
5531
5532 * emacs-lisp/copyright.el (copyright-update-year)
5533 (copyright-update): Temporary switch-to-buffer to ensure the
5534 buffer change being queried is visible (Bug#5394).
5535
5536 2010-08-14 Tom Tromey <tromey@redhat.com>
5537
5538 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5539 (Bug#6733).
5540
5541 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5542
5543 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5544 MS-DOS. (Bug#6689)
5545
5546 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5547
5548 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5549 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5550 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5551 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5552 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5553 Call menu-bar-set-tool-bar-position.
5554
5555 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5558 comment style (bug#6834).
5559 * progmodes/scheme.el (scheme-mode-syntax-table):
5560 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5561 "b" flag in "' 14b" syntax.
5562
5563 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5564 for (un)commenting the region and performing completion.
5565 (octave-mode-menu): Use standard commands for help and completion.
5566 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5567 (octave-mode): Use define-derived-mode.
5568 Set completion-at-point-functions and don't set columns.
5569 Don't disable adaptive-fill-regexp.
5570 (octave-describe-major-mode, octave-comment-region)
5571 (octave-uncomment-region, octave-comment-indent)
5572 (octave-indent-for-comment): Remove.
5573 (octave-indent-calculate): Rename from calculate-octave-indent.
5574 (octave-indent-line, octave-fill-paragraph): Update caller.
5575 (octave-initialize-completions): No need to make an alist.
5576 (octave-completion-at-point-function): New function.
5577 (octave-complete-symbol): Use it.
5578 (octave-insert-defun): Use define-skeleton.
5579
5580 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5581 (octave-mode-map): Use comment-dwim (bug#6829).
5582
5583 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5584
5585 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5586 indentation of inserted comment.
5587
5588 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5589
5590 * faces.el (region): Add type gtk that uses gtk colors.
5591
5592 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5593 Handle theme-name change.
5594
5595 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5596
5597 * progmodes/sql.el: Version 2.5
5598 (sql-product-alist): Add :prompt-cont-regexp property for several
5599 database products.
5600 (sql-prompt-cont-regexp): New variable.
5601 (sql-output-newline-count, sql-output-by-send):
5602 New variables. Record number of newlines in input text.
5603 (sql-send-string): Handle multiple filters and count newlines.
5604 (sql-send-magic-terminator): Count terminator newline.
5605 (sql-interactive-remove-continuation-prompt): Filters output to
5606 remove continuation prompts; one for each newline.
5607 (sql-interactive-mode): Set up new variables, prompt regexp and
5608 output filter.
5609 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5610 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5611
5612 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * emacs-lisp/pcase.el: New file.
5615
5616 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5617
5618 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5619 as here-document, otherwise the command could exceed maximum
5620 length of command line.
5621 (tramp-handle-vc-registered): Call script accordingly.
5622 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5623
5624 2010-08-10 Kenichi Handa <handa@m17n.org>
5625
5626 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5627 composable pattern.
5628
5629 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5630
5631 * emacs-lisp/package.el (package-version-split)
5632 (package--version-first-nonzero, package-version-compare):
5633 Functions removed.
5634 (package-directory-list, package-load-all-descriptors)
5635 (package--built-in, package-activate, define-package)
5636 (package-installed-p, package-compute-transaction)
5637 (package-read-all-archive-contents)
5638 (package--add-to-archive-contents, package-buffer-info)
5639 (package-tar-file-info, package-list-packages-internal):
5640 Use version-to-list and version-list-*.
5641
5642 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5643 Use version-to-list.
5644 (package-upload-buffer-internal): Use version-list-<=.
5645
5646 2010-08-09 Kenichi Handa <handa@m17n.org>
5647
5648 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5649 composable pattern.
5650
5651 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5652
5653 * tutorial.el (tutorial--default-keys): C-d is now bound to
5654 delete-forward-char (Bug#6826).
5655
5656 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5657 for `double' value of mouse-1-click-follows-link (Bug#6807).
5658
5659 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5660
5661 * replace.el (replace-highlight): Bind isearch-forward and
5662 isearch-error, ensuring that highlighting is updated if the user
5663 switches the search direction (Bug#6808).
5664
5665 * isearch.el (isearch-lazy-highlight-forward): New var.
5666 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5667 (isearch-lazy-highlight-update): Use it.
5668
5669 2010-08-08 Kenichi Handa <handa@m17n.org>
5670
5671 * international/mule.el (define-charset): Store NAME as :base property.
5672 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5673 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5674 current priority. Force using the designation of the specific
5675 charset by adding `charset' text property. Improve the whole algorithm.
5676
5677 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5678
5679 * emulation/pc-select.el (pc-selection-mode-hook)
5680 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5681 (pc-selection-mode): Fix typos in docstrings.
5682
5683 2010-08-08 Kenichi Handa <handa@m17n.org>
5684
5685 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5686 ctext-non-standard-encodings-alist here.
5687
5688 * international/mule.el (ctext-non-standard-encodings-alist):
5689 Add "koi8-r" and "microsoft-cp1251".
5690 (ctext-standard-encodings): New variable.
5691 (ctext-non-standard-encodings-table): List only elements for
5692 non-standard encodings.
5693 (ctext-pre-write-conversion): Adjust for the above change.
5694 Check ctext-standard-encodings.
5695
5696 * international/mule-conf.el (compound-text): Doc fix.
5697 (ctext-no-compositions): Doc fix.
5698 (compound-text-with-extensions): Doc fix.
5699
5700 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5703
5704 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5705
5706 * progmodes/which-func.el (which-func-format): Split help-echo text
5707 into lines, like other mode-line tooltips.
5708
5709 * server.el (server-start): When using TCP sockets, force IPv4
5710 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5711
5712 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5715
5716 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5717
5718 * term.el (term-delimiter-argument-list): Reflow docstring.
5719 (term-read-input-ring, term-write-input-ring, term-send-input)
5720 (term-bol, term-erase-in-display, serial-supported-or-barf):
5721 Fix typos in docstrings.
5722
5723 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5726
5727 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5728
5729 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5730
5731 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5732
5733 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5734 Fix typo in docstring (bug#6747).
5735
5736 2010-08-08 Leo <sdl.web@gmail.com>
5737
5738 * eshell/esh-io.el (eshell-get-target): Better detection of
5739 read-only file (Bug#6762).
5740
5741 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5742
5743 * align.el (align-default-spacing): Doc fix.
5744 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5745
5746 2010-08-08 Stephen Peters <speters@itasoftware.com>
5747
5748 * calendar/icalendar.el
5749 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5750 (icalendar--get-weekday-numbers): New.
5751 (icalendar--convert-recurring-to-diary): Handle multiple byday
5752 values in weekly rules. (Bug#6766)
5753
5754 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5755
5756 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5757 (icalendar--create-uid, icalendar-export-region)
5758 (icalendar--parse-summary-and-rest): Code formatting.
5759
5760 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5761
5762 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5763 to italicize headers.
5764 (calc-highlight-selections-with-faces): New variable.
5765 (calc-selected-face, calc-nonselected-face): New faces.
5766
5767 * calc/calccomp.el (math-comp-highlight-string): Use
5768 `calc-highlight-selections-with-faces' to determine how to highlight
5769 sub-formulas.
5770
5771 * calc/calc-sel.el (calc-show-selections): Change message to when
5772 using faces to highlight selections.
5773
5774 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5775
5776 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5777 Add SQLite 3 keywords, functions and datatypes.
5778 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5779 (Bug#6686).
5780
5781 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5782
5783 * simple.el (select-active-regions): Move to keyboard.c.
5784 (deactivate-mark): Used saved-region-selection.
5785 (select-active-region): Function removed.
5786 (activate-mark, set-mark, push-mark-command)
5787 (handle-shift-selection): Don't call it.
5788 (keyboard-quit): Avoid adding the region to the window selection.
5789
5790 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5791 select-active-regions implementation.
5792 (mouse-yank-at-click): Doc fix.
5793
5794 * cus-start.el: Add custom declaration for select-active-regions.
5795
5796 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5797
5798 * simple.el (delete-forward-char): Doc fix.
5799
5800 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5801 after reading the tutorial.
5802
5803 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5804
5805 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5806 Fix for the case that a C style comment has its delimiters alone on
5807 their respective lines.
5808
5809 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5810
5811 * net/tramp.el (tramp-handle-start-file-process): Set connection
5812 property "vec".
5813 (tramp-process-sentinel): Use it for flushing the cache.
5814 We cannot do it via the process buffer, the buffer could be deleted
5815 already when running the sentinel.
5816
5817 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5818
5819 * comint.el (comint-mode): Make directory tracking functions
5820 functional on remote files. (Bug#6764)
5821
5822 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5823
5824 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5825
5826 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5827
5828 * emacs-lisp/find-gc.el (find-gc-source-files):
5829 Rename unexec.c => unexcoff.c.
5830
5831 * emacs-lisp/authors.el (authors-fixed-entries):
5832 Rename unexec.c => unexcoff.c.
5833
5834 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5835
5836 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5837 cache, not only file cache.
5838 (tramp-process-sentinel): New defun.
5839 (tramp-handle-start-file-process): Use it, in order to invalidate
5840 file caches.
5841
5842 2010-08-03 Leo <sdl.web@gmail.com>
5843
5844 * server.el (server-start): Simplify loop.
5845
5846 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * frame.el (screen-height, screen-width, set-screen-width)
5849 (set-screen-height): Remove ancient compatibility aliases.
5850
5851 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5852 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5853
5854 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5855 that change current buffer.
5856
5857 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5858
5859 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5860 beginning of the string. Use `string-match-p'. (Bug#6765)
5861
5862 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5863
5864 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5865
5866 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5867
5868 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5869 (package--builtins): Tweak descriptions.
5870 (package-print-package): Upcase descriptions if necessary.
5871 Show all built-in packages in font-lock-builtin-face.
5872 (package-list-packages-internal): Omit "emacs" package.
5873 Show status of built-in packages as "built-in".
5874
5875 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5876
5877 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5878 before killing to preserve the primary selection (Bug#6701).
5879
5880 * term/x-win.el (x-select-text): Doc fix.
5881
5882 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5883
5884 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5885 (objc-font-lock-extra-types):
5886 * progmodes/cc-mode.el (c-basic-common-init):
5887 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5888 (c++-make-template-syntax-table)
5889 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5890 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5891 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5892 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5893 * progmodes/cc-fonts.el (c-make-inverse-face)
5894 (c-basic-matchers-after):
5895 * progmodes/cc-engine.el (c-forward-keyword-clause)
5896 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5897 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5898 (c-guess-continued-construct, c-guess-basic-syntax):
5899 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5900 The above functions were modified or created.
5901
5902 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5903
5904 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5905
5906 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5907
5908 * files.el (bidi-paragraph-direction): Define safe local values.
5909
5910 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5911 language-info-alist. Remove outdated FIXME in a comment.
5912
5913 2010-07-31 Alan Mackenzie <acm@muc.de>
5914
5915 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5916 Auto-fill broken in C/C++ modes.
5917
5918 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5919
5920 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5921 (menu-bar-showhide-tool-bar-menu-customize-disable)
5922 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5923 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5924 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5925 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5926 make a menu for Options => toolbar that can move it.
5927
5928 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5929
5930 * emacs-lisp/package-x.el (package--make-rss-entry):
5931 (package-maint-add-news-item, package--update-news)
5932 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5933
5934 * emacs-lisp/package.el (package-archive-url): Rename from
5935 package-archive-id.
5936 (package-install): Doc fix.
5937 (package-download-single, package-download-tar, package-install)
5938 (package-menu-view-commentary): Callers changed.
5939
5940 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5941
5942 * net/tramp.el (tramp-handle-start-file-process): Check only for
5943 `remote-tty' process property.
5944 (tramp-open-shell): Don't check for tty.
5945 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5946 process property.
5947
5948 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5949 host.
5950
5951 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5952
5953 * emacs-lisp/package.el (package-load-list, package-archives)
5954 (package-archive-contents, package-user-dir)
5955 (package-directory-list, package--builtins, package-alist)
5956 (package-activated-list, package-obsolete-alist): Mark as risky.
5957
5958 2010-07-28 Phil Hagelberg <phil@evri.com>
5959
5960 Add support for non-default package repositories.
5961 * emacs-lisp/package.el (package-archive-base): Var deleted.
5962 (package-archives): New variable.
5963 (package-archive-contents): Doc fix.
5964 (package-load-descriptor): Do nothing if descriptor file is missing.
5965 (package--write-file-no-coding): New function.
5966 (package-unpack-single): Use it.
5967 (package-archive-id): New function.
5968 (package-download-single, package-download-tar)
5969 (package-menu-view-commentary): Use it.
5970 (package-installed-p): Make second argument optional.
5971 (package-read-all-archive-contents): New function.
5972 (package-initialize): Use it.
5973 (package-read-archive-contents): Add ARCHIVE argument.
5974 (package--add-to-archive-contents): New function.
5975 (package-install): Don't call package-read-archive-contents.
5976 (package--download-one-archive): Store archive file in a
5977 subdirectory of package-user-dir.
5978 (package-menu-execute): Remove spurious line movement.
5979
5980 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5981
5982 * cus-start.el (tool-bar-style): Add text-image-horiz.
5983
5984 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5985
5986 * progmodes/gud.el (gud-common-init): Check for remoteness of
5987 `file', and not of `default-directory'.
5988
5989 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5990
5991 * net/tramp.el (tramp-methods): Move hostname to the end in all
5992 ssh `tramp-login-args'.
5993 (tramp-verbose): Describe verbose level 9.
5994 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5995 (tramp-open-connection-setup-interactive-shell): Trace stty
5996 settings if `tramp-verbose' >= 9.
5997 (tramp-handle-start-file-process): Implement tty setting.
5998 (Bug#4604, Bug#6360)
5999
6000 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6001 `tramp-verbose' to 9.
6002
6003 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6004
6005 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6006 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6007 Remove references to package `lisp-re' (bug#4369).
6008
6009 2010-07-27 Tom Tromey <tromey@redhat.com>
6010
6011 * progmodes/js.el (js-mode):
6012 * progmodes/make-mode.el (makefile-mode):
6013 * progmodes/simula.el (simula-mode):
6014 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6015
6016 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6017
6018 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6019
6020 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6021 (display-time-world-buffer-name, display-time-world-mode-map):
6022 Fix typos in docstrings.
6023
6024 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6025
6026 * image-mode.el (image-display-size): New function.
6027 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6028 (image-mode-fit-frame): Use it (Bug#6639).
6029
6030 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6031
6032 * dired.el (dired-buffers-for-dir): Handle list values of
6033 dired-directory (Bug#6636).
6034
6035 2010-07-26 Sam Steingold <sds@gnu.org>
6036
6037 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6038 Do not call `x-get-selection' the second time, reuse the value.
6039
6040 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6041
6042 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6043 which consist of control chars only. Suggested by Richard Stallman.
6044
6045 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6046
6047 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6048 exists before passing an error to find-file-not-found-functions
6049 (bug#6723).
6050
6051 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6052
6053 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6054 Remove leading nil element, adjust values.
6055 (tetris-shapes, tetris-shape-scores):
6056 Change representation of shapes and remove some redundancy.
6057 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6058 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6059 Adjust for working with new representation of shapes.
6060 (tetris-shape-rotations): New function.
6061 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6062 (tetris-rotate-prev, tetris-rotate-next):
6063 Adjust for working with the new version of tetris-test-shape.
6064
6065 2010-07-23 Markus Triska <markus.triska@gmx.at>
6066
6067 * progmodes/ps-mode.el: Use comint (bug#5954).
6068 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6069 (ps-mode-other-newline): Simplify.
6070 (ps-run-mode): Derive from comint-mode instead of
6071 fundamental-mode, yielding input history etc.
6072 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6073 (ps-run-send-string): Adapt for comint-mode.
6074 (ps-run-newline): Remove now unneeded function.
6075
6076 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6077
6078 * net/tramp.el (tramp-methods): Move hostname to the end in all
6079 plink `tramp-login-args'.
6080
6081 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6082
6083 * net/tramp.el (tramp-open-shell): New defun.
6084 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6085 Use it.
6086
6087 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6088
6089 * net/tramp.el (tramp-file-name-regexp-unified)
6090 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6091 not regard the volume letter as remote filename. (Bug#5447)
6092
6093 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6094
6095 * custom.el (custom-declare-variable): Give a clearer error message
6096 when the docstring is missing (bug#6476).
6097
6098 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6099
6100 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6101 (sql-login-params): New widget definition.
6102 (sql-oracle-login-params, sql-mysql-login-params)
6103 (sql-solid-login-params, sql-sybase-login-params)
6104 (sql-informix-login-params, sql-ingres-login-params)
6105 (sql-ms-login-params, sql-postgres-login-params)
6106 (sql-interbase-login-params, sql-db2-login-params)
6107 (sql-linter-login-params): Use it.
6108 (sql-sqlite-login-params): Use it; Define "database" parameter as
6109 a file name.
6110 (sql-sqlite-program): Change to "sqlite3".
6111 (sql-comint-sqlite): Make sure database name is complete.
6112 (sql-for-each-login): New function.
6113 (sql-connect, sql-save-connection): Use it.
6114 (sql-get-login-ext): New function.
6115 (sql-get-login): Use it.
6116 (sql-make-alternate-buffer-name): Handle :file parameters.
6117
6118 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6119
6120 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6121 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6122
6123 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6124
6125 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6126
6127 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6128
6129 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6130
6131 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6132
6133 * net/tramp.el (tramp-get-ls-command)
6134 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6135 instead of "/".
6136
6137 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6138
6139 * progmodes/sql.el: Version 2.3.
6140 (sql-connection-alist): Change keys from symbols to strings;
6141 enhanced the widget definition.
6142 (sql-mode-menu): Add submenu to select connections.
6143 (sql-interactive-mode-menu): Add "Save Connection" item.
6144 (sql-add-product): Fix menu item.
6145 (sql-get-product-feature): Improved error handling.
6146 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6147 (sql-make-alternate-buffer-name): Simplified.
6148 (sql-product-interactive): Handle missing product.
6149 (sql-connect): Support string keys, minor improvements.
6150 (sql-save-connection): New function.
6151 (sql-connection-menu-filter): New function.
6152
6153 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6154
6155 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6156 (tramp-open-connection-setup-interactive-shell):
6157 Apply workaround for IRIX64 bug. Move argument of last
6158 `tramp-send-command' where it belongs to.
6159
6160 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6161
6162 * net/tramp.el (tramp-perl-file-attributes)
6163 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6164 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6165 front of `login-args'.
6166
6167 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6168
6169 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6170 Set `show-trailing-whitespace' to nil.
6171 (display-time-world-display): Simplify.
6172
6173 2010-07-18 Alan Mackenzie <acm@muc.de>
6174
6175 Enhance `c-file-style' in file/directory local variables.
6176 * progmodes/cc-mode.el (c-count-cfss): New function.
6177 (c-before-hack-hook): Call `c-set-style' differently according to
6178 whether c-file-style was set in file or directory local
6179 variables.
6180
6181 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6182
6183 * progmodes/sql.el: Version 2.2.
6184 (sql-product, sql-user, sql-database, sql-server, sql-port):
6185 Use defcustom :safe keyword rather than putting safe-local-variable
6186 property.
6187 (sql-password): Use defcustom :risky keyword rather than putting
6188 risky-local-variable property.
6189 (sql-oracle-login-params, sql-sqlite-login-params)
6190 (sql-solid-login-params, sql-sybase-login-params)
6191 (sql-informix-login-params, sql-ingres-login-params)
6192 (sql-ms-login-params, sql-postgres-login-params)
6193 (sql-interbase-login-params, sql-db2-login-params)
6194 (sql-linter-login-params): Add `port' option.
6195 (sql-get-product-feature): Add NO-INDIRECT parameter.
6196 (sql-comint-oracle, sql-comint-sybase)
6197 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6198 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6199 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6200 (sql-comint-linter): Rename sql-connect-* functions to
6201 sql-comint-*.
6202 (sql-product-alist, sql-mode-menu): Rename as above and
6203 :sqli-connect-func to :sqli-comint-func.
6204 (sql-connection): New variable.
6205 (sql-interactive-mode): Set it.
6206 (sql-connection-alist): New variable.
6207 (sql-connect): New function.
6208 (sql--alt-buffer-part, sql--alt-if-not-empty)
6209 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6210
6211 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6212
6213 * image-mode.el (image-bookmark-make-record): Do not set context
6214 in an image (Bug#6650).
6215
6216 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6217
6218 * simple.el (select-active-region): New function.
6219 (push-mark-command, set-mark, activate-mark)
6220 (handle-shift-selection): Use it.
6221 (deactivate-mark): Don't check for size of region.
6222
6223 * mouse.el (mouse-drag-track): Use select-active-region.
6224
6225 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6226
6227 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6228 "--dired" stronger.
6229
6230 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6231
6232 * term/x-win.el (x-select-enable-primary): Change default to nil.
6233 (x-select-enable-clipboard): Add :version keyword.
6234
6235 * mouse.el (mouse-drag-copy-region):
6236 * simple.el (select-active-regions): Likewise.
6237
6238 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6239
6240 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6241 (vc-coding-system-for-diff): Use it to decide whether to inherit
6242 from the file the EOL format for reading the diffs of that file.
6243 (Bug#4451)
6244
6245 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6246
6247 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6248 unibyte, so compressed attachments are not compressed again.
6249
6250 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6251
6252 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6253 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6254 (tramp-find-shell): Simplify setting connection property.
6255 (tramp-get-ls-command): Make test for "--color=never" stronger.
6256
6257 2010-07-15 Simon South <ssouth@member.fsf.org>
6258
6259 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6260 blocks within record declarations (i.e. variant parts) correctly.
6261
6262 2010-07-15 Simon South <ssouth@member.fsf.org>
6263
6264 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6265 over literal tokens when parsing so newlines aren't "absorbed" by
6266 single-line comments. Corrects the indentation of case blocks
6267 that have a comment on the first line.
6268
6269 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6270
6271 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6272 by Drew Adams (Bug#5504).
6273
6274 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6275
6276 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6277 now that Unicode is used (Bug#6594).
6278
6279 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6280
6281 * term/x-win.el (x-select-enable-clipboard): Default to t.
6282 (x-initialize-window-system): Don't overwrite Paste menu item.
6283
6284 * simple.el (select-active-regions): Default to t.
6285 (push-mark-command): Don't overwrite primary with empty string.
6286
6287 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6288 (mouse-drag-copy-region): Default to nil.
6289
6290 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6291 Cut/Copy/Paste menu bar items.
6292
6293 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6294
6295 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6296 Patch applied by Karl Fogel.
6297
6298 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6299 and `bookmark-current-buffer' if they have been already set in
6300 another buffer (e.g gnus-art).
6301
6302 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6303 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6304
6305 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6306
6307 * bookmark.el (bookmark-make-record-default): Allow unneeded
6308 information to be omitted from the record.
6309
6310 Adjust declarations and calls:
6311
6312 * info.el (bookmark-make-record-default): Adjust declaration.
6313 (Info-bookmark-make-record): Adjust call.
6314
6315 * woman.el (bookmark-make-record-default): Adjust declaration.
6316 (woman-bookmark-make-record): Adjust call.
6317
6318 * man.el (bookmark-make-record-default): Adjust declaration.
6319 (Man-bookmark-make-record): Adjust call.
6320
6321 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6322
6323 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6324
6325 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6326
6327 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6328 This is also from Thierry Volpiatto's patch in bug #6444. However,
6329 because it was extraneous to the functional change in that patch,
6330 and causes a re-indendation, I am committing it separately.
6331
6332 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6333
6334 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6335 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6336 Patch applied by Karl Fogel (Bug#6444).
6337
6338 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6339
6340 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6341
6342 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6343
6344 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6345 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6346 (ns-alternatives-map): Change S-tab binding to backtab
6347 (bug#6616).
6348
6349 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6350 under ns.
6351
6352 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6353
6354 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6355 (Bug#5806)
6356
6357 * language/tv-util.el (tai-viet-re): Remove format.
6358
6359 2010-07-12 Kenichi Handa <handa@m17n.org>
6360
6361 * language/hebrew.el: Remove no-byte-compile declaration.
6362 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6363 composition-function-table for 3-character looking back.
6364 (hebrew-font-get-precomposed): New function.
6365 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6366
6367 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6368
6369 * mouse.el (mouse-drag-track): Handle select-active-regions
6370 (Bug#6612).
6371
6372 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6373
6374 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6375 empty argument to gvfs-copy.
6376
6377 2010-07-10 Glenn Morris <rgm@gnu.org>
6378
6379 * calendar/calendar.el (calendar-week-end-day): New function.
6380 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6381 Respect calendar-week-start-day. (Bug#6606)
6382 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6383 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6384 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6385 respect calendar-week-start-day.
6386
6387 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6388
6389 * simple.el (use-region-p): Doc fix (Bug#6607).
6390
6391 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6392
6393 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6394 Add regexps for cucumber and ruby.
6395
6396 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6397
6398 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6399 (epa-file-insert-file-contents): Hack to prevent
6400 find-file from opening empty buffer when decryption failed
6401 (bug#6568).
6402
6403 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6404
6405 * textmodes/ispell.el (ispell-alternate-dictionary):
6406 Use file-readable-p.
6407 Return nil if no word-list is found at default locations.
6408 (ispell-complete-word-dict): Default to nil.
6409 (ispell-command-loop): Use 'word-list' when using lookup-words.
6410 (lookup-words): Use ispell-complete-word-dict or
6411 ispell-alternate-dictionary. Check for word-list availability
6412 and handle errors if needed with better messages (Bug#6539).
6413 (ispell-complete-word): Use ispell-complete-word-dict or
6414 ispell-alternate-dictionary.
6415
6416 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6417
6418 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6419 builtins (BufferError, BytesWarning, WindowsError; callables
6420 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6421
6422 2010-07-07 Glenn Morris <rgm@gnu.org>
6423
6424 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6425 (zone-shift-left): Ignore intangibility, and any errors from
6426 forward-char.
6427 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6428 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6429 deleting, and copying text properties.
6430 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6431 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6432 to point-max is hard.
6433 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6434 (zone-fill-out-screen): Ignore intangibility.
6435
6436 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6437
6438 * menu-bar.el (menu-bar-mode):
6439 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6440 if it has been set.
6441
6442 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6443 word/line selection (Bug#6565).
6444
6445 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6446
6447 * net/dbus.el (dbus-send-signal): Declare function.
6448
6449 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6450
6451 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6452 (dbus-register-property): New optional argument EMITS-SIGNAL.
6453 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6454
6455 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6456
6457 * mouse.el (mouse-drag-overlay): Variable deleted.
6458 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6459 (mouse--remap-link-click-p): New function.
6460 (mouse-drag-track): Handle dragging by using temporary Transient
6461 Mark mode, instead of a special overlay.
6462 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6463 mouse-show-mark.
6464
6465 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6466 deleted.
6467
6468 2010-07-02 Juri Linkov <juri@jurta.org>
6469
6470 * autoinsert.el (auto-insert-alist): Fix readability
6471 by using dotted pair notation for lambda.
6472
6473 2010-07-02 Juri Linkov <juri@jurta.org>
6474
6475 * faces.el (read-face-name): Rename arg `string-describing-default'
6476 to `default'. Doc fix. Display the default value in quotes
6477 in the prompt. With empty input, return the `default' arg,
6478 unless the default value is a string (in which case return nil).
6479 (describe-face): Replace the string `default' arg of `read-face-name'
6480 with the symbol `default'.
6481
6482 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6483
6484 * emulation/viper-cmd.el (viper-delete-backward-char)
6485 (viper-del-backward-char-in-insert)
6486 (viper-del-backward-char-in-replace, viper-change)
6487 (viper-backward-indent): Replace delete-backward-char with
6488 delete-char (Bug#6552).
6489
6490 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6491
6492 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6493
6494 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6495
6496 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6497 argument passed to frame-creation-function (Bug#5378).
6498
6499 * faces.el (x-handle-named-frame-geometry)
6500 (x-handle-reverse-video, x-create-frame-with-faces)
6501 (face-set-after-frame-default, tty-create-frame-with-faces):
6502 Don't separately consult default-frame-alist. It is now passed as the
6503 PARAMETER argument.
6504
6505 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6506
6507 * startup.el (command-line): Don't call tool-bar-setup in a
6508 tty-only build.
6509
6510 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6511
6512 * ruler-mode.el (ruler--save-header-line-format): New fun.
6513 (ruler-mode): Use it as a setter function, so as not to overwrite
6514 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6515
6516 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6517
6518 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6519 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6520 (vc-log-outgoing): Use it.
6521 (vc-diff-internal): Set diff-vc-backend.
6522
6523 * vc/diff-mode.el (diff-vc-backend): New var.
6524
6525 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6526
6527 * dynamic-setting.el (font-setting-change-default-font):
6528 Remove call to message.
6529
6530 2010-06-28 Kenichi Handa <handa@m17n.org>
6531
6532 * international/quail.el (quail-insert-kbd-layout): Fix the
6533 showing of untranslated characters.
6534
6535 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6536
6537 * simple.el (delete-active-region): New option.
6538 (delete-backward-char): Implement in Lisp.
6539 (delete-forward-char): New command.
6540
6541 * mouse.el (mouse-region-delete-keys): Deleted.
6542 (mouse-show-mark): Simplify.
6543
6544 * bindings.el (global-map): Bind delete and DEL, the former to
6545 delete-forward-char.
6546
6547 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6548
6549 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6550 (ruby-mode): Bind indent-line-function (Bug#5119).
6551
6552 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6553
6554 * startup.el (command-line): Recognize "0" X resource value.
6555
6556 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6557
6558 * startup.el (command-line): Use X resources to set the value of
6559 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6560
6561 * menu-bar.el (menu-bar-mode):
6562 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6563 Set init-value to t.
6564
6565 * frame.el (frame-notice-user-settings): Don't change
6566 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6567 vice versa (Bug#2249).
6568
6569 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6570
6571 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6572
6573 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6574
6575 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6576 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6577
6578 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6579 default directories are expanded (Bug#6143).
6580
6581 2010-06-24 Juri Linkov <juri@jurta.org>
6582
6583 * minibuffer.el (completions-format): Change default from nil to
6584 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6585
6586 2010-06-24 Juri Linkov <juri@jurta.org>
6587
6588 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6589 buffer-locally to lambda that re-runs the vc diff command.
6590 (Bug#6447)
6591
6592 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6593
6594 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6595 echo area is in use (Bug#3412).
6596
6597 2010-06-22 Glenn Morris <rgm@gnu.org>
6598
6599 * textmodes/texinfmt.el (texinfo-format-region)
6600 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6601 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6602 (texinfo-format-option, texinfo-noindent):
6603 Use line-beginning-position and line-end-position.
6604
6605 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6606 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6607 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6608 utf-8 characters.
6609
6610 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6611
6612 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6613 forward-line fallout.
6614
6615 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6616
6617 * mouse.el (mouse-appearance-menu): Add docstring.
6618
6619 * help.el (describe-key): Print up-event using key-description.
6620
6621 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6622
6623 * net/zeroconf.el (zeroconf-resolve-service)
6624 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6625 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6626
6627 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6628
6629 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6630
6631 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6632
6633 Avoid displaying files with a nil state in vc-dir.
6634 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6635 cases that cause insertion.
6636 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6637 with a nil state.
6638
6639 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6640
6641 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6642
6643 2010-06-29 Leo <sdl.web@gmail.com>
6644
6645 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6646
6647 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6648
6649 * generic-x.el (bat-generic-mode): Fix regexp for command line
6650 switches (Bug#5719).
6651
6652 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6653
6654 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6655 of nconc to avoid pure storage error (Bug#6239).
6656
6657 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6658
6659 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6660 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6661 bindings of bookmark-automatically-show-annotations (Bug#6515).
6662
6663 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6664
6665 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6666 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6667
6668 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6669
6670 * comint.el (make-comint, make-comint-in-buffer): Mention return
6671 value in the docstrings. (Bug#6498)
6672
6673 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6674
6675 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6676 since it is not present when using some non-default switches.
6677
6678 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6679
6680 * simple.el (compose-mail): Fix doc string to refer to
6681 `compose-mail-user-agent-warnings', instead of to the
6682 nonexistent `compose-mail-check-user-agent'.
6683
6684 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6685
6686 Fix an indentation bug:
6687
6688 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6689 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6690 of existing values.
6691
6692 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6693 (c-clear->-pair-props-if-match-before): now return t when they've
6694 cleared properties, nil otherwise.
6695 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6696 by taking account of the existing value.
6697
6698 * progmodes/cc-defs.el
6699 (c-clear-char-property-with-value-function): Fix this to clear the
6700 property rather than overwriting it with nil.
6701
6702 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6703
6704 * emacs-lisp/package.el (package-print-package): Add link to
6705 package description via describe-package.
6706 (describe-package-1): List package requirements. Add button to
6707 perform installation.
6708 (package-menu-describe-package): New command.
6709
6710 * help-mode.el (help-package): New button type.
6711
6712 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6713
6714 * emacs-lisp/package.el: Move package-list-packages binding to
6715 menu-bar.el.
6716 (describe-package, describe-package-1, package--dir): New funs.
6717 (package-activate-1): Use package--dir.
6718
6719 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6720
6721 * help-mode.el (help-package-def): New button type.
6722
6723 * menu-bar.el: Move package-list-packages binding here from
6724 package.el.
6725
6726 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6727
6728 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6729
6730 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * emacs-lisp/edebug.el (edebug-read-list):
6733 Phase out old-style backquotes.
6734
6735 2010-06-17 Juri Linkov <juri@jurta.org>
6736
6737 * help-mode.el (help-mode): Set buffer-local variable
6738 revert-buffer-function to help-mode-revert-buffer.
6739 (help-mode-revert-buffer): New function.
6740
6741 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6742 before popping to "*info*" (like in other Info functions).
6743 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6744 old-history-forward. Pop to old-buffer-name or "*info*" to
6745 recreate the killed buffer. Set Info-history-forward from
6746 old-history-forward.
6747 (Info-breadcrumbs-depth): Add :group and :version.
6748
6749 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6750
6751 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6752
6753 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6754
6755 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6756 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6757
6758 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6759
6760 * emacs-lisp/package.el (package-menu-mode-map):
6761 Move initialization into declaration.
6762
6763 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6764
6765 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6766
6767 * emacs-lisp/package.el (package-archive-base): Point to
6768 elpa.gnu.org.
6769 (package-enable, package-load-list): New defcustoms.
6770 (package-user-dir, package-directory-list): Turn into defcustoms.
6771 Don't include package-user-dir in package-directory-list.
6772 (package--builtins-base): Don't include Emacs as a "package".
6773 (package-subdirectory-regexp): New var.
6774 (package-load-all-descriptors, package-compute-transaction)
6775 (package-download-transaction): Obey package-load-list.
6776 (package-activate-1): Rename from package-do-activate.
6777 (package-list-packages-internal): Check package-load-list.
6778 (package-load-descriptor, package-generate-autoloads)
6779 (package-unpack, package-unpack-single)
6780 (package--read-archive-file, package-delete):
6781 Use expand-file-name.
6782
6783 * emacs-lisp/package-x.el: New file. Package uploading
6784 functionality split out from package.el.
6785
6786 * startup.el (command-line): Load packages after reading init file.
6787
6788 2010-06-17 Tom Tromey <tromey@redhat.com>
6789
6790 * emacs-lisp/package.el: New file.
6791
6792 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6793
6794 Fix vc-annotate for renamed files when using Git.
6795 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6796 ls-files. Doe not pass the object as a file name to cat-file, it
6797 is not a file name.
6798 (vc-git-annotate-command): Pass the file name using -- to avoid
6799 ambiguity with the revision.
6800 (vc-git-previous-revision): Pass a relative file name.
6801
6802 2010-06-22 Glenn Morris <rgm@gnu.org>
6803
6804 * progmodes/js.el (js-mode-map): Use standard capitalization and
6805 ellipses for menu entries.
6806
6807 * wid-edit.el (widget-complete): Doc fix.
6808
6809 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6810
6811 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6812
6813 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6814
6815 Fix annotating other revisions for renamed files in vc-annotate.
6816 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6817 VC backend. Use it when non-nil.
6818 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6819 (Bug#6487).
6820
6821 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6822 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6823 Do not pass the file name to the 'previous-revision call when we
6824 don't want a file diff. (Bug#6489)
6825
6826 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6827
6828 Fix finding revisions for renamed files in vc-annotate.
6829 * vc/vc.el (vc-find-revision): Add an optional argument for
6830 the VC backend. Use it when non-nil.
6831 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6832 backend to vc-find-revision. (Bug#6487)
6833
6834 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6835
6836 Fix reading file names in Git annotate buffers.
6837 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6838 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6839
6840 2010-06-20 Alan Mackenzie <acm@muc.de>
6841
6842 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6843 in file local variables, set it first.
6844
6845 2010-06-19 Glenn Morris <rgm@gnu.org>
6846
6847 * descr-text.el (describe-char-unicode-data): Insert separating
6848 space when needed. (Bug#6422)
6849
6850 * progmodes/idlwave.el (idlwave-action-and-binding):
6851 Fix typo in 2009-12-03 change. (Bug#6450)
6852
6853 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6856 handling for `lambda' (misunderstanding).
6857
6858 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6859
6860 * calc/calc-poly.el (math-accum-factors): Make sure that
6861 constants aren't distributed after they are factored out.
6862
6863 2010-06-16 Juri Linkov <juri@jurta.org>
6864
6865 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6866 `list-colors-print'. (Bug#6332)
6867
6868 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6869
6870 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6871
6872 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6873 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6874
6875 * font-lock.el (font-lock-major-mode): Rename from
6876 font-lock-mode-major-mode to distinguish it from
6877 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6878 (font-lock-set-defaults):
6879 * font-core.el (font-lock-default-function): Adjust users.
6880 (font-lock-mode): Don't set it at all.
6881
6882 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6883
6884 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6885
6886 2010-06-16 Glenn Morris <rgm@gnu.org>
6887
6888 * calendar/appt.el (appt-time-msg-list): Doc fix.
6889 (appt-check): Let-bind appt-warn-time.
6890 (appt-add): Make the 3rd argument optional.
6891 Simplify argument names. Doc fix. Check for integer WARNTIME.
6892 Only add WARNTIME to the output list if non-nil.
6893
6894 2010-06-16 Ivan Kanis <apple@kanis.eu>
6895
6896 * calendar/appt.el (appt-check): Let the 3rd element of
6897 appt-time-msg-list specify the warning time.
6898 (appt-add): Add new argument with the warning time. (Bug#5176)
6899
6900 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6901
6902 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6903 older than version 1.6. (Bug#6361)
6904
6905 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6906
6907 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6908 used by cl-do-arglist. (Bug#6408)
6909
6910 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6911
6912 * textmodes/ispell.el (ispell-dictionary-base-alist):
6913 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6914 Suggested by Rolando Pereira (bug#6434).
6915
6916 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6917
6918 * facemenu.el (list-colors-sort): Doc fix.
6919
6920 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6921
6922 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6923
6924 2010-06-14 Juri Linkov <juri@jurta.org>
6925
6926 Add sort option `list-colors-sort'. (Bug#6332)
6927 * facemenu.el (color-rgb-to-hsv): New function.
6928 (list-colors-sort): New defcustom.
6929 (list-colors-sort-key): New function.
6930 (list-colors-display): Doc fix. Sort list according to the option
6931 `list-colors-sort'.
6932 (list-colors-print): Add HSV values to `help-echo' property of
6933 RGB strings.
6934
6935 2010-06-14 Juri Linkov <juri@jurta.org>
6936
6937 * compare-w.el: Move to the "vc" subdirectory.
6938
6939 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * image-mode.el (image-mode-map): Remap left-char and right-char.
6942
6943 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6944
6945 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6946
6947 * term/common-win.el (x-colors): Add all the color names defined
6948 in rgb.txt (Bug#6332).
6949
6950 * facemenu.el (list-colors-print): Don't print extra names if it
6951 will overflow the window width.
6952
6953 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6954 change (Bug#6343).
6955
6956 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6957
6958 * files.el (make-directory): Doc fix (bug#6396).
6959
6960 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6961
6962 * net/tramp.el (tramp-remote-process-environment): Protect version
6963 string by apostroph.
6964 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6965 XEmacs.
6966 (tramp-file-name-for-operation): Add `call-process-region'.
6967 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6968
6969 * net/tramp-compat.el (top): Do not autoload
6970 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6971 only when `start-file-process' is not bound.
6972 (tramp-advice-file-expand-wildcards): Do not use
6973 `tramp-handle-file-remote-p'.
6974 (tramp-compat-make-temp-file): Handle the case, that
6975 `make-temp-file' has no third argument EXTENSION.
6976
6977 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6978
6979 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6980
6981 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6982
6983 2010-06-11 Juri Linkov <juri@jurta.org>
6984
6985 * finder.el (finder-known-keywords): Add keyword "vc"
6986 for version control.
6987
6988 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6989 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6990 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6991 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6992
6993 2010-06-11 Juri Linkov <juri@jurta.org>
6994
6995 Move version control related files to the "vc" subdirectory.
6996 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6997 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6998 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6999 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7000 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7001 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7002 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7003 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7004 Move files to the "vc" subdirectory.
7005
7006 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7007
7008 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7009 (Bug#6367).
7010
7011 2010-06-11 Stephen Eglen <stephen@gnu.org>
7012
7013 * shell.el: Bind `shell-resync-dirs' to M-RET.
7014
7015 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7016
7017 * notifications.el: Move file from lisp/net, because it is
7018 supposed to talk locally to the user.
7019
7020 2010-06-10 Julien Danjou <julien@danjou.info>
7021
7022 * net/notifications.el (notifications-on-action-signal)
7023 (notifications-on-closed-signal): Pass notification id as first
7024 argument to the callback functions. Add docstrings.
7025 (notifications-notify): Fix docstring.
7026
7027 2010-06-10 Glenn Morris <rgm@gnu.org>
7028
7029 * emacs-lisp/authors.el (authors-ignored-files)
7030 (authors-valid-file-names): Add some files.
7031
7032 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7033
7034 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7035 merge conflict, giving preference to the emacs-23 version of the code.
7036
7037 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * emacs-lisp/advice.el (ad-compile-function):
7040 Define warning-suppress-types before we let-bind it (bug#6275).
7041
7042 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7043 declare it, make it buffer-local and permanent-local (bug#6324).
7044 (vc-resynch-window): Adjust name.
7045 * vc-hooks.el (vc-find-file-hook): Adjust name.
7046
7047 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7048
7049 * net/notifications.el (notifications-notify): Fix docstring.
7050
7051 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7052
7053 Update to Unicode 6.0.0 beta.
7054 * international/charprop.el: Update copyright.
7055 * international/mule-cmds.el (ucs-names): Update character ranges.
7056 * international/uni-bidi.el:
7057 * international/uni-category.el:
7058 * international/uni-combining.el:
7059 * international/uni-comment.el:
7060 * international/uni-decimal.el:
7061 * international/uni-decomposition.el:
7062 * international/uni-digit.el:
7063 * international/uni-lowercase.el:
7064 * international/uni-mirrored.el:
7065 * international/uni-name.el:
7066 * international/uni-numeric.el:
7067 * international/uni-old-name.el:
7068 * international/uni-titlecase.el:
7069 * international/uni-uppercase.el: Regenerate.
7070
7071 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7072
7073 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7074 (smie-precs-precedence-table): Fix typo in docstring.
7075
7076 * vc-mtn.el (log-edit-extract-headers): Declare function.
7077
7078 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7079
7080 * net/notifications.el (dbus-register-signal): Declare function.
7081 (notifications-notify): Fix typos and reflow docstring.
7082
7083 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7084
7085 Improve VC create/retrieve tag/branch.
7086 * vc.el (vc-create-tag): Do not read the directory name for VCs
7087 with repository revision granularity. Adjust the tag/branch
7088 prompt. Reset VC properties.
7089 (vc-retrieve-tag): Do not read the directory name for VCs
7090 with repository revision granularity. Reset VC properties.
7091
7092 2010-06-09 Julien Danjou <julien@danjou.info>
7093
7094 * net/notifications.el: New file.
7095
7096 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7097
7098 Add optional support for resetting VC properties.
7099 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7100 call vc-file-clearprops when true.
7101 (vc-resynch-buffer): Add new optional argument, pass it down.
7102 (vc-resynch-buffers-in-directory): Likewise.
7103
7104 Improve support for special markup in the VC commit message.
7105 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7106 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7107 * vc-git.el (vc-git-checkin):
7108 * vc-bzr.el (vc-bzr-checkin): Likewise.
7109
7110 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7111
7112 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7113 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7114
7115 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7116
7117 * iimage.el: Remove images as soon as the underlying text is modified.
7118 (iimage-modification-hook): New function.
7119 (iimage-mode-buffer): Use it.
7120
7121 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7124 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7125 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7126 (smie-indent-keyword): Add handling of open-paren keywords.
7127 (smie-indent-comment-continue): Don't assume comment-continue.
7128
7129 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7130
7131 * window.el (pop-to-buffer): Remove the conditional that
7132 compares new-window and old-window, so it will reselect
7133 the selected window unconditionally.
7134 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7135
7136 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7137
7138 * emacs-lisp/smie.el (smie-indent-offset-after)
7139 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7140 (smie-indent-after-keyword): Use them.
7141 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7142 (smie-indent-keyword): Tweak the black magic.
7143 (smie-indent-comment-continue): Strip comment-continue before use.
7144 (smie-indent-functions): Indent comments before keywords.
7145
7146 2010-06-06 Juri Linkov <juri@jurta.org>
7147
7148 * isearch.el (isearch-lazy-highlight-search): Fix looping
7149 by checking for empty match. This syncs this loop with the
7150 similar loop in `isearch-search'. (Bug#6362)
7151
7152 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7153
7154 * net/dbus.el (dbus-register-method): Declare function.
7155 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7156 (dbus-introspect): Doc fix.
7157 (dbus-event-bus-name, dbus-introspect-get-interface)
7158 (dbus-introspect-get-argument): Reflow docstrings.
7159
7160 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7161
7162 vc-log-incoming/vc-log-outgoing fixes for Git.
7163 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7164 incoming/outgoing logs.
7165 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7166 instead of vc-git-compute-remote.
7167 (vc-git-compute-remote): Remove.
7168
7169 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7170
7171 * term/common-win.el (x-colors): Add "dark green" and "dark
7172 turquoise" (Bug#6332).
7173
7174 2010-06-04 Juri Linkov <juri@jurta.org>
7175
7176 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7177 Instead of setting `replace' to t and replacing the same string
7178 with itself, don't do certain actions when
7179 kill-do-not-save-duplicates is non-nil and string is equal to car
7180 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7181 interprogram-paste strings to kill-ring, and don't push the input
7182 argument `string' to kill-ring.
7183 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7184
7185 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7186
7187 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7188
7189 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7190
7191 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7192 (tramp-gvfs-handler-mounted-unmounted)
7193 (tramp-gvfs-connection-mounted-p): Handle default-location.
7194
7195 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7196 move files to trash.
7197
7198 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7199
7200 * international/mule-cmds.el (nonascii-insert-offset)
7201 (nonascii-translation-table): Add obsolescence information.
7202
7203 * international/mule.el (make-translation-table-from-vector): Doc fix.
7204
7205 2010-06-03 Glenn Morris <rgm@gnu.org>
7206
7207 * desktop.el (desktop-clear-preserve-buffers):
7208 Add "*Warnings*" buffer. (Bug#6336)
7209
7210 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7211
7212 vc-log-incoming/vc-log-outgoing improvements for Git.
7213 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7214 short log.
7215 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7216
7217 Add bindings for vc-log-incoming and vc-log-outgoing.
7218 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7219 and vc-log-outgoing.
7220 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7221 and vc-log-outgoing.
7222
7223 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7224
7225 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7226 (rcirc-handler-366): Always sort nicknames.
7227
7228 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7229
7230 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7231
7232 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7233
7234 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7235
7236 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7237
7238 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7239 (rcirc-sort-nicknames-join): Avoid setq.
7240
7241 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7242
7243 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7244 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7245 (rcirc-handler-366): Use them.
7246
7247 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 Split smie-indent-calculate into more manageable chunks.
7250 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7251 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7252 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7253 (smie-indent-exps): Extract from smie-indent-calculate.
7254 (smie-indent-functions): New var.
7255 (smie-indent-functions): Use them.
7256
7257 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7260 (smie-indent-calculate): Simplify and cleanup.
7261
7262 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7263
7264 * net/tramp-gvfs.el (top): Require url-util.
7265 (tramp-gvfs-mount-point): Remove.
7266 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7267 New defuns.
7268 (with-tramp-dbus-call-method): Format trace message.
7269 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7270 Implement backup call, when operation on local files fails.
7271 Use progress reporter. Flush properties of changed files.
7272 (tramp-gvfs-handle-make-directory): Make more traces.
7273 (tramp-gvfs-url-file-name): Hexify file name in url.
7274 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7275 into account for the resulting file name.
7276 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7277 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7278 (tramp-gvfs-handler-mounted-unmounted)
7279 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7280 attribute "default_location". Set "prefix" property.
7281 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7282 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7283 exists. Raise an error, if not (due to a corresponding answer
7284 "no" in interactive questions, for example).
7285
7286 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7287
7288 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7289
7290 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7291
7292 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7293 right-*. (Bug#6265)
7294
7295 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7296
7297 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7298 * vc-git.el (vc-git-compute-remote): New function.
7299 (vc-git-log-outgoing): Use it instead of hard coding a value.
7300 (vc-git-log-incoming): New function.
7301
7302 Improve state updating for VC tag commands.
7303 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7304 to update the state of all buffers in the directory.
7305
7306 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7307
7308 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7311 `file-directory-p' to the filename part rather than to the whole text.
7312
7313 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7314
7315 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7316
7317 2010-05-31 Drew Adams <drew.adams@oracle.com>
7318
7319 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7320
7321 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7322
7323 * subr.el (momentary-string-display): Just use read-event to read
7324 the exit event (Bug#6238).
7325
7326 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7327
7328 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7329
7330 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7331
7332 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7333 Suggested by Eli Zaretskii <eliz@gnu.org>.
7334
7335 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7336
7337 * minibuffer.el (completion-file-name-table): Don't return a boundary
7338 past the end of `string' (bug#6299).
7339 (completion--file-name-table): Delegate to completion-file-name-table
7340 for the `boundaries' case.
7341
7342 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7343
7344 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7345 movement commands.
7346
7347 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7348 `path-separator', but maintain compatibility with Emacs 20.2.
7349
7350 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7351
7352 * server.el (server-process-filter): Receive parent-id argument
7353 from emacsclient.
7354 (server-create-window-system-frame): New arg. Pass parent-id as
7355 frame parameter.
7356
7357 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7358
7359 Bidi-sensitive word movement with arrow keys.
7360 * subr.el (right-arrow-command, left-arrow-command): Move to
7361 bindings.el.
7362
7363 * bindings.el (right-char, left-char): Move from subr.el and
7364 rename from right-arrow-command and left-arrow-command.
7365 (right-word, left-word): New functions.
7366 (global-map) <right>: Bind to right-char.
7367 (global-map) <left>: Bind to left-char.
7368 (global-map) <C-right>: Bind to right-word.
7369 (global-map) <C-left>: Bind to left-word.
7370
7371 * ls-lisp.el (ls-lisp-classify-file): New function.
7372 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7373 (ls-lisp-classify): Call ls-lisp-classify-file.
7374 (insert-directory): Remove blanks from switches.
7375
7376 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7377
7378 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7379 (ansi-color-drop-regexp): New constant.
7380 (ansi-color-apply, ansi-color-filter-region)
7381 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7382 (ansi-color-apply): Build string list before calling concat.
7383
7384 2010-05-28 Juri Linkov <juri@jurta.org>
7385
7386 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7387 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7388 (Bug#5270)
7389
7390 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7393 to ignored backtrace functions.
7394 (with-progress-reporter): Expand docstring.
7395 (tramp-handle-delete-file): Implement TRASH argument.
7396 (tramp-get-remote-trash): New defun.
7397
7398 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7399
7400 * net/tramp-compat.el (tramp-compat-delete-file):
7401 Use `symbol-value' for backward compatibility.
7402
7403 * net/tramp.el (tramp-handle-make-symbolic-link)
7404 (tramp-handle-load)
7405 (tramp-do-copy-or-rename-file-via-buffer)
7406 (tramp-do-copy-or-rename-file-directly)
7407 (tramp-do-copy-or-rename-file-out-of-band)
7408 (tramp-handle-process-file, tramp-handle-call-process-region)
7409 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7410 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7411 (tramp-delete-temp-file-function): Use `delete-file' instead
7412 of `tramp-compat-delete-file'.
7413
7414 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7415 (tramp-fish-handle-make-symbolic-link)
7416 (tramp-fish-handle-process-file): Use `delete-file' instead
7417 of `tramp-compat-delete-file'.
7418
7419 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7420 Use `delete-file' instead of `tramp-compat-delete-file'.
7421
7422 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7423 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7424 `tramp-compat-delete-file'.
7425
7426 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7427 Use `delete-file' instead of `tramp-compat-delete-file'.
7428
7429 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7430 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7431 (tramp-smb-handle-write-region): Use `delete-file' instead of
7432 `tramp-compat-delete-file'.
7433 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7434
7435 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7436
7437 * dired.el (dired-delete-file): New arg TRASH.
7438 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7439 (dired-do-flagged-delete, dired-do-delete): Use trash.
7440
7441 * speedbar.el (speedbar-item-delete): Allow trashing.
7442
7443 * files.el (delete-directory): New arg TRASH.
7444
7445 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7446 (ange-ftp-rename-remote-to-remote)
7447 (ange-ftp-rename-local-to-remote)
7448 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7449 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7450 `delete-file'.
7451 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7452 allow trashing.
7453
7454 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7455 handle new TRASH arg of `delete-file'.
7456
7457 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7458 (tramp-handle-make-symbolic-link, tramp-handle-load)
7459 (tramp-do-copy-or-rename-file-via-buffer)
7460 (tramp-do-copy-or-rename-file-directly)
7461 (tramp-do-copy-or-rename-file-out-of-band)
7462 (tramp-handle-process-file, tramp-handle-call-process-region)
7463 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7464 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7465 (tramp-delete-temp-file-function): Use null TRASH arg in
7466 tramp-compat-delete-file call.
7467
7468 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7469 (tramp-fish-handle-delete-file)
7470 (tramp-fish-handle-make-symbolic-link)
7471 (tramp-fish-handle-process-file): Use null TRASH arg in
7472 `tramp-compat-delete-file' call.
7473
7474 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7475 arg in `tramp-compat-delete-file' call.
7476
7477 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7478 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7479 `tramp-compat-delete-file' call.
7480
7481 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7482 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7483 `tramp-compat-delete-file' call.
7484
7485 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7486 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7487 (tramp-smb-handle-write-region): Use null TRASH arg in
7488 tramp-compat-delete-file call.
7489 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7490 (tramp-smb-handle-delete-file): Rename arg.
7491
7492 * diff.el (diff-sentinel):
7493 * epg.el (epg--make-temp-file, epg-decrypt-string)
7494 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7495 * jka-compr.el (jka-compr-partial-uncompress)
7496 (jka-compr-call-process, jka-compr-write-region):
7497 * server.el (server-sentinel): Remove optional arg from
7498 delete-file, reverting 2010-05-03 change.
7499
7500 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7501
7502 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7503 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7504
7505 2010-05-27 Kenichi Handa <handa@m17n.org>
7506
7507 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7508 element of GSTRING is nil.
7509
7510 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * emacs-lisp/smie.el (smie-forward-token-function)
7513 (smie-backward-token-function): New vars.
7514 (smie-backward-sexp, smie-forward-sexp)
7515 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7516 (smie-default-backward-token): Rename from smie-backward-token and
7517 skip comments.
7518 (smie-default-forward-token): Rename from smie-forward-token and
7519 skip comments.
7520 (smie-next-sexp): Handle nil results from next-token.
7521 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7522
7523 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7524
7525 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7526 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7527
7528 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7529
7530 * htmlfontify.el (hfy-face-resolve-face): New function.
7531 (hfy-face-to-style): Use it (Bug#6279).
7532
7533 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7536 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7537
7538 2010-05-26 Glenn Morris <rgm@gnu.org>
7539
7540 * emulation/edt.el (edt-load-keys): Use locate-library.
7541
7542 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7543
7544 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7545 (log-edit-changelog-entries): Doc fix.
7546 (log-edit-changelog-insert-entries): Args changed.
7547 Rename relative filenames in ChangeLog entries. Delete tabs.
7548 (log-edit-insert-changelog-entries): Reorganize return value of
7549 `log-edit-changelog-entries' to pass filenames to
7550 log-edit-changelog-insert-entries.
7551
7552 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7553
7554 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7555 `image-dired-dired-insert-marked-thumbs' to
7556 `image-dired-dired-toggle-marked-thumbs'.
7557
7558 * image-dired.el: Require cl when compiling.
7559 (image-dired-dired-toggle-marked-thumbs): Rename from
7560 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7561 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7562 to 'no-dir. Skip files whose names don't match
7563 `image-file-name-regexp'. When file has a thumbnail overlay,
7564 delete it. (Bug#5270)
7565
7566 2010-05-25 Juri Linkov <juri@jurta.org>
7567
7568 * image-mode.el (image-mode): Add image-after-revert-hook to
7569 after-revert-hook.
7570 (image-after-revert-hook): New function. (Bug#5669)
7571
7572 2010-05-25 Juri Linkov <juri@jurta.org>
7573
7574 * image.el (image-animated-p): When delay between animated images
7575 is 0, set it to 10 (0.1 sec). (Bug#6258)
7576
7577 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7578
7579 * net/tramp.el (tramp-handle-insert-directory): Don't use
7580 `forward-word', its default syntax could be changed.
7581
7582 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7583
7584 * net/tramp.el (tramp-progress-reporter-update): New defun.
7585 (with-progress-reporter): Use it.
7586 (tramp-process-actions):
7587 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7588 Preserve current message, in order to let progress reporter continue
7589 afterwards. (Bug#6257)
7590
7591 2010-05-25 Glenn Morris <rgm@gnu.org>
7592
7593 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7594 Add :version.
7595
7596 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7597
7598 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7599 (rcirc-default-full-name): Change to "unknown".
7600 (rcirc-user-name-history): Add variable.
7601
7602 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7603 Jonathan Rockway <jon@jrock.us>
7604
7605 * net/rcirc.el (rcirc-server-alist): Add :pass.
7606 (rcirc): When prompting for connection parameters, also prompt for
7607 username and password.
7608 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7609 value to server when connecting.
7610
7611 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7614 (smie-merge-prec2s): Pass the tables as separate args.
7615 (smie-bnf-precedence-table): Adjust call accordingly.
7616 (smie-prec2-levels): Set levels at the end.
7617
7618 Replace Lisp calls to delete-backward-char by delete-char.
7619 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7620 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7621 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7622 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7623 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7624 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7625 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7626 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7627 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7628 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7629 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7630 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7631 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7632 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7633 delete-backward-char by calls to delete-char.
7634
7635 2010-05-25 Kenichi Handa <handa@m17n.org>
7636
7637 * language/hebrew.el (hebrew-shape-gstring): New function.
7638 Register it in composition-function-table for all Hebrew combining
7639 characters.
7640
7641 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7642
7643 * epa.el (epa--select-keys): Don't explicitly delete the window since
7644 that can fail (e.g. sole window in frame). Use dedication instead.
7645
7646 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7647
7648 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7649
7650 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7651
7652 * image.el (image-refresh): Define as an alias for image-flush.
7653
7654 * image-mode.el (image-toggle-display-image): Caller changed.
7655
7656 2010-05-21 Juri Linkov <juri@jurta.org>
7657
7658 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7659 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7660 whitespace, call wildcard-to-regexp on substrings and concat them
7661 with "\\|". (Bug#6114)
7662
7663 2010-05-21 Alan Mackenzie <acm@muc.de>
7664
7665 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7666 Replace parameter `here' with `here-' and `here-plus', which sandwich
7667 any pertinent CPP construct.
7668 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7669 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7670 CPP construct from taking part in the scanning.
7671
7672 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7673
7674 * net/tramp.el (tramp-do-copy-or-rename-file)
7675 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7676 Tune `with-progress-reporter' messages.
7677 (tramp-handle-vc-registered):
7678 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7679 (tramp-fish-handle-insert-file-contents)
7680 (tramp-fish-maybe-open-connection):
7681 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7682 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7683 (tramp-imap-handle-insert-file-contents)
7684 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7685
7686 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7687
7688 * add-log.el (change-log-font-lock-keywords):
7689 Highlight all authors in multi-author entries.
7690
7691 * smerge-mode.el (smerge-refine-ignore-whitespace)
7692 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7693 Fix typos in docstrings.
7694 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7695
7696 2010-05-21 Glenn Morris <rgm@gnu.org>
7697
7698 * progmodes/fortran.el (fortran-mode):
7699 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7700
7701 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7702 having a relative path in src/Makefile.in.
7703
7704 2010-05-20 Kevin Ryde <user42@zip.com.au>
7705
7706 * help-mode.el (help-make-xrefs): For Info node links turn
7707 newlines into spaces. Link node names with newlines are matched
7708 by help-xref-info-regexp and buttonized, this change ensures they
7709 can be followed successfully with RET. (Bug#6206)
7710
7711 2010-05-20 Juri Linkov <juri@jurta.org>
7712
7713 * locate.el (locate): Use pop-to-buffer instead of
7714 switch-to-buffer-other-window. (Bug#6204)
7715
7716 2010-05-20 Juri Linkov <juri@jurta.org>
7717
7718 * replace.el (replace-highlight): Fix lazy-highlighting
7719 for `M-s w str M-% str RET'.
7720
7721 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7722
7723 * isearch.el (isearch-yank-word-or-char): Pull next subword
7724 when `subword-mode' is activated. (Bug#6220)
7725
7726 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7727
7728 * isearch.el (isearch-update-post-hook): New hook.
7729 (isearch-update): Use the new hook. (Bug#6225)
7730
7731 2010-05-20 Juri Linkov <juri@jurta.org>
7732
7733 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7734 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7735 (Bug#6222)
7736
7737 2010-05-20 Juri Linkov <juri@jurta.org>
7738
7739 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7740 (Bug#6223)
7741
7742 2010-05-20 Juri Linkov <juri@jurta.org>
7743
7744 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7745 FILE-NAME to read from the minibuffer when called interactively
7746 with prefix argument instead of using buffer-file-name.
7747 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7748
7749 * dired.el: Update autoloads.
7750
7751 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7752
7753 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7754 nxml-finish-element, for consistency with SGML mode.
7755
7756 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7757 octave-close-block.
7758
7759 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7760
7761 * composite.el: Require cl when compiling.
7762 (reference-point-alist, compose-gstring-for-graphic)
7763 (compose-gstring-for-terminal): Fix typos in docstrings.
7764
7765 2010-05-19 Juri Linkov <juri@jurta.org>
7766
7767 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7768 set-window-parameter.
7769
7770 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7771
7772 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7773 where appropriate.
7774 (tramp-maybe-open-connection): Use it.
7775
7776 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7777
7778 * simple.el (move-end-of-line): Make sure we are at line beginning
7779 before backing up to end of previous line.
7780
7781 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7782
7783 * password-cache.el (password-cache-remove): Fix docstring.
7784
7785 * net/secrets.el: Autoload the widget functions.
7786 (secrets-search-items, secrets-create-item)
7787 (secrets-get-attributes, secrets-expand-item): Attributes will be
7788 stored on the password database without leading ":", as all other
7789 clients do as well.
7790 (secrets-mode): Fix docstring.
7791 (secrets-show-secrets): Provide it as autoloaded command only when
7792 D-Bus support is available. Check existence of Secret Service API.
7793
7794 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * indent.el (indent-region): Deactivate region (bug#6200).
7797
7798 2010-05-19 Glenn Morris <rgm@gnu.org>
7799
7800 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7801
7802 2010-05-19 Kenichi Handa <handa@m17n.org>
7803
7804 * composite.el: Register compose-gstring-for-graphic in
7805 composition-function-table only for combining characters (Mn, Mc, Me).
7806
7807 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7808
7809 * calc/calc-trail.el (calc-trail-isearch-forward)
7810 (calc-trail-isearch-backward): Ensure that the new window
7811 point is set correctly.
7812
7813 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * subr.el (read-quoted-char): Resolve modifiers after key
7816 remapping (bug#6212).
7817
7818 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7819
7820 Add visualization code for secrets.
7821 * net/secrets.el (secrets-mode): New major mode.
7822 (secrets-show-secrets, secrets-show-collections)
7823 (secrets-expand-collection, secrets-expand-item)
7824 (secrets-tree-widget-after-toggle-function)
7825 (secrets-tree-widget-show-password): New defuns.
7826
7827 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7828
7829 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7830 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7831 handled in smie-next-sexp.
7832 (smie-indent-calculate): Provide a starting indentation (so the
7833 recursion is well-founded ;-).
7834
7835 Fix handling of non-associative equal levels.
7836 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7837 when it's not needed.
7838 (smie-op-left, smie-op-right): New functions.
7839 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7840 Better handle equal levels to distinguish the associative case from
7841 the "multi-keyword construct" case.
7842 (smie-backward-sexp, smie-forward-sexp): Use it.
7843
7844 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7845
7846 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7847
7848 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7849 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7850
7851 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7852
7853 Provide a simple generic indentation engine and use it for Prolog.
7854 * emacs-lisp/smie.el: New file.
7855 * progmodes/prolog.el (prolog-smie-op-levels)
7856 (prolog-smie-indent-rules): New var.
7857 (prolog-mode-variables): Use them to configure SMIE.
7858 (prolog-indent-line, prolog-indent-level): Remove.
7859
7860 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7861
7862 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7863 order before computing the averages.
7864
7865 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7866
7867 * calc/calc-vec.el (calc-histogram):
7868 (calcFunc-histogram): Allow vectors as inputs.
7869 (math-vector-avg): New function.
7870
7871 * calc/calc-ext.el (math-group-float): Have the number of digits
7872 being grouped depend on the radix (Bug#6189).
7873
7874 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7875
7876 * version.el (emacs-copyright, emacs-version): Don't define here,
7877 now that emacs.c defines it.
7878
7879 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7880
7881 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7882 "Describe Language Environment" menu item.
7883
7884 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7885
7886 Bidi-sensitive movement with arrow keys.
7887 * subr.el (right-arrow-command, left-arrow-command): New functions.
7888
7889 * bindings.el (global-map): Bind them to right and left arrow keys.
7890
7891 Don't override standard definition of convert-standard-filename.
7892 * files.el (convert-standard-filename):
7893 Call w32-convert-standard-filename and dos-convert-standard-filename on
7894 the corresponding systems.
7895
7896 * w32-fns.el (w32-convert-standard-filename): Rename from
7897 convert-standard-filename. Doc fix.
7898
7899 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7900 (convert-standard-filename): Don't defalias.
7901 (register-name-alist, make-register, register-value)
7902 (set-register-value, intdos): Obsolete aliases for the
7903 corresponding dos-* functions and variables.
7904 (dos-intdos): Add a doc string.
7905
7906 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7907
7908 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7909 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7910 (math-compose-tex-func):
7911 * calc/calccomp.el (math-compose-expr):
7912 * calc/calc-ext.el (math-format-flat-expr-fancy):
7913 * calc/calc-store.el (calc-read-var-name):
7914 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7915
7916 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7917 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7918 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7919 (math-standard-units): Add units.
7920
7921 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * progmodes/asm-mode.el (asm-mode):
7924 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7925
7926 * pcomplete.el (pcomplete-completions-at-point): New function,
7927 extracted from pcomplete-std-complete.
7928 (pcomplete-std-complete): Use it.
7929
7930 2010-05-15 Glenn Morris <rgm@gnu.org>
7931
7932 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7933 Remove references to CVS, RCS and Old directories.
7934
7935 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7936
7937 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7938 appropriate.
7939
7940 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7943 (sh-mode-syntax-table): Give it a default value instead.
7944 (sh-header-marker): Make buffer-local.
7945 (sh-mode): Move make-local-variable to the corresponding setq.
7946 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7947 Use complete-with-action.
7948
7949 * simple.el (prog-mode): New (abstract) major mode.
7950 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7951 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7952
7953 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7954
7955 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7956 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7957 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7958 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7959 (sql-escape-newlines-filter, sql-input-sender)
7960 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7961
7962 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7963
7964 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7965
7966 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7967 latex-open-block and C-c / to latex-close-block.
7968
7969 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7970 and C-c C-e to sgml-close-tag.
7971
7972 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7973
7974 * net/tramp.el (with-progress-reporter): Create reporter object
7975 only when the message would be displayed. Handle nested calls.
7976 (tramp-handle-load, tramp-handle-file-local-copy)
7977 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7978 (tramp-maybe-send-script, tramp-find-shell):
7979 Use `with-progress-reporter'.
7980 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7981 Fix message text.
7982
7983 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7984 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7985 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7986 Use `with-progress-reporter'.
7987
7988 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7989
7990 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7991 process everytime when spellchecking from the minibuffer (bug#6143).
7992
7993 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7994
7995 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7996
7997 * dos-fns.el: Add "dos-" prefix for namespace control.
7998 (convert-standard-filename): Define as alias for
7999 dos-convert-standard-filename but only if applicable.
8000
8001 2010-05-12 Alan Mackenzie <acm@muc.de>
8002
8003 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8004 Push the mark at the start of these functions when appropriate.
8005
8006 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * minibuffer.el (completion-cycle-threshold): New custom var.
8009 (completion--do-completion): Use it.
8010 (minibuffer-complete): Use cycling if appropriate.
8011
8012 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8013
8014 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8015 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8016
8017 2010-05-11 Juri Linkov <juri@jurta.org>
8018
8019 * scroll-all.el (scroll-all-check-to-scroll):
8020 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8021
8022 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8023
8024 * iimage.el (iimage-mode-map): Move initialization into declaration.
8025 (iimage-mode-buffer): Use with-silent-modifications.
8026 Simplify calling convention. Adjust callers.
8027 (iimage-mode): Don't run hook redundantly.
8028
8029 * minibuffer.el (completion-pcm--pattern->regex):
8030 Fix last change (bug#6160).
8031
8032 2010-05-10 Juri Linkov <juri@jurta.org>
8033
8034 Remove nodes visited during Isearch from the Info history.
8035 * info.el (Info-isearch-initial-history)
8036 (Info-isearch-initial-history-list): New variables.
8037 (Info-isearch-start): Record initial values of
8038 Info-isearch-initial-history and Info-isearch-initial-history-list.
8039 Add Info-isearch-end to isearch-mode-end-hook.
8040 (Info-isearch-end): New function.
8041
8042 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8043
8044 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8045 format string, in order to work around a bug in pdksh.
8046 Reported by Gilles Pion <gpion@lfdj.com>.
8047 (tramp-handle-verify-visited-file-modtime): Do not send a command
8048 when the connection is not established.
8049 (tramp-handle-set-file-times): Simplify the check for utc.
8050
8051 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8052
8053 Fix use of `filter-buffer-substring' (rework previous change).
8054 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8055 (cua-repeat-replace-region):
8056 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8057 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8058 (cua-cut-region-to-global-mark): Use it.
8059
8060 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8061
8062 * progmodes/sql.el: Version 2.1.
8063 (sql-product-alist): Redesign structure of product info.
8064 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8065 (sql-port, sql-port-history): New variables.
8066 (sql-interactive-product): New variable.
8067 (sql-send-terminator): New variable.
8068 (sql-imenu-generic-expression): Add "Types" imenu entry.
8069 (sql-oracle-login-params, sql-sqlite-login-params)
8070 (sql-mysql-login-params, sql-solid-login-params)
8071 (sql-sybase-login-params, sql-informix-login-params)
8072 (sql-ingres-login-params, sql-ms-login-params)
8073 (sql-postgres-login-params, sql-interbase-login-params)
8074 (sql-db2-login-params, sql-linter-login-params)
8075 (sql-oracle-scan-on): New variables.
8076 (sql-mode-map): Add C-c C-i to start interactive mode.
8077 (sql-mode-menu): Update existing menu entries.
8078 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8079 (sql-mode-oracle-font-lock-keywords)
8080 (sql-mode-postgres-font-lock-keywords)
8081 (sql-mode-ms-font-lock-keywords)
8082 (sql-mode-sybase-font-lock-keywords)
8083 (sql-mode-informix-font-lock-keywords)
8084 (sql-mode-interbase-font-lock-keywords)
8085 (sql-mode-ingres-font-lock-keywords)
8086 (sql-mode-solid-font-lock-keywords)
8087 (sql-mode-mysql-font-lock-keywords)
8088 (sql-mode-sqlite-font-lock-keywords)
8089 (sql-mode-db2-font-lock-keywords)
8090 (sql-mode-linter-font-lock-keywords): Update initialization to
8091 reduce run-time complexity.
8092 (sql-add-product, sql-del-product): New functions.
8093 (sql-set-product-feature, sql-get-product-feature): New functions.
8094 (sql-product-font-lock): Update product API.
8095 (sql-add-product-keywords): New function.
8096 (sql-highlight-product): Update product API.
8097 (sql-help-list-products): New function.
8098 (sql-help): Dynamically lists free and non-free products.
8099 (sql-get-login): Correct bug in handling history and added
8100 prompt for port.
8101 (sql-copy-column): Copy without properties.
8102 (sqli-input-sender): Apply filters to SQLi input.
8103 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8104 Implement as a filter.
8105 (sql-escape-newlines-filter): Implement as a filter.
8106 (sql-remove-tabs-filter): New function.
8107 (sql-send-magic-terminator): New function.
8108 (sql-send-string): Implement magic terminator.
8109 (sql-send-region): Use `sql-send-string'.
8110 (sql-interactive-mode): Use product API.
8111 (sql-product-interactive): Use product API.
8112 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8113 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8114 (sql-db2, sql-linter): Use `sql-product-interactive'.
8115 (sql-connect): New function.
8116 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8117 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8118 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8119 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8120 Use `sql-connect'.
8121
8122 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8125 New custom variable.
8126 (completion-pcm--string->pattern): Use it.
8127 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8128 Make it handle any symbol as `any'.
8129 (completion-pcm--merge-completions): Extract common suffix for the new
8130 `prefix' symbol as well.
8131 (completion-substring--all-completions): Use the new `prefix' symbol.
8132
8133 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8134
8135 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8136 not bound.
8137 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8138 (tramp-compat-funcall): New defmacro.
8139 (tramp-compat-line-beginning-position)
8140 (tramp-compat-line-end-position)
8141 (tramp-compat-temporary-file-directory)
8142 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8143 (tramp-compat-copy-file, tramp-compat-copy-directory)
8144 (tramp-compat-delete-file, tramp-compat-delete-directory)
8145 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8146 * net/tramp.el (top, with-progress-reporter)
8147 (tramp-rfn-eshadow-setup-minibuffer)
8148 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8149 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8150 (tramp-completion-mode-p, tramp-check-for-regexp)
8151 (tramp-open-connection-setup-interactive-shell)
8152 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8153 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8154 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8155 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8156 (tramp-reporter-dump-variable, tramp-load-report-modules)
8157 (tramp-append-tramp-buffers)
8158 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8159
8160 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8161
8162 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8165 buffer-modtime. Adjust users.
8166
8167 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8168
8169 * international/mule.el (auto-coding-alist): Only purecopy
8170 car of each item, not the whole list (Bug#6083).
8171
8172 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8173
8174 * progmodes/js.el (js-mode): Make paragraph variables local before
8175 calling c-setup-paragraph-variables (Bug#6071).
8176
8177 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8178
8179 * composite.el (compose-region, reference-point-alist): Fix typos
8180 in the doc strings.
8181
8182 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8183
8184 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8185 gnuplot's "set" command.
8186
8187 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8188
8189 * abbrev.el (last-abbrev-text): Doc fix.
8190 (abbrev-prefix-mark): Don't escape parenthesis.
8191
8192 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8193
8194 * composite.el (find-composition): Doc fix.
8195
8196 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8197
8198 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8199 (sql-oracle-program, sql-sqlite-options)
8200 (sql-query-placeholders-and-send): Doc fixes.
8201 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8202 (sql-imenu-generic-expression, sql-buffer)
8203 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8204 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8205 (sql-mode-sybase-font-lock-keywords)
8206 (sql-mode-informix-font-lock-keywords)
8207 (sql-mode-interbase-font-lock-keywords)
8208 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8209 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8210 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8211 (sql-product-feature, sql-highlight-product)
8212 (comint-line-beginning-position, sql-rename-buffer)
8213 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8214 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8215 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8216 Fix typos in docstrings.
8217
8218 2010-05-08 Juri Linkov <juri@jurta.org>
8219
8220 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8221 property instead of `invisible' and `after-string' (bug#5998).
8222
8223 2010-05-08 Juri Linkov <juri@jurta.org>
8224
8225 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8226
8227 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8228
8229 * filecache.el (file-cache-add-directory-list)
8230 (file-cache-add-directory-recursively): Fix typos in docstrings.
8231
8232 2010-05-08 Kenichi Handa <handa@m17n.org>
8233
8234 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8235 (gujarati-composable-pattern): Fix typo.
8236
8237 2010-05-08 Kenichi Handa <handa@m17n.org>
8238
8239 * language/indian.el (oriya-composable-pattern)
8240 (tamil-composable-pattern, malayalam-composable-pattern):
8241 Add two-part vowels to "v" (vowel sign).
8242
8243 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8244
8245 * files.el (copy-directory): Handle symlinks (Bug#5982).
8246
8247 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8248
8249 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8250 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8251 (Bug#5846).
8252
8253 2010-05-08 Glenn Morris <rgm@gnu.org>
8254
8255 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8256
8257 * minibuffer.el (completion-at-point): Doc fix.
8258
8259 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8260
8261 * electric.el (Electric-command-loop): Minor tweak.
8262
8263 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8264 better with dedicated windows.
8265
8266 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8267
8268 * Version 23.2 released.
8269
8270 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8271 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 Highlight vendor specific properties.
8274 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8275 (css-proprietary-property): New face.
8276 (css-font-lock-keywords): Use them.
8277
8278 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8279
8280 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8281
8282 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8283
8284 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8285 * files.el (auto-mode-alist): Remove redundant entries.
8286
8287 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8288 * simple.el (auto-save-mode): Move from files.el.
8289 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8290
8291 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8292
8293 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8294
8295 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8296
8297 * mail/binhex.el (binhex-decode-region-internal)
8298 * mail/uudecode.el (uudecode-decode-region-internal)
8299 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8300 (dns-read-type, dns-query)
8301 * pgg-parse.el (pgg-parse-armor)
8302 * pgg.el (pgg-verify-region)
8303 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8304 XEmacs.
8305
8306 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8307
8308 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8309
8310 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8311
8312 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8313 * emulation/cua-base.el (cua-repeat-replace-region):
8314 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8315 (cua-cut-region-to-global-mark):
8316 Remove text properties with `set-text-properties'.
8317
8318 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8319
8320 * net/tramp.el (top, with-progress-reporter):
8321 Use `symbol-function' inside `funcall'.
8322
8323 * net/tramp-compat.el (tramp-compat-file-attributes)
8324 (tramp-compat-delete-file, tramp-compat-delete-directory):
8325 Handle only `wrong-number-of-arguments' error.
8326
8327 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8328 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8329 inside `funcall'.
8330
8331 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8332
8333 * minibuffer.el (completion--sreverse, completion--common-suffix):
8334 New functions.
8335 (completion-pcm--merge-completions): Extract common suffix when safe.
8336
8337 * emacs-lisp/easy-mmode.el (define-minor-mode):
8338 Make :variable more flexible.
8339 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8340
8341 2010-05-05 Juri Linkov <juri@jurta.org>
8342
8343 Add `slow' and `history' tags to the desktop data.
8344
8345 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8346 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8347 (Info-finder-find-node): Require `finder.el' to be able
8348 to restore node from the desktop.
8349 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8350 data `Info-history' and `slow' tag in the assoc list.
8351 (Info-restore-desktop-buffer): Don't restore nodes with the
8352 `slow' tag. Restore `Info-history'.
8353
8354 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8355
8356 Add FORCE argument to `delete-file'.
8357
8358 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8359 forcing to delete the temporary file.
8360 (ange-ftp-delete-file): Add FORCE arg.
8361 (ange-ftp-rename-remote-to-remote)
8362 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8363 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8364 Force file deletion.
8365
8366 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8367
8368 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8369 (tramp-handle-make-symbolic-link, tramp-handle-load)
8370 (tramp-do-copy-or-rename-file-via-buffer)
8371 (tramp-do-copy-or-rename-file-directly)
8372 (tramp-do-copy-or-rename-file-out-of-band)
8373 (tramp-handle-process-file, tramp-handle-call-process-region)
8374 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8375 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8376 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8377
8378 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8379 (tramp-fish-handle-make-symbolic-link)
8380 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8381
8382 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8383 Use `tramp-compat-delete-file'.
8384
8385 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8386 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8387
8388 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8389 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8390
8391 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8392 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8393 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8394 Use `tramp-compat-delete-file'.
8395
8396 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8397
8398 Minor cleanups.
8399 * subr.el (add-minor-mode): Use push.
8400 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8401 * emulation/edt.el (edt-select-mode): Simplify.
8402
8403 Use define-minor-mode in more cases.
8404 * term/tvi970.el (tvi970-set-keypad-mode):
8405 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8406 (normal-erase-is-backspace-mode):
8407 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8408 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8409 (get-scroll-bar-mode): New function.
8410 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8411
8412 Use define-minor-mode for less obvious cases.
8413 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8414 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8415 * international/iso-ascii.el (iso-ascii-mode):
8416 * frame.el (auto-raise-mode, auto-lower-mode):
8417 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8418
8419 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8420
8421 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8422 in order to see error messages for failed logins.
8423
8424 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8425
8426 * diff.el (diff-sentinel):
8427
8428 * epg.el (epg--make-temp-file, epg-decrypt-string)
8429 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8430
8431 * jka-compr.el (jka-compr-partial-uncompress)
8432 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8433
8434 * server.el (server-sentinel): Use delete-file's new FORCE arg
8435 (Bug#6070).
8436
8437 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 Use define-minor-mode where applicable.
8440 * view.el (view-mode):
8441 * type-break.el (type-break-query-mode)
8442 (type-break-mode-line-message-mode):
8443 * textmodes/reftex.el (reftex-mode):
8444 * term/vt100.el (vt100-wide-mode):
8445 * tar-mode.el (tar-subfile-mode):
8446 * savehist.el (savehist-mode):
8447 * ibuf-ext.el (ibuffer-auto-mode):
8448 * composite.el (auto-composition-mode):
8449 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8450 Use define-minor-mode.
8451 (vhdl-mode): Use static mode-line format.
8452 (vhdl-mode-line-update): Delete.
8453 (vhdl-create-mode-menu, vhdl-activate-customizations)
8454 (vhdl-hs-minor-mode): Don't bother calling it.
8455
8456 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * simple.el (with-wrapper-hook): Move.
8459 (buffer-substring-filters): Mark obsolete.
8460 (filter-buffer-substring-functions): New variable.
8461 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8462
8463 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8464 Michael Albinus <michael.albinus@gmx.de>
8465
8466 Implement compression for inline methods.
8467
8468 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8469 (tramp-copy-size-limit): Allow also nil.
8470 (tramp-inline-compress-commands): New defconst.
8471 (tramp-find-inline-compress, tramp-get-inline-compress)
8472 (tramp-get-inline-coding): New defuns.
8473 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8474 replaced by `tramp-get-inline-coding'.
8475 (tramp-handle-file-local-copy, tramp-handle-write-region)
8476 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8477
8478 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8479
8480 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8481 Remove unused functions.
8482
8483 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8484 Set find-tag-default-function as a variable rather than a property.
8485
8486 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8487 * progmodes/etags.el (tags-completion-at-point-function):
8488 Remove left over interactive spec. Add autoloading stub.
8489 (complete-tag): Use tags-completion-at-point-function.
8490
8491 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8492
8493 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8494
8495 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8496
8497 * ido.el (ido-init-completion-maps): Remove C-v binding.
8498 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8499
8500 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8501
8502 * minibuffer.el (tags-completion-at-point-function): New function.
8503 (completion-at-point-functions): Use it.
8504
8505 * progmodes/etags.el (complete-tag): Revert last change.
8506
8507 2010-04-29 Alan Mackenzie <acm@muc.de>
8508
8509 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8510 off-by-one error (in end of macro position).
8511
8512 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8515 firefox is absent. Don't autoload.
8516 (browse-url-galeon-program): Don't autoload.
8517
8518 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8519
8520 * bindings.el (complete-symbol): Move into minibuffer.el.
8521
8522 * minibuffer.el (complete-tag): Move from etags.el. If tags
8523 completion cannot be performed, return nil instead of signalling
8524 an error.
8525 (completion-at-point): Make it an alias for complete-symbol.
8526 (complete-symbol): Move from bindings.el, and replace with the
8527 body of completion-at-point.
8528
8529 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8530
8531 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8532
8533 * net/tramp.el (tramp-remote-selinux-p): New defun.
8534 (tramp-handle-file-selinux-context)
8535 (tramp-handle-set-file-selinux-context): Use it.
8536
8537 2010-04-28 Sam Steingold <sds@gnu.org>
8538
8539 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8540 `safe-local-variable' if the value is a string or a symbol with
8541 the property `bug-reference-url-format'.
8542
8543 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8544
8545 * progmodes/bug-reference.el (bug-reference-url-format):
8546 Revert 2010-04-27 change due to security risk.
8547
8548 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 Make it possible to locally disable a globally enabled mode.
8551 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8552 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8553 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8554 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8555 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8556 that subsequent hooks get a chance to disable it.
8557
8558 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8559
8560 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8561 Avoid re-enabling a minor mode after the user turned the minor mode
8562 off if MODE-enable-in-buffers is run twice (typically once from
8563 fundamental-mode's after-change-major-mode-hook and a second time from
8564 run-mode-hook's own after-change-major-mode-hook).
8565
8566 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8567
8568 2010-04-27 Sam Steingold <sds@gnu.org>
8569
8570 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8571 `safe-local-variable' if the value is a string or a function, as
8572 documented and implemented on 2010-04-02.
8573
8574 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8575
8576 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8577 when method is 'kill.
8578
8579 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8580
8581 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8582 condition in default directory check.
8583 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8584 Kill ispell process when killing its associated buffer.
8585
8586 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8587
8588 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8589 but we aren't using it.
8590
8591 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8592
8593 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8594 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8595
8596 2010-04-24 Glenn Morris <rgm@gnu.org>
8597
8598 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8599 Ignore VCS-ignore files, and deleted nextstep preferences files.
8600 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8601 (authors-ambiguous-files): New list.
8602 (authors-valid-file-names): Add some deleted files.
8603 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8604 (authors-disambiguate-file-name): New function. (Bug#5501)
8605 (authors-canonical-file-name): Doc fix.
8606 Don't warn about obsolete files.
8607 (authors-canonical-file-name, authors-scan-el):
8608 Use authors-disambiguate-file-name.
8609
8610 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8611 Add autoload cookies.
8612 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8613 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8614 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8615 They have definitions / compiler macros in cl.el.
8616 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8617 Replace manual autoloads with generated ones.
8618 (htmlfontify-unload-rgb-file): Remove autoload.
8619 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8620
8621 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8624 (byte-compile-setq-default): Optimize for the
8625 single-var case and don't call byte-compile-form in this case to avoid
8626 inf-loop with byte-compile-set-default.
8627
8628 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8629
8630 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8631
8632 Implement SELINUX backends.
8633
8634 * net/tramp.el (tramp-file-name-handler-alist):
8635 Add `file-selinux-context' and `set-file-selinux-context'.
8636 (tramp-handle-file-selinux-context)
8637 (tramp-handle-set-file-selinux-context): New defuns.
8638 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8639 Handle PRESERVE-SELINUX-CONTEXT.
8640
8641 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8642 Add `file-selinux-context' and `set-file-selinux-context'.
8643 (tramp-gvfs-handle-file-selinux-context)
8644 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8645 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8646
8647 * net/ange-ftp.el (ange-ftp-copy-file):
8648 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8649 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8650 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8651 Add PRESERVE-SELINUX-CONTEXT.
8652
8653 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8654
8655 Synchronize with Tramp repository.
8656
8657 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8658 (tramp-action-process-alive, tramp-action-out-of-band)
8659 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8660 (tramp-exists-file-name-handler): Fix docstring.
8661 (with-progress-reporter): New defmacro.
8662 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8663 (tramp-maybe-open-connection): Use it.
8664
8665 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8666
8667 Detect ssh 'ControlMaster' argument automatically in some cases.
8668
8669 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8670 (tramp-default-method): Use it.
8671
8672 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8673
8674 * net/tramp.el (tramp-handle-copy-file): Add new optional
8675 parameter `preserve-selinux-context'.
8676 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8677
8678 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8679
8680 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8681 Ensure, that non remote files are still checked. Oops.
8682
8683 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8684
8685 Fix Bug#5840.
8686
8687 * icomplete.el (icomplete-completions): Use `non-essential'.
8688
8689 * net/tramp.el (tramp-connectable-p): New defun.
8690 (tramp-handle-expand-file-name)
8691 (tramp-completion-handle-file-name-all-completions)
8692 (tramp-completion-handle-file-name-completion): Use it.
8693
8694 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8697
8698 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8699
8700 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8701
8702 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8703
8704 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8705 is present.
8706
8707 * info.el (info-tool-bar-map): Add labels.
8708
8709 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8710
8711 * cus-edit.el (custom-commands): Add labels for tool bar.
8712 (custom-buffer-create-internal, Custom-mode): Adjust for
8713 labels in custom-commands.
8714
8715 * dynamic-setting.el: Renamed from font-setting.el.
8716
8717 2010-04-21 John Wiegley <jwiegley@gmail.com>
8718
8719 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8720 toggles the use of virtual buffers.
8721 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8722 (ido-toggle-virtual-buffers): New function.
8723
8724 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8725
8726 Use `define-derived-mode'; fix window selection; doc fixes.
8727 * play/tetris.el (tetris, tetris-update-speed-function)
8728 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8729 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8730 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8731 (tetris-pause-game): Fix typos in docstrings.
8732 (tetris-mode-map, tetris-null-map):
8733 Move initialization into declaration.
8734 (tetris-mode): Define with `define-derived-mode';
8735 set show-trailing-whitespace to nil.
8736 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8737
8738 2010-04-21 Karel Klíč <kklic@redhat.com>
8739
8740 * files.el (backup-buffer): Handle SELinux context, and return it
8741 if a backup was made by renaming.
8742 (backup-buffer-copy): Set SELinux context to the target file.
8743 (basic-save-buffer): Set SELinux context of the newly written file.
8744 (basic-save-buffer-1): Now it also returns any SELinux context.
8745 (basic-save-buffer-2): Set SELinux context of the newly created file,
8746 and return it.
8747 * net/tramp.el (tramp-file-name-for-operation):
8748 Add file-selinux-context.
8749
8750 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8751
8752 Make the log-edit comments use RFC822 format throughout.
8753
8754 * vc.el (vc-checkin, vc-modify-change-comment):
8755 Adjust to new vc-start/finish-logentry.
8756 (vc-find-conflicted-file): New command.
8757 (vc-transfer-file): Adjust to new vc-checkin.
8758 (vc-next-action): Improve scoping.
8759
8760 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8761 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8762
8763 * vc-git.el (vc-git-log-edit-mode): Remove.
8764 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8765 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8766
8767 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8768 (vc-start-logentry): Remove argument `extra'.
8769 (vc-finish-logentry): Remove extra args.
8770
8771 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8772 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8773 (vc-bzr-conflicted-files): New function.
8774
8775 * log-edit.el (log-edit-extra-flags)
8776 (log-edit-before-checkin-process): Remove.
8777 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8778 (log-edit-headers-alist): New var.
8779 (log-edit-header-contents-regexp): New const.
8780 (log-edit-match-to-eoh): New function.
8781 (log-edit-font-lock-keywords): Use them.
8782 (log-edit): Insert a "Summary:" header as default.
8783 (log-edit-mode): Mark font-lock rules as case-insensitive.
8784 (log-edit-done): Cleanup headers.
8785 (log-view-process-buffer): Remove.
8786 (log-edit-extract-headers): New function to replace it.
8787
8788 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8789
8790 * subr.el (default-direction-reversed): Remove obsolescence info.
8791
8792 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8795 windows/frames.
8796
8797 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8798 I.e. include text after point in the completion region.
8799 Also, return nil when we're not after/in a symbol.
8800
8801 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8802 default enable-multibyte-characters.
8803
8804 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8805
8806 * international/mule.el: Help the user choose a valid coding-system.
8807 (read-buffer-file-coding-system): New function.
8808 (set-buffer-file-coding-system): Use it. Prompt the user if the
8809 coding-system cannot encode all the chars.
8810
8811 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8812 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8813 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8814 Don't use *vc-bzr-shelve*.
8815
8816 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8817
8818 Fix the version number for added files.
8819 * vc-hg.el (vc-hg-working-revision): Check if the file is
8820 registered after hg parent fails (Bug#5961).
8821
8822 2010-04-19 Glenn Morris <rgm@gnu.org>
8823
8824 * htmlfontify.el (htmlfontify-buffer)
8825 (htmlfontify-copy-and-link-dir): Autoload entry points.
8826
8827 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8828
8829 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8830 name relative to the project root (Bug#5960).
8831
8832 2010-04-19 Glenn Morris <rgm@gnu.org>
8833
8834 * vc-git.el (vc-git-print-log): Doc fix.
8835
8836 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8837
8838 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8839
8840 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8841
8842 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8843 default settings (Bug#5928).
8844
8845 2010-04-19 Glenn Morris <rgm@gnu.org>
8846
8847 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8848 New function.
8849 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8850
8851 2010-04-19 Kenichi Handa <handa@m17n.org>
8852
8853 * language/indian.el (malayalam-composable-pattern): Fix previous
8854 change (add U+0D4D "SIGN VIRAMA").
8855 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8856 (tamil-composable-pattern): Fix typo in the regexp.
8857 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8858 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8859 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8860
8861 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8862
8863 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8864 paragraph-separate (Bug#5821).
8865
8866 2010-04-19 Juri Linkov <juri@jurta.org>
8867
8868 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8869
8870 * info.el (Info-find-node-2): Comment out code that skips
8871 breadcrumbs line.
8872 (Info-mouse-follow-link): New command.
8873 (Info-link-keymap): New keymap.
8874 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8875 Return a string with links instead of inserting breadcrumbs
8876 to the Info buffer.
8877 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8878 Instead of putting the `invisible' text property over the Info
8879 header, make an overlay over the Info header with the `invisible'
8880 property and `after-string' set to the string returned by
8881 `Info-breadcrumbs'.
8882
8883 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8884
8885 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8886 Reported by monkey@sandpframing.com.
8887
8888 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8891 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8892 available in the "keyseq cache" any more.
8893
8894 * custom.el (defcustom): Add edebug spec.
8895
8896 2010-04-18 Juri Linkov <juri@jurta.org>
8897
8898 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8899
8900 * view.el (view-file, view-buffer): Move test for special mode-class
8901 from view-file to view-buffer.
8902
8903 * tar-mode.el (tar-extract): Turn if's into one cond
8904 like in arc-mode.el.
8905
8906 2010-04-18 Juri Linkov <juri@jurta.org>
8907
8908 Add 7z archive format support (bug#5475).
8909
8910 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8911 (archive-7z-extract): New defcustom.
8912 (archive-find-type): Add magic string for 7z.
8913 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8914 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8915 `buffer' arg of `call-process'.
8916 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8917 call the function `archive-7z-extract' with the variable
8918 `archive-7z-extract' let-bound to `archive-zip-extract'.
8919 (archive-7z-summarize, archive-7z-extract): New functions.
8920
8921 * international/mule.el (auto-coding-alist):
8922 * files.el (auto-mode-alist): Add 7z file extension.
8923
8924 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * loadup.el: Setup hash-cons for pure data.
8927
8928 Fix duplicate entries in cedet's loaddefs.el files.
8929 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8930 Should make most file-local generated-autoload-file unnecessary.
8931 (print-readably): Silence warnings.
8932 (autoload-find-destination): Take load-name as an arg to make sure
8933 it's the same as the one that will be in the file.
8934 (autoload-generate-file-autoloads): Adjust to above changes.
8935 Try to make the dataflow a bit simpler.
8936
8937 * cvs-status.el (cvs-refontify): Remove unused.
8938
8939 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8940
8941 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8942
8943 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8944 twos-complement mode.
8945
8946 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8947
8948 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8949 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8950 (calc-inverse): Add "Option" to message, as appropriate.
8951 (calc-hyperbolic): Add "Option" to message, as appropriate.
8952 (calc-option, calc-is-option): New functions.
8953
8954 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8955 (calc-option-prefix-help): New function.
8956
8957 * calc/calc-misc.el (calc-help): Add "Option" entry.
8958
8959 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8960 (calc-option-flag): New variable.
8961 (calc-do): Set `calc-option-flag to nil.
8962 (calc-set-mode-line): Add "Opt " as appropriate.
8963
8964 2010-04-16 Juri Linkov <juri@jurta.org>
8965
8966 Move scrolling commands from simple.el to window.el
8967 because their primitives are implemented in window.c.
8968
8969 * simple.el (scroll-error-top-bottom)
8970 (scroll-up-command, scroll-down-command, scroll-up-line)
8971 (scroll-down-line, scroll-other-window-down)
8972 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8973 * window.el (scroll-error-top-bottom)
8974 (scroll-up-command, scroll-down-command, scroll-up-line)
8975 (scroll-down-line, scroll-other-window-down)
8976 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8977 Move from simple.el to window.el because their primitives are
8978 implemented in window.c.
8979
8980 2010-04-16 Juri Linkov <juri@jurta.org>
8981
8982 * isearch.el (isearch-lookup-scroll-key): Check both
8983 `isearch-scroll' and `scroll-command' properties.
8984 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8985
8986 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8987
8988 * simple.el (scroll-up-command, scroll-down-command)
8989 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8990
8991 2010-04-15 Juri Linkov <juri@jurta.org>
8992
8993 * simple.el (scroll-up-command, scroll-down-command)
8994 (scroll-up-line, scroll-down-line): Put `scroll-command'
8995 property on the these symbols. Remove them from
8996 `scroll-preserve-screen-position-commands'.
8997
8998 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8999 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9000 Remove it from `scroll-preserve-screen-position-commands'.
9001
9002 * isearch.el (isearch-allow-scroll): Doc fix.
9003
9004 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9005
9006 * net/tramp.el (tramp-error-with-buffer): Don't show the
9007 connection buffer when we are in completion mode.
9008 (tramp-file-name-handler): Catch the error for some operations
9009 when we are in completion mode. This gives the user the chance to
9010 correct the file name in the minibuffer.
9011
9012 2010-04-15 Glenn Morris <rgm@gnu.org>
9013
9014 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9015
9016 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9017
9018 Simplify by using `define-derived-mode'.
9019 * info.el (Info-mode):
9020 * calendar/todo-mode.el (todo-mode):
9021 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9022 (gomoku-mode-map): Move initialization into declaration.
9023
9024 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9025
9026 Fix Bug#5840.
9027 * ido.el (ido-file-name-all-completions-1):
9028 * minibuffer.el (minibuffer-completion-help):
9029 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9030
9031 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9032
9033 * simple.el (non-essential): New var.
9034
9035 Add a new field `location' to bookmarks for non-file bookmarks.
9036 * bookmark.el (bookmark-location): Use the new field, if present.
9037 (bookmark-insert-location): Undo last change, not needed any more.
9038 * man.el (Man-bookmark-make-record):
9039 * woman.el (woman-bookmark-make-record): Add `location' field.
9040
9041 2010-04-14 Juri Linkov <juri@jurta.org>
9042
9043 * simple.el (scroll-error-top-bottom): New defcustom.
9044 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9045
9046 * emulation/pc-select.el (pc-select-override-scroll-error):
9047 Obsolete in favor of `scroll-error-top-bottom'.
9048
9049 2010-04-14 Juri Linkov <juri@jurta.org>
9050
9051 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9052 `scroll-up-command' and `M-v' to `scroll-down-command'.
9053
9054 * emulation/cua-rect.el (cua--init-rectangles):
9055 * forms.el (forms--change-commands):
9056 * image-mode.el (image-mode-map):
9057 Remap scroll-down-command and scroll-up-command
9058 in addition to scroll-down and scroll-up.
9059
9060 2010-04-14 Juri Linkov <juri@jurta.org>
9061
9062 * mwheel.el (scroll-preserve-screen-position-commands):
9063 Add mwheel-scroll to this list of commands.
9064
9065 * simple.el (scroll-preserve-screen-position-commands):
9066 Add scroll-up-command, scroll-down-command, scroll-up-line,
9067 scroll-down-line to this list of commands.
9068
9069 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9070
9071 * obsolete/complete.el: Move from lisp/complete.el.
9072
9073 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9074
9075 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9076 to the minor mode function now turns the mode ON unconditionally.
9077
9078 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * vc-dir.el (vc-dir-kill-line): New command.
9081 (vc-dir-mode-map): Bind it to C-k.
9082
9083 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9084
9085 * woman.el: Add bookmark declarations to silence the compiler.
9086 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9087 step to compatibility between man and woman bookmarks.
9088 Adjust for Man-default-bookmark-title renaming.
9089 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9090
9091 * man.el: Add bookmark declarations to silence the compiler.
9092 (Man-name-local-regexp): Make it match NAME as well.
9093 (Man-getpage-in-background): Return the buffer.
9094 (Man-notify-when-ready): Use `case'.
9095 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9096 Don't hardcode "NAME". Simplify.
9097 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9098 Rename from Man-bookmark-make-record.
9099 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9100 we have the actual man-args. Use Man-getpage-in-background rather
9101 than `man' since the arg is already processed. Let bookmark.el do the
9102 window handling. Only wait for the relevant process.
9103 Don't forget to autoload.
9104
9105 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9106
9107 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9108
9109 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9110 New functions.
9111 (woman-mode): Setup bookmark support.
9112
9113 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9114 (man-bookmark-jump): New functions.
9115 (Man-mode): Setup bookmark support.
9116
9117 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9118
9119 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9120 recognize ssh-keygen prompt (Bug#2817).
9121
9122 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9123
9124 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9125
9126 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9127
9128 Synchronize with Tramp repository.
9129
9130 * net/tramp.el (tramp-completion-function-alist)
9131 (tramp-file-name-regexp, tramp-chunksize)
9132 (tramp-local-coding-commands, tramp-remote-coding-commands):
9133 Fix docstring.
9134 (tramp-remote-process-environment): Use `format' instead of `concat'.
9135 (tramp-handle-directory-files-and-attributes)
9136 (tramp-get-remote-path): Use `copy-tree'.
9137 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9138 compatibility: Use `completion-ignore-case' if
9139 `read-file-name-completion-ignore-case' does not exist.
9140 (tramp-do-copy-or-rename-file-directly): Do not use
9141 `tramp-handle-file-remote-p'.
9142 (tramp-do-copy-or-rename-file-out-of-band):
9143 Use `tramp-compat-delete-directory'.
9144 (tramp-do-copy-or-rename-file-out-of-band)
9145 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9146 Use `format-spec-make'.
9147 (tramp-find-foreign-file-name-handler)
9148 (tramp-advice-make-auto-save-file-name)
9149 (tramp-set-auto-save-file-modes): Remove superfluous check for
9150 `stringp'. This is done inside `tramp-tramp-file-p'.
9151 (tramp-debug-outline-regexp): New defconst.
9152 (tramp-get-debug-buffer): Use it.
9153 (tramp-check-for-regexp): Use (forward-line 1).
9154 (tramp-set-auto-save-file-modes): Adapt version check.
9155
9156 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9157 Wrap call of `featurep' for 2nd argument.
9158 (tramp-compat-make-temp-file): Simplify fallback implementation.
9159 (tramp-compat-copy-tree): Remove function.
9160 (tramp-compat-delete-directory): Provide implementation for older
9161 Emacsen.
9162
9163 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9164 Do not use `tramp-fish-handle-file-attributes.
9165
9166 * net/trampver.el: Update release number.
9167
9168 2010-04-10 Glenn Morris <rgm@gnu.org>
9169
9170 * progmodes/compile.el (compilation-save-buffers-predicate):
9171 Add missing :version tag.
9172
9173 2010-04-09 Sam Steingold <sds@gnu.org>
9174
9175 * progmodes/compile.el (compilation-save-buffers-predicate):
9176 Remove the "autoload" cookie.
9177
9178 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9179 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9180 and `bug-reference-prog-mode' can be used in hooks directly.
9181
9182 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9183
9184 Add --author support to git commit.
9185 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9186 (vc-git-log-edit-mode): New minor mode.
9187 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9188 New declarations.
9189
9190 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9191
9192 * vc-hooks.el, vc-git.el: Improve documentation comments.
9193
9194 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 Fix some of the problems in defsubst* (bug#5728).
9197 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9198 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9199
9200 2010-04-07 Sam Steingold <sds@gnu.org>
9201
9202 * progmodes/compile.el (compilation-save-buffers-predicate):
9203 New custom variable.
9204 (compile, recompile): Pass it to `save-some-buffers'.
9205
9206 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9207
9208 * wid-edit.el (widget-choose): Move cursor to the second line of
9209 the buffer (Bug#5695).
9210
9211 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9212
9213 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9214 * vc.el (vc-print-log-setup-buttons): New function split out from
9215 vc-print-log-internal.
9216 (vc-log-internal-common): New function, a parametrized version of
9217 vc-print-log-internal.
9218 (vc-print-log-internal): Just call vc-log-internal-common with the
9219 right arguments.
9220 (vc-incoming-outgoing-internal):
9221 (vc-log-incoming, vc-log-outgoing): New functions.
9222 (vc-log-view-type): New permanent local variable.
9223
9224 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9225
9226 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9227 of the dynamic bound vc-short-log.
9228 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9229
9230 * vc-git.el (vc-git-log-outgoing): New function.
9231 (vc-git-log-view-mode): Use vc-log-view-type instead
9232 of the dynamic bound vc-short-log.
9233
9234 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9235 of the dynamic bound vc-short-log. Highlight the tag.
9236 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9237 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9238 (vc-hg-incoming-mode): Remove.
9239 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9240
9241 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9242
9243 Fix default-directory for vc-root-diff.
9244 * vc.el (vc-root-diff): Bind default-directory to the root
9245 directory for the diff command.
9246
9247 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9248
9249 * progmodes/verilog-mode.el (verilog-forward-sexp):
9250 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9251 word keywords, suggested by Steve Pearlmutter.
9252 (verilog-pretty-declarations): Support lineup of declarations in
9253 port lists.
9254 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9255 fix bug for /* / comments.
9256 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9257 Speed up and simplfy as this is never called with a bound.
9258 (verilog-pretty-declarations): Enhance to line up declarations
9259 inside a parameter list, suggested by Alan Morgan.
9260 (verilog-pretty-expr): Tune assignment regular expression match
9261 string for corner cases; also use markers instead of character
9262 number as indent changes the later.
9263
9264 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9265
9266 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9267 as missing keyword.
9268 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9269 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9270 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9271 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9272 Tennant.
9273 (verilog-keywords):
9274 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9275 1800-2009 keywords, including "global.".
9276
9277 2010-04-06 John Wiegley <jwiegley@gmail.com>
9278
9279 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9280 appearing in buffer list (if a live buffer name matched a recentf
9281 file basename). Should use uniquify to offer a real solution.
9282
9283 2010-04-06 John Wiegley <jwiegley@gmail.com>
9284
9285 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9286 comment to code, and add a :version tag.
9287 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9288
9289 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9290
9291 Enable recentf-mode if using virtual buffers.
9292 * ido.el (recentf-list): Declare for byte-compiler.
9293 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9294 (ido-make-buffer-list): Simplify.
9295 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9296
9297 2010-04-05 Juri Linkov <juri@jurta.org>
9298
9299 Scrolling commands which scroll a line instead of full screen.
9300 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9301
9302 * simple.el (scroll-up-line, scroll-down-line): New commands.
9303 Put property isearch-scroll=t on them.
9304
9305 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9306 Remove commands.
9307
9308 2010-04-05 Juri Linkov <juri@jurta.org>
9309
9310 Scrolling commands which do not signal errors at top/bottom.
9311 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9312
9313 * simple.el (scroll-up-command, scroll-down-command): New commands.
9314 Put property isearch-scroll=t on them.
9315
9316 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9317 `scroll-down-command' and [next] from `scroll-up' to
9318 `scroll-up-command'.
9319
9320 * emulation/cua-base.el: Put property CUA=move on
9321 `scroll-up-command' and `scroll-down-command'.
9322 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9323 and `scroll-down-command' to `cua-scroll-down'.
9324
9325 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9326
9327 * help.el (describe-mode): Return nil.
9328
9329 2010-04-04 John Wiegley <jwiegley@gmail.com>
9330
9331 * ido.el (ido-use-virtual-buffers): New variable to indicate
9332 whether "virtual buffer" support is enabled for IDO.
9333 (ido-virtual): Face used to indicate virtual buffers in the list.
9334 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9335 exists, but a virtual buffer of that name does (which would be why
9336 it was in the list), recreate the buffer by reopening the file.
9337 (ido-make-buffer-list): If virtual buffers are being used, call
9338 `ido-add-virtual-buffers-to-list' before the make list hook.
9339 (ido-virtual-buffers): New variable which contains a copy of the
9340 current contents of the `recentf-list', albeit pared down for the
9341 sake of speed, and with proper faces applied.
9342 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9343 create a list of "virtual buffers" to present to the user in
9344 addition to the currently open set. Note that this logic could
9345 get rather slow if that list is too large. With the default
9346 `recentf-max-saved-items' of 200, there is little speed penalty.
9347
9348 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9349
9350 * font-lock.el: Require CL when compiling.
9351 (font-lock-turn-on-thing-lock): Use `case'.
9352
9353 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9354
9355 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9356 Zaretskii.
9357
9358 2010-04-02 Juri Linkov <juri@jurta.org>
9359
9360 * ehelp.el (electric-help-orig-major-mode):
9361 New buffer-local variable.
9362 (electric-help-mode): Set it to original major-mode. Doc fix.
9363 (with-electric-help): Use `electric-help-orig-major-mode' instead
9364 of (default-value 'major-mode). Doc fix.
9365 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9366
9367 2010-04-02 Sam Steingold <sds@gnu.org>
9368
9369 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9370 `vc-hg-command' with a list of flags.
9371
9372 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9373 Also accept "patch" and "RFE".
9374 (bug-reference-fontify): `bug-reference-url-format' can also be a
9375 function to be able to handle the bug kind.
9376 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9377
9378 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9379
9380 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9381 value to fboundp, it may not be a symbol.
9382
9383 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9384
9385 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9386
9387 2010-03-31 Juri Linkov <juri@jurta.org>
9388
9389 * simple.el (next-line, previous-line): Re-throw a signal
9390 with `signal' instead of using `ding'.
9391 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9392
9393 2010-03-31 Juri Linkov <juri@jurta.org>
9394
9395 * simple.el (keyboard-escape-quit): Raise deselecting the active
9396 region higher than exiting the minibuffer.
9397 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9398
9399 2010-03-31 Juri Linkov <juri@jurta.org>
9400
9401 * image.el (image-animated-p): Use `image-metadata' instead of
9402 `image-extension-data'. Get GIF extenstion data from metadata
9403 property `extension-data'.
9404
9405 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 * simple.el (append-to-buffer): Simplify.
9408
9409 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9410
9411 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9412 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9413
9414 2010-03-31 Kenichi Handa <handa@m17n.org>
9415
9416 * language/sinhala.el (composition-function-table): Fix regexp for
9417 the new Unicode specification.
9418
9419 * language/indian.el (devanagari-composable-pattern)
9420 (tamil-composable-pattern, kannada-composable-pattern)
9421 (malayalam-composable-pattern): Adjust for the new Unicode
9422 specification.
9423 (bengali-composable-pattern, gurmukhi-composable-pattern)
9424 (gujarati-composable-pattern, oriya-composable-pattern)
9425 (telugu-composable-pattern): New variables to cope with the new
9426 Unicode specification. Use them in composition-function-table.
9427
9428 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9429
9430 Make tmm-menubar work for the Buffers menu again (bug#5726).
9431 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9432 vectors rather than cons cells, as used in menu-bar-update-buffers.
9433
9434 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9435
9436 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9437 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9438 electric punctuation for "{}();,:" (Bug#5586).
9439
9440 * mail/sendmail.el (mail-default-directory): Doc fix.
9441
9442 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9443
9444 * mail/sendmail.el (mail-default-directory): Doc fix.
9445
9446 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9447
9448 * subr.el (version-regexp-alist, version-to-list)
9449 (version-list-<, version-list-=, version-list-<=)
9450 (version-list-not-zero, version<, version<=, version=): Doc fix.
9451 (Bug#5744).
9452
9453 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9454
9455 * vc.el (vc-root-diff): Doc fix.
9456
9457 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9458
9459 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9460
9461 * simple.el (append-to-buffer): Fix last change.
9462
9463 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9464
9465 * simple.el (append-to-buffer): Ensure that point is preserved if
9466 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9467 (Bug#5749)
9468
9469 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9470
9471 * files.el (auto-mode-case-fold): Change default to t.
9472
9473 2010-03-30 Juri Linkov <juri@jurta.org>
9474
9475 * dired-x.el (dired-omit-mode): Doc fix.
9476
9477 2010-03-30 Juri Linkov <juri@jurta.org>
9478
9479 * replace.el (occur-accumulate-lines): Move occur-engine related
9480 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9481 to be located after `occur-engine'.
9482
9483 2010-03-30 Juri Linkov <juri@jurta.org>
9484
9485 Make occur handle multi-line matches cleanly with context.
9486 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9487
9488 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9489 (occur-engine): Add local variables `ret', `prev-after-lines',
9490 `prev-lines'. Use more arguments for `occur-context-lines'.
9491 Set first elem of its returned list to `data', and the second elem
9492 to `prev-after-lines'. Don't print the separator line.
9493 In the end, print remaining context after-lines.
9494 (occur-context-lines): Add new arguments `begpt', `endpt',
9495 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9496 after-lines of the previous match with before-lines of the
9497 current match and not overlap them. Return a list with two
9498 values: the output line and the list of context after-lines.
9499
9500 2010-03-30 Juri Linkov <juri@jurta.org>
9501
9502 * replace.el (occur-accumulate-lines): Fix a bug where the first
9503 context line at the beginning of the buffer was missing.
9504
9505 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9506
9507 * files.el: Make bidi-display-reordering safe variable for boolean
9508 values.
9509
9510 2010-03-29 Phil Hagelberg <phil@evri.com>
9511 Chong Yidong <cyd@stupidchicken.com>
9512
9513 * subr.el: Extend progress reporters to perform "spinning".
9514 (progress-reporter-update, progress-reporter-do-update):
9515 Handle non-numeric value arguments.
9516 (progress-reporter--pulse-characters): New var.
9517
9518 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9519
9520 * progmodes/compile.el (compilation-start): Fix regexp detection
9521 of initial cd command (Bug#5771).
9522
9523 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9524
9525 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9526
9527 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9528
9529 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9530 * progmodes/gdb-mi.el: Restore.
9531 * progmodes/gdb-ui.el: Remove.
9532 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9533
9534 2010-03-25 Glenn Morris <rgm@gnu.org>
9535
9536 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9537 all dired buffers, even tramp ones. (Bug#5755)
9538
9539 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 Add "union tags" in mpc.el.
9542 * mpc.el: Remove backward compatibility code.
9543 (mpc-browser-tags): Change default.
9544 (mpc--find-memoize-union-tags): New var.
9545 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9546 (mpc-cmd-find): Handle the case where the playlist does not exist.
9547 Handle union-tags.
9548 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9549 (mpc-cmd-add): Use mpc-cmd-flush.
9550 (mpc-tagbrowser-tag-name): New fun.
9551 (mpc-tagbrowser-buf): Use it.
9552 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9553
9554 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9555
9556 Misc cleanup.
9557 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9558 Use replace-regexp-in-string.
9559 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9560 (makefile-imake-mode-syntax-table): Move init into defvar.
9561 (makefile-mode): Use define-derived-mode.
9562
9563 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9564 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9565 not be present any more.
9566
9567 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9568
9569 * faces.el (set-face-attribute): Fix typo in docstring.
9570 (face-valid-attribute-values): Reflow docstring.
9571
9572 2010-03-24 Glenn Morris <rgm@gnu.org>
9573
9574 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9575
9576 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9577
9578 * indent.el (indent-for-tab-command): Doc fix.
9579
9580 2010-03-24 Alan Mackenzie <acm@muc.de>
9581
9582 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9583 Fix off-by-one error. Fixes bug #5747.
9584
9585 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9586
9587 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9588 (image-dired-read-comment): Doc fix.
9589
9590 * json.el (json-object-type, json-array-type, json-key-type)
9591 (json-false, json-null, json-read-number):
9592 * minibuffer.el (completion-in-region-functions):
9593 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9594 (cal-tex-cursor-week):
9595 * emacs-lisp/trace.el (trace-function):
9596 * eshell/em-basic.el (eshell/printnl):
9597 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9598 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9599 * obsolete/levents.el (allocate-event, event-key, event-object)
9600 (event-point, event-process, event-timestamp, event-to-character)
9601 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9602 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9603 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9604 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9605 (reftex-highlight-selection): Fix typos in docstrings.
9606
9607 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9608
9609 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9610
9611 2010-03-24 Glenn Morris <rgm@gnu.org>
9612
9613 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9614 2008-02-13 without comment; mark it obsolete.
9615 (rmail-highlight-headers): Use rmail-highlight-face once more.
9616
9617 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9618
9619 * woman.el (woman2-process-escapes): Only consume the newline if
9620 the filler character is on a line by itself (Bug#5729).
9621
9622 2010-03-24 Kenichi Handa <handa@m17n.org>
9623
9624 * language/indian.el (devanagari-composable-pattern): Add more
9625 consonants.
9626
9627 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9628
9629 * net/trampver.el: Update release number.
9630
9631 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9632
9633 * net/tramp.el (tramp-find-executable):
9634 Use `tramp-get-connection-buffer'. Make the regexp for checking
9635 output of "wc -l" more robust.
9636 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9637 (tramp-open-connection-setup-interactive-shell): Remove workaround
9638 for OpenSolaris bug, it is not needed anymore.
9639
9640 2010-03-24 Glenn Morris <rgm@gnu.org>
9641
9642 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9643
9644 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9645
9646 * files.el (auto-mode-alist): Accept more verilog file patterns.
9647
9648 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9649
9650 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9651
9652 2010-03-24 Glenn Morris <rgm@gnu.org>
9653
9654 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9655 log-edit-before-checkin-process.
9656
9657 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9658
9659 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9660
9661 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9662 (log-view-process-buffer, log-edit-extra-flags): Declare.
9663
9664 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9665
9666 2010-03-23 Sam Steingold <sds@gnu.org>
9667
9668 Fix bug#5620: recalculate all markers on compilation buffer
9669 modifications, not on file modifications.
9670 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
9671 variable: the buffer modification time, for buffers not associated with
9672 files.
9673 (compilation-mode): Create it.
9674 (compilation-filter): Update it.
9675 (compilation-next-error-function): Use it instead of
9676 `visited-file-modtime' for timestamp.
9677
9678 2010-03-23 Juri Linkov <juri@jurta.org>
9679
9680 Implement Occur multi-line matches.
9681 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9682
9683 * replace.el (occur): Doc fix.
9684 (occur-engine): Set `begpt' to the beginning of the first line.
9685 Set `endpt' to the end of the last match line. At first, count
9686 line numbers between `origpt' and `begpt'. Split out code from
9687 `out-line' variable to new let-bindings `match-prefix' and
9688 `match-str'. In `out-line' add non-numeric prefix to all
9689 non-first lines of multi-line matches. Finally, count lines
9690 between `begpt' and `endpt' and add to `lines'.
9691
9692 2010-03-23 Juri Linkov <juri@jurta.org>
9693
9694 * replace.el (occur-accumulate-lines, occur-engine):
9695 Use `occur-engine-line' instead of duplicate code.
9696 (occur-engine-line): New function created from duplicate code
9697 in `occur-accumulate-lines' and `occur-engine'.
9698
9699 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9700 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9701
9702 2010-03-23 Juri Linkov <juri@jurta.org>
9703
9704 * finder.el: Remove TODO tasks.
9705
9706 * info.el (Info-finder-find-node): Add node "all"
9707 with all package info. Handle a list of multiple keywords
9708 separated by comma.
9709 (info-finder): In interactive use with a prefix argument,
9710 use `completing-read-multiple' to read a list of keywords
9711 separated by comma.
9712
9713 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9714
9715 Add a new completion style `substring'.
9716 * minibuffer.el (completion-basic--pattern): New function.
9717 (completion-basic-try-completion, completion-basic-all-completions):
9718 Use it.
9719 (completion-substring--all-completions)
9720 (completion-substring-try-completion)
9721 (completion-substring-all-completions): New functions.
9722 (completion-styles-alist): New style `substring'.
9723
9724 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9725
9726 Get rid of .elc files after removal of the corresponding .el.
9727 * Makefile.in (compile-clean): New target.
9728 (compile-main): Use it.
9729
9730 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9731
9732 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9733 don't do make there. When compiling with separate object dir, there
9734 is no Makefile there.
9735
9736 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9737
9738 Get rid of the ELCFILES abomination, again.
9739 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9740 (all, compile): Don't call compile-last.
9741 (compile-main): Build the "elcfiles" list dynamically.
9742 (compile-targets): New (internal) target.
9743
9744 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9745
9746 * Makefile.in (top_srcdir): Define.
9747 (abs_top_builddir): Define.
9748 (srcdir): Don't append `/..'.
9749 (EMACS): Use ${abs_top_builddir}.
9750 (all, compile, compile-always, compile-last): Don't set emacswd.
9751 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9752 $(srcdir).
9753 (lisp): Use $(srcdir) instead of @srcdir@.
9754
9755 2010-03-21 Juri Linkov <juri@jurta.org>
9756
9757 Fix message of multi-line occur regexps and multi-buffer header lines.
9758 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9759
9760 * replace.el (occur-1): Don't display regexp if it is longer
9761 than window-width. Use `query-replace-descr' to display regexp.
9762 (occur-engine): Don't display regexp in the buffer header for
9763 multi-buffer occur. Display a separate header line with total
9764 match count and regexp for multi-buffer occur.
9765 Use `query-replace-descr' to display regexp.
9766
9767 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9768
9769 * net/secrets.el: Fix parenthesis.
9770 (secrets-enabled): Fix parenthesis.
9771
9772 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9773
9774 Use more relative file and directory names.
9775 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9776 (setwins, setwins_almost, setwins_for_subdirs):
9777 Don't `cd'; output relative names.
9778 (all, compile, compile-always, compile-last): Set emacswd.
9779 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9780 Just cd to the lisp source dir so we can use relative file names.
9781
9782 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9783
9784 2010-03-20 Glenn Morris <rgm@gnu.org>
9785
9786 * textmodes/rst.el: Use faces for font-lock customization, and make the
9787 old -face variables obsolete.
9788 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9789 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9790 (rst-block-face, rst-external-face, rst-definition-face)
9791 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9792 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9793 Make obsolete.
9794 (rst-font-lock-keywords-function): Update for above changes.
9795
9796 2010-03-20 Juri Linkov <juri@jurta.org>
9797
9798 * s-region.el:
9799 * obsolete/s-region.el: Move to obsolete.
9800
9801 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9802
9803 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9804
9805 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9806
9807 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9808
9809 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9810
9811 Add special markup processing for commit logs.
9812 * log-edit.el (log-edit-extra-flags): New variable.
9813 (log-edit): Add new argument MODE. Use that mode when non-nil
9814 instead of the log-view-mode.
9815 (log-view-process-buffer): New function.
9816
9817 * vc.el: Document that the checkin method takes optional
9818 arguments. Document new backend specific method: log-view-mode.
9819 (vc-default-log-edit-mode): New function.
9820 (vc-checkin): Use a backend specific log-view-mode.
9821 Pass extra arguments to the checkin method.
9822 (vc-modify-change-comment): Pass a dummy extra argument.
9823
9824 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9825 log-edit.
9826 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9827 (vc-finish-logentry): Process the log buffer before passing it
9828 down. Pass log-edit-extra-flags.
9829
9830 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9831 command.
9832 (log-edit-extra-flags, log-edit-before-checkin-process):
9833 New declarations.
9834
9835 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9836 command.
9837 (log-edit-extra-flags, log-edit-before-checkin-process):
9838 New declarations.
9839 (vc-hg-log-edit-mode): New derived mode.
9840
9841 * vc-arch.el (vc-arch-checkin):
9842 * vc-cvs.el (vc-cvs-checkin):
9843 * vc-git.el (vc-git-checkin):
9844 * vc-mtn.el (vc-mtn-checkin):
9845 * vc-rcs.el (vc-rcs-checkin):
9846 * vc-sccs.el (vc-sccs-checkin):
9847 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9848
9849 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9850
9851 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9852 parent typo).
9853
9854 2010-03-19 Glenn Morris <rgm@gnu.org>
9855
9856 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9857
9858 2010-03-18 Glenn Morris <rgm@gnu.org>
9859
9860 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9861
9862 * replace.el (query-replace-history): Give it a doc string.
9863 (map-query-replace-regexp): Use query-replace-from-history-variable
9864 and query-replace-to-history-variable.
9865
9866 * mail/hashcash.el (declare-function): Remove duplicate definition.
9867
9868 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9869 Make it an obsolete alias for report-emacs-bug-address.
9870 (message-strip-special-text-properties): Declare.
9871 (report-emacs-bug): Remove test for a pretest bug address.
9872 Combine message-mode-specific code.
9873
9874 * mail/supercite.el: Don't require sendmail.
9875 (mh-in-header-p): Declare rather than using with-no-warnings.
9876 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9877 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9878
9879 * calendar/cal-french.el: Convert to utf-8.
9880
9881 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9882 Emacs scripts.
9883
9884 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9885
9886 * net/secrets.el (secrets-enabled): New variable. Use it instead
9887 of a subfeature.
9888
9889 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9890
9891 * net/secrets.el (top): Register the D-Bus signals only when the
9892 service "org.freedesktop.secrets" can be pinged.
9893 Provide subfeature `enabled'.
9894
9895 2010-03-14 Juri Linkov <juri@jurta.org>
9896
9897 Add finder unknown keywords.
9898
9899 * finder.el (finder-unknown-keywords): New function.
9900
9901 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9902 to create a Finder node with unknown keywords.
9903
9904 2010-03-14 Juri Linkov <juri@jurta.org>
9905
9906 * finder.el (finder-compile-keywords): Replace `princ' with
9907 `prin1' on a list of symbols interned from keyword strings.
9908
9909 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9910 a comma, then split keywords using a comma and optional whitespace.
9911 Otherwise, split by whitespace.
9912
9913 * complete.el:
9914 * face-remap.el:
9915 * log-view.el:
9916 * net/hmac-def.el:
9917 * net/hmac-md5.el:
9918 * net/netrc.el:
9919 * progmodes/mixal-mode.el: Fix keywords.
9920
9921 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9922
9923 * Makefile.in (ELCFILES): Add net/secrets.elc.
9924
9925 * net/secrets.el: New file.
9926
9927 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9928
9929 * facemenu.el (list-colors-display, list-colors-print): New arg
9930 callback. Use it to allow selecting colors.
9931
9932 * wid-edit.el (widget-image-insert): Insert image prop even if the
9933 current display is non-graphic.
9934 (widget-field-value-set): New fun.
9935 (editable-field): Use it.
9936 (widget-field-value-get): Clean up unused var.
9937 (widget-color-value-create, widget-color--choose-action):
9938 New funs. Allow using list-colors-display to choose color.
9939
9940 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9941
9942 * cus-edit.el: Resort topmost custom groups.
9943 (custom-buffer-sort-alphabetically): Default to t.
9944 (customize-apropos): Use apropos-parse-pattern.
9945 (custom-search-field): New var.
9946 (custom-buffer-create-internal): Add custom-apropos search field.
9947 (custom-add-parent-links): Don't display parent doc.
9948 (custom-group-value-create): Don't sort top-level custom group.
9949 (custom-magic-value-create): Show visibility button before option name.
9950
9951 (custom-variable-state): New fun, from custom-variable-state-set.
9952 (custom-variable-state-set): Use it.
9953 (custom-group-value-create): Hide options with standard values
9954 using the :hidden-states property. Use progress reporter.
9955
9956 (custom-show): Simplify.
9957 (custom-visibility): Disable images by default.
9958 (custom-variable): New property :hidden-states.
9959 (custom-variable-value-create): Enable images for
9960 custom-visibility widgets. Use :hidden-states property to
9961 determine initial visibility.
9962
9963 * wid-edit.el (widget-image-find): Give images center ascent.
9964 (visibility): Add :on-image and :off-image properties.
9965 (widget-visibility-value-create): Use them.
9966
9967 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9968
9969 * cus-edit.el (processes): Remove from development group.
9970 (oop, hypermedia): Delete group.
9971 (comm): Promote to top-level group.
9972
9973 * net/browse-url.el (browse-url):
9974 * net/xesam.el (xesam):
9975 * net/tramp.el (tramp):
9976 * net/goto-addr.el (goto-address):
9977 * net/ange-ftp.el (ange-ftp): Put in comm group.
9978
9979 * view.el (view): Remove from editing group.
9980
9981 * uniquify.el (uniquify): Put in files group.
9982
9983 * net/browse-url.el (browse-url):
9984 * ps-print.el (postscript): Put in external group.
9985
9986 * cus-edit.el (outlines):
9987 * textmodes/text-mode.el (text-mode-hook):
9988 * textmodes/table.el (table):
9989 * textmodes/picture.el (picture):
9990 * outline.el (outlines): Put in wp group.
9991
9992 * nxml/nxml-mode.el (nxml): Remove from wp group.
9993
9994 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9995
9996 * mail/metamail.el (metamail): Remove from hypermedia group.
9997
9998 * cus-edit.el (abbrev):
9999 * whitespace.el (whitespace):
10000 * vcursor.el (vcursor):
10001 * reveal.el (reveal):
10002 * hl-line.el (hl-line): Put in convenience group.
10003
10004 * epg-config.el (epg): Put in data group.
10005
10006 * emulation/pc-select.el (pc-select): Put in emulations group.
10007
10008 * calculator.el (calculator): Put in applications group.
10009
10010 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10011
10012 Add .dir-locals.el support for file-less buffers.
10013 * files.el (hack-local-variables): Split out code to apply local
10014 variable settings ...
10015 (hack-local-variables-apply): ... here. New function.
10016 (hack-dir-local-variables): Use the default directory for when the
10017 buffer does not have an associated file.
10018 (hack-dir-local-variables-non-file-buffer): New function.
10019 * diff-mode.el (diff-mode):
10020 * vc-annotate.el (vc-annotate-mode):
10021 * vc-dir.el (vc-dir-mode):
10022 * log-edit.el (log-edit-mode):
10023 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10024
10025 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10026
10027 Add support for shelving snapshots and for showing shelves.
10028 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10029 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10030 New functions.
10031 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10032 (vc-bzr-extra-menu-map): Map them.
10033
10034 2010-03-11 Glenn Morris <rgm@gnu.org>
10035
10036 * cus-edit.el (customize-changed-options-previous-release):
10037 Bump to 23.1.
10038
10039 * image.el (image-animate-max-time): Fix :version tag.
10040
10041 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10042
10043 * Branch for 23.2.
10044
10045 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10046
10047 * vc-git.el (vc-git-revision-table): Include remote branches.
10048
10049 2010-03-10 Kim F. Storm <storm@cua.dk>
10050
10051 Animated image API.
10052 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10053
10054 * image.el (image-animate-max-time): New defcustom.
10055 (image-animated-types): New defconst.
10056 (create-animated-image, image-animate-timer)
10057 (image-animate-start, image-animate-stop, image-animate-timeout)
10058 (image-animated-p): New functions.
10059
10060 * image-mode.el (image-toggle-display-image):
10061 Replace `create-image' with `create-animated-image'.
10062
10063 2010-03-09 Miles Bader <miles@gnu.org>
10064
10065 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10066 instead of "format:"; this ensures that the output is
10067 newline-terminated.
10068
10069 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10070
10071 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10072 that all errors are caught, and that the return value is always a
10073 list (Bug#5692).
10074
10075 2010-03-08 Kenichi Handa <handa@m17n.org>
10076
10077 * language/misc-lang.el (windows-1256): New coding system.
10078 (cp1256): New alias of windows-1256 (bug#5690).
10079
10080 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10081
10082 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10083 call to rfc822-bad-address. (Bug#5692)
10084
10085 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10086
10087 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10088 Use vc-git-root as default directory for revision path (Bug#5657).
10089
10090 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10091
10092 * calculator.el (calculator): Don't bind split-window-keep-point
10093 (Bug#5674).
10094
10095 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 * vc-git.el: Re-flow to fit into 80 columns.
10098 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10099 Remove spurious `quote' element in each case alternative.
10100 (vc-git-show-log-entry): Use prog1.
10101 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10102
10103 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10104
10105 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10106
10107 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10108
10109 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10110 definition, not the name (Bug#5481).
10111
10112 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10113
10114 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10115 argument with a local variable. (Bug#5670)
10116
10117 2010-03-02 Juri Linkov <juri@jurta.org>
10118
10119 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10120
10121 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10122
10123 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10124 error when FILENAME and NEWNAME are existing remote directories.
10125
10126 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10127 parameter DIR-FLAG.
10128
10129 2010-03-02 Glenn Morris <rgm@gnu.org>
10130
10131 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10132 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10133
10134 2010-03-01 Kenichi Handa <handa@m17n.org>
10135
10136 * language/burmese.el (burmese-composable-pattern): Rename from
10137 myanmar-composable-pattern.
10138
10139 * international/characters.el (script-list):
10140 * international/fontset.el (script-representative-chars):
10141 Change myanmar to burmese.
10142 (otf-script-alist): Likewise.
10143 (setup-default-fontset): Likewise. Re-fix :otf spec.
10144
10145 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10146
10147 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10148
10149 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10150
10151 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10152
10153 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10154
10155 * net/tramp.el (tramp-handle-write-region): START can be a string.
10156 Take care in the checks. Reported by Dan Davison
10157 <davison@stats.ox.ac.uk>.
10158
10159 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10160
10161 * net/dbus.el (dbus-introspect, dbus-get-property)
10162 (dbus-set-property, dbus-get-all-properties):
10163 Use `dbus-call-method' when noninteractive. (Bug#5645)
10164
10165 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10166
10167 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10168 * emacs-lisp/elint.el (elint-add-required-env):
10169 * calendar/icalendar.el (icalendar--add-diary-entry):
10170 * calc/calcalg2.el (math-tracing-integral):
10171 * files.el (recover-session-finish): Use with-current-buffer
10172 instead of save-excursion.
10173
10174 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10175
10176 Fix in-buffer completion when after-change-functions modify the buffer.
10177 * minibuffer.el (completion--replace): New function.
10178 (completion--do-completion): Use it and use relative movement.
10179
10180 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10181
10182 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10183
10184 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10185
10186 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10187 Allow the characters _<> in the stack entry (Bug#5653).
10188
10189 2010-02-26 Kenichi Handa <handa@m17n.org>
10190
10191 * language/burmese.el: Fix entries in composition-function-table.
10192 (myanmar-composable-pattern): New variable.
10193
10194 * international/fontset.el (setup-default-fontset): Add an entry
10195 for myanmar.
10196
10197 * international/characters.el (script-list): Add Myanmar
10198 Extended-A.
10199
10200 2010-02-26 Glenn Morris <rgm@gnu.org>
10201
10202 * custom.el (custom-initialize-delay): Doc fix.
10203
10204 * mail/sendmail.el (send-mail-function): Autoload the call
10205 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10206
10207 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10208
10209 * files.el (hack-local-variables-filter): For eval forms, also
10210 check safe-local-variable-p (Bug#5636).
10211
10212 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10213
10214 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10215 setting the modes by `ignore-errors'. It might fail, for example
10216 if the file is not owned by the user but the group.
10217 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10218
10219 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10220
10221 * files.el (directory-listing-before-filename-regexp):
10222 Use stricter matching for iso-style dates, to avoid false matches with
10223 date-like filenames (Bug#5597).
10224
10225 * htmlfontify.el (htmlfontify): Doc fix.
10226
10227 * eshell/eshell.el (eshell): Doc fix.
10228
10229 * startup.el (fancy-about-screen): In mode-line, apply
10230 mode-line-buffer-id face only to the buffer name (Bug#5613).
10231
10232 2010-02-20 Kevin Ryde <user42@zip.com.au>
10233
10234 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10235 In `watcom' anchor regexp to start of line, to avoid slowness
10236 (Bug#5599).
10237
10238 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10239
10240 * subr.el (remove-yank-excluded-properties): Explain in a comment
10241 why `category' property is removed.
10242
10243 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10244
10245 * isearch.el (isearch-update-post-hook, isearch-update):
10246 Revert 2010-02-17 change.
10247
10248 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10249
10250 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10251 (icalendar--convert-weekly-to-ical)
10252 (icalendar--convert-yearly-to-ical)
10253 (icalendar--convert-block-to-ical)
10254 (icalendar--convert-cyclic-to-ical)
10255 (icalendar--convert-anniversary-to-ical): Take care of time
10256 specifications where hour has 1-digit only (Bug#5549).
10257
10258 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10259
10260 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10261 of disassemble output in GDB 7.1.
10262
10263 2010-02-19 Glenn Morris <rgm@gnu.org>
10264
10265 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10266 property. (Bug#5593)
10267
10268 2010-02-18 Sam Steingold <sds@gnu.org>
10269
10270 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10271
10272 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 Use abbreviated file names in bookmarks (bug#5591).
10275 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10276 calls to expand-file-name.
10277 (bookmark-relocate): Use abbreviated file names in bookmarks.
10278 (bookmark-load): Use abbreviated file names in messages.
10279
10280 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10281
10282 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10283 expand "." and "..". Reported by Thierry Volpiatto
10284 <thierry.volpiatto@gmail.com>.
10285
10286 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10287
10288 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10289 permissions of the temporary file to "0600". In case the remote
10290 file has no read permissions for the owner, there might be
10291 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10292
10293 22010-02-18 Glenn Morris <rgm@gnu.org>
10294
10295 * emacs-lisp/authors.el (authors-renamed-files-alist):
10296 Add entries for INSTALL.CVS.
10297
10298 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10299
10300 * vc-bzr.el: Fix typo in Known Bugs section.
10301
10302 * isearch.el (isearch-update-post-hook): New hook.
10303 (isearch-update): Use the new hook.
10304
10305 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10306
10307 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10308 Fix errors in copying directories.
10309 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10310 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10311 (tramp-handle-delete-file)
10312 (tramp-handle-dired-recursive-delete-directory)
10313 (tramp-handle-write-region): Flush also the cache for the upper
10314 directory.
10315
10316 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10317
10318 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10319
10320 * cus-edit.el (hardware): Doc fix.
10321
10322 * man.el (man): Add to external custom group.
10323
10324 * delim-col.el (columns): Move to wp custom group.
10325
10326 * doc-view.el (doc-view): Add to data custom group.
10327
10328 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10329
10330 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10331 by ispell-parse-output (Bug#5575).
10332
10333 2010-02-16 Kenichi Handa <handa@m17n.org>
10334
10335 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10336 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10337 (skkdic-convert): Use `euc-japan' coding system for writing.
10338
10339 2010-02-16 Glenn Morris <rgm@gnu.org>
10340
10341 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10342 tex-main-file before using it. (Bug#5562)
10343
10344 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10345
10346 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10347 warnings, since it is annoying for the user to see them each time he
10348 runs the code.
10349
10350 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10351
10352 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10353 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10354 instead of PROC for caching "first-password-request". Otherwise,
10355 new processes would not profit from passwords already entered.
10356
10357 * net/tramp-cache.el (tramp-dump-connection-properties):
10358 Don't save "first-password-request" property.
10359
10360 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10361
10362 * outline.el (outline-head-from-level):
10363 * simple.el (with-wrapper-hook):
10364 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10365 (elint-defun, elint-buffer-env, elint-top-form-logged)
10366 (elint-unbound-variable):
10367 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10368 Fix typos in docstrings.
10369
10370 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10371
10372 * files.el (insert-directory): When WILDCARD-REGEXP and
10373 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10374 whole directory. (Bug#5551)
10375
10376 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10377 dired's alignment sanity. (Bug#5516)
10378
10379 2010-02-14 Juri Linkov <juri@jurta.org>
10380
10381 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10382 Remove remaining ^H with their preceding chars. (Bug#5566)
10383
10384 2010-02-13 Glenn Morris <rgm@gnu.org>
10385
10386 * simple.el (transpose-subr): Give it a doc-string.
10387
10388 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10389 Doc fixes.
10390
10391 2010-02-12 Juri Linkov <juri@jurta.org>
10392
10393 * arc-mode.el (archive-unique-fname): Make directories for nested
10394 archives. (Bug#5540)
10395
10396 2010-02-12 Juri Linkov <juri@jurta.org>
10397
10398 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10399
10400 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10401
10402 * subr.el (copy-overlay): Handle deleted overlays.
10403
10404 * man.el (Man-completion-table): Don't signal an error if we can't run
10405 manual-program (bug#4056).
10406
10407 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10408
10409 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10410
10411 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10412
10413 * info.el (Info-bookmark-jump): Simplify.
10414
10415 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10416 (bookmark-default-handler): Accept new bookmark field `buffer'.
10417
10418 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10419
10420 * iswitchb.el (iswitchb-completions): Revert last change.
10421
10422 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10423
10424 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10425 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10426 This prevents file names like "~/" being listed literally.
10427
10428 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10429
10430 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10431 Remove dead code. (Bug#5546)
10432
10433 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10434
10435 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10436 correctly (Bug#5548).
10437
10438 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10439
10440 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10441 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10442
10443 2010-02-08 Kenichi Handa <handa@m17n.org>
10444
10445 * international/mule-util.el (with-coding-priority): Add autoload
10446 cookie for putting `lisp-indent-function'.
10447
10448 2010-02-07 Glenn Morris <rgm@gnu.org>
10449
10450 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10451 Move F2003 named interfaces from keywords-2 to keywords-1, and
10452 use function-name-face rather than constant-face.
10453 Simplify "abstract interface" regexp.
10454
10455 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10456
10457 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10458 ID-FORMAT. Pass it to `file-attributes'.
10459
10460 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10461
10462 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10463
10464 * faces.el (set-face-attribute): Allow calling
10465 internal-set-lisp-face-attribute with 'unspecified family and
10466 foundry argument (Bug#5536).
10467
10468 2010-02-07 Glenn Morris <rgm@gnu.org>
10469
10470 * progmodes/f90.el (f90-font-lock-keywords-2)
10471 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10472 Handle F2003 named interfaces.
10473
10474 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10475
10476 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10477 beg and end before calling c-get-state-before-change-functions.
10478
10479 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10480
10481 * vc-bzr.el (vc-bzr-dir-extra-headers):
10482 Disable the pending merges header.
10483
10484 2010-02-05 Juri Linkov <juri@jurta.org>
10485
10486 * doc-view.el (doc-view-mode):
10487 * image-mode.el (image-mode): Put property mode-class=special.
10488 (Bug#4896)
10489
10490 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10491
10492 * vc-svn.el (vc-svn-revision-table): New function.
10493
10494 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10495
10496 * net/ange-ftp.el (ange-ftp-insert-directory):
10497 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10498 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10499 Handle also directories. (Bug#5478)
10500
10501 2010-02-05 Glenn Morris <rgm@gnu.org>
10502
10503 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10504
10505 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10506
10507 * startup.el (command-line-1): Convert options beginning with a
10508 single dash as well (Bug#5519).
10509
10510 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10511
10512 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10513 * minibuffer.el (completion-initials-expand): Only check the presence
10514 of delims *within* the boundaries, since otherwise the / delim is
10515 always found for files.
10516
10517 Fix up various corner case problems.
10518 * doc-view.el (doc-view-last-page-number): New function.
10519 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10520 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10521 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10522 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10523 (doc-view-convert-current-doc): Don't create the resolution.el file
10524 here any more.
10525 (doc-view-pdf/ps->png): Do it here instead.
10526 (doc-view-already-converted-p): Check that resolution.el is present.
10527 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10528 windows that are not yet showing images.
10529
10530 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10531
10532 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10533 `dired-uncache' for every elemnt which is an absolute file name.
10534
10535 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10536 directory, handle its directory component.
10537 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10538 function is called permanently and creates noise, otherwise.
10539
10540 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10541 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10542 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10543
10544 2010-02-04 David Burger <dburger@google.com> (tiny change)
10545
10546 * macros.el (apply-macro-to-region-lines):
10547 Minor simplification. (Bug#5485)
10548
10549 2010-02-04 Glenn Morris <rgm@gnu.org>
10550
10551 * mail/rmail.el (rmail-show-message-1): Handle malformed
10552 quoted-printable text. (Bug#5441)
10553
10554 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10555
10556 * simple.el (visual-line-mode): Capitalize lighter.
10557
10558 2010-02-03 John Wiegley <jwiegley@gmail.com>
10559
10560 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10561 list of files considered for "virtual buffer" completions.
10562
10563 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10564
10565 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10566 also in case of (and (not full) (not wildcard)). This is needed
10567 when dired is called with a list of files, which are not in
10568 `default-directory'. (Bug#5478)
10569
10570 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10573
10574 2010-02-02 Juri Linkov <juri@jurta.org>
10575
10576 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10577 from unidiff to allow function-line after @@.
10578
10579 2010-02-02 Juri Linkov <juri@jurta.org>
10580
10581 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10582 '(RCS SCCS) with inverted condition.
10583
10584 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10585
10586 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10587 messages.
10588
10589 2010-02-01 Juri Linkov <juri@jurta.org>
10590
10591 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10592 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10593 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10594 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10595
10596 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10599 (doc-view-revert-buffer): New command.
10600 (doc-view-mode-map): Use it.
10601
10602 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10603
10604 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10605 pending merge is detected.
10606
10607 2010-01-31 Juri Linkov <juri@jurta.org>
10608
10609 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10610 beginning of interactive spec like all other grep commands do.
10611 Put "all" in front of "gz". (Bug#5260)
10612
10613 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10614
10615 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10616
10617 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10618
10619 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10620 regexp is incorrect (Bug#5476).
10621
10622 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10623
10624 * net/tramp.el (tramp-handle-insert-directory): Handle also
10625 symlinks, when FILENAME is not in `default-directory'.
10626
10627 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10628
10629 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10630 FILE is not in `default-directory'. (Bug#5478)
10631
10632 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10633 of SWITCHES. Handle the case, FILENAME is not in
10634 `default-directory'. (Bug#5478)
10635 (tramp-register-file-name-handlers): Add safe-magic property.
10636
10637 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10638
10639 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10640 unzip (Bug#5475).
10641
10642 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10643
10644 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10645 (flymake-master-make-header-init): Add other C++ filename masks.
10646 (flymake-find-possible-master-files)
10647 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10648
10649 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10650
10651 Fix some busybox annoyances.
10652
10653 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10654 not responding." string.
10655 (tramp-open-connection-setup-interactive-shell): Dump stty
10656 settings. Enable "neveropen" arg for all `tramp-send-command'
10657 calls. Handle "=" in variable values properly.
10658 (tramp-find-inline-encoding): Raise an error, when no encoding is
10659 found.
10660 (tramp-wait-for-output): Check, whether PROC buffer is available.
10661 Remove spurious " ^H" sequences, sent by busybox.
10662 (tramp-get-ls-command): Suppress coloring, if possible.
10663
10664 2010-01-28 Glenn Morris <rgm@gnu.org>
10665
10666 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10667
10668 * log-edit.el (log-edit-strip-single-file-name): Add missing
10669 :safe, :group, and :version tags.
10670
10671 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10672
10673 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10674 buffers. (Bug#5477)
10675
10676 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10677
10678 * files.el (delete-directory): Handle moving to trash without
10679 first doing recursion (Bug#5436).
10680
10681 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10682
10683 * vc-hooks.el (vc-path): Mark as obsolete.
10684
10685 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10686
10687 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10688 names too.
10689
10690 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10691 for the short log.
10692 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10693
10694 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10695
10696 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10697
10698 * vc-bzr.el (vc-bzr-revision-table): New function.
10699
10700 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10701
10702 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10703 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10704
10705 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10706
10707 Remove support for adding --signoff on commit.
10708 Future support will use an incompatible generic mechanism.
10709 * vc-git.el (vc-git-add-signoff): Remove variable.
10710 (vc-git-toggle-signoff): Remove function.
10711 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10712
10713 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10714 Rename from xterm-set-background-mode. Return t if the background mode
10715 was set.
10716 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10717 earlier, call it again in case the background mode has changed.
10718
10719 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10720
10721 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10722 (Bug#3541).
10723
10724 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10725
10726 * emacs-lisp/assoc.el (aelement): Doc fix.
10727 (aput, adelete, amake): Use lexical-let (Bug#5450).
10728
10729 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10730
10731 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10732 is the same as subprogram call, not declaration. (Bug#5435).
10733
10734 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10735
10736 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10737 (tramp-smb-maybe-open-connection): Use it.
10738
10739 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10740
10741 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10742
10743 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10744
10745 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10746 just because we see "encoding: 8bit".
10747 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10748
10749 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10750
10751 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10752
10753 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10754
10755 * jka-compr.el (jka-compr-load): If load-file is not in
10756 load-history, try its file-truename version. (bug#5447)
10757
10758 2010-01-21 Alan Mackenzie <acm@muc.de>
10759
10760 Fix a situation where deletion of a cpp construct throws an error.
10761 * progmodes/cc-engine.el (c-invalidate-state-cache):
10762 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10763 special cpp construct is still in the buffer.
10764 (c-parse-state): Record the special cpp with markers, not numbers.
10765
10766 2010-01-21 Kenichi Handa <handa@m17n.org>
10767
10768 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10769 process last-command-event, as it is now decoded first (Bug#5380).
10770
10771 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10772
10773 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10774
10775 2010-01-20 Glenn Morris <rgm@gnu.org>
10776
10777 * indent.el (tab-always-indent): Fix custom-type.
10778
10779 2010-01-19 Alan Mackenzie <acm@muc.de>
10780
10781 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10782 buffer throws "args out of range".
10783 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10784 playing the role of delimiter.
10785
10786 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10787
10788 * progmodes/ada-mode.el: Fix bug#5400.
10789 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10790 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10791 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10792 Improve comments in "is" portion. Handle null procedure declaration.
10793 (ada-move-to-end): Improve doc string.
10794
10795 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10796
10797 * ido.el (ido-cur-list): Initialize to nil.
10798 Remove obsolete information from commentary.
10799 (ido-choice-list): Initialize to nil.
10800 (ido-get-bufname): Reject minibuffers.
10801 (ido-make-buffer-list): If "default" is a nonexistent
10802 buffer, ignore it, as per the function's comment.
10803 (ido-kill-buffer-internal): New function.
10804 (ido-kill-buffer-at-head): Use it.
10805 (ido-visit-buffer): Likewise.
10806
10807 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10808
10809 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10810
10811 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10812
10813 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10814 Fix typos in chart titles.
10815
10816 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10817 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10818 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10819 (describe-class, eieio-describe-generic, describe-generic):
10820 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10821 (eieio-speedbar-expand):
10822 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10823 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10824 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10825 (viper-del-backward-char-in-replace, viper-backward-indent)
10826 (viper-brac-function, viper-register-to-point, viper-submit-report):
10827 * net/tramp.el (tramp-remote-coding-commands):
10828 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10829 Fix typos in docstrings.
10830
10831 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10832
10833 * mail/sendmail.el (mail-yank-original): Set the mark if the
10834 specified function for yanking does not do it.
10835
10836 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10837
10838 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10839
10840 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10841 resyncing a directory.
10842
10843 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10844
10845 * progmodes/ada-mode.el: Fix bug#1920.
10846 (ada-ident-re): Delete ., allow multibyte characters.
10847 (ada-goto-label-re): New; matches goto labels.
10848 (ada-block-label-re): New; matches block labels.
10849 (ada-label-re): New; matches both.
10850 (ada-named-block-re): Deleted; callers changed to use
10851 `ada-block-label-re' instead.
10852 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10853 Use `ada-block-label-re'.
10854 (ada-indent-on-previous-lines): Improve handling of goto labels.
10855 (ada-get-indent-block-start): Special-case block label.
10856 (ada-get-indent-label): Split into `ada-indent-block-label' and
10857 `ada-indent-goto-label'.
10858 (ada-goto-stmt-start, ada-goto-next-non-ws):
10859 Optionally ignore goto labels.
10860 (ada-goto-next-word): Simplify.
10861 (ada-indent-newline-indent-conditional): Insert newline before
10862 trying to fix indentation; doc fix.
10863
10864 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10865
10866 * calc/calc.el (calc-command-flags): Give it an initial value.
10867
10868 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10869
10870 * files.el (minibuffer-with-setup-hook):
10871 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10872 (artist-key-draw-continously, artist-key-do-continously-continously)
10873 (artist-key-set-point-continously, artist-mouse-draw-continously):
10874 Fix typos in docstrings.
10875
10876 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10877
10878 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10879 Never return t (Bug#3898).
10880
10881 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10882
10883 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10884 can parse the output of the external commands (Bug#5279).
10885
10886 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10887
10888 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10889
10890 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10891
10892 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10893
10894 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10895
10896 * startup.el (command-line): Remove unused --icon-type arg.
10897 Handle --display arg, passing it to command-line-1 (Bug#5392).
10898
10899 2010-01-16 Mario Lang <mlang@delysid.org>
10900
10901 * emacs-lisp/chart.el (chart-translate-namezone):
10902 * textmodes/artist.el (artist-compute-popup-menu-table):
10903 Remove duplicated words in doc-strings.
10904
10905 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10906
10907 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10908 to mairix-search to suppress threading (Bug#5342).
10909
10910 2010-01-15 Kenichi Handa <handa@m17n.org>
10911
10912 * international/mule-cmds.el (canonicalize-coding-system-name):
10913 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10914
10915 2010-01-15 Glenn Morris <rgm@gnu.org>
10916
10917 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10918
10919 * wid-edit.el (widget-keymap): Doc fix.
10920
10921 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10922 former seems to be more widely accepted by various svn versions.
10923
10924 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10925
10926 * find-cmd.el (find-constituents):
10927 * vc-arch.el (vc-arch-root):
10928 * window.el (window-body-height, pop-up-frames):
10929 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10930 * progmodes/ada-stmt.el (ada-if):
10931 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10932 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10933 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10934 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10935
10936 * progmodes/flymake.el (flymake-post-syntax-check):
10937 Fix typo in error message.
10938
10939 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10940
10941 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10942 which is always a string. (Bug#5313)
10943
10944 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10945
10946 * progmodes/ada-xref.el (ada-default-prj-properties):
10947 Simplify previous change.
10948
10949 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10950
10951 * progmodes/ada-xref.el (ada-default-prj-properties):
10952 Default ada_project_path to $ADA_PROJECT_PATH.
10953
10954 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10955
10956 * progmodes/ada-mode.el (ada-create-keymap):
10957 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10958
10959 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10960
10961 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10962 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10963 (ada-get-current-indent, ada-imenu-generic-expression)
10964 (ada-which-function): Check for it.
10965
10966 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10967
10968 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10969 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10970
10971 2010-01-14 Glenn Morris <rgm@gnu.org>
10972
10973 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10974
10975 2010-01-14 Kenichi Handa <handa@m17n.org>
10976
10977 * composite.el (auto-composition-mode): Make it a buffer local
10978 variable (permanent-local).
10979 (auto-composition-function): Set the default value to
10980 auto-compose-chars.
10981 (auto-composition-mode): Make it a simple function, not a minor mode.
10982 (global-auto-composition-mode): Likewise.
10983 (turn-on-auto-composition-if-enabled): Delete it.
10984
10985 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10986
10987 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10988
10989 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10990
10991 * files.el (copy-directory): Compute target for recursive
10992 directories with identical names. (Bug#5343)
10993
10994 2010-01-12 Glenn Morris <rgm@gnu.org>
10995
10996 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10997 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10998
10999 2010-01-11 Sam Steingold <sds@gnu.org>
11000
11001 * imenu.el (imenu-default-create-index-function): Detect infinite
11002 loops caused by imenu-prev-index-position-function.
11003
11004 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11005
11006 * htmlfontify.el (htmlfontify-load-rgb-file)
11007 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11008 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11009 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11010 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11011 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11012 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11013 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11014 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11015 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11016 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11017 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11018 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11019 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11020 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11021 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11022 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11023 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11024 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11025 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11026 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11027 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11028 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11029 backslash-quoting from parentheses, etc.
11030
11031 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11032
11033 * progmodes/js.el: Autoload javascript-mode alias.
11034
11035 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11036
11037 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11038 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11039 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11040 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11041 Fix typos in docstrings.
11042 (ffap-url-regexp): Doc fix.
11043 (ffap-at-mouse): Fix typo in message.
11044
11045 2010-01-11 Glenn Morris <rgm@gnu.org>
11046
11047 * version.el (emacs-copyright): Set copyright year to 2010.
11048
11049 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11050
11051 * format.el (format-annotate-function): Only set
11052 write-region-post-annotation-function after running to-fn so as not to
11053 affect nested write-region calls (bug#5273).
11054
11055 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11056
11057 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11058 wisent/python.el.
11059
11060 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11061
11062 * man.el (Man-goto-section): Signal error if the section is not
11063 found (Bug#5317).
11064
11065 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11066
11067 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11068 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11069
11070 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11071
11072 * progmodes/compile.el: Don't treat compile-command as safe if
11073 compilation-read-command might be nil (Bug#4218).
11074
11075 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11076
11077 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11078 NS options.
11079
11080 2010-01-08 Kenichi Handa <handa@m17n.org>
11081
11082 * international/fontset.el (build-default-fontset-data):
11083 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11084
11085 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11086
11087 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11088 to `create-file-buffer' as it expects, not just a buffer name.
11089 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11090 to help uniquify. (Bug#3224)
11091
11092 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11093
11094 * font-setting.el (font-setting-change-default-font): Use user-spec
11095 instead of name.
11096
11097 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11098
11099 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11100
11101 2010-01-05 Tom Tromey <tromey@redhat.com>
11102
11103 * progmodes/python.el (python-font-lock-keywords):
11104 Handle qualified decorators (Bug#881).
11105
11106 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11107
11108 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11109 in a lightweight checkout.
11110
11111 2010-01-05 Kenichi Handa <handa@m17n.org>
11112
11113 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11114
11115 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11116
11117 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11118
11119 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11120
11121 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11122 checkouts. (Bug#618)
11123 (vc-bzr-log-view-mode): Also highlight the author.
11124 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11125 (vc-bzr-shelve-menu-map):
11126 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11127 (vc-bzr-shelve-apply): Make prompt more explicit.
11128
11129 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11130
11131 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11132 They are valid characters in URL paths (rfc3986), and at least
11133 Firefox does not understand the encoded version (Bug#3166).
11134
11135 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11136
11137 * progmodes/octave-mod.el (octave-end-keywords)
11138 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11139 Add "end" keyword (Bug#3061).
11140 (octave-end-as-array-index-p): New function.
11141 (calculate-octave-indent): Use it.
11142
11143 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11144
11145 * bookmark.el: Consistently put the text property on the bookmark name.
11146 (bookmark-bmenu-marks-width): Bump back to 2, to include
11147 annotation marks.
11148 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11149 property on the bookmark name, instead of not putting it at all.
11150 (bookmark-bmenu-list): Fix where we put the text property.
11151
11152 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11153
11154 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11155 for showing buffer modified state (as added in the previous change).
11156
11157 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11158
11159 * bookmark.el: Show modified state of bookmark buffer more accurately.
11160 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11161 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11162 (with-buffer-modified-unmodified): New macro.
11163 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11164 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11165 Use new macro to preserve the buffer modified state.
11166
11167 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11168
11169 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11170 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11171 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11172 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11173 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11174 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11175 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11176
11177 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11178
11179 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11180 Make the lines in the generated doc string shorter. (Bug#4668)
11181
11182 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11183
11184 * net/rcirc.el: Add follow-link binding (Bug#4738).
11185
11186 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11187
11188 * Makefile.in (bzr-update): Rename from cvs-update.
11189 (cvs-update): New target for backward compatibility.
11190
11191 * makefile.w32-in (bzr-update): Rename from cvs-update.
11192 (cvs-update): New target for backward compatibility.
11193
11194 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11195
11196 * bookmark.el: Remove gratuitous gratitude.
11197
11198 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11199
11200 * bookmark.el (bookmark-bmenu-any-marks): New function.
11201 (bookmark-bmenu-save): Clear buffer modification if no marks.
11202
11203 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11204
11205 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11206 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11207 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11208 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11209
11210 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11211 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11212 To: emacs-devel {_AT_} gnu.org
11213 Subject: bookmark.el bug report
11214 Date: Mon, 28 Dec 2009 14:19:16 +0800
11215 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11216
11217 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11218
11219 * bookmark.el: Improvements suggested by Drew Adams:
11220 (bookmark-bmenu-ensure-position): New name for
11221 `bookmark-bmenu-check-position'. Just ensure the position,
11222 don't return any meaningful value.
11223 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11224 New constants.
11225
11226 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11227
11228 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11229 (bookmark-yank-point, bookmark-bmenu-check-position):
11230 Fix typos in docstrings.
11231 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11232 (bookmark-name-from-full-record, bookmark-get-position)
11233 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11234 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11235 Remove useless quoting of parenthesis, etc. in docstrings.
11236
11237 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11238 (ediff-append-custom-diff): Fix typo in error message.
11239 (ediff-meta-mark-equal-files): Fix typos in messages.
11240
11241 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11242
11243 * net/imap-hash.el (imap-hash-make): Doc fix.
11244 (imap-hash-test): Fix typo in error message; reflow docstring.
11245 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11246 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11247 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11248 Fix typos in docstrings.
11249 (imap-hash-open-connection): Fix typo in error message.
11250
11251 * play/gomoku.el (gomoku): Fix typos in docstring.
11252
11253 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11254 (gdb-jsonify-buffer): Fix typos in docstring.
11255 (gdb-goto-breakpoint): Fix typo in error message.
11256 ("Display Other Windows"): Fix typo in help message.
11257 (gdb-speedbar-expand-node): Fix typo in question.
11258
11259 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11260 (idlwave-html-system-help-location, idlwave-html-help-location)
11261 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11262 (idlwave-help-browser-generic-args, idlwave-help-directory)
11263 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11264 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11265 (idlwave-online-help, idlwave-help-html-link)
11266 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11267 Fix typos in docstrings.
11268 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11269 Reflow docstrings.
11270 (idlwave-help-assistant-start): Fix typo in error message.
11271
11272 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11273 (octave-electric-space): Fix typos in docstrings.
11274
11275 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11276
11277 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11278
11279 2010-01-01 Juri Linkov <juri@jurta.org>
11280
11281 * comint.el (comint-input-ring-size): Make it a defcustom and
11282 increase the default to 500 (Bug#5148).
11283
11284 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11285
11286 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11287 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11288 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11289
11290 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11291
11292 Show working revision correctly for mercurial.
11293 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11294 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11295
11296 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11297
11298 Declare some functions for the byte-compiler.
11299 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11300 (speedbar-timer-fn, speedbar-change-expand-button-char)
11301 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11302
11303 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11304
11305 This changeset reverts GDB Graphical Interface to use annotations.
11306 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11307
11308 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11309
11310 Make vc-dir work on subdirectories of the bzr root.
11311 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11312 Return file names relative to it.
11313 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11314 relative directory to vc-bzr-after-dir-status.
11315
11316 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11317
11318 * font-lock.el (font-lock-refresh-defaults): New function, which
11319 can be used to let font-lock react to external changes in
11320 variables like font-lock-defaults and keywords.
11321 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11322
11323 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11324
11325 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11326
11327 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11328
11329 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11330
11331 Supersede color.diff settings in git log (bug#5211).
11332
11333 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11334 escape chars in its output when the user has color.diff set to `always'.
11335 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11336
11337 2009-12-26 Kevin Ryde <user42@zip.com.au>
11338
11339 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11340 node. Keep previous "Index" name to work with past coreutils too.
11341
11342 * man.el (man): Revise docstring a bit to show -a and -l as
11343 examples. Add -k description since support for it has otherwise
11344 been a secret. (Further to bug#3717.)
11345 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11346 "no matches" rather than "Can't find manpage", as the latter reads
11347 like -k was interpreted as a page name, which is not so. (Bug#5431)
11348
11349 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11350
11351 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11352 switches. Check also for //SUBDIRED// line.
11353
11354 2009-12-25 Kenichi Handa <handa@m17n.org>
11355
11356 * language/indian.el (devanagari-composable-pattern): Fix to
11357 handle ZWNJ and ZWJ. Use it in composition-function-table for
11358 Devanagari.
11359 (malayalam-composable-pattern): Fix previous change.
11360
11361 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11362
11363 * ps-print.el (ps-face-attributes): It was not returning the
11364 attribute face for faces specified as string. Reported by harven
11365 <harven@free.fr>. (Bug#5254)
11366 (ps-print-version): New version 7.3.5.
11367
11368 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11369
11370 * calendar/icalendar.el (icalendar--convert-tz-offset):
11371 Fix timezone names.
11372 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11373 (icalendar--add-diary-entry): Remove the trailing blank that
11374 diary-make-entry inserts.
11375
11376 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11377
11378 Make `file-expand-wildcards' work for remote files.
11379
11380 * files.el (file-expand-wildcards): In case of remote files, check
11381 only local file name part for wildcards. Provide feature 'files
11382 and subfeature 'remote-wildcards. (Bug#5198)
11383
11384 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11385 if there is already an established connection.
11386 (tramp-advice-file-expand-wildcards): Remove it.
11387
11388 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11389 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11390 Activate advice for older GNU Emacs versions. (Bug#5237)
11391
11392 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11393
11394 Some doc fixes (more needed).
11395
11396 * find-cmd.el (find-constituents): Reflow docstring.
11397 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11398 (find-generic): Doc fix.
11399
11400 2009-12-17 Juri Linkov <juri@jurta.org>
11401
11402 Fix regression from 23.1 to allow multiple modes in Local Variables.
11403
11404 * files.el (hack-local-variables-filter): While ignoring duplicates,
11405 don't take `mode' into account.
11406 (hack-local-variables-filter, hack-dir-local-variables):
11407 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11408
11409 2009-12-17 Juri Linkov <juri@jurta.org>
11410
11411 Make `dired-diff' safer. (Bug#5225)
11412
11413 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11414 `current' or when `file' is a directory of the `current' file.
11415
11416 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11417
11418 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11419 unconditionally preloaded files.
11420
11421 2009-12-16 Juri Linkov <juri@jurta.org>
11422
11423 Revert to old 23.1 logic of using the file at the mark as default.
11424 * dired-aux.el (dired-diff): Use the file at the mark as default
11425 if it's not the same as the current file, and the target dir is
11426 the current dir or the mark is active. Add the current file
11427 as the arg of `dired-dwim-target-defaults'. Use the default file
11428 in the prompt. (Bug#5225)
11429
11430 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11431
11432 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11433 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11434 (tramp-check-for-regexp): Check also, when an echoing shell stops
11435 to echo sent commands.
11436
11437 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11438
11439 * Makefile.in: Revert last change (Bug#5191).
11440
11441 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11442
11443 * vc-hg.el (vc-hg-print-log): Fix argument order.
11444 (vc-hg-working-revision): Make sure the command is executed in a
11445 known environment so that we can parse the output. (Bug#4417)
11446
11447 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11448
11449 * progmodes/python.el (python-symbol-completions): Remove text
11450 properties from symbol string before calling python-send-receive.
11451
11452 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11453
11454 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11455 when there are values for both file and line. (Bug#5060)
11456
11457 2009-12-14 Juri Linkov <juri@jurta.org>
11458
11459 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11460 whitespace after the file name of the first line of unified format,
11461 because git-diff doesn't output whitespace and file modification time
11462 after the file name.
11463
11464 2009-12-14 David Kastrup <dak@gnu.org>
11465
11466 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11467 check if it already has the `display' property added by
11468 `Info-display-images-node', and not put the `invisible' property
11469 in this case.
11470
11471 2009-12-13 Glenn Morris <rgm@gnu.org>
11472
11473 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11474 (report-emacs-bug): In message-mode, sort manually before storing
11475 original report text. (Bug#5178)
11476 Remove superfluous save-excursion.
11477
11478 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11479
11480 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11481 when responding to "GetAll" properties.
11482
11483 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11484
11485 * simple.el (compose-mail): Remove mail-setup-with-from from
11486 customization checks.
11487
11488 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11489
11490 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11491 RAR archives created on Unix systems.
11492
11493 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11494
11495 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11496 the varalias that was accidentally removed by the 2009-11-19 change
11497 (bug#5186).
11498
11499 2009-12-12 Kenichi Handa <handa@m17n.org>
11500
11501 * language/indian.el (indian-compose-regexp): New function.
11502 (malayalam-composable-pattern): Fix the pattern.
11503 (composition-function-table): Set malayalam-composable-pattern for
11504 Malayalam characters.
11505
11506 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11507
11508 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11509 rather than down-mouse-1, based on follow-link conventions.
11510
11511 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11512 are compiled.
11513
11514 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11515
11516 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11517 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11518 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11519 (verilog-leap-to-head, verilog-backward-token):
11520 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11521
11522 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11523
11524 * progmodes/verilog-mode.el (verilog-auto-lineup)
11525 (verilog-nameable-item-re): Cleanup user-visible spelling and
11526 documentation errors. One reported by Gary Delp.
11527 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11528 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11529 package, bug195. Reported by Pierre-David Pfister.
11530
11531 2009-12-11 Glenn Morris <rgm@gnu.org>
11532
11533 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11534
11535 * mail/emacsbug.el: No longer require sendmail.
11536 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11537 (report-emacs-bug-orig-text): Doc fix.
11538 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11539 New local variables, to adapt to different mail-user-agents.
11540 (report-emacs-bug): Fix test for a gnu.org address.
11541 Use overlays for emphasis, since font-lock defeats 'face property.
11542 Pretest bugs also end up at the newsgroup these days.
11543 Stop message-mode stripping text properties.
11544 Set and use the new buffer-local variables.
11545 (report-emacs-bug-hook): Add doc-string.
11546 Remove some unnecessary save-excursions and simplify.
11547 Use the appropriate hook and send-command.
11548
11549 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11550 capitalization of some menu entries.
11551
11552 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11553
11554 * whitespace.el (whitespace-display-char-on):
11555 Ensure `buffer-display-table' is unique when two or more windows are
11556 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11557 New version 12.1.
11558
11559 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11560
11561 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11562 characters in the Attribute field.
11563
11564 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11565
11566 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11567
11568 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11569
11570 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11571 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11572 Disregard autoload-excludes.
11573 (update-directory-autoloads): Obey autoload-excludes here instead.
11574 But don't store its contents in no-autoloads and remove entries that
11575 refer to excludes files.
11576
11577 2009-12-10 Glenn Morris <rgm@gnu.org>
11578
11579 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11580 (expand-mail-aliases): Define for compiler.
11581
11582 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11583 Define for compiler.
11584
11585 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11586 appropriate for the mail-user-agent in use.
11587
11588 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11589
11590 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11591
11592 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11593
11594 Fix short log parsing and fontification.
11595 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11596 Fix fontification for the [merge] label.
11597
11598 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11599
11600 Drop some properties to avoid surprises (bug#5002).
11601 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11602 (hfy-fontify-buffer): Use it.
11603
11604 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11605
11606 Minor cleanup.
11607 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11608 Adjust all callers.
11609 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11610 args compulsory. Adjust callers.
11611 (ffap-gopher-at-point): Remove unused var `name'.
11612
11613 Get rid of the ELCFILES abomination.
11614 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11615 (compile-elcfiles): New phony target.
11616 (compile-main): Compute ELCFILES dynamically.
11617 (compile-clean): New target to remove left-over elc files.
11618 (compile, all): Use it.
11619
11620 2009-12-09 Kenichi Handa <handa@etlken>
11621
11622 * international/mule-diag.el: Require help-mode instead of help-fns.
11623
11624 2009-12-09 Kenichi Handa <handa@m17n.org>
11625
11626 * international/mule-cmds.el (ucs-names): Supply sufficiently
11627 fine ranges instead of pre-calculating accurate ranges.
11628 Iterate with bigger gc-cons-threshold.
11629
11630 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11631
11632 Add support for stashing a snapshot of the current tree.
11633 * vc-git.el (vc-git-stash-snapshot): New function.
11634 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11635
11636 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11637
11638 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11639 instead of `(beginning|end)-of-line'.
11640
11641 2009-12-08 Glenn Morris <rgm@gnu.org>
11642
11643 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11644
11645 * Makefile.in (ELCFILES): Regenerate.
11646
11647 2009-12-07 Juri Linkov <juri@jurta.org>
11648
11649 Don't lazy-highlight the comint output in history Isearch mode.
11650
11651 * comint.el (comint-history-isearch-search): Instead of
11652 `comint-line-beginning-position', use `comint-after-pmark-p'
11653 to check if point if before the process mark, and go to
11654 `process-mark' in this case.
11655
11656 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * textmodes/tex-mode.el (latex-complete)
11659 (latex-indent-or-complete): Remove.
11660 (latex-mode): Set completion-at-point-functions instead.
11661
11662 Provide a standard completion command and hook it into TAB.
11663 * minibuffer.el (completion-at-point-functions): New var.
11664 (completion-at-point): New command.
11665 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11666 * progmodes/python.el (python-mode-map): Use completion-at-point.
11667 (python-completion-at-point): Rename from python-partial-symbol and
11668 adjust for use in completion-at-point-functions.
11669 (python-mode): Setup completion-at-point for Python completion.
11670 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11671 extracted from lisp-complete-symbol.
11672 (lisp-complete-symbol): Use it.
11673 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11674 setup completion-at-point for Elisp completion.
11675 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11676 Use completion-at-point.
11677 * ielm.el (ielm-map): Use completion-at-point.
11678 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11679 * progmodes/sym-comp.el: Move to...
11680 * obsolete/sym-comp.el: Move from progmodes.
11681
11682 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11683
11684 Prevent save-buffer in Rmail buffers from using the coding-system
11685 of the current message, and from clobbering the encoding mnemonics
11686 in the mode line (Bug#4623).
11687
11688 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11689 flag, too.
11690 (rmail-message-encoding): New variable.
11691 (rmail-write-region-annotate): Record the encoding of the current
11692 message in rmail-message-encoding.
11693 (rmail-after-save-hook): New function, restores the encoding of
11694 the current message after the message collection is saved.
11695
11696 2009-12-07 Juri Linkov <juri@jurta.org>
11697
11698 * progmodes/grep.el (grep-read-files): Use `completing-read'
11699 instead of `read-string'. Set its `collection' arg to
11700 `read-file-name-internal'. (Bug#4301)
11701
11702 2009-12-07 Juri Linkov <juri@jurta.org>
11703
11704 Correctly restore original Isearch point. (Bug#4994)
11705
11706 * isearch.el (isearch-mode): Move `isearch-push-state' after
11707 `(run-hooks 'isearch-mode-hook)'.
11708 (isearch-cancel): When `isearch-push-state-function' is defined,
11709 let-bind `isearch-cmds' to the first state (the last element of
11710 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11711 function and restores the original point). Otherwise, move point
11712 to `isearch-opoint'.
11713
11714 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11715
11716 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11717 chars that don't have names, so the table can be built much faster at
11718 run-time.
11719
11720 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11721
11722 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11723 change. Suggested by David Kastrup.
11724
11725 * simple.el (compose-mail): Check for incompatibilities and warn.
11726 (compose-mail-user-agent-warnings): New option.
11727
11728 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11729
11730 Support showing a single log entry from vc-annotate.
11731 * vc.el (print-log): Add a new argument: START-REVISION.
11732 (vc-print-log-internal): Add a new optional argument and
11733 pass it to the backend.
11734 (vc-print-log, vc-print-root-log): Adjust callers.
11735 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11736 buffer already displays the requested log entry, use it.
11737 Otherwise display only the log entry in question.
11738 * vc-svn.el (vc-svn-print-log):
11739 * vc-mtn.el (vc-mtn-print-log):
11740 * vc-hg.el (vc-hg-state):
11741 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11742 (vc-git-show-log-entry): Return t on success.
11743 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11744 (vc-bzr-show-log-entry): Return t on success.
11745 * vc-rcs.el (vc-rcs-print-log):
11746 * vc-sccs.el (vc-sccs-print-log):
11747 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11748
11749 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11750
11751 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11752 Add menus to the meta mode. (Bug#5043)
11753
11754 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11755
11756 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11757 event-key.
11758
11759 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11760
11761 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11762
11763 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11764 Berbain <raphael.berbain@gmail.com>.
11765
11766 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11767 characters.
11768 (tramp-initial-end-of-output): New defconst.
11769 (tramp-methods, tramp-find-shell)
11770 (tramp-open-connection-setup-interactive-shell)
11771 (tramp-maybe-open-connection): Use it.
11772 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11773 Handle existence of `#' and `$'.
11774
11775 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11776 Use `tramp-initial-end-of-output'.
11777
11778 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11779
11780 Get the background mode from the terminal for xterm, and set
11781 faces accordingly.
11782 * term/xterm.el (xterm-set-background-mode): New function.
11783 (terminal-init-xterm): Use it in case xterm supports background
11784 color queries. Recompute faces after getting the background
11785 color.
11786
11787 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11788
11789 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11790 number comment back on its own line, for easier parsing.
11791
11792 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 Make it work for non-file buffers (bug#5102).
11795 * doc-view.el (doc-view-current-cache-dir):
11796 Use doc-view-buffer-file-name rather than buffer-file-name.
11797 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11798
11799 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11800
11801 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11802 author field is too short.
11803
11804 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11805
11806 * vc-git.el (vc-git-print-log): Handle a limit argument.
11807 Display the short log in graph form and with labels.
11808 (vc-git-log-view-mode): Handle labels.
11809
11810 Make vc-revert change VC state from 'added to 'unregistered.
11811 * vc-git.el (vc-git-revert): Call git reset first.
11812
11813 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11814
11815 * net/newst-backend.el, net/newst-plainview.el:
11816 * net/newst-reader.el, net/newst-ticker.el:
11817 * net/newst-treeview.el, net/newsticker.el:
11818 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11819
11820 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11821
11822 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11823
11824 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11825 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11826 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11827 Update annotation regexp.
11828
11829 * simple.el (beginning-of-visual-line): Constrain to field
11830 boundaries (Bug#5106).
11831
11832 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11833
11834 * xml.el (xml-substitute-numeric-entities):
11835 Move newsticker--decode-numeric-entities in newst-backend.el to
11836 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11837 * net/newst-backend.el (newsticker--parse-generic-feed)
11838 (newsticker--parse-generic-items)
11839 (newsticker--decode-numeric-entities):
11840 Move newsticker--decode-numeric-entities in newst-backend.el to
11841 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11842
11843 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11844
11845 * progmodes/js.el (js--js-not): Add null to the list of values.
11846
11847 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11848
11849 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11850
11851 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11852
11853 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11854 delimiter if it is at the end of the current line.
11855 (bibtex-generate-url-list): Fix docstring.
11856
11857 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11858
11859 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11860 minibuffer's content with itself.
11861 Fold the confirm-after-completion case into the `confirm' case.
11862 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11863
11864 2009-12-06 Kevin Ryde <user42@zip.com.au>
11865
11866 * ffap.el (ffap-rfc-path): Make this a defcustom since
11867 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11868
11869 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11870 manuals, similar to existing setup for help-mode. (Bug#3913.)
11871
11872 2009-12-05 Juri Linkov <juri@jurta.org>
11873
11874 Save and restore dired buffer's point positions too. (Bug#4880)
11875
11876 * dired.el (dired-save-positions): Return in the first element
11877 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11878 Doc fix.
11879 (dired-restore-positions): First restore buffer's position.
11880 While restoring window's positions, check if window still displays
11881 the original buffer.
11882
11883 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11884
11885 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11886 if possible.
11887
11888 * shell.el (shell): Require ansi-color (Bug#5113).
11889
11890 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11891
11892 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11893
11894 2009-12-05 Alan Mackenzie <acm@muc.de>
11895
11896 * progmodes/cc-mode.el (c-before-hack-hook)
11897 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11898 `c-file-style' to work again. This reversion restores the current
11899 software to its state in Emacs 23.1. (Bug#4146)
11900
11901 2009-12-05 Kevin Ryde <user42@zip.com.au>
11902
11903 * textmodes/sgml-mode.el (sgml-lexical-context):
11904 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11905
11906 2009-12-05 Juri Linkov <juri@jurta.org>
11907
11908 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11909 for virtual nodes. (Bug#4147)
11910 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11911 when moving from a virtual node.
11912 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11913 (Info-mode): Add `Info-virtual-index' to the docstring.
11914
11915 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11916
11917 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11918 track of the buffer position of the end of a BibTeX entry as this
11919 position may change during reformatting.
11920 (bibtex-format-entry): Remove whitespace before processing
11921 numerical fields so that we recognize the latter properly.
11922 (bibtex-reformat): Do not use push which changes the global value
11923 of bibtex-entry-format.
11924 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11925 (bibtex-field-re-init): Replace only space characters by regexp
11926 for whitespace.
11927 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11928 (bibtex-initialize): Also update bibtex-strings.
11929 (bibtex-kill-field): Preserve white space at end of entry.
11930 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11931 Update bibtex-reference-keys.
11932
11933 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11934
11935 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11936 point after a star, if that's the only place where modifications can
11937 make progress.
11938
11939 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11940
11941 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11942 in docstrings.
11943
11944 2009-12-04 Juri Linkov <juri@jurta.org>
11945
11946 * proced.el (proced): Call `(proced-update t)' to update process
11947 information instead of only running proced-post-display-hook.
11948 (proced-send-signal): Add a leading space to the buffer name
11949 " *Marked Processes*" to make this buffer ephemeral.
11950
11951 2009-12-04 Juri Linkov <juri@jurta.org>
11952
11953 * dired.el (dired-auto-revert-buffer): New defcustom.
11954 (dired-internal-noselect): Use it.
11955
11956 2009-12-04 Juri Linkov <juri@jurta.org>
11957
11958 Change roles of modes and functions in image-mode.el (Bug#5062).
11959
11960 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11961 in `auto-mode-alist'.
11962 (image-mode-previous-major-mode): New variable.
11963 (image-minor-mode-map): Rename from `image-mode-text-map'.
11964 (image-mode): Move graceful error-handling code from
11965 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11966 (image-minor-mode): Remove all image-handling code.
11967 Replace `image-mode-text-map' with `image-minor-mode-map'.
11968 Check for `image-type' in mode-line format string.
11969 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11970 (image-mode-as-text): New function with most code from
11971 `image-mode-maybe'.
11972 (image-toggle-display-text): Move code that removes image
11973 properties from `image-toggle-display' to here.
11974 (image-toggle-display-image): New function with code that adds
11975 image properties copied from `image-toggle-display'.
11976 (image-toggle-display): Remove most code with leaving only code
11977 that toggles between `image-mode-as-text' and `image-mode'.
11978
11979 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11980
11981 * net/newst-treeview.el
11982 (newsticker--treeview-list-highlight-start): Restored call to
11983 save-excursion: Selected item was stuck.
11984 (newsticker--treeview-list-select): New.
11985 (newsticker--treeview-item-show-text)
11986 (newsticker--treeview-item-show)
11987 (newsticker--treeview-item-update): Use new
11988 newsticker-treeview-item-mode.
11989 (newsticker-treeview-update): Keep current item.
11990 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11991 (newsticker--treeview-first-feed): Doc change.
11992 (newsticker-treeview-list-menu)
11993 (newsticker-treeview-item-menu): Add menu entries.
11994 (newsticker-treeview-item-mode): New.
11995
11996 * net/newst-backend.el (newsticker-customize): Delete other
11997 windows.
11998
11999 2009-12-04 Sam Steingold <sds@gnu.org>
12000
12001 * log-view.el (log-view-mode-map): "q" calls quit-window,
12002 like in all the other non-self-insert buffers.
12003
12004 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12005
12006 Minor cleanup.
12007 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12008 key decoding rather than do it manually via last-input-event +
12009 ascii-character.
12010 (term-exec): Use delete-and-extract-region.
12011 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12012 (term-process-pager): Remove unused var `i'.
12013 (term-dynamic-simple-complete): Make obsolete.
12014 (serial-update-config-menu): Remove unused vars `y' and `str'.
12015 (term-update-mode-line): Remove unused var `temp'.
12016
12017 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12018
12019 Limit the number of log entries displayed by default.
12020 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12021 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12022 using a prefix argument.
12023
12024 2009-12-03 Glenn Morris <rgm@gnu.org>
12025
12026 * progmodes/idlwave.el (class): Restore still useful declaration.
12027
12028 2009-12-03 Alan Mackenzie <acm@muc.de>
12029
12030 Enhance `c-parse-state' to run efficiently in "brace deserts".
12031
12032 * progmodes/cc-mode.el (c-basic-common-init):
12033 Call c-state-cache-init.
12034 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12035 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12036 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12037
12038 * progmodes/cc-langs.el (c-before-font-lock-function):
12039 c-extend-and-neutralize-syntax-in-CPP has been renamed
12040 c-neutralize-syntax-in-and-mark-CPP.
12041
12042 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12043 with `category' properties now, not `syntax-table' ones.
12044
12045 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12046 enhanced (but slower) version of c-end-of-macro that won't land
12047 inside a literal or on another awkward character.
12048 (c-state-cache-too-far, c-state-cache-start)
12049 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12050 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12051 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12052 (c-state-min-scan-pos, c-state-brace-pair-desert)
12053 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12054 buffer local variables.
12055 (c-state-literal-at, c-state-lit-beg)
12056 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12057 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12058 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12059 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12060 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12061 (c-renarrow-state-cache)
12062 (c-append-lower-brace-pair-to-state-cache)
12063 (c-state-push-any-brace-pair, c-append-to-state-cache)
12064 (c-remove-stale-state-cache)
12065 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12066 (c-invalidate-state-cache-1, c-parse-state-1)
12067 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12068 (c-parse-state): Enhance and refactor.
12069 (c-debug-parse-state): Amend to deal with all the new variables.
12070
12071 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12072 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12073 modify to use category text properties rather than syntax-table ones.
12074 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12075 to switch off/on the syntactic paren property of C++ template
12076 delimiters using the category property.
12077 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12078 template delims suppressed.
12079 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12080 New constant/macros which apply category properties to the start
12081 and end of preprocessor constructs.
12082 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12083 "comment out" the syntactic value of characters in preprocessor
12084 constructs.
12085 (c-with-cpps-commented-out)
12086 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12087 with characters in all or all but one preprocessor constructs
12088 "commented out".
12089
12090 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12091
12092 * proced.el (proced-filter-alist): Use regexp-quote.
12093
12094 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12095
12096 Cleanup.
12097 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12098 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12099 arguments. Expand `default-directory'.
12100
12101 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12102 the benefit of returning an expanded localname.
12103 (tramp-tramp-file-p): Handle the case NAME is not a string.
12104
12105 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12106
12107 Add support for bzr shelve/unshelve.
12108 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12109 (vc-bzr-extra-menu-map): New variables.
12110 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12111 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12112 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12113 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12114 (vc-bzr-dir-extra-headers): Display shelves.
12115
12116 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12117
12118 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * textmodes/bibtex.el (bibtex-complete-internal):
12121 Use completion-in-region.
12122 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12123
12124 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12125
12126 Support applying stashes. Improve UI.
12127 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12128 (vc-git-stash-apply, vc-git-stash-pop)
12129 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12130 (vc-git-stash-menu): New functions.
12131 (vc-git-stash-menu-map): New variable.
12132 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12133
12134 2009-12-03 Glenn Morris <rgm@gnu.org>
12135
12136 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12137 (vc-print-log-internal): Fix previous change.
12138 (vc-revert): Correct pluralization.
12139
12140 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12141
12142 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12143 it to be an alist any more.
12144 (makefile-complete): Use completion-in-region.
12145
12146 * progmodes/octave-mod.el (octave-complete-symbol):
12147 Use completion-in-region.
12148
12149 Misc cleanup.
12150 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12151 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12152 (idlwave-complete-class): Don't quote lambda.
12153 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12154 (idlwave-mode-map): Move initialization into declaration.
12155 (idlwave-action-and-binding): Use backquotes.
12156 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12157 Simplify.
12158 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12159 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12160 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12161 `parts', and `all-parts'.
12162 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12163 (idlwave-convert-xml-system-routine-info): Remove unused string
12164 `version-string'.
12165 (idlwave-display-user-catalog-widget): Use dolist.
12166 (idlwave-scanning-lib): Declare dynamically-scoped var.
12167 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12168 (completion-highlight-first-word-only): Declare to silence bytecomp.
12169 (idlwave-popup-select): Tighten scope of `resp'.
12170 (idlwave-find-struct-tag): Remove unused var `beg'.
12171 (idlwave-after-load-rinfo-hook): Declare.
12172 (idlwave-sintern-class-info): Remove unused var `taglist'.
12173 (idlwave-find-class-definition): Remove unused var `list'.
12174 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12175 (idlwave-what-module-find-class): Remove unused var `classes'.
12176
12177 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12178
12179 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12180
12181 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12184 buffers visited. Remove redundant current-buffer-saving.
12185
12186 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12187
12188 Use completion-in-buffer and remove uses of dynamic scoping.
12189 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12190 (pascal-buffer-to-use, pascal-flag): Don't declare.
12191 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12192 (pascal-get-completion-decl, pascal-keyword-completion):
12193 Add `pascal-str' argument, save-excursion,
12194 return the found completions, and don't filter with pascal-pred.
12195 (pascal-completion-cache): New var.
12196 (pascal-completion): Don't switch buffer any more (it was never
12197 necessary). Don't save-excursion any more (it's done by the called
12198 subroutines). Use a cache to avoid redundant computations.
12199 Use complete-with-action rather than pascal-completion-response and
12200 let it apply the predicate as well.
12201 (pascal-complete-word): Use completion-in-buffer when
12202 pascal-toggle-completions is nil.
12203 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12204 not used any more.
12205 (pascal-comp-defun): Don't change buffer any more.
12206 Use complete-with-action rather than pascal-completion-response and
12207 let it apply the predicate as well.
12208 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12209 when neded.
12210
12211 2009-12-02 Kenichi Handa <handa@m17n.org>
12212
12213 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12214 shape for all Indic scripts.
12215
12216 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12217
12218 Use completion-in-buffer.
12219 * wid-edit.el (widget-field-text-end): New function.
12220 (widget-field-value-get): Use it.
12221 (widget-string-complete, widget-file-complete)
12222 (widget-color-complete): Use it and completion-in-region.
12223 (widget-complete): Don't narrow the buffer.
12224
12225 2009-12-02 Glenn Morris <rgm@gnu.org>
12226
12227 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12228 (rmail-select-summary): Use rmail-pop-to-buffer.
12229 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12230 rmail-pop-to-buffer, to prevent horizontal splits.
12231
12232 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12233 save-excursion with save-current-buffer.
12234 Widen before searching. (Bug#5093)
12235 (diary-list-sexp-entries): Remove superfluous save-excursion.
12236
12237 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12238
12239 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12240 name. (Bug#5038)
12241
12242 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12243
12244 * ido.el (ido-file-internal): Handle filenames at point that do
12245 not have a directory part. (Bug#5049)
12246
12247 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12248
12249 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12250 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12251
12252 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12253
12254 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12255 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12256 any more.
12257
12258 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12259
12260 * comint.el (comint-insert-input): Ignore clicks to the right of
12261 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12262
12263 * vc.el (vc-print-log-internal): Don't wait for the process to
12264 terminate before setting up the major mode.
12265
12266 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12267 in case.
12268
12269 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12270 the last element.
12271
12272 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12273
12274 2009-12-01 Glenn Morris <rgm@gnu.org>
12275
12276 * window.el (window--display-buffer-2): Fix previous changes.
12277
12278 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12279
12280 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12281
12282 2009-12-01 Glenn Morris <rgm@gnu.org>
12283
12284 * Makefile.in (ELCFILES): Add mpc.elc.
12285
12286 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12287
12288 * mpc.el: New file.
12289
12290 2009-12-01 Glenn Morris <rgm@gnu.org>
12291
12292 * window.el (window-to-use): Define for compiler.
12293
12294 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12295 consistent with others (no final period).
12296
12297 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12298 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12299
12300 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12301
12302 Make vc-print-log buttons work.
12303 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12304
12305 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12306
12307 * savehist.el (savehist-autosave-interval): Allow setting to nil
12308 through customize. (Bug#5056)
12309
12310 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12311
12312 Fix references to jit-lock properties.
12313 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12314 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12315 (perl-font-lock-special-syntactic-constructs):
12316 Quote jit-lock-defer-multiline property.
12317
12318 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12319
12320 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12321
12322 2009-11-30 Juri Linkov <juri@jurta.org>
12323
12324 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12325 value `buffer' of `multi-isearch-next-buffer-current-function'.
12326 Use `(current-buffer)' when `buffer' is nil.
12327 (multi-isearch-next-buffer-from-list): Don't fallback to
12328 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12329
12330 2009-11-30 Juri Linkov <juri@jurta.org>
12331
12332 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12333 of buffers with `get-buffer' to `multi-isearch-buffers'.
12334 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12335 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12336 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12337 FILES with `expand-file-name' converting relative file names
12338 to absolute. Doc fix. (Bug#4727)
12339
12340 2009-11-30 Juri Linkov <juri@jurta.org>
12341
12342 * misearch.el (multi-isearch-read-buffers)
12343 (multi-isearch-read-matching-buffers): New functions.
12344 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12345 Use them in the `interactive' spec. Doc fix.
12346 (multi-isearch-read-files, multi-isearch-read-matching-files):
12347 New functions.
12348 (multi-isearch-files, multi-isearch-files-regexp):
12349 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12350
12351 2009-11-30 Juri Linkov <juri@jurta.org>
12352
12353 * doc-view.el (doc-view-continuous):
12354 Rename from `doc-view-continuous-mode'.
12355 (doc-view-menu): Move "Toggle display" to the top.
12356 Add submenu "Continuous" with radio buttons "Off"/"On"
12357 and "Save as Default".
12358 (doc-view-scroll-up-or-next-page)
12359 (doc-view-scroll-down-or-previous-page)
12360 (doc-view-next-line-or-next-page)
12361 (doc-view-previous-line-or-previous-page):
12362 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12363
12364 2009-11-30 Juri Linkov <juri@jurta.org>
12365
12366 * comint.el (comint-mode-map): Rebind `M-r' from
12367 `comint-previous-matching-input' to
12368 `comint-history-isearch-backward-regexp'.
12369 Unbind `M-s' to allow global key binding `M-s'.
12370 Add menu items for `comint-history-isearch-backward' and
12371 `comint-history-isearch-backward-regexp'. (Bug#3746)
12372
12373 2009-11-30 Juri Linkov <juri@jurta.org>
12374
12375 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12376 For def=recenter, replace `recenter' with `recenter-top-bottom'
12377 that is called with `this-command' and `last-command' let-bound
12378 to `recenter-top-bottom'. When the last `def' was not `recenter',
12379 set `recenter-last-op' to nil. (Bug#4981)
12380
12381 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12382
12383 Minor cleanup and simplification.
12384 * filecache.el (file-cache-add-directory)
12385 (file-cache-add-directory-recursively)
12386 (file-cache-add-from-file-cache-buffer)
12387 (file-cache-delete-file-regexp, file-cache-delete-directory)
12388 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12389 (file-cache-temp-minibuffer-message): Delete function.
12390 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12391
12392 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12393 Don't signal an error when bumping into EOB in tr, s, or y.
12394
12395 2009-11-29 Juri Linkov <juri@jurta.org>
12396
12397 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12398 (Bug#4960)
12399
12400 * descr-text.el (describe-char-unidata-list): Use lowercase name
12401 for "Unicode name" like in other tags.
12402
12403 2009-11-29 Juri Linkov <juri@jurta.org>
12404
12405 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12406 New compatibility macro.
12407 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12408
12409 2009-11-29 Juri Linkov <juri@jurta.org>
12410
12411 Add defcustom to define the cycling order of `recenter-top-bottom'.
12412 (Bug#4981)
12413
12414 * window.el (recenter-last-op): Doc fix.
12415 (recenter-positions): New defcustom.
12416 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12417 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12418
12419 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12420
12421 Improve integration of Tramp and ange-ftp in eshell.
12422
12423 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12424 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12425 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12426
12427 * eshell/esh-util.el (top): Require also Tramp when compiling.
12428 (eshell-directory-files-and-attributes): Check for FTP remote
12429 connection.
12430 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12431 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12432 (eshell-file-attributes): Handle ".". Return `entry'.
12433
12434 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12435 (ange-ftp-directory-files-and-attributes)
12436 (ange-ftp-real-directory-files-and-attributes): New defuns.
12437
12438 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12439 shell with "exec" when possible. This prevents trailing prompts
12440 in `start-file-process'.
12441
12442 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 Try and remove assumptions about point-min==1.
12445 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12446 (rng-compute-mode-line-string): Show the validation percentage in
12447 terms of the narrowed text, not the widened text.
12448 (rng-do-some-validation): Don't catch internal errors when debugging.
12449 (rng-first-error): Simplify.
12450 (rng-after-change-function): Remove work around. AFAIK the bug has
12451 been fixed a while ago.
12452
12453 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12454 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12455
12456 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12457
12458 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12459 `cd' doesn't always do it for us (bug#5067).
12460
12461 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12462 on 2009-10-25 as part of some other change (bug#5067).
12463
12464 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12465
12466 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12467 `suspicious'.
12468 (byte-compile-warnings): Use byte-compile-warning-types.
12469 (byte-compile-save-excursion): Warn about use of set-buffer right
12470 after save-excursion.
12471
12472 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12473 the excursion as well.
12474
12475 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12476
12477 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12478 providing a Tramp related implementation of "su" and "sudo".
12479 (eshell-unix-initialize): Add "su" and "sudo".
12480
12481 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12482
12483 * net/socks.el (socks-send-command): Convert binary request to
12484 unibyte before sending. This fixes mishandling of some port
12485 numbers such as 129.
12486
12487 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12488
12489 * help.el (describe-bindings-internal): Remove `interactive'.
12490
12491 * man.el (Man-completion-table): Trim a terminating "(".
12492 Remove the space between name page a section.
12493 Add the command's description on the `help-echo' property.
12494 Remove `process-connection-type' binding since it's unused by
12495 call-process.
12496 Provide completion for the "<section> <name>" format as well.
12497 (Man-default-man-entry): Remove spurious var shadowing the argument.
12498
12499 2009-11-26 Kevin Ryde <user42@zip.com.au>
12500
12501 * log-view.el: Add "Keywords: tools", since its other keywords
12502 aren't in finder-known-keywords, and following vc.el.
12503
12504 * sha1.el (sha1-string-external): default-directory "/" in case
12505 otherwise non-existent. process-connection-type pipe for touch of
12506 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12507
12508 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12509
12510 Misc coding convention cleanups.
12511 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12512 hfy-init-kludge-hooks.
12513 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12514 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12515 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12516 and push.
12517 (hfy-slant, hfy-weight): Use tables rather than code.
12518 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12519 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12520 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12521 (hfy-face-to-css): Remove `nconc' with single arg.
12522 (hfy-p-to-face-lennart): Use `or'.
12523 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12524 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12525 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12526 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12527 (hfy-force-fontification): Use run-hooks.
12528
12529 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12530
12531 Various minor fixes.
12532 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12533 Javascript belongs in the header, not the body.
12534 (hfy-javascript): Remove.
12535 (hfy-fontify-buffer): Don't insert it any more.
12536 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12537 Fix bug in invis handling when there were no invis props in a chunk.
12538
12539 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12540
12541 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12542
12543 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12544
12545 * finder.el (finder-mode-map): Add a menu.
12546
12547 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12548
12549 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12550 "unsigned" structs.
12551
12552 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12553 fork" statement better.
12554
12555 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12556
12557 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12558 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12559 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12560 Reported by Clay Douglass.
12561
12562 (verilog-auto-inst, verilog-auto-star-safe)
12563 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12564 Fix removing "// Interfaces" when saving .* expansions.
12565 Reported by Pierre-David Pfister.
12566
12567 2009-11-26 Glenn Morris <rgm@gnu.org>
12568
12569 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12570 the scope.
12571
12572 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12573
12574 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12575 Really use previous revision.
12576
12577 2009-11-25 Kevin Ryde <user42@zip.com.au>
12578
12579 * man.el (Man-completion-table): default-directory "/" in case
12580 doesn't otherwise exist. process-environment COLUMNS=999 so as
12581 not to truncate long names. process-connection-type pipe to avoid
12582 any chance of hitting the pseudo-tty TIOCGWINSZ.
12583 (man): completion-ignore-case t for friendliness and since man
12584 itself is case-insensitive on the command line.
12585 Further to Bug#3717.
12586
12587 * arc-mode.el: Add "Keywords: files", so the details in its
12588 commentary can be reached from finder-by-keyword.
12589 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12590 editing mode, but it's comms related and sgml-mode.el has "comm"
12591 on that basis too.
12592 * textmodes/bibtex-style.el: Add "Keywords: tex".
12593 * international/isearch-x.el, international/ja-dic-cnv.el:
12594 * international/ja-dic-utl.el, international/kkc.el:
12595 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12596
12597 2009-11-25 Juri Linkov <juri@jurta.org>
12598
12599 * man.el (Man-completion-table): Modify regexp to include
12600 section names to completion strings. (Bug#3717)
12601
12602 2009-11-25 Juri Linkov <juri@jurta.org>
12603
12604 Search recursively in gzipped files. (Bug#4982)
12605
12606 * progmodes/grep.el (grep-highlight-matches): Add new options
12607 `always' and `auto'. Doc fix.
12608 (grep-process-setup): Check `grep-highlight-matches' for
12609 `auto-detect' to determine the need to compute grep defaults.
12610 Move Windows/DOS specific --colors settings handling
12611 to `grep-compute-defaults'. Check `grep-highlight-matches'
12612 to get the value of "--color=".
12613 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12614 has the value `auto-detect'. Move Windows/DOS specific settings
12615 from `grep-process-setup'.
12616 (zrgrep): New command with alias `rzgrep'.
12617
12618 2009-11-25 Juri Linkov <juri@jurta.org>
12619
12620 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12621 to nil instead of switching off view-mode. (Bug#4896)
12622
12623 2009-11-25 Juri Linkov <juri@jurta.org>
12624
12625 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12626
12627 * mwheel.el (mwheel-scroll-up-function)
12628 (mwheel-scroll-down-function): New defvars.
12629 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12630 `scroll-up', and `mwheel-scroll-down-function' instead of
12631 `scroll-down'.
12632
12633 * doc-view.el (doc-view-scroll-up-or-next-page)
12634 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12635 Use this ARG in the call to image-scroll-up/image-scroll-down.
12636 Change `interactive' spec to "P". Goto next/previous page only
12637 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12638 SPC/DEL case). Doc fix.
12639 (doc-view-next-line-or-next-page)
12640 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12641 for consistency.
12642 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12643 `doc-view-scroll-up-or-next-page', and buffer-local
12644 `mwheel-scroll-down-function' to
12645 `doc-view-scroll-down-or-previous-page'.
12646
12647 2009-11-25 Juri Linkov <juri@jurta.org>
12648
12649 Provide additional default values (directories at other Dired
12650 windows) via M-n in the minibuffer of some Dired commands.
12651
12652 * dired-aux.el (dired-diff, dired-compare-directories)
12653 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12654 `minibuffer-default' in `minibuffer-with-setup-hook'.
12655 (dired-dwim-target-directory): Find a window that displays Dired
12656 buffer instead of failing when the next window is not Dired.
12657 Use `get-window-with-predicate' to find for the next Dired window.
12658 (dired-dwim-target-defaults): New function.
12659
12660 * ediff-util.el (ediff-read-file-name):
12661 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12662 in `minibuffer-with-setup-hook'.
12663
12664 2009-11-25 Juri Linkov <juri@jurta.org>
12665
12666 Provide additional default values (file name at point or at the
12667 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12668
12669 * minibuffer.el (read-file-name-defaults): New function.
12670 (read-file-name): Reset `minibuffer-default' to nil when
12671 it duplicates initial input `insdef'.
12672 Bind `minibuffer-default-add-function' to lambda that
12673 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12674 (minibuffer-insert-file-name-at-point): New command.
12675
12676 * files.el (file-name-at-point-functions): New defcustom.
12677 (find-file-default): Remove defvar.
12678 (find-file-read-args): Don't use `find-file-default'.
12679 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12680 to `read-file-name'.
12681 (find-file-literally): Use `read-file-name' with
12682 `confirm-nonexistent-file-or-buffer'.
12683
12684 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12685
12686 * dired.el (dired-read-dir-and-switches):
12687 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12688 to `read-file-name'.
12689 (dired-file-name-at-point): New function.
12690 (dired-mode): Add hook `dired-file-name-at-point' to
12691 `file-name-at-point-functions'.
12692
12693 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12694
12695 Really make the *Completions* window soft-dedicated (bug#5030).
12696 * window.el (window--display-buffer-2): Add `dedicated' argument.
12697 (display-buffer): Pass it when needed so the dedicated flag is set
12698 after calling set-window-buffer, which would otherwise reset it.
12699
12700 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12701
12702 * progmodes/meta-mode.el (meta-complete-symbol):
12703 * progmodes/etags.el (complete-tag):
12704 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12705 Use completion-in-region.
12706
12707 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12708 (dabbrev-completion): Use completion-in-region.
12709 (dabbrev--abbrev-at-point): Simplify regexp.
12710
12711 * abbrev.el (abbrev--before-point): Use word-motion functions
12712 if :regexp is not specified (bug#5031).
12713
12714 * subr.el (string-prefix-p): New function.
12715
12716 * man.el (Man-completion-cache): New var.
12717 (Man-completion-table): Use it.
12718
12719 * vc.el (vc-print-log-internal): Make `limit' optional for better
12720 compatibility (e.g. with vc-annotate.el).
12721
12722 2009-11-24 Kevin Ryde <user42@zip.com.au>
12723
12724 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12725 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12726
12727 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12728 when .el source file not found or other error.
12729
12730 2009-11-24 Markus Triska <markus.triska@gmx.at>
12731
12732 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12733
12734 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12735
12736 Handle the [back] button properly (bug#4979).
12737 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12738 Use help-setup-xref, help-buffer, and with-help-window.
12739 (describe-char): Add `buffer' argument.
12740 Pass proper command to help-setup-xref. Don't meddle with
12741 help-xref-stack-item directly.
12742 (describe-text-category): Use with-help-window and help-buffer.
12743
12744 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12745 for the displayed buffer (bug#4887).
12746
12747 * man.el (Man-completion-table): New function.
12748 (man): Use it.
12749
12750 2009-11-24 David Reitter <david.reitter@gmail.com>
12751
12752 * vc-git.el (vc-git-registered): Use checkout directory (where
12753 .git is) rather than the file's directory and a relative path spec
12754 to work around a bug in git.
12755
12756 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12757
12758 Improve handling of processes on remote hosts.
12759
12760 * eshell/esh-util.el (eshell-path-env): New defvar.
12761 (eshell-parse-colon-path): New defun.
12762 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12763
12764 * eshell/esh-ext.el (eshell-search-path):
12765 Use `eshell-parse-colon-path'.
12766 (eshell-remote-command): Remove argument HANDLER.
12767 (eshell-external-command): Check for FTP remote connection.
12768
12769 * eshell/esh-proc.el (eshell-gather-process-output):
12770 Use `file-truename', in order to start also symlinked files.
12771 Apply `start-file-process' instead of `start-process'.
12772 Shorten `command' to the local file name part.
12773
12774 * eshell/em-cmpl.el (eshell-complete-commands-list):
12775 Use `eshell-parse-colon-path'.
12776
12777 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12778
12779 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12780 to `eshell-directory-change-hook'.
12781
12782 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12783
12784 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12785 because it could be enabled automatically if view-read-only is non-nil.
12786
12787 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12788
12789 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12790 made on 2009-11-22.
12791
12792 2009-11-24 Glenn Morris <rgm@gnu.org>
12793
12794 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12795 deleted variable bookmark-bmenu-bookmark-column.
12796
12797 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12800
12801 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12802
12803 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12804 two slashes to the "file:" prefix.
12805 (browse-url-file-url): De-munge Cygwin filenames before passing
12806 them to Windows browser.
12807 (browse-url-default-windows-browser): Use call-process.
12808
12809 2009-11-23 Juri Linkov <juri@jurta.org>
12810
12811 Implement DocView Continuous mode. (Bug#4896)
12812 * doc-view.el (doc-view-continuous-mode): New defcustom.
12813 (doc-view-mode-map): Bind C-n/<down> to
12814 `doc-view-next-line-or-next-page', C-p/<up> to
12815 `doc-view-previous-line-or-previous-page'.
12816 (doc-view-next-line-or-next-page)
12817 (doc-view-previous-line-or-previous-page): New commands.
12818
12819 2009-11-23 Juri Linkov <juri@jurta.org>
12820
12821 Implement Isearch in comint input history. (Bug#3746)
12822 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12823 `isearch-mode-hook'.
12824 (comint-history-isearch): New defcustom.
12825 (comint-history-isearch-backward)
12826 (comint-history-isearch-backward-regexp): New commands.
12827 (comint-history-isearch-message-overlay): New buffer-local variable.
12828 (comint-history-isearch-setup, comint-history-isearch-end)
12829 (comint-goto-input, comint-history-isearch-search)
12830 (comint-history-isearch-message, comint-history-isearch-wrap)
12831 (comint-history-isearch-push-state)
12832 (comint-history-isearch-pop-state): New functions.
12833
12834 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12835
12836 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12837 return.
12838 (tramp-handle-make-symbolic-link)
12839 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12840 Quote file names.
12841 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12842 (tramp-handle-process-file): Use it.
12843
12844 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12845
12846 * window.el (move-to-window-line-last-op): Remove.
12847 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12848
12849 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12850
12851 Make M-r mirror the new cycling behavior of C-l.
12852 * window.el (move-to-window-line-last-op): New var.
12853 (move-to-window-line-top-bottom): New command.
12854 (global-map): Bind M-r move-to-window-line-top-bottom.
12855
12856 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12857
12858 * dired-x.el (dired-guess-shell-alist-default):
12859 Support xz format. (Bug#4953)
12860
12861 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12862
12863 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12864 last-command-char/last-command-event.
12865 (viper-prefix-arg-value): Do correct conversion of event-char for
12866 XEmacs.
12867
12868 * emulation/viper-util.el, emulation/viper.el:
12869 Use viper-last-command-char instead of
12870 last-command-char/last-command-event.
12871
12872 * ediff-init.el, ediff-mult.el, ediff-util.el:
12873 Replace last-command-char and last-command-event
12874 with (ediff-last-command-char) everywhere.
12875
12876 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12877 created in fundamental mode.
12878
12879 * ediff.el (ediff-version): Revert the change of interactive-p to
12880 called-interactively-p.
12881
12882 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12883
12884 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12885 generation from word-movement command names.
12886
12887 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12888
12889 * cus-start.el (all): Add native condition for font-use-system-font.
12890
12891 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12892
12893 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12894 Correct the patch from 2009-11-18. (Bug#3910)
12895
12896 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12897
12898 * progmodes/subword.el: Rename from lisp/subword.el.
12899
12900 * subword.el: Rename to progmodes/subword.el.
12901
12902 * Makefile.in (ELCFILES): Adapt to subword.el move.
12903
12904 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12905 Stefan Monnier <monnier@iro.umontreal.ca>
12906
12907 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12908 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12909 (bookmark-bmenu-show-filenames): Use push.
12910 (bookmark-bmenu-hide-filenames): Use local var instead of
12911 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12912 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12913 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12914 filenames now that the bookmark names are always available.
12915
12916 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12917
12918 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12919 (bookmark-search-pattern): Move and leave unbound.
12920 (bookmark-bmenu-mode-map): Change binding.
12921 (bookmark-read-search-input): Simplify.
12922 Don't use text-char-description. Don't error on non-char events.
12923 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12924 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12925 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12926 Use a local var for the timer.
12927 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12928 (i.e. bookmark-bmenu-search).
12929
12930 2009-11-21 Glenn Morris <rgm@gnu.org>
12931
12932 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12933
12934 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12935
12936 * net/browse-url.el (browse-url-default-windows-browser):
12937 Use cygstart for cygwin.
12938
12939 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12940
12941 * bookmark.el: Formatting and doc fixes only:
12942 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12943 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12944 Minor grammar and punctuation fixes in doc string.
12945 (bookmark-read-search-input): Adjust to fit within 80 columns.
12946
12947 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12948
12949 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12950 (c-backward-into-nomenclature): Adapt to subword renaming.
12951
12952 * subword.el (subword-forward, subword-backward, subword-mark)
12953 (subword-kill, subword-backward-kill, subword-transpose)
12954 (subword-downcase, subword-upcase, subword-capitalize)
12955 (subword-forward-internal, subword-backward-internal):
12956 Rename from forward-subword, backward-subword, mark-subword,
12957 kill-subword, backward-kill-subword, transpose-subwords,
12958 downcase-subword, upcase-subword, capitalize-subword,
12959 forward-subword-internal, backward-subword-internal.
12960
12961 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12962
12963 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12964 New options.
12965 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12966 New vars.
12967 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12968 (bookmark-bmenu-filter-alist-by-regexp)
12969 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12970 (bookmark-bmenu-search): New command.
12971 (bookmark-bmenu-mode-map): Bind it.
12972
12973 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12974
12975 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12976 backward-subword to quit the byte-compiler.
12977
12978 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12979
12980 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12981
12982 * progmodes/cc-cmds.el (c-update-modeline)
12983 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12984 Refer to subword.el functions instead of cc-subword.el.
12985
12986 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12987 subword.el functions instead of cc-subword.el.
12988
12989 * progmodes/cc-subword.el: Rename to subword.el.
12990 * subword.el: Rename from progmodes/cc-subword.el.
12991 (subword-mode-map): Rename from c-subword-mode-map.
12992 (subword-mode): Rename from c-subword-mode.
12993 (global-subword-mode): New global minor mode.
12994 (forward-subword): Rename from c-forward-subword.
12995 (backward-subword): Rename from c-backward-subword.
12996 (mark-subword): Rename from c-mark-subword.
12997 (kill-subword): Rename from c-kill-subword.
12998 (backward-kill-subword): Rename from c-backward-kill-subword.
12999 (transpose-subwords): Rename from c-tranpose-subword.
13000 (downcase-subword): Rename from c-downcase-subword.
13001 (capitalize-subword): Rename from c-capitalize-subword.
13002 (forward-subword-internal): Rename from c-forward-subword-internal.
13003 (backward-subword-internal): Rename from c-backward-subword-internal.
13004
13005 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13006
13007 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13008 from a dired buffer.
13009 (vc-dired-deduce-fileset): New function.
13010 (vc-root-diff, vc-print-root-log): Use it.
13011
13012 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13013 nil LIMIT argument to vc-print-log-internal.
13014
13015 2009-11-20 Glenn Morris <rgm@gnu.org>
13016
13017 * Makefile.in (ELCFILES): Regenerate.
13018
13019 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13020
13021 * calc/calc.el (calc-set-mode-line):
13022 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13023 (math-format-number): Rename `math-format-complement-signed' to
13024 `math-format-twos-complement'.
13025
13026 * calc/calc-bin.el (math-format-twos-complement): Rename from
13027 math-format-complement-signed.
13028 (calc-radix): Rename `calc-complement-signed-mode' to
13029 `calc-twos-complement-mode'.
13030 (calc-octal-radix, calc-hex-radix): Add an argument for
13031 two's complement.
13032
13033 * calc/calc-embed.el (calc-embedded-mode-vars):
13034 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13035
13036 * calc/calc-ext.el (calc-init-extensions):
13037 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13038 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13039
13040 * calc/calc-units.el (math-build-units-table-buffer):
13041 Let `calc-twos-complement-mode' be nil.
13042
13043 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13044 entries.
13045
13046 * calc/calc-vec.el (calcFunc-vunpack):
13047 * calc/calc-aent.el (calc-do-calc-eval):
13048 * calc/calc-forms.el (math-format-date):
13049 * calc/calc-graph.el (calc-graph-plot):
13050 * calc/calc-math.el (math-use-emacs-fn):
13051 * calc/calccomp.el (math-compose-expr):
13052 Let `calc-twos-complement-mode' be nil.
13053
13054 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13055
13056 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13057 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13058 * minibuffer.el (completion-in-region-functions): New hook.
13059 (completion-in-region): New function.
13060 * emacs-lisp/lisp.el (lisp-complete-symbol):
13061 * pcomplete.el (pcomplete-std-complete): Use it.
13062
13063 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13064
13065 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13066 (latex-complete-alist): New vars.
13067 (latex-string-prefix-p, latex-complete-bibtex-keys)
13068 (latex-complete-envnames, latex-complete-refkeys)
13069 (latex-complete-data): New functions.
13070 (latex-complete, latex-indent-or-complete): New commands.
13071
13072 * window.el (display-buffer-mark-dedicated): New var.
13073 (display-buffer): Obey it.
13074 * minibuffer.el (minibuffer-completion-help): Use it.
13075
13076 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13077
13078 * filecache.el (file-cache-add-file): Use push and cons.
13079 (file-cache-delete-file-regexp): Use push.
13080 (file-cache-complete): Use completion-in-region.
13081
13082 * simple.el (with-wrapper-hook): Fix thinko.
13083
13084 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13085 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13086 Use with-current-buffer and string-to-number.
13087 (hfy-fallback-colour-values): Use assoc-string.
13088 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13089 (hfy-face-at): Remove unused var `found-face'.
13090 (hfy-compile-stylesheet): Remove unused var `css'.
13091 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13092 and `orig-buffer'.
13093 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13094 Use with-current-buffer.
13095 (hfy-text-p): Use expand-file-name and fewer setq.
13096
13097 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13098
13099 * htmlfontify.el, hfy-cmap.el: New files.
13100
13101 2009-11-19 Juri Linkov <juri@jurta.org>
13102
13103 * minibuffer.el (completions-format): New defcustom.
13104 (completion--insert-strings): Implement vertical format.
13105
13106 * simple.el (switch-to-completions): Move point to the first
13107 completion when point was at the beginning of the buffer.
13108
13109 2009-11-19 Juri Linkov <juri@jurta.org>
13110
13111 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13112
13113 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13114
13115 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13116
13117 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13118 (mail-signature): Change default to t.
13119 (mail-from-style): Deprecate `system-default' value.
13120 (mail-insert-from-field): For default value of mail-from-style,
13121 default to `angles' unless `angles' needs quoting and `parens'
13122 does not.
13123 (mail-citation-prefix-regexp): Use citation regexp from
13124 message-mode.
13125
13126 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13127
13128 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13129 Set variables for computing the prompt for reading password.
13130
13131 2009-11-19 Glenn Morris <rgm@gnu.org>
13132
13133 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13134
13135 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13136
13137 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13138 (newsticker-treeview-listwindow-height): Fix custom type.
13139
13140 2009-11-19 Kenichi Handa <handa@m17n.org>
13141
13142 * descr-text.el (describe-char-padded-string): Compose with TAB
13143 only if there's a font for CH.
13144 (describe-char): Fix the condition for detecting a trivial composition.
13145
13146 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13147
13148 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13149 more accurate version of the regexp. (Bug#3910)
13150
13151 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13152
13153 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13154
13155 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13156
13157 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13158 (font-setting-change-default-font): Fix typo in docstring.
13159
13160 2009-11-18 Alan Mackenzie <acm@muc.de>
13161
13162 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13163
13164 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13165
13166 * font-setting.el (font-use-system-font): Move ...
13167
13168 * cus-start.el (all): ... to here.
13169
13170 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13171
13172 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13173 Don't set `ad-return-value' if `ad-do-it' doesn't.
13174
13175 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13176 modification time.
13177
13178 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13179
13180 * menu-bar.el: Put "Use system font" in Option-menu.
13181 (menu-bar-options-save): Add font-use-system-font.
13182
13183 * loadup.el: If feature system-font-setting or font-render-setting is
13184 there, load font-setting.
13185
13186 * Makefile.in (ELCFILES): Add font-settings.el.
13187 * font-setting.el: New file.
13188
13189 2009-11-17 Glenn Morris <rgm@gnu.org>
13190
13191 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13192
13193 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13194 Preserve point in the list buffer. (Bug#4939)
13195 Use point-at-eol.
13196 (newsticker--treeview-list-update-highlight)
13197 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13198
13199 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13200
13201 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13202 Remove.
13203
13204 * calc/calc-ext.el (calc-init-extensions): Remove references to
13205 symclip.
13206
13207 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13208
13209 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13210 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13211 `calc-symclip'.
13212
13213 2009-11-16 Kevin Ryde <user42@zip.com.au>
13214
13215 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13216 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13217
13218 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13219 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13220 Ignore trailing spaces by omit-nulls to split-string (fixing
13221 regression from Emacs 21 due to the incompatible split-string
13222 change). (Bug #4928.)
13223
13224 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13225
13226 * vc.el (vc-log-show-limit): Default to 2000.
13227 (vc-print-log-internal): Insert buttons to request more entries
13228 when limiting the output.
13229
13230 * vc-sccs.el (vc-sccs-print-log):
13231 * vc-rcs.el (vc-rcs-print-log):
13232 * vc-cvs.el (vc-cvs-print-log):
13233 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13234 LIMIT is non-nil.
13235
13236 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13237
13238 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13239 error when `tramp-gvfs-dbus-event-vector' is set.
13240 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13241
13242 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13243
13244 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13245
13246 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13247
13248 * net/dbus.el (dbus-unregister-service): New defun.
13249 (dbus-register-property): Register the handlers of
13250 "org.freedesktop.DBus.Properties" for SERVICE.
13251 (dbus-property-handler): Fix docstring.
13252
13253 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13254
13255 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13256 Quote doc string reference in defvaralias as it is not in special form.
13257 (byte-compile-output-docform): Doc fix.
13258
13259 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13260
13261 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13262 (calc-complement-signed-mode): New variables.
13263 (calc-set-mode-line): Add indicator for twos-complements.
13264 (math-format-number): Format twos-complement notation.
13265
13266 * calc/calc-bin.el (calc-word-size): Reset the variables
13267 `math-2-word-size' and `math-half-2-word-size'.
13268 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13269 (calc-symclip): New functions.
13270
13271 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13272
13273 * calc/calc-embed.el (calc-embedded-mode-vars):
13274 Add `calc-complement-signed-mode' to the list of modes.
13275
13276 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13277 (calc-b-oper-keys): Add `calc-symclip' to list.
13278
13279 * calc/calc-ext.el (math-read-number-fancy): Read complement
13280 signed numbers.
13281 (calc-init-extensions): Add binding for `calc-symclip'.
13282 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13283
13284 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13285 `calc-symclip'.
13286 (calc-modes-menu): Add item for twos complement mode.
13287
13288 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13289
13290 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13291
13292 * register.el (jump-to-register, insert-register): Handle Semantic
13293 tags. From commented-out advice in semantic/senator.el.
13294
13295 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13296
13297 * vc.el (vc-log-show-limit): New variable.
13298 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13299 when using a prefix argument.
13300 (vc-print-log-internal): Add new argument LIMIT.
13301
13302 * vc-svn.el (vc-svn-print-log):
13303 * vc-mtn.el (vc-mtn-print-log):
13304 * vc-hg.el (vc-hg-print-log):
13305 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13306 pass it to the log command when set. Make the BUFFER argument
13307 non-optional.
13308
13309 * vc-sccs.el (vc-sccs-print-log):
13310 * vc-rcs.el (vc-rcs-print-log):
13311 * vc-git.el (vc-git-print-log):
13312 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13313 ignore it. Make the BUFFER argument non-optional
13314
13315 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13316
13317 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13318
13319 * dired.el (dired-mode-map): Move encryption items to "Operate"
13320 menu (Bug#4703).
13321
13322 * strokes.el (strokes-update-window-configuration): Make strokes
13323 buffer current before erasing (Bug#4906).
13324
13325 2009-11-15 Juri Linkov <juri@jurta.org>
13326
13327 * simple.el (set-mark-default-inactive): Add :type, :group
13328 and :version. (Bug#4876)
13329
13330 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13331
13332 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13333 (archive-unique-fname): ... here. (Bug#4929)
13334
13335 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13336
13337 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13338 with a real fix.
13339
13340 * novice.el (disabled-command-function): Add useful args.
13341 Setup the help buffer so that [back] works.
13342 Remove redundant call to help-mode.
13343 (disabled-command-function): Use `case'.
13344 (en/disable-command): New function extracted from enable-command.
13345 (enable-command, disable-command): Use it.
13346
13347 2009-11-14 Glenn Morris <rgm@gnu.org>
13348
13349 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13350 constants. (Bug#4913)
13351
13352 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13353
13354 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13355
13356 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13357 defined in C that have no doc-strings. (Bug#1063)
13358
13359 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13360
13361 * cus-edit.el (data, files):
13362 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13363
13364 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13365
13366 * simple.el (shell-command): Doc fix (Bug#4891).
13367
13368 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13369
13370 2009-11-14 Glenn Morris <rgm@gnu.org>
13371
13372 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13373 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13374 If they are already loaded, eval-after-load will do the right thing.
13375
13376 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13377 compiling.
13378
13379 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13380
13381 * simple.el (x-selection-owner-p): Declare.
13382 (read-mail-command): Use custom radio type rather than choice.
13383 (completion-no-auto-exit): Doc fix.
13384
13385 * custom.el (defgroup):
13386 * epg-config.el (epg): Doc fixes.
13387
13388 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13389
13390 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13391 * international/ccl.el (define-ccl-program): Do not purecopy the
13392 docstring, defconst does it anyway.
13393
13394 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13395
13396 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13397 a second time.
13398
13399 * x-dnd.el (x-dnd-maybe-call-test-function):
13400 * window.el (split-window-vertically):
13401 * whitespace.el (whitespace-help-on):
13402 * vc-rcs.el (vc-rcs-consult-headers):
13403 * userlock.el (ask-user-about-lock-help)
13404 (ask-user-about-supersession-help):
13405 * type-break.el (type-break-force-mode-line-update):
13406 * time-stamp.el (time-stamp-conv-warn):
13407 * terminal.el (te-set-output-log, te-more-break, te-filter)
13408 (te-sentinel, terminal-emulator):
13409 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13410 (term-write-input-ring, term-check-source, term-start-output-log):
13411 (term-display-buffer-line, term-dynamic-list-completions):
13412 (term-ansi-make-term, serial-term):
13413 * subr.el (selective-display):
13414 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13415 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13416 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13417 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13418 (speedbar-remove-localized-speedbar-support)
13419 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13420 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13421 (speedbar-buffers-line-directory):
13422 * simple.el (shell-command-on-region, append-to-buffer)
13423 (prepend-to-buffer):
13424 * shadowfile.el (shadow-save-todo-file):
13425 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13426 (scroll-bar-maybe-set-window-start):
13427 * sb-image.el (speedbar-image-dump):
13428 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13429 (load-save-place-alist-from-file):
13430 * ps-samp.el (ps-print-message-from-summary):
13431 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13432 (ps-background-image, ps-begin-job, ps-do-despool):
13433 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13434 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13435 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13436 (pr-call-process, pr-file-list, pr-interface-save):
13437 * novice.el (disabled-command-function)
13438 (enable-command, disable-command):
13439 * mouse.el (mouse-buffer-menu-alist):
13440 * mouse-copy.el (mouse-kill-preserving-secondary):
13441 * macros.el (kbd-macro-query):
13442 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13443 * informat.el (batch-info-validate):
13444 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13445 * hippie-exp.el (try-expand-dabbrev-visible):
13446 * help-mode.el (help-make-xrefs):
13447 * help-fns.el (describe-variable):
13448 * generic-x.el (bat-generic-mode-run-as-comint):
13449 * finder.el (finder-mouse-select):
13450 * find-dired.el (find-dired-sentinel):
13451 * filesets.el (filesets-file-close):
13452 * files.el (list-directory):
13453 * faces.el (list-faces-display, describe-face):
13454 * facemenu.el (list-colors-display):
13455 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13456 * epg.el (epg--process-filter, epg-cancel):
13457 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13458 (epa--read-signature-type):
13459 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13460 (emerge-file-names):
13461 * ehelp.el (electric-helpify):
13462 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13463 * ediff-vers.el (rcs-ediff-view-revision):
13464 * ediff-util.el (ediff-setup):
13465 * ediff-mult.el (ediff-append-custom-diff):
13466 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13467 (ediff-wordify):
13468 * echistory.el (Electric-command-history-redo-expression):
13469 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13470 * disp-table.el (describe-display-table):
13471 * dired.el (dired-find-buffer-nocreate):
13472 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13473 * dabbrev.el (dabbrev--same-major-mode-p):
13474 * chistory.el (list-command-history):
13475 * apropos.el (apropos-documentation):
13476 * allout.el (allout-obtain-passphrase):
13477 (allout-copy-exposed-to-buffer):
13478 (allout-verify-passphrase): Use with-current-buffer.
13479
13480 2009-11-13 Glenn Morris <rgm@gnu.org>
13481
13482 * Makefile.in (ELCFILES): Regenerate.
13483
13484 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13485
13486 * net/dbus.el (dbus-registered-objects-table): Rename from
13487 `dbus-registered-functions-table', because it contains also properties.
13488 (dbus-unregister-object): Unregister also properties.
13489 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13490 Use a timeout of 500 msec, in order to not block.
13491 (dbus-register-property, dbus-property-handler): New defuns.
13492
13493 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13494
13495 * simple.el (minibuffer-default-add-completions): Drop deprecated
13496 4th arg.
13497
13498 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13499
13500 * textmodes/artist.el (artist-mouse-choose-operation):
13501 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13502 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13503 (artist-compute-up-event-key): New function.
13504 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13505
13506 2009-11-13 Kenichi Handa <handa@m17n.org>
13507
13508 * language/japan-util.el: Make sure that the value of jisx0208
13509 property is jisx0208 character.
13510
13511 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13512
13513 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13514 car or each item, not the whole list.
13515
13516 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13517
13518 * minibuffer.el (minibuffer-completion-help):
13519 Use minibuffer-hide-completions.
13520
13521 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13522
13523 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13524 (dired-revert): Use them (bug#4880).
13525
13526 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13527
13528 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13529
13530 2009-11-12 Juri Linkov <juri@jurta.org>
13531
13532 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13533 New functions.
13534 (find-file-literally-at-point): Alias of `ffap-literally'.
13535
13536 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13537
13538 * textmodes/ispell.el (ispell-skip-region-alist):
13539 * textmodes/css-mode.el (auto-mode-alist):
13540 * progmodes/compile.el (auto-mode-alist):
13541 * international/mule.el (ctext-non-standard-encodings-alist)
13542 (ctext-non-standard-encodings-regexp):
13543 * simple.el (shell-command-switch, text-read-only):
13544 * replace.el (occur-mode-map):
13545 * paths.el (rmail-file-name):
13546 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13547 * find-file.el (ff-special-constructs):
13548 * files.el (file-name-handler-alist):
13549 * composite.el: Purecopy strings.
13550
13551 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13552
13553 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13554
13555 * widget.el (define-widget): Purecopy the docstring.
13556 * international/mule-cmds.el (charset): Do not purecopy the
13557 docstring here, define-widget does it.
13558
13559 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13560 * textmodes/bibtex-style.el (auto-mode-alist):
13561 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13562 * progmodes/compile.el (compile-command):
13563 * language/korea-util.el (default-korean-keyboard):
13564 * international/mule-conf.el (file-coding-system-alist):
13565 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13566 * tooltip.el (tooltip-frame-parameters):
13567 * newcomment.el (comment-end, comment-padding):
13568 * dired.el (dired-trivial-filenames):
13569 * comint.el (comint-file-name-prefix): Purecopy initial values.
13570
13571 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13572
13573 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13574 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13575 `tramp-unload'.
13576 (tramp-advice-make-auto-save-file-name)
13577 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13578 after removing the advice.
13579
13580 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13581
13582 * progmodes/grep.el (grep-regexp-alist):
13583 * international/mule-cmds.el (iso-2022-control-alist):
13584 * emacs-lisp/timer.el (timer-duration-words):
13585 * subr.el (version-separator, version-regexp-alist):
13586 * minibuffer.el (completion-styles-alist):
13587 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13588 Change defvars to defconsts.
13589
13590 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13591 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13592 * international/mule-conf.el: Allow to be byte compiled.
13593
13594 * international/mule.el (define-charset): Purecopy props.
13595 (load-with-code-conversion): Purecopy doc string and file name.
13596 (put-charset-property): Purecopy strings.
13597 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13598
13599 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13600 (define-char-code-property): Correctly purecopy the table.
13601
13602 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13603
13604 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13605
13606 * subr.el (add-hook): Purecopy strings.
13607 (eval-after-load): Purecopy load-history-regexp and the form.
13608
13609 * custom.el (custom-declare-group): Purecopy load-file-name.
13610
13611 * subr.el (menu-bar-separator): New defconst.
13612 * net/eudc.el (eudc-tools-menu):
13613 * international/mule-cmds.el (set-coding-system-map)
13614 (mule-menu-keymap):
13615 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13616 * vc-hooks.el (vc-menu-map):
13617 * replace.el (occur-mode-map):
13618 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13619 (menu-bar-edit-menu, menu-bar-goto-menu)
13620 (menu-bar-custom-menu, menu-bar-showhide-menu)
13621 (menu-bar-options-menu, menu-bar-tools-menu)
13622 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13623 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13624 (menu-bar-help-menu):
13625 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13626 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13627
13628 * term/x-win.el (x-gtk-stock-map):
13629 * progmodes/vera-mode.el (auto-mode-alist):
13630 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13631 (inferior-lisp-program, inferior-lisp-load-command):
13632 * progmodes/hideshow.el (hs-special-modes-alist):
13633 * progmodes/gud.el (same-window-regexps):
13634 * progmodes/grep.el (grep-program, find-program, xargs-program):
13635 * net/telnet.el (same-window-regexps):
13636 * net/rlogin.el (same-window-regexps):
13637 * language/ethiopic.el (font-ccl-encoder-alist):
13638 * vc-sccs.el (vc-sccs-master-templates):
13639 * vc-rcs.el (vc-rcs-master-templates):
13640 * subr.el (cl-assertion-failed):
13641 * simple.el (next-error-overlay-arrow-position):
13642 * lpr.el (lpr-command):
13643 * locate.el (locate-ls-subdir-switches):
13644 * info.el (same-window-regexps, info)
13645 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13646 * image-mode.el (image-mode, auto-mode-alist):
13647 * hippie-exp.el (hippie-expand-ignore-buffers):
13648 * format.el (format-alist):
13649 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13650 (find-name-arg):
13651 * facemenu.el (facemenu-keybindings):
13652 * dired.el (dired-listing-switches, dired-chown-program):
13653 * diff.el (diff-switches, diff-command):
13654 * cus-edit.el (same-window-regexps):
13655 * bindings.el (mode-line-mule-info)
13656 (mode-line-buffer-identification): Purecopy strings.
13657
13658 2009-11-11 Juri Linkov <juri@jurta.org>
13659
13660 * simple.el (dired-get-filename) <declare-function>:
13661 Tell the byte-compiler about dired-get-filename.
13662 (shell-command): In Dired mode, get filename from the current line
13663 as the default value.
13664
13665 2009-11-10 Glenn Morris <rgm@gnu.org>
13666
13667 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13668 * calendar/holidays.el, progmodes/cperl-mode.el:
13669 Update x-popup-menu declarations.
13670
13671 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13672 (list-load-path-shadows): Use dolist.
13673 (list-load-path-shadows): Use with-current-buffer.
13674
13675 2009-11-10 Juri Linkov <juri@jurta.org>
13676
13677 * minibuffer.el (read-file-name): Support a list of default values
13678 in `default-filename'. Use the first file name where only one
13679 element is required. Doc fix.
13680
13681 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13682
13683 * net/dbus.el (dbus-unregister-object): Release service, if no
13684 other method is registered for it.
13685
13686 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13687
13688 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13689 bookmark-sort-flag is non-nil (Bug#4653).
13690
13691 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13692
13693 * emulation/cua-base.el: Add CUA property to some CC mode commands
13694 (Bug#4100).
13695
13696 2009-11-08 Kevin Ryde <user42@zip.com.au>
13697
13698 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13699 at end of sentence (Bug#4818).
13700
13701 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13702
13703 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13704 Handle "see declaration of" MSFT statements (Bug#4100).
13705
13706 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13707
13708 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13709 (tramp-advice-file-expand-wildcards): Unload via
13710 `ad-remove-advice'.
13711
13712 * net/trampver.el: Update release number.
13713
13714 2009-11-08 Kevin Ryde <user42@zip.com.au>
13715
13716 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13717 `ad-do-it'.
13718
13719 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13720
13721 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13722 in order to keep context in SELinux.
13723
13724 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13725
13726 * dired-aux.el (dired-query): Place cursor in echo area and allow
13727 C-g.
13728
13729 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13730 menu item if not on a directory (Bug#4701).
13731
13732 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13733
13734 Sync with Tramp 2.1.17.
13735
13736 * net/tramp.el (tramp-handle-copy-directory): Don't use
13737 `file-remote-p' (due to compatibility).
13738
13739 * net/tramp-compat.el (tramp-compat-copy-directory)
13740 (tramp-compat-delete-directory): New defuns.
13741
13742 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13743 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13744 Use `tramp-compat-delete-directory'.
13745
13746 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13747 (tramp-smb-handle-delete-directory):
13748 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13749
13750 * net/trampver.el: Update release number.
13751
13752 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13753
13754 * tar-mode.el (tar-copy): Call write-region on the right buffer
13755 (Bug#4857).
13756
13757 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13758 by hand, if necessary (Bug#4878).
13759
13760 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13761
13762 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13763 align size column (Bug#4839).
13764
13765 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13766 statement.
13767
13768 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13769
13770 * progmodes/ld-script.el (auto-mode-alist):
13771 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13772
13773 * cus-face.el (custom-declare-face): Purecopy face spec.
13774
13775 2009-11-06 Kenichi Handa <handa@m17n.org>
13776
13777 * international/uni-bidi.el: Re-generated.
13778 * international/uni-category.el: Re-generated.
13779 * international/uni-combining.el: Re-generated.
13780 * international/uni-mirrored.el: Re-generated.
13781
13782 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13783
13784 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13785 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13786 (tex-start-options, slitex-run-command, latex-run-command)
13787 (tex-run-command, tex-directory):
13788 * textmodes/ispell.el (ispell-html-skip-alists)
13789 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13790 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13791 (adaptive-fill-regexp):
13792 * textmodes/dns-mode.el (auto-mode-alist):
13793 * progmodes/python.el (interpreter-mode-alist):
13794 * progmodes/etags.el (tags-compression-info-list):
13795 * progmodes/etags.el (tags-file-name):
13796 * net/browse-url.el (browse-url-galeon-program)
13797 (browse-url-firefox-program):
13798 * mail/sendmail.el (mail-signature-file)
13799 (mail-citation-prefix-regexp):
13800 * international/mule-conf.el (eight-bit):
13801 * international/latexenc.el (latex-inputenc-coding-alist):
13802 * international/fontset.el (x-pixel-size-width-font-regexp):
13803 * emacs-lisp/warnings.el (warning-type-format):
13804 * emacs-lisp/trace.el (trace-buffer):
13805 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13806 (emacs-lisp-mode-map):
13807 * calendar/holidays.el (holiday-solar-holidays)
13808 (holiday-bahai-holidays, holiday-islamic-holidays)
13809 (holiday-christian-holidays, holiday-hebrew-holidays)
13810 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13811 (hebrew-holidays-1, holiday-oriental-holidays)
13812 (holiday-general-holidays):
13813 * x-dnd.el (x-dnd-known-types):
13814 * tool-bar.el (tool-bar):
13815 * startup.el (site-run-file):
13816 * shell.el (shell-dumb-shell-regexp):
13817 * rfn-eshadow.el (file-name-shadow-tty-properties)
13818 (file-name-shadow-properties):
13819 * paths.el (remote-shell-program, news-directory):
13820 * mouse.el ([C-down-mouse-3]):
13821 * menu-bar.el (menu-bar-tools-menu):
13822 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13823 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13824 (jka-compr-compression-info-list):
13825 * isearch.el (search-whitespace-regexp):
13826 * image-file.el (image-file-name-extensions):
13827 * find-dired.el (find-ls-option):
13828 * files.el (directory-listing-before-filename-regexp)
13829 (directory-free-space-args, insert-directory-program)
13830 (list-directory-brief-switches, magic-fallback-mode-alist)
13831 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13832 (automount-dir-prefix):
13833 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13834 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13835 (face-font-registry-alternatives, face-font-registry-alternatives)
13836 (face-font-family-alternatives):
13837 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13838 (facemenu-foreground-menu, facemenu-face-menu):
13839 * epa-hook.el (epa-file-name-regexp):
13840 * dnd.el (dnd-protocol-alist):
13841 * textmodes/rst.el (auto-mode-alist):
13842 * button.el (default-button): Purecopy strings.
13843
13844 2009-11-06 Glenn Morris <rgm@gnu.org>
13845
13846 * Makefile.in (ELCFILES): Update.
13847
13848 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13849
13850 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13851 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13852
13853 * nxml/xsd-regexp.el (xsdre-gen-categories):
13854 * nxml/xmltok.el (xmltok-parse-entity):
13855 * nxml/rng-parse.el (rng-parse-validate-file):
13856 * nxml/rng-maint.el (rng-format-manual)
13857 (rng-manual-output-force-new-line):
13858 * nxml/rng-loc.el (rng-save-schema-location-1):
13859 * nxml/rng-cmpct.el (rng-c-parse-file):
13860 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13861 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13862
13863 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13864
13865 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13866 Remove extra save-excursions and make-variable-buffer-local's.
13867 Suggested by Stefan Monnier.
13868
13869 (verilog-getopt-file, verilog-module-inside-filename-p)
13870 (verilog-set-define): Merge GNU 1.35 and repair changes from
13871 switching to using with-current-buffer.
13872
13873 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13874 being treated as a number and confusing AUTORESET.
13875 Reported by Dan Dever.
13876
13877 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13878 Add verilog-auto-ignore-concat to fix backward compatibility with
13879 older verilog-modes. Reported by Dan Katz.
13880
13881 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13882 containing closing anchors "...$".
13883
13884 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13885 Reported by Wade Smith.
13886
13887 (verilog-batch-execute-func): Comment on function usage.
13888
13889 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13890
13891 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13892 for labels.
13893
13894 (verilog-label-re, verilog-calc-1): Support proper indent of named
13895 asserts.
13896
13897 (verilog-backward-token, verilog-basic-complete-re)
13898 (verilog-beg-of-statement, verilog-indent-re): Support proper
13899 indent of the assert statement at the beginning of a block of text.
13900
13901 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13902 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13903 tokens as begins.
13904
13905 2009-11-05 Glenn Morris <rgm@gnu.org>
13906
13907 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13908 Emacs 19. (Bug#1531)
13909 (byte-compile-fix-header): Update for the above change.
13910 Drop test for epoch::version.
13911
13912 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13913 * cus-dep.el (custom-make-dependencies):
13914 * finder.el (finder-compile-keywords):
13915 Use autoload-rubric's feature argument.
13916
13917 * calendar/diary-lib.el (top-level): Make load behave more like require.
13918
13919 * vc-git.el (vc-git-stash-map): Move definition before use.
13920
13921 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13922
13923 * custom.el (custom-declare-group): Purecopy standard-value.
13924 (custom-declare-group): Purecopy custom-prefix.
13925
13926 * international/mule.el (load-with-code-conversion):
13927 Call do-after-load-evaluation unconditionally.
13928
13929 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13930
13931 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13932
13933 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13934
13935 2009-11-04 Glenn Morris <rgm@gnu.org>
13936
13937 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13938 (byte-compile-compatibility): Remove option.
13939 (byte-compile-close-variables, byte-compile-fix-header)
13940 (byte-compile-insert-header, byte-compile-output-docform)
13941 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13942 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13943 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13944 (byte-compile-insert, byte-compile-defun):
13945 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13946 (byte-defop-compiler19): Remove.
13947 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13948 used by anything. Replace all calls with byte-defop-compiler.
13949
13950 2009-11-04 Juri Linkov <juri@jurta.org>
13951
13952 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13953 (menu-bar-options-menu): Don't quote the `prop' arg of
13954 `menu-bar-make-mm-toggle'.
13955
13956 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13957
13958 * calendar/calendar.el (cal-loaddefs):
13959 * calendar/diary-lib.el (diary-loaddefs):
13960 * calendar/holidays.el (hol-loaddefs):
13961 * eshell/esh-module.el (esh-groups): Load rather than require.
13962
13963 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13964
13965 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13966 point-min==1.
13967 (todo-top-priorities): Only display-buffer when called interactively.
13968 (todo-item-start): Don't save excursion point.
13969 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13970 (todo-insert-item-here, todo-file-item, todo-remove-item):
13971 Adjust uses of todo-item-start and todo-item-end.
13972
13973 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13974 (autoload-rubric): Don't use any more.
13975
13976 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13977 and only put a prop if it is non-nil.
13978
13979 2009-11-03 Juri Linkov <juri@jurta.org>
13980
13981 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13982 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13983
13984 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13985 and "Menu" to make top-level menu item visually one unit (like
13986 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13987 multi-word menu items). Fix :help string for quit-window.
13988
13989 2009-11-03 Glenn Morris <rgm@gnu.org>
13990
13991 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13992 (byte-compile-file-form-define-abbrev-table)
13993 (byte-compile-file-form-custom-declare-variable)
13994 (byte-compile-variable-ref, byte-compile-defvar):
13995 Whether or not a warning is enabled should only affect whether we issue
13996 the warning, not whether or not we collect the relevant data.
13997 Eg warnings can be turned on and off throughout the course of a file.
13998
13999 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14000 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14001
14002 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14003
14004 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14005 * play/mpuz.el (mpuz-create-buffer):
14006 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14007 (lm-print-y,s,noise, lm-print-w0, lm-init):
14008 * play/gomoku.el (gomoku-prompt-for-move):
14009 * play/fortune.el (fortune-in-buffer):
14010 * play/dissociate.el (dissociated-press):
14011 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14012 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14013 * mail/supercite.el (sc-eref-show):
14014 * mail/smtpmail.el (smtpmail-send-it):
14015 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14016 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14017 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14018 (rmail-summary-goto-msg, rmail-summary-expunge)
14019 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14020 (rmail-summary-add-label, rmail-summary-output-menu)
14021 (rmail-summary-output-body):
14022 * mail/rfc822.el (rfc822-addresses):
14023 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14024 * mail/mailpost.el (post-mail-send-it):
14025 * mail/hashcash.el (hashcash-generate-payment):
14026 * mail/feedmail.el (feedmail-run-the-queue)
14027 (feedmail-queue-send-edit-prompt-help-first)
14028 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14029 (feedmail-deduce-address-list):
14030 * eshell/esh-ext.el (eshell-remote-command):
14031 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14032 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14033 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14034 (viper-save-string-in-file, viper-valid-marker):
14035 * emulation/viper-keym.el (viper-toggle-key):
14036 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14037 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14038 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14039 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14040 (viper-exec-form-in-emacs, viper-brac-function):
14041 * emulation/viper.el (viper-delocalize-var):
14042 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14043 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14044 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14045 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14046 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14047 * emulation/edt.el (edt-electric-helpify):
14048 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14049 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14050 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14051 (cua-indent-to-global-mark-column):
14052 * calendar/diary-lib.el (calendar-mark-1):
14053 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14054 Use with-current-buffer.
14055 * emulation/viper.el (viper-delocalize-var): Use dolist.
14056
14057 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14058
14059 * comint.el (comint-replace-by-expanded-history-before-point):
14060 Replace !! with the previous input string literally (Bug#1795).
14061
14062 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14063
14064 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14065 to be made up of whitespace.
14066
14067 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14068
14069 * minibuffer.el (read-file-name): Don't use file dialogs for
14070 remote directories (Bug#99).
14071
14072 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14073
14074 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14075
14076 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14077
14078 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14079 instead of deleting the window or frame.
14080
14081 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14082
14083 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14084 Support face colors.
14085
14086 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14087 New function. Support face colors (Bug#1168).
14088 (tex-common-initialization): Use it.
14089
14090 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14091 mode allows it (Bug#1168).
14092
14093 2009-10-31 Juri Linkov <juri@jurta.org>
14094
14095 * facemenu.el (list-colors-display): Don't mark buffer as
14096 modified (Bug#3948).
14097
14098 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14099
14100 * international/mule-diag.el (list-character-sets-1):
14101 Minor message fix (Bug#3526).
14102
14103 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14104 Fix face property (Bug#4834).
14105 (etags-list-tags, etags-tags-apropos-additional)
14106 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14107 property.
14108
14109 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14110 items.
14111
14112 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14113
14114 * textmodes/two-column.el (2C-split):
14115 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14116 * textmodes/tex-mode.el (tex-set-buffer-directory):
14117 * textmodes/spell.el (spell-region, spell-string):
14118 * textmodes/reftex.el (reftex-erase-buffer):
14119 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14120 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14121 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14122 (reftex-select-item):
14123 * textmodes/reftex-ref.el (reftex-label-info-update)
14124 (reftex-offer-label-menu):
14125 * textmodes/reftex-index.el (reftex-index-change-entry)
14126 (reftex-index-phrases-info):
14127 * textmodes/reftex-global.el (reftex-create-tags-file)
14128 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14129 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14130 (reftex-view-crossref-from-bibtex):
14131 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14132 (reftex-extract-bib-entries-from-thebibliography)
14133 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14134 * textmodes/refbib.el (r2b-capitalize-title):
14135 (r2b-convert-buffer, r2b-help):
14136 * textmodes/page-ext.el (pages-directory)
14137 (pages-directory-goto-with-mouse):
14138 * textmodes/bibtex.el (bibtex-validate-globally):
14139 * textmodes/bib-mode.el (bib-capitalize-title):
14140 * textmodes/artist.el (artist-clear-buffer, artist-system):
14141 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14142 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14143 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14144 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14145 (xscheme-send-control-g-interrupt, xscheme-start-process)
14146 (xscheme-process-sentinel, xscheme-cd):
14147 * progmodes/verilog-mode.el (verilog-read-always-signals)
14148 (verilog-set-define, verilog-getopt-file)
14149 (verilog-module-inside-filename-p):
14150 * progmodes/sh-script.el:
14151 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14152 (python-pdbtrack-grub-for-buffer, python-execute-file):
14153 * progmodes/octave-inf.el (inferior-octave):
14154 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14155 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14156 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14157 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14158 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14159 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14160 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14161 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14162 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14163 (idlwave-shell-examine-display, idlwave-shell-run-region)
14164 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14165 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14166 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14167 (idlwave-help-get-help-buffer):
14168 * progmodes/gud.el (gud-basic-call, gud-find-class)
14169 (gud-tooltip-activate-mouse-motions-if-enabled):
14170 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14171 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14172 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14173 (ebrowse-tags-next-file):
14174 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14175 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14176 (ebnf-eps-finish-and-write):
14177 * progmodes/cpp.el (cpp-edit-save):
14178 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14179 * progmodes/cc-defs.el (c-emacs-features):
14180 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14181 (antlr-directory-dependencies):
14182 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14183 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14184 (ada-find-any-references, ada-make-filename-from-adaname)
14185 (ada-make-body-gnatstub):
14186 * obsolete/rnews.el (news-list-news-groups):
14187 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14188 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14189 * net/rcirc.el (rcirc-debug):
14190 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14191 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14192 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14193 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14194 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14195 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14196 (newsticker--treeview-list-clear-highlight)
14197 (newsticker--treeview-list-update-highlight)
14198 (newsticker--treeview-list-highlight-start)
14199 (newsticker--treeview-tree-update-highlight)
14200 (newsticker--treeview-get-selected-item)
14201 (newsticker-treeview-mark-list-items-old)
14202 (newsticker--treeview-set-current-node):
14203 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14204 * net/newst-backend.el (newsticker--get-news-by-funcall)
14205 (newsticker--get-news-by-wget, newsticker--image-get)
14206 (newsticker--image-sentinel):
14207 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14208 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14209 (eudc-ph-close-session):
14210 * net/eudc.el (eudc-save-options):
14211 * language/thai-word.el (thai-update-word-table):
14212 * language/japan-util.el (japanese-string-conversion):
14213 * international/titdic-cnv.el (tsang-quick-converter)
14214 (ziranma-converter, ctlau-converter):
14215 * international/mule-cmds.el (describe-language-environment):
14216 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14217 (skkdic-convert-postfix, skkdic-convert-prefix):
14218 (skkdic-convert-okuri-nasi, skkdic-convert):
14219 * emacs-lisp/re-builder.el (reb-update-overlays):
14220 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14221 * emacs-lisp/gulp.el (gulp-send-requests):
14222 * emacs-lisp/find-gc.el (trace-call-tree):
14223 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14224 (eieio-describe-generic):
14225 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14226 * emacs-lisp/edebug.el (edebug-outside-excursion):
14227 * emacs-lisp/debug.el (debugger-make-xrefs):
14228 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14229 * emacs-lisp/chart.el (chart-new-buffer):
14230 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14231 Use with-current-buffer.
14232 * textmodes/artist.el (artist-system): Don't call
14233 copy-sequence on a fresh string.
14234 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14235
14236 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14237
14238 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14239 is no item to edit. (Bug#4820)
14240 (todo-top-priorities): Restore point and restore narrowing in Todo
14241 buffer. (Bug#4820)
14242
14243 2009-10-31 Glenn Morris <rgm@gnu.org>
14244
14245 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14246 (comint-last-output-start, comint-last-input-start)
14247 (comint-last-input-end): Don't defvar when compiling.
14248 (ange-ftp-process-file): Use bound-and-true-p.
14249
14250 * pcmpl-rpm.el (top-level): Move provide statement to end.
14251 (pcmpl-rpm): Remove unused custom group.
14252
14253 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14254
14255 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14256
14257 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14258 (byte-compile-warnings): Add `constants' as an option.
14259 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14260 (display-call-tree): Update for byte-compile-fdefinition possibly
14261 returning `(macro lambda ...)'. (Bug#4778)
14262 (byte-compile-variable-ref, byte-compile-setq-default):
14263 Respect `constants' member of byte-compile-warnings.
14264
14265 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14266
14267 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14268 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14269 to "submit:".
14270
14271 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14272
14273 * textmodes/ispell.el (ispell-skip-region-alist):
14274 * international/mule-conf.el (eight-bit):
14275 * international/fontset.el (font-encoding-alist):
14276 * startup.el (pure-space-overflow-message):
14277 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14278 * paths.el (gnus-nntp-service, rmail-spool-directory)
14279 (term-file-prefix):
14280 * files.el (save-some-buffers-action-alist):
14281 * cmuscheme.el (same-window-buffer-names):
14282 * ielm.el (same-window-buffer-names):
14283 * shell.el (same-window-buffer-names):
14284 * mail/sendmail.el (same-window-buffer-names):
14285 * progmodes/inf-lisp.el (same-window-buffer-names):
14286 * bindings.el (mode-line-client)
14287 (mode-line-column-line-number-mode-map):
14288 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14289 (tibetan-precomposed-regexp): Purecopy string arguments.
14290
14291 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14292
14293 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14294 (calcDigit-nondigit):
14295 * calc/calc-yank.el (calc-copy-to-buffer):
14296 * calc/calc-units.el (calc-invalidate-units-table):
14297 * calc/calc-trail.el (calc-trail-yank):
14298 * calc/calc-store.el (calc-insert-variables):
14299 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14300 * calc/calc-prog.el (calc-read-parse-table):
14301 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14302 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14303 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14304 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14305 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14306 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14307 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14308 * calc/calc-ext.el (calc-realign):
14309 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14310 (calc-embedded-finish-edit, calc-embedded-make-info)
14311 (calc-embedded-finish-command, calc-embedded-stack-change):
14312 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14313
14314 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14315 shell-dynamic-complete-filename in preference to
14316 comint-dynamic-complete-filename.
14317
14318 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14319 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14320 Don't consider whether the display supports colors.
14321 (bookmark-import-new-list): Use dolist.
14322 (bookmark-bmenu-mode-map): Move initialization into declaration.
14323 (bookmark-bmenu-list): Use dolist, simplify.
14324 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14325 (menu-bar-final-items): Use push.
14326
14327 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14328
14329 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14330 it works on remote files.
14331 (vc-hg-diff): Don't pass any `--cwd' argument.
14332
14333 2009-10-27 Kevin Ryde <user42@zip.com.au>
14334
14335 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14336 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14337 (Further to Bug#3921).
14338
14339 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14340
14341 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14342 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14343 calling `tramp-imap-put-file'. Add file size to the call.
14344 (tramp-imap-get-file-entries): Compute also user name, file size,
14345 and date.
14346 (tramp-imap-handle-insert-directory): Insert uid and gid.
14347 (tramp-imap-handle-file-attributes): Transform uid and gid
14348 according to `id-format'.
14349 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14350 size in header X-Size.
14351
14352 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14353
14354 * simple.el (transpose-subr): Give clearer error when the mark
14355 is not set. (Bug#4807)
14356
14357 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14358
14359 * net/tramp.el (tramp-perl-file-truename): New defconst.
14360 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14361 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14362 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14363 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14364
14365 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14366 Ignore `dired-call-process'.
14367 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14368
14369 2009-10-26 Julian Scheid <julians37@gmail.com>
14370
14371 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14372 (tramp-get-remote-readlink): New defun.
14373 (tramp-handle-file-truename): Use it.
14374 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14375 file exists if cache value present.
14376 (tramp-check-cached-permissions): New defun.
14377 (tramp-handle-file-readable-p): Use it.
14378 (tramp-handle-file-writable-p): Likewise.
14379 (tramp-handle-file-executable-p): Likewise.
14380 (tramp-handle-file-name-all-completions): Try using Perl to get
14381 partial completions. When perl not available, combine `cd' and
14382 `ls' into single remote operation and use shell expansion to get
14383 partial remote directory contents. Set `file-exists-p' cache for
14384 directory and any files returned by ls. Change cache handling to
14385 support partial directory contents. Use error message emitted by
14386 remote `cd' or Perl code for local tramp-error.
14387 (tramp-do-copy-or-rename-file-directly): Avoid separate
14388 tramp-send-command-and-check call.
14389 (tramp-handle-process-file): Merge three remote ops into one.
14390 Do not flush all caches when `process-file-side-effects' is set.
14391 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14392 file-attributes shows uid/gid to be set already.
14393
14394 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14395
14396 * textmodes/tex-mode.el (tex-dvi-view-command)
14397 (tex-show-queue-command, tex-open-quote):
14398 * progmodes/ruby-mode.el (auto-mode-alist)
14399 (interpreter-mode-alist): Purecopy strings.
14400
14401 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14402
14403 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14404 string for the hook, keymap and abbrev table.
14405
14406 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14407
14408 * x-dnd.el (x-dnd-xdnd-to-action):
14409 * startup.el (fancy-startup-text, fancy-about-text): Change to
14410 defconst from defvar.
14411
14412 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14413
14414 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14415 Purecopy initialization strings.
14416
14417 * mail/sendmail.el (mail-header-separator)
14418 (mail-personal-alias-file):
14419 * mail/rmail.el (rmail-default-dont-reply-to-names)
14420 (rmail-ignored-headers, rmail-retry-ignored-headers)
14421 (rmail-highlighted-headers, rmail-secondary-file-directory)
14422 (rmail-secondary-file-regexp):
14423 * files.el (null-device, file-name-invalid-regexp)
14424 (locate-dominating-stop-dir-regexp)
14425 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14426 (interpreter-mode-alist): Use mapcar instead of mapc.
14427
14428 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14429
14430 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14431 (completion-ignored-extensions):
14432 (debug-ignored-errors): Purecopy strings.
14433
14434 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14435
14436 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14437 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14438 (pcomplete--here): Use push.
14439
14440 * subr.el (all-completions): Declare the 4th arg obsolete.
14441
14442 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14443
14444 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14445 (pcomplete-unquote-argument): New function.
14446 (pcomplete--common-suffix): Always pay attention to case.
14447 (pcomplete--table-subvert): Quote and unquote the text.
14448 (pcomplete--common-quoted-suffix): New function.
14449 (pcomplete-std-complete): Use it and pcomplete-begin.
14450
14451 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14452 we're inside a dedicated or minibuffer window.
14453
14454 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14455
14456 * bookmark.el: Update documentation, especially documentation
14457 of `bookmark-alist' and of the bookmark file format.
14458 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14459
14460 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14461
14462 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14463 keybindings apply to the mail buffer (Bug#4003). Shrink help
14464 window to buffer.
14465
14466 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14467 (global-whitespace-mode, global-whitespace-newline-mode)
14468 (whitespace-toggle-options, global-whitespace-toggle-options):
14469 Doc fix (Bug#3660).
14470
14471 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14472 of xmltok-start before the end tag was inserted (Bug#2840).
14473
14474 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14475 patterns that are preceded by an open-paren (Bug#1320).
14476
14477 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14478
14479 * files.el (delete-directory): Delete symlinks to directories with
14480 delete-file (Bug#4739).
14481
14482 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14483
14484 * vc.el (vc-backend-for-registration): Rename from
14485 vc-get-backend-for-registration. Update callers.
14486
14487 * international/mule-cmds.el (set-language-info-alist):
14488 Purecopy lang-env.
14489 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14490 (charset): Purecopy the name.
14491 (define-char-code-property): Purecopy string arguments.
14492
14493 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14494 Purecopy string arguments.
14495
14496 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14497 * ediff-hook.el (menu-bar-ediff-menu):
14498 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14499 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14500
14501 2009-10-24 Glenn Morris <rgm@gnu.org>
14502
14503 * comint.el (comint-dynamic-list-completions):
14504 * term.el (term-dynamic-list-completions): Use choose-completion rather
14505 than obsolete alias mouse-choose-completion.
14506
14507 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14508 file-cache-choose-completion.
14509 (file-cache-choose-completion): Handle an optional event argument.
14510 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14511
14512 * progmodes/octave-mod.el (octave-complete-symbol):
14513 Use choose-completion if mouse-choose-completion is ever removed.
14514
14515 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14516 use.
14517
14518 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14519 compiler.
14520
14521 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14522
14523 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14526 Ignore `pred' now that we receive one.
14527 Handle test-completion specially.
14528
14529 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14530
14531 * vc.el (vc-responsible-backend): Throw an error if not backend is
14532 found. Remove the REGISTER argument. Move the code dealing with
14533 REGISTER ...
14534 (vc-get-backend-for-registration): ... here. New function.
14535 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14536 of vc-responsible-backend, pass the file name instead of the
14537 directory name.
14538
14539 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14540
14541 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14542 New funs.
14543 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14544 (pcomplete-comint-setup): Don't modify a global var via
14545 accidental side-effects.
14546 (pcomplete-shell-setup): Adjust call accordingly.
14547 (pcomplete-parse-comint-arguments): Use push.
14548
14549 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14550
14551 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14552 Allow uncapitalized info node names (Bug#3921).
14553
14554 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14555 to the DEBUG file (Bug#3781).
14556
14557 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14558
14559 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14560 dictionary entry (Bug#4579).
14561
14562 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14563
14564 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14565 from `rfn-eshadow-update-overlay-hook' when unloading.
14566 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14567 "rsyncc". Adjust doc string.
14568 (tramp-temp-buffer-file-name): New buffer-local defvar.
14569 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14570 Keep temporary file when indicated by method ("rsync" and
14571 "rsyncc").
14572 (tramp-handle-write-region): Handle APPEND.
14573 (tramp-delete-temp-file-function): New defun. Added to
14574 `kill-buffer-hook'.
14575
14576 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14577
14578 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14579
14580 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14581
14582 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14583 (color-name-rgb-alist, tty-standard-colors)
14584 (tty-color-mode-alist): Change to defconst.
14585
14586 * simple.el (mark-inactive): Purecopy message.
14587
14588 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14589 (global-map, yank-menu):
14590 * textmodes/ispell.el (ispell-menu-map):
14591 * net/eudc.el (eudc-tools-menu):
14592 * international/mule-cmds.el (describe-language-environment-map)
14593 (setup-language-environment-map, set-coding-system-map)
14594 (mule-menu-keymap):
14595 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14596 * replace.el (occur-mode-map):
14597 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14598
14599 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14600
14601 * calc/calc.el (math-read-number, math-read-number-simple):
14602 Use `save-match-data'.
14603
14604 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14605
14606 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14607 rather than fiddling with global-map bindings, since it should only
14608 affect per-terminal settings.
14609 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14610
14611 * minibuffer.el (completion-table-with-terminator): Allow to specify
14612 the terminator-regexp.
14613
14614 * simple.el (switch-to-completions): Look for *Completions* in other
14615 frames as well.
14616
14617 * pcomplete.el: Allow the use of completion-tables.
14618 (pcomplete-std-complete): New command.
14619 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14620 (pcomplete--here): Use a function for `form' rather than an expression,
14621 so it can be byte-compiled.
14622 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14623 Add edebug declaration.
14624 (pcomplete-show-completions): Remove unused var `curbuf'.
14625 (pcomplete-do-complete, pcomplete-stub):
14626 Don't assume `completions' is a list of strings any more.
14627
14628 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14629
14630 * find-dired.el (find-name-arg): Fix typo in docstring.
14631
14632 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14633
14634 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14635 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14636
14637 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14638 pcomplete-entries.
14639
14640 * comint.el (comint-read-input-ring, comint-write-input-ring)
14641 (comint-substitute-in-file-name)
14642 (comint-dynamic-complete-as-filename)
14643 (comint-dynamic-simple-complete)
14644 (comint-dynamic-list-filename-completions)
14645 (comint-dynamic-list-completions)
14646 (comint-redirect-results-list-from-process): Minor simplifications.
14647
14648 2009-10-21 Kevin Ryde <user42@zip.com.au>
14649
14650 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14651 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14652 the first form. And insert a blank line after ";;; Code" since
14653 that's usual style. (Bug#4612)
14654
14655 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14656
14657 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14658
14659 * minibuffer.el (completion-table-with-terminator): Properly implement
14660 boundaries, in case `terminator' appears in the suffix.
14661 (completion--embedded-envvar-table): Don't return boundaries if
14662 there's no valid completion. Simplify.
14663 (completion-file-name-table): New completion table extracted from
14664 completion--file-name-table.
14665 (completion--file-name-table): Use it.
14666 (read-file-name-predicate): Declare obsolete.
14667 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14668 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14669 completion-file-name-table, and use the `pred' argument.
14670 * files.el (locate-file-completion-table): Use the `pred' arg rather
14671 than read-file-name-predicate.
14672 (abbreviate-file-name): Use \` rather than ^ for BOS.
14673
14674 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14675
14676 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14677 vc-responsible-backend to register, it causes problems.
14678
14679 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14682
14683 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14684
14685 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14686 (tramp-smb-handle-file-attributes): Use it.
14687 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14688 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14689 `mapcar'. Use `tramp-smb-get-stat-capability'.
14690 Add `dired-filename' text properties.
14691 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14692 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14693 version.
14694
14695 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14696
14697 * subr.el (read-key-delay): Reduce to 0.01.
14698 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14699 (bug#4751).
14700
14701 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14702
14703 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14704
14705 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14706 (Info-menu): Remove unused vars `last' and `completions'.
14707 (Info-index-nodes): Remove unused var `node'.
14708
14709 * info.el (Info-complete-menu-item): Use complete-with-action.
14710
14711 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14712
14713 Make vc-annotate work through copies and renames.
14714 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14715 Return the file name too.
14716 (vc-annotate-revision-at-line)
14717 (vc-annotate-find-revision-at-line)
14718 (vc-annotate-revision-previous-to-line)
14719 (vc-annotate-show-log-revision-at-line): Update to get the file
14720 name from vc-annotate-extract-revision-at-line.
14721 (vc-annotate-show-diff-revision-at-line-internal): Change the
14722 argument to mean whether to show a file diff or not. Get the file
14723 name from vc-annotate-extract-revision-at-line.
14724 (vc-annotate-show-diff-revision-at-line):
14725 Update vc-annotate-show-diff-revision-at-line call.
14726 (vc-annotate-warp-revision): Add an optional file argument.
14727
14728 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14729 (vc-git-annotate-extract-revision-at-line): Also return the file
14730 name if found.
14731
14732 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14733 command. Remove unused code.
14734 (vc-hg-annotate-re): Update to match --follow output.
14735 (vc-hg-annotate-extract-revision-at-line): Also return the file
14736 name if found.
14737
14738 * vc.el: Update annotate-extract-revision-at-line documentation.
14739
14740 2009-10-18 Kevin Ryde <user42@zip.com.au>
14741
14742 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14743 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14744
14745 * net/browse-url.el (browse-url): Identify alist with "consp and
14746 not functionp" and let all other things go down the `apply' leg,
14747 as suggested by Stefan. (Further to bug#4531.)
14748
14749 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14750
14751 * minibuffer.el (read-file-name): Check for repeat before putting
14752 a default argument in file-name-history (Bug#4657).
14753
14754 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14755 read syntax (Bug#4737).
14756
14757 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14758
14759 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14760
14761 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14762 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14763 entries and make note of obsolete tags.
14764
14765 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14766
14767 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14768
14769 2009-10-18 Glenn Morris <rgm@gnu.org>
14770
14771 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14772 grep, so that binary files (eg international/uni-bidi.el) can match.
14773 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14774 now, and in any case the file header format has changed.
14775
14776 2009-10-17 Glenn Morris <rgm@gnu.org>
14777
14778 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14779 (flyspell-get-word, flyspell-large-region)
14780 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14781
14782 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14783
14784 * Makefile.in (ELCFILES): Add ede/shell.
14785
14786 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14787
14788 * term/common-win.el (x-colors): Purecopy it.
14789
14790 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14791
14792 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14793 permissive for when the buffer is empty.
14794 (tar-header-block-tokenize): Decode the username and groupname.
14795 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14796
14797 2009-10-17 Eric Ludlam <zappo@gnu.org>
14798
14799 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14800 contains multibyte characters, choose first applicable coding
14801 system automatically.
14802
14803 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14804
14805 * international/mule-cmds.el (select-safe-coding-system): If the file
14806 has a coding cookie, use it regardless of any other setting (bug#4712).
14807
14808 2009-10-17 Glenn Morris <rgm@gnu.org>
14809
14810 * foldout.el (foldout-mouse-swallow-events):
14811 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14812
14813 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14814 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14815 (dired-keep-marker-symlink, dired-dwim-target)
14816 (dired-copy-preserve-time): Do not autoload these defcustoms.
14817
14818 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14819 messages from messing up the file coding. (Bug#4623)
14820
14821 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14822
14823 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14824 if no match is found for the current dictionary. (Bug#4578)
14825
14826 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14827 optional, since that is how it is documented, and this is often called
14828 with a nil argument. (Bug#4577)
14829 (flyspell-external-point-words, flyspell-auto-correct-word)
14830 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14831 (flyspell-word-search-backward): Remove nil argument in calls to
14832 flyspell-get-word, since it is not needed now.
14833
14834 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14835
14836 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14837
14838 2009-10-16 Glenn Morris <rgm@gnu.org>
14839
14840 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14841
14842 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14843
14844 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14845 (ange-ftp-file-size): New function.
14846 (ange-ftp-file-attributes): Use it.
14847
14848 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14849
14850 * net/tramp-smb.el (tramp-smb-version): New defvar.
14851 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14852 repeated checks.
14853
14854 2009-10-16 Glenn Morris <rgm@gnu.org>
14855
14856 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14857 Maybe copy some custom properties from old to new name. (Bug#4706)
14858
14859 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14860
14861 * subr.el (error, sit-for, start-process-shell-command)
14862 (start-file-process-shell-command): Set the calling convention
14863 after the function definition.
14864
14865 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14866
14867 * subr.el (error, sit-for, start-process-shell-command)
14868 (start-file-process-shell-command): Use the new
14869 set-advertised-calling-convention feature.
14870
14871 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14872
14873 * international/ucs-normalize.el (ucs-normalize-version):
14874 Change to 1.2.
14875 (check-range): Adjust for Unicode 5.2.
14876
14877 2009-10-15 Juri Linkov <juri@jurta.org>
14878
14879 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14880 to the `menu-item' format.
14881
14882 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14883
14884 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14885 if the environment variable does not exist.
14886
14887 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14888 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14889 parameter.
14890 (tramp-smb-handle-add-name-to-file)
14891 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14892 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14893 (tramp-smb-handle-file-attributes)
14894 (tramp-smb-do-file-attributes-with-stat)
14895 (tramp-smb-handle-file-local-copy)
14896 (tramp-smb-handle-insert-directory)
14897 (tramp-smb-handle-make-directory)
14898 (tramp-smb-handle-make-directory-internal)
14899 (tramp-smb-handle-make-symbolic-link)
14900 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14901 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14902 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14903 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14904 Handle long file names.
14905 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14906 process is running.
14907 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14908 Read share names with "-g" option.
14909
14910 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14911
14912 * net/rcirc.el (rcirc-view-log-file): New command.
14913 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14914 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14915 specified.
14916
14917 2009-10-15 Glenn Morris <rgm@gnu.org>
14918
14919 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14920 from the second command-line argument.
14921 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14922 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14923 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14924 w32-batch-update-autoloads.
14925 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14926 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14927
14928 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14929 the headers cannot be located. Simplify, subtracting superflous
14930 save-excursions.
14931
14932 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14933
14934 Replace completion-base-size by completion-base-position to fix bugs
14935 such as (bug#4699).
14936 * simple.el (completion-base-position): New var.
14937 (completion-base-size): Mark as obsolete.
14938 (choose-completion): Make it work for mouse events as well.
14939 Pass the new base-position to choose-completion-string.
14940 (choose-completion-guess-base-position): New function, extracted from
14941 choose-completion-delete-max-match.
14942 (choose-completion-delete-max-match): Use it. Make obsolete.
14943 (choose-completion-string): Use the new base-position info.
14944 (completion-root-regexp): Delete.
14945 (completion-setup-function): Preserve completion-base-position.
14946 Eliminate obsolete base-size manipulation.
14947 * minibuffer.el (display-completion-list): Don't mess with base-size.
14948 (minibuffer-completion-help): Set completion-base-position instead.
14949 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14950 choose-completion.
14951 * textmodes/bibtex.el (bibtex-complete):
14952 * emacs-lisp/crm.el (crm--choose-completion-string):
14953 Adjust to new calling convention.
14954 * complete.el (partial-completion-mode): Use minibufferp to avoid
14955 bumping into incompatible change to choose-completion-string-functions.
14956 * ido.el (ido-choose-completion-string): Make its calling convention
14957 more permissive.
14958 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14959 base-size manipulation.
14960 (comint-dynamic-list-input-ring): Use dotimes and push.
14961 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14962 fundamental-mode. Use `or'.
14963
14964 2009-10-14 Juri Linkov <juri@jurta.org>
14965
14966 * misearch.el (multi-isearch-next-buffer-from-list)
14967 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14968
14969 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14970
14971 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14972 `bytecomp.el'.
14973
14974 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14975 string we return is all made up of text from the completions rather
14976 than part from the completions and part from the input (bug#4219).
14977
14978 * ido.el (ido-everywhere): Use define-minor-mode.
14979
14980 * buff-menu.el (list-buffers, ctl-x-map):
14981 Mark the entry points with ;;;###autoload cookies.
14982
14983 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14984
14985 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14986 correctly in the detached head case.
14987 (vc-git-print-log): Remove unused binding.
14988
14989 * vc.el (vc-responsible-backend): When a directory is passed for
14990 for registration create a VC repository if no backend is
14991 responsible for the directory argument.
14992 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14993
14994 * vc.el: Move comments about RCS and SCCS ...
14995 * vc-rcs.el:
14996 * vc-sccs.el: ... here, respectively.
14997
14998 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14999
15000 * minibuffer.el (completion--file-name-table): Return nil if there's
15001 no file completion, even if substitute-in-file-name changed
15002 the string (bug#4708).
15003
15004 2009-10-13 Juri Linkov <juri@jurta.org>
15005
15006 * files-x.el (read-file-local-variable-value): Don't filter out
15007 minor modes from mode name completion (bug#4664).
15008
15009 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15010
15011 * international/mule-cmds.el (ucs-names): Remove exclusion of
15012 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15013
15014 2009-10-13 Kenichi Handa <handa@m17n.org>
15015
15016 * international/uni-name.el: Regenerated.
15017
15018 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15019
15020 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15021 should be automatically buffer-local, but isn't.)
15022
15023 2009-10-12 Sam Steingold <sds@gnu.org>
15024
15025 * progmodes/compile.el (compilation-next-error-function): Fix the
15026 timestamps if the buffer has been visited before.
15027 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15028 non-anchored patterns, like the perl one (bug#3928).
15029
15030 2009-10-12 Glenn Morris <rgm@gnu.org>
15031
15032 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15033 Let-bind `size'.
15034
15035 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15036
15037 * proced.el (proced-unload-function): New function.
15038
15039 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15040 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15041 Doc fix.
15042
15043 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15044
15045 2009-10-11 Juri Linkov <juri@jurta.org>
15046
15047 * files-x.el (read-file-local-variable-value):
15048 Provide default value only for bound variables (bug#4664).
15049
15050 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15051
15052 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15053 connection methods like smb.
15054
15055 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15056 can be empty.
15057
15058 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15059 (tramp-smb-file-name-handler-alist): Add handlers for
15060 `add-name-to-file', `make-symbolic-link'.
15061 (tramp-smb-handle-add-name-to-file)
15062 (tramp-smb-do-file-attributes-with-stat)
15063 (tramp-smb-handle-make-symbolic-link)
15064 (tramp-smb-get-cifs-capabilities): New defuns.
15065 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15066 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15067 (tramp-smb-handle-file-local-copy)
15068 (tramp-smb-handle-make-directory-internal)
15069 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15070 The file name syntax depends on cifs capabilities.
15071 (tramp-smb-handle-file-attributes):
15072 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15073 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15074 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15075
15076 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15077
15078 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15079 (eieio-defclass): Apply deftype handler and setf-method properties
15080 directly.
15081 (eieio-add-new-slot): Avoid union function from cl library.
15082 (eieio--typep): New function.
15083 (eieio-perform-slot-validation): Use it.
15084
15085 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15086
15087 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15088 Update documentation to refer to the variables documented in r1.135.
15089 (Bug#4188)
15090
15091 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15092
15093 * bookmark.el (Info-suffix-list): Remove this unused variable.
15094 (bookmark-current-point): Remove this obsolete variable.
15095 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15096 Adjust for removal of bookmark-current-point.
15097
15098 (bookmarks-already-loaded, bookmark-current-buffer)
15099 (bookmark-yank-point): Document. (Bug#4188)
15100
15101 2009-10-10 Glenn Morris <rgm@gnu.org>
15102
15103 * frame.el (frame-height): Doc fix.
15104
15105 * calendar/calendar.el (calendar-split-width-threshold): New option.
15106 (calendar-basic-setup): Use calendar-split-width-threshold.
15107
15108 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15109
15110 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15111 Ideographic Supplement" range (U+1F200..U+1F2FF).
15112
15113 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15114
15115 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15116 since the list will have been rebuilt anyway. (Bug#4349)
15117
15118 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15119
15120 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15121 (bookmark-bmenu-execute-deletions): Don't save here, as
15122 bookmark-delete will now do so if necessary.
15123 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15124 (Bug#4348)
15125
15126 2009-10-09 Glenn Morris <rgm@gnu.org>
15127
15128 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15129
15130 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15131
15132 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15133 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15134 argument now, so the two function's behaviors will match. (Bug#3645)
15135
15136 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15137
15138 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15139 (tramp-file-name-real-host, tramp-file-name-port):
15140 Apply `save-match-data'.
15141
15142 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15143 case both directories are remote.
15144 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15145 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15146
15147 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15148
15149 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15150
15151 2009-10-07 Glenn Morris <rgm@gnu.org>
15152
15153 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15154 of concat.
15155
15156 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15157
15158 * files-x.el (read-file-local-variable): Include some
15159 non-user-variables in the completion table (bug#4664).
15160
15161 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15162
15163 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15164 message.
15165
15166 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15167 (tramp-smb-file-name-handler-alist): Add handler for
15168 `copy-directory', `expand-file-name', `set-file-modes'.
15169 (tramp-smb-handle-copy-directory)
15170 (tramp-smb-handle-expand-file-name)
15171 (tramp-smb-handle-set-file-modes): New defuns.
15172 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15173 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15174 entry.
15175 (tramp-smb-handle-insert-directory): Don't flush the cache.
15176 (tramp-smb-maybe-open-connection): Check for samba client and
15177 server versions.
15178
15179 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15180
15181 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15182 to not error out of search for "^lisp=" fails.
15183
15184 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15185
15186 * makefile.w32-in (WINS_UPDATES): New macro.
15187 (custom-deps, finder-data, autoloads): Use it.
15188
15189 2009-10-07 Glenn Morris <rgm@gnu.org>
15190
15191 * Makefile.in (autoloads): Revert previous change.
15192 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15193 the list of preloaded files passed on the command-line, get
15194 it from src/Makefile.
15195
15196 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15197 show the original buffer rather than a random one.
15198
15199 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15200
15201 * help.el (describe-no-warranty): Place point in a slightly better
15202 position in the GPLv3 text.
15203
15204 2009-10-06 Sam Steingold <sds@gnu.org>
15205
15206 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15207 the comm attribute is present before calling regexp-quote.
15208
15209 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15210
15211 * play/animate.el (animate-string): For good effect, make sure
15212 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15213
15214 * play/animate.el (animate-sequence, animate-birthday-present):
15215 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15216
15217 2009-10-06 Glenn Morris <rgm@gnu.org>
15218
15219 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15220
15221 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15222 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15223 (batch-update-autoloads): Process a string value of autoload-excludes,
15224 set during the build process.
15225 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15226
15227 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15228 inside with-parsed... macro so that `v' is defined.
15229
15230 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15231 * progmodes/fortran.el (fortran-end-of-block)
15232 (fortran-beginning-of-block):
15233 Also push mark in the macro case.
15234
15235 * emerge.el (emerge-show-file-name):
15236 * calc/calc.el (calc-quit):
15237 * calc/calc-misc.el (calc-big-or-small):
15238 * calc/calc-graph.el (calc-graph-view):
15239 * calc/calc-ext.el (calc-reset):
15240 * calendar/calendar.el (calendar-basic-setup):
15241 Use window-full-height-p.
15242
15243 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15244 header we don't understand, don't insert another. (Bug#4624)
15245 If changing mime charset, insert the new one in the right place.
15246
15247 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15248
15249 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15250 (cal-tex-cursor-month): Correctly increment the end date for diary and
15251 holiday listing. (Bug#4626)
15252
15253 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15254
15255 * help-fns.el (describe-function-1): Don't burp if the function is not
15256 a symbol.
15257
15258 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15259
15260 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15261 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15262 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15263 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15264
15265 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15266 (eieio-default-superclass): Reflow docstrings.
15267 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15268 (eieio-unbind-method-implementations, defmethod)
15269 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15270 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15271 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15272 (eieio-slot-originating-class-p, eieio-slot-name-index)
15273 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15274 (constructor, initialize-instance, no-next-method, object-print)
15275 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15276 Fix typos in docstrings.
15277 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15278 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15279 (next-method-p): Doc fixes.
15280 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15281 Fix typos in error messages.
15282 (eieio-defmethod): Fix typo in description of generic method.
15283
15284 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15285 (eieio-persistent-save-interactive, slot-missing):
15286 Fix typos in docstrings.
15287 (eieio-instance-inheritor-slot-boundp): Doc fix.
15288
15289 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15290 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15291
15292 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15293 (eieio-custom-object-apply-reset):
15294 Fix typos in docstrings and error messages.
15295
15296 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15297 Fix typo in docstring.
15298
15299 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15300 (eieio-browse-tree): Doc fix.
15301 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15302 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15303 Fix typos in docstrings.
15304
15305 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15306 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15307 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15308 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15309 Reflow docstrings.
15310
15311 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15312
15313 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15314 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15315 Set log-view-vc-backend so that diff can work.
15316
15317 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15318 vc-version-diff.
15319 (vc-diff-internal): Autoload this instead of vc-version-diff.
15320
15321 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15322
15323 * simple.el (eval-expression): Doc fix.
15324
15325 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15326
15327 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15328
15329 * files.el (directory-files-no-dot-files-regexp): New defconst.
15330 (delete-directory): Use it.
15331 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15332
15333 * net/tramp.el (tramp-verbose): Fix docstring.
15334 (tramp-methods): Add recursive option to `tramp-copy-args'.
15335 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15336 "scp1_old", "scp2_old", "rsync", "rsyncc".
15337 (tramp-default-method): Check also for `auth-source-user-or-password'.
15338 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15339 Add handler for `copy-directory'.
15340 (tramp-handle-copy-directory): New defun.
15341 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15342 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15343 Optimize sent command.
15344
15345 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15346
15347 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15348 window if necessary.
15349
15350 * calendar/calendar.el (calendar-basic-setup): Don't call
15351 switch-to-buffer in a dedicated window.
15352
15353 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15354
15355 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15356 don't do anything related to relocating, just return nil.
15357 (bookmark-error-no-filename): New error.
15358 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15359 bookmark has no file. Don't even attempt to handle things that
15360 are not files; the whole point of custom handlers is to keep that
15361 knowledge elsewhere anyway. Tighten some comments.
15362 (bookmark-file-or-variation-thereof): Remove now-unused function.
15363 (bookmark-location): Doc string fix.
15364 (Bug#4250)
15365
15366 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15367
15368 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15369 don't use a file dialog, because they usually don't know how to read
15370 a directory target from the user. (Bug#4230)
15371 Also, make sure the prompt can display directories as well as files.
15372
15373 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15374
15375 * bookmark.el (bookmark-set, bookmark-buffer-name):
15376 Improve doc strings. (Bug#1193)
15377
15378 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15379
15380 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15381 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15382 (bookmark-get-annotation, bookmark-set-annotation)
15383 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15384 (bookmark-set-position, bookmark-get-front-context-string)
15385 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15386 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15387 (bookmark-jump-other-window, bookmark-handle-bookmark)
15388 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15389 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15390 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15391 Improve doc strings to say whether bookmark can be a string or
15392 a record or both, and make other consistency and clarity fixes.
15393 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15394 (bookmark-default-annotation-text, bookmark-yank-word)
15395 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15396 (bookmark-import-new-list, bookmark-maybe-rename)
15397 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15398 (bookmark-bmenu-bookmark): Give these doc strings.
15399 (bookmark-bmenu-check-position): Give this a doc string, but also
15400 add a FIXME comment about how the function may be pointless.
15401 (bookmark-default-handler): Rework doc string and change a
15402 parameter name, to clarify that this takes a bookmark record
15403 not a bookmark name.
15404 (bookmark-set): Change a parameter name to indicate its meaning,
15405 and improve the doc string a bit.
15406 (Bug#4188)
15407
15408 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15409
15410 * bookmark.el (bookmark-alist): Document the new `handler' element
15411 in the param alist.
15412 (bookmark-make-record-function): Adjust documentation for above.
15413 (Bug#4193)
15414
15415 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15416
15417 * info.el (Info-bookmark-make-record): Document this function.
15418 (Info-bookmark-jump): Document with a doc string, not just a comment.
15419 (Bug#4203)
15420
15421 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15422
15423 * files.el (copy-directory): New defun.
15424
15425 * dired-aux.el (dired-copy-file-recursive): Use it.
15426
15427 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15428
15429 * files-x.el (modify-dir-local-variable)
15430 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15431 docstrings.
15432
15433 * recentf.el (recentf-unload-function): New function.
15434
15435 2009-10-04 Glenn Morris <rgm@gnu.org>
15436
15437 * window.el (window-full-height-p): Add doc string.
15438
15439 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15440
15441 * window.el (window-full-height-p): New function. (Bug#4543)
15442
15443 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15444
15445 * vc.el: Remove commented out code.
15446 (vc-derived-from-dir-mode): Remove, unused.
15447 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15448
15449 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15450
15451 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15452 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15453 there could be recursive loading when `default-directory' is a
15454 remote file name. (Bug#4614)
15455
15456 2009-10-03 Glenn Morris <rgm@gnu.org>
15457
15458 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15459 the frame is wide.
15460 (calendar-generate-window): Test for shrinkability rather than width.
15461
15462 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15463 reusing existing buffers, in case we happen to visit two files with the
15464 same basename. (Bug#4593)
15465
15466 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15467
15468 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15469 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15470 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15471 subdirs of cedet as well.
15472 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15473
15474 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15475
15476 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15477 Obey advertised-signature-table.
15478
15479 * help-fns.el (help-function-arglist): Don't check
15480 advertised-signature-table.
15481 (describe-function-1): Do it here instead so it also applies to subrs.
15482
15483 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15484
15485 * simple.el (start-file-process): Say in the doc-string, that file
15486 handlers might not support pty association, if PROGRAM is nil.
15487
15488 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15489 HOST and USER are strings. They are nil, when there are
15490 incomplete entries in ~/.netrc, for example.
15491 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15492 root directory ("device busy" error otherwise).
15493
15494 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15495 Flush file properties of created directory.
15496
15497 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15498
15499 * makefile.w32-in (WINS_BASIC): Remove cedet.
15500 (WINS_CEDET): Add cedet.
15501 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15502
15503 2009-10-02 Kevin Ryde <user42@zip.com.au>
15504
15505 * net/browse-url.el (browse-url): Pass any symbol in
15506 browse-url-browser-function to `apply', since if you've mistakenly put
15507 an unbound symbol then the error is clearer. (Bug#4531)
15508
15509 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15510
15511 * allout.el (allout-init, allout-back-to-current-heading)
15512 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15513 (allout-ascend, allout-up-current-level, allout-end-of-level)
15514 (allout-previous-visible-heading, allout-forward-current-level)
15515 (allout-backward-current-level, allout-show-children):
15516 * apropos.el (apropos-describe-plist):
15517 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15518 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15519 * completion.el (add-completion, add-permanent-completion):
15520 * descr-text.el (describe-text-category, describe-char):
15521 * desktop.el (desktop-lazy-abort):
15522 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15523 * dired.el (dired-build-subdir-alist):
15524 * ediff.el (ediff-version):
15525 * elide-head.el (elide-head, elide-head-show):
15526 * emerge.el (emerge-version):
15527 * env.el (getenv):
15528 * face-remap.el (variable-pitch-mode):
15529 * faces.el (describe-face):
15530 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15531 (dired-at-point):
15532 * files.el (find-file-existing, auto-save-mode):
15533 * font-lock.el (font-lock-fontify-buffer):
15534 * help-fns.el (describe-function, describe-variable)
15535 (describe-syntax, describe-categories):
15536 * help.el (view-lossage, describe-bindings, describe-key)
15537 (describe-mode):
15538 * hexl.el (hexl-current-address):
15539 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15540 * info.el (Info-goto-emacs-key-command-node):
15541 * log-edit.el (log-edit-insert-cvs-template)
15542 (log-edit-insert-cvs-rcstemplate):
15543 * menu-bar.el (menu-bar-mode):
15544 * mouse.el (mouse-appearance-menu):
15545 * newcomment.el (comment-indent-new-line):
15546 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15547 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15548 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15549 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15550 * recentf.el (recentf-mode):
15551 * savehist.el (savehist-mode, savehist-save):
15552 * shadowfile.el (shadow-copy-files):
15553 * simple.el (kill-ring-save, next-line, previous-line)
15554 (normal-erase-is-backspace-mode):
15555 * strokes.el (strokes-update-window-configuration)
15556 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15557 (strokes-xpm-for-stroke):
15558 * time.el (emacs-uptime, emacs-init-time):
15559 * tutorial.el (tutorial--describe-nonstandard-key)
15560 (tutorial--detailed-help):
15561 * type-break.el (type-break-mode)
15562 (type-break-mode-line-message-mode, type-break-query-mode)
15563 (type-break-guesstimate-keystroke-threshold):
15564 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15565 * version.el (emacs-version):
15566 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15567 * winner.el (winner-mode):
15568 * calendar/timeclock.el (timeclock-in, timeclock-out)
15569 (timeclock-status-string, timeclock-change)
15570 (timeclock-workday-remaining-string)
15571 (timeclock-workday-elapsed-string)
15572 (timeclock-when-to-leave-string):
15573 * calendar/todo-mode.el (todo-add-category):
15574 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15575 * emacs-lisp/autoload.el (update-file-autoloads):
15576 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15577 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15578 (checkdoc-message-text, checkdoc-defun):
15579 * emacs-lisp/debug.el (debugger-list-functions):
15580 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15581 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15582 (eieio-describe-generic):
15583 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15584 * emacs-lisp/shadow.el (list-load-path-shadows):
15585 * emulation/cua-base.el (cua-mode):
15586 * emulation/edt.el (edt-set-scroll-margins):
15587 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15588 (tpu-toggle-regexp, tpu-toggle-search-direction)
15589 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15590 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15591 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15592 (viper-set-parsing-style-toggling-macro)
15593 (viper-set-emacs-state-searchstyle-macros):
15594 * emulation/viper.el (viper-set-hooks):
15595 * eshell/esh-mode.el (eshell-truncate-buffer):
15596 * international/mule-cmds.el (prefer-coding-system)
15597 (describe-input-method, describe-language-environment):
15598 * international/mule-diag.el (list-character-sets)
15599 (describe-character-set, describe-coding-system)
15600 (describe-fontset, list-fontsets, list-input-methods):
15601 * mail/sendmail.el (mail-signature):
15602 * net/ange-ftp.el (ange-ftp-copy-file):
15603 * net/browse-url.el (browse-url):
15604 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15605 * net/quickurl.el (quickurl-add-url):
15606 * net/rcirc.el (names, topic):
15607 * net/xesam.el (xesam-mode):
15608 * play/5x5.el (5x5-new-game):
15609 * play/yow.el (apropos-zippy):
15610 * progmodes/ada-mode.el (ada-mode-version):
15611 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15612 (f90-end-of-block)
15613 (f90-beginning-of-block):
15614 * progmodes/fortran.el (fortran-end-of-block)
15615 (fortran-beginning-of-block):
15616 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15617 * progmodes/python.el (python-describe-symbol, python-shell):
15618 * term/ns-win.el (ns-print-buffer):
15619 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15620 * textmodes/flyspell.el (flyspell-mode-on):
15621 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15622 (pages-directory-for-addresses):
15623 * textmodes/table.el (table-recognize-cell)
15624 (table-query-dimension, table-generate-source)
15625 (table-insert-sequence, table--warn-incompatibility):
15626 * textmodes/tex-mode.el (tex-validate-buffer):
15627 * textmodes/texinfmt.el (texinfmt-version)
15628 (texinfo-format-buffer):
15629 Use `called-interactively-p' instead of `interactive-p'.
15630
15631 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15632
15633 * image-mode.el (image-toggle-display):
15634 * emacs-lisp/elp.el (elp-instrument-function):
15635 * emacs-lisp/advice.el (ad-make-advised-definition):
15636 * emacs-lisp/easy-mmode.el (define-minor-mode):
15637 * net/browse-url.el (browse-url-maybe-new-window):
15638 * progmodes/sh-script.el (sh-learn-buffer-indent):
15639 Pass new argument 'any to `called-interactively-p'.
15640
15641 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15642
15643 * international/uni-bidi.el:
15644 * international/uni-category.el:
15645 * international/uni-combining.el:
15646 * international/uni-comment.el:
15647 * international/uni-decimal.el:
15648 * international/uni-decomposition.el:
15649 * international/uni-digit.el:
15650 * international/uni-lowercase.el:
15651 * international/uni-mirrored.el:
15652 * international/uni-name.el:
15653 * international/uni-numeric.el:
15654 * international/uni-old-name.el:
15655 * international/uni-titlecase.el:
15656 * international/uni-uppercase.el:
15657 Regenerate from Unicode 5.2.0 data.
15658
15659 2009-10-01 Glenn Morris <rgm@gnu.org>
15660
15661 * Makefile.in (ELCFILES): Regenerate.
15662
15663 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * subr.el (interactive-p): Mark obsolete.
15666 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15667 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15668 advertised-signature-table for subroutines as well.
15669
15670 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15671 (set-advertised-calling-convention): New function.
15672 (make-obsolete, define-obsolete-function-alias)
15673 (make-obsolete-variable, define-obsolete-variable-alias):
15674 Make the optional-ness of `when' obsolete.
15675 (define-obsolete-face-alias): Make `when' non-optional.
15676 * help-fns.el (help-function-arglist):
15677 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15678 Use advertised-signature-table.
15679
15680 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15681
15682 * files.el (delete-directory): New defun. The original function
15683 in fileio.c has been renamed to `delete-directory-internal'.
15684
15685 * dired.el (dired-delete-file): Call `delete-directory' with
15686 RECURSIVE parameter.
15687
15688 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15689 parameter RECURSIVE. Implementation is missing.
15690
15691 * net/tramp.el (tramp-handle-make-directory): Flush upper
15692 directory's file properties.
15693 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15694 (tramp-handle-dired-recursive-delete-directory): Flush directory
15695 properties after the remove command only.
15696
15697 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15698 Handle optional parameter RECURSIVE.
15699
15700 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15701 Handle optional parameter RECURSIVE.
15702
15703 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15704 connection timeout.
15705 (tramp-smb-handle-delete-directory): Handle optional parameter
15706 RECURSIVE.
15707
15708 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15709
15710 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15711 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15712 (byte-compile-defmacro): Use backquotes.
15713
15714 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15715
15716 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15717 has no associated file.
15718 (vc-resynch-buffer): Use vc-dir-buffers.
15719
15720 2009-10-01 Glenn Morris <rgm@gnu.org>
15721
15722 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15723 (chart-file-count):
15724 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15725 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15726 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15727 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15728 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15729 (eieio-copy-parents-into-subclass, make-instance, class-children)
15730 (eieio-generic-form):
15731
15732 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15733 match-data. (Bug#4555).
15734
15735 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15736 rather than parsing it as a regexp. This relaxes the layout
15737 requirements and makes errors easier to detect.
15738 (check-declare-verify): Check file is regular.
15739 (check-declare-directory): Doc fix.
15740 * subr.el (declare-function): Doc fix.
15741
15742 * ibuffer.el (ibuffer-format-qualifier):
15743 * isearch.el (hi-lock-regexp-okay):
15744 * calc/calc.el (math-zerop):
15745 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15746 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15747 Remove unused declarations.
15748
15749 2009-09-30 Eric Ludlam <zappo@gnu.org>
15750
15751 * emacs-lisp/eieio.el (boolean-p): Delete.
15752
15753 2009-09-30 Glenn Morris <rgm@gnu.org>
15754
15755 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15756
15757 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15758 filename is not a string.
15759
15760 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15761
15762 * files.el (safe-local-eval-forms): Fix typo.
15763
15764 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15765
15766 * vc-hooks.el (vc-dir-buffers): New var.
15767 (vc-state-refresh): New function.
15768 (vc-state): Use it.
15769 (vc-after-save): Always ask the backend to recompute the new state.
15770 Always call vc-dir if necessary, using vc-dir-buffers.
15771 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15772 Use vc-dir-buffers.
15773 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15774 (vc-dir-prepare-status-buffer, vc-dir-update)
15775 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15776 Don't call expand-file-name on default-directory.
15777
15778 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15779
15780 * speedbar.el (speedbar-item-delete):
15781 * calc/calc-prog.el (calc-kbd-if):
15782 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15783
15784 * epa.el (epa-key-list-mode-map):
15785 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15786
15787 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15788 (hs-show-hook): Fix typo in docstring.
15789
15790 2009-09-29 Glenn Morris <rgm@gnu.org>
15791
15792 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15793 file-name-nondirectory call preventing location of cedet files.
15794 (check-declare-verify): Use literal search rather than re-search.
15795 Add basic defmethod and defclass, and define-overloadable-function.
15796
15797 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15798 Use tramp-compat-file-attributes rather than nonexistent
15799 tramp-compat-handle-file-attributes.
15800
15801 * Makefile.in (lisptagsfiles4): New.
15802 (AUTOGENEL): Add cedet loaddefs files.
15803 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15804 (update-elclist, compile-always, backup-compiled-files)
15805 (bootstrap-clean): Add yet another directory level.
15806 (update-elclist): Use LC_COLLATE rather than COLLATE.
15807 (ELCFILES): Update, via `make update-elclist'.
15808
15809 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15810
15811 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15812 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15813 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15814
15815 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15816
15817 * Makefile.in (lisptagsfiles3): Define.
15818 (TAGS, TAGS-LISP): Use it.
15819 (update-elclist): Add third directory level to look for elc files.
15820 (compile-always): Likewise.
15821 (backup-compiled-files): Likewise.
15822 (bootstrap-clean): Likewise.
15823 (ELCFILES): Update.
15824
15825 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15826
15827 * Makefile.in (ELCFILES): Add CEDET files.
15828
15829 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15830
15831 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15832
15833 * net/tramp.el (top): Require tramp-imap.
15834
15835 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15836 Use `tramp-compat-handle-file-attributes'.
15837
15838 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15839
15840 * net/tramp-imap.el: New package.
15841
15842 2009-09-28 Eric Ludlam <zappo@gnu.org>
15843
15844 * emacs-lisp/chart.el:
15845 * emacs-lisp/eieio-base.el:
15846 * emacs-lisp/eieio-comp.el:
15847 * emacs-lisp/eieio-custom.el:
15848 * emacs-lisp/eieio-datadebug.el:
15849 * emacs-lisp/eieio-opt.el:
15850 * emacs-lisp/eieio-speedbar.el:
15851 * emacs-lisp/eieio.el: New files.
15852
15853 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15854
15855 * whitespace.el (whitespace-trailing-regexp)
15856 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15857 Fix doc string.
15858
15859 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15860
15861 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15862 menu.
15863
15864 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15865 menu-bar-ediff-menu.
15866
15867 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15868 define-overloadable-function.
15869
15870 * progmodes/autoconf.el: Provide autoconf as well, so that this
15871 file can be `require'd.
15872
15873 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15874
15875 * emacs-lisp/autoload.el (generated-autoload-feature)
15876 (generated-autoload-load-name): New vars.
15877 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15878 (make-autoload): Recognize define-overloadable-function and
15879 defclass forms (for EIEIO).
15880
15881 * Makefile.in (update-subdirs): Exclude cedet directory.
15882
15883 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15884
15885 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15886
15887 * faces.el: Default light-background background for region face to
15888 ns_selection_color under NS.
15889
15890 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15891
15892 * net/imap-hash.el: New library, see NEWS.
15893
15894 * Makefile.in (ELCFILES): Add imap-hash.el.
15895
15896 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15897
15898 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15899 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15900 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15901 definition where the docstring could be taken for the return value.
15902
15903 2009-09-26 Glenn Morris <rgm@gnu.org>
15904
15905 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15906 Add option to only show images below a certain size.
15907 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15908 save-excursion calls.
15909
15910 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15911
15912 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15913 subdirectories) and eieio.
15914
15915 2009-09-26 Alan Mackenzie <acm@muc.de>
15916
15917 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15918 Correct buggy bracketing. (Bug#4289)
15919
15920 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15921 character constants (as case labels). (Bug#4289)
15922
15923 2009-09-25 Juri Linkov <juri@jurta.org>
15924
15925 * files.el (safe-local-eval-forms): Allow time-stamp in
15926 before-save-hook (Bug#4554).
15927
15928 2009-09-25 Drew Adams <drew.adams@oracle.com>
15929
15930 * menu-bar.el (list-buffers-directory): Doc fix.
15931
15932 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15933
15934 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15935 Try and avoid copying twice the same paragraph.
15936 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15937 Remove save-excursion.
15938 (log-edit-changelog-entry): Do it here instead.
15939
15940 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15941
15942 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15943 when available, instead of hardcoding mode names. Doc fix.
15944
15945 * menu-bar.el (list-buffers-directory): Add docstring.
15946 Make automatically buffer-local.
15947
15948 * dired.el (dired-mode):
15949 * files.el (cd-absolute):
15950 * pcvs.el (cvs-temp-buffer):
15951 * pcvs-util.el (cvs-get-buffer-create):
15952 * shell.el (shell-mode):
15953 * vc-dir.el (vc-dir-mode):
15954 Don't make `list-buffers-directory' buffer local.
15955
15956 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15957
15958 * comint.el (comint-exec, comint-run, make-comint):
15959 Doc fixes (Bug#4542).
15960
15961 2009-09-25 Glenn Morris <rgm@gnu.org>
15962
15963 * mail/rmailmm.el (rmail-mime): New custom group.
15964 Move all defcustoms in this file into this group.
15965 (rmail-mime-media-type-handlers-alist): Revert previous change.
15966 (rmail-mime-show-images): New option.
15967 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15968 references to it, since it wasn't actually used for anything.
15969 (rmail-mime-insert-image): New function.
15970 (rmail-mime-image): Use rmail-mime-insert-image.
15971 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15972 obey the value of `rmail-mime-show-images' option. Print the size of
15973 attachments.
15974
15975 2009-09-25 David Engster <deng@randomsample.de>
15976
15977 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15978
15979 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15980
15981 * whitespace.el: Does not highlight trailing spaces While point is
15982 at end of line. Does not highligt spaces at beginning of buffer
15983 while point is at beginning of buffer. Does not highlight spaces
15984 at end of buffer while point is at end of buffer. (Bug#4177)
15985 New version 12.0.
15986 (whitespace-display-mappings): Adjust initialization.
15987 (whitespace-point, whitespace-font-lock-refontify): New vars.
15988 (whitespace-color-on, whitespace-color-off): Adjust code.
15989 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15990 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15991 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15992
15993 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15994
15995 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15996
15997 * textmodes/sgml-mode.el: Remove xml-mode alias.
15998
15999 * files.el (auto-mode-alist, conf-mode-maybe)
16000 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16001
16002 2009-09-24 Alan Mackenzie <acm@muc.de>
16003
16004 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16005 c-forward-conditionals, but it doesn't move point and doesn't set
16006 the mark.
16007 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16008 (c-down-conditional-with-else, c-backward-conditional)
16009 (c-forward-conditional): Refactor to use c-scan-conditionals.
16010
16011 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16012
16013 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16014 (help-default-arg-highlight): Remove.
16015 (help-highlight-arg): New function.
16016 (help-do-arg-highlight): Use it.
16017 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16018
16019 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16020
16021 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16022 Undo last change, which didn't fix the problem and introduced others.
16023
16024 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16025
16026 * progmodes/gdb-mi.el: Don't require speedbar.
16027 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16028
16029 2009-09-24 Glenn Morris <rgm@gnu.org>
16030
16031 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16032
16033 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16034
16035 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16036 there is no newline after the final mime boundary. (Bug#4539)
16037 Move markers on insertion so that any buttons inserted don't end up in
16038 the next part of a multipart message.
16039 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16040 (rmail-mime-bulk-handler): Optionally handle images.
16041 (rmail-mime-image): New button action.
16042 (rmail-mime-image-handler): New function.
16043 (rmail-mime-mode): New mode.
16044 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16045
16046 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16047
16048 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16049 than just dropping elements from it (bug#4504).
16050
16051 * term.el (term-set-scroll-region): Don't move cursor any more.
16052 (term-handle-ansi-escape): Call term-goto here instead.
16053 Suggested by Ivan Kanis <apple@kanis.eu>.
16054
16055 * term.el: Require CL.
16056 (term-ansi-reset): New function.
16057 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16058 (term-handle-colors-array): Simplify.
16059
16060 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16061
16062 * allout.el (allout-overlay-interior-modification-handler)
16063 (allout-obtain-passphrase):
16064 * epa-file.el (epa-file-write-region):
16065 * ps-print.el (ps-begin-job):
16066 * vc-hooks.el (vc-toggle-read-only):
16067 * vc-rcs.el (vc-rcs-rollback):
16068 * vc-sccs.el (vc-sccs-rollback):
16069 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16070 (vc-version-diff, vc-revert, vc-rollback):
16071 * wdired.el (wdired-check-kill-buffer):
16072 * emacs-lisp/authors.el (authors):
16073 * net/socks.el (socks-open-connection):
16074 * net/zeroconf.el (zeroconf-service-add-hook):
16075 * obsolete/vc-mcvs.el (vc-mcvs-register):
16076 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16077 (gdb-select-frame):
16078 * progmodes/grep.el (lgrep, rgrep):
16079 * progmodes/idlw-help.el (idlwave-help-check-locations)
16080 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16081 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16082 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16083 (reftex-toc-rename-label): Fix typos in error messages.
16084
16085 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16086 (dired-copy-how-to-fn): Doc fix.
16087 (dired-files-attributes, dired-read-shell-command):
16088 Fix typos in docstrings.
16089
16090 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16091 (dired-x-find-file-other-window): Reflow docstrings.
16092 (dired-omit-marker-char, dired-read-shell-command)
16093 (dired-x-submit-report): Fix typos in docstrings.
16094
16095 * shell.el (shell-mode-hook):
16096 * view.el (View-scroll-line-forward):
16097 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16098 Fix typos in docstrings.
16099
16100 * net/dig.el (dig-invoke): Fix typo in docstring.
16101 (query-dig): Reflow docstring.
16102
16103 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16104 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16105 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16106 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16107 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16108 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16109 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16110 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16111 (idlwave-completion-map, idlwave-current-indent)
16112 (idlwave-custom-ampersand-surround, idlwave-customize)
16113 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16114 (idlwave-define-abbrev, idlwave-determine-class-special)
16115 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16116 (idlwave-end-block-reg, idlwave-end-of-statement)
16117 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16118 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16119 (idlwave-explicit-class-listed, idlwave-file-header)
16120 (idlwave-fill-paragraph, idlwave-find-class-definition)
16121 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16122 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16123 (idlwave-in-quote, idlwave-indent-action-table)
16124 (idlwave-indent-expand-table, idlwave-indent-line)
16125 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16126 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16127 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16128 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16129 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16130 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16131 (idlwave-outlawed-buffers, idlwave-popup-select)
16132 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16133 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16134 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16135 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16136 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16137 (idlwave-statement-type, idlwave-struct-skip)
16138 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16139 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16140 (idlwave-what-module-find-class): Fix typos in docstrings.
16141 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16142 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16143 (idlwave-find-module, idlwave-find-structure-definition)
16144 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16145 (idlwave-list-load-path-shadows, idlwave-next-statement)
16146 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16147 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16148 (idlwave-template): Reflow docstrings.
16149
16150 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16151 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16152 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16153 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16154 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16155 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16156 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16157 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16158 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16159 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16160 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16161 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16162 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16163 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16164 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16165 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16166 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16167 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16168 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16169 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16170 Fix typos in docstrings.
16171 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16172 (idlwave-shell-hide-output, idlwave-shell-mode)
16173 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16174 Reflow docstrings.
16175
16176 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16177
16178 2009-09-24 Ivan Kanis <apple@kanis.eu>
16179
16180 * term.el (term-bold-attribute): New var.
16181 (term-handle-colors-array): Use it.
16182
16183 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16184
16185 * progmodes/gdb-mi.el (gdb-version): New variable.
16186 (gdb-non-stop-handler): Set gdb-version.
16187 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16188 Condition "--thread" option on gdb-version.
16189 (gdb-invalidate-threads): Remove unused argument.
16190
16191 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16192
16193 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16194 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16195
16196 2009-09-23 Glenn Morris <rgm@gnu.org>
16197
16198 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16199 replying to mail without References or Message-Id. (Bug#4525)
16200
16201 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16202
16203 * term/ns-win.el (ns-reg-to-script): New variable.
16204
16205 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16206
16207 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16208
16209 2009-09-22 Sam Steingold <sds@gnu.org>
16210
16211 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16212 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16213 to 1 because hg returns status 1 when nothing is found.
16214 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16215
16216 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16217
16218 * textmodes/fill.el: Convert to utf-8 encoding.
16219 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16220 pre-Unicode days.
16221
16222 * add-log.el (change-log-fill-forward-paragraph): New function.
16223 (change-log-mode): Use it so fill-region DTRT.
16224 Set fill-indent-according-to-mode here rather than in
16225 change-log-fill-paragraph.
16226 (change-log-fill-paragraph): Remove.
16227
16228 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16229
16230 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16231 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16232
16233 2009-09-22 Glenn Morris <rgm@gnu.org>
16234
16235 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16236 the scroll-bar scroll the calendar window rather than the buffer.
16237
16238 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16239 commands that move point (as opposed to scrolling).
16240
16241 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16242
16243 * emacs-lisp/elint.el (elint): New custom group.
16244 (elint-log-buffer): Make it a defcustom.
16245 (elint-scan-preloaded, elint-ignored-warnings)
16246 (elint-directory-skip-re): New options.
16247 (elint-builtin-variables): Doc fix.
16248 (elint-preloaded-env): New variable.
16249 (elint-unknown-builtin-args): Add an entry for encode-time.
16250 (elint-extra-errors): Make it a variable rather than a constant.
16251 (elint-preloaded-skip-re): New constant.
16252 (elint-directory): Skip files matching elint-directory-skip-re.
16253 (elint-features): New variable, local to linted buffers.
16254 (elint-update-env): Initialize elint-features. Possibly add
16255 elint-preloaded-env to the buffer's environment.
16256 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16257 Skip quoted forms.
16258 (elint-init-form): New function, extracted from elint-init-env.
16259 Make non-list forms a warning rather than an error.
16260 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16261 easy-menu-define, put that adds an error-condition, and provide.
16262 When requiring cl, also require cl-macs. Really require cl, to handle
16263 some cl macros. Store required libraries in the list elint-features,
16264 so as not to re-load them. Treat cc-require like require.
16265 (elint-init-env): Call elint-init-form to do the work.
16266 Handle eval-and-compile and such like.
16267 (elint-add-required-env): Do not clear messages.
16268 (elint-special-forms): Add handlers for function, defalias, if, when,
16269 unless, and, or.
16270 (elint-form): Add optional argument to ignore elint-special-forms,
16271 useful to prevent recursive calls from handlers. Doc fix.
16272 Respect elint-ignored-warnings.
16273 (elint-form): Respect elint-ignored-warnings.
16274 (elint-bound-variable, elint-bound-function): New variables.
16275 (elint-unbound-variable): Respect elint-bound-variable.
16276 (elint-get-args): Respect elint-bound-function.
16277 (elint-check-cond-form): Add some simple handling for (f)boundp and
16278 featurep tests.
16279 (elint-check-defalias-form): New handler.
16280 (elint-check-let-form): Make an empty let a warning rather than an
16281 error.
16282 (elint-check-setq-form): Make an empty setq a warning rather than an
16283 error. Respect elint-ignored-warnings.
16284 (elint-check-defvar-form): Accept null doc-strings.
16285 (elint-check-conditional-form): New handler. Does some simple-minded
16286 checking of featurep and (f)boundp tests.
16287 (elint-put-function-args): New function.
16288 (elint-initialize): Use elint-scan-doc-file rather than
16289 elint-find-builtin-variables. Use elint-put-function-args.
16290 Possibly scan preloaded-file-list.
16291 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16292 extend to handle functions as well.
16293
16294 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16295
16296 * linum.el (linum-delete-overlays, linum-update-window):
16297 Do not modify the right margin. (Bug#3971)
16298
16299 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16300
16301 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16302 Use nxml-mode instead of xml-mode.
16303
16304 2009-09-21 Kevin Ryde <user42@zip.com.au>
16305
16306 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16307
16308 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16309
16310 * net/dig.el (dig-mode): Use define-derived-mode.
16311
16312 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16313
16314 * vc-dispatcher.el (vc-do-command): Return the process object in
16315 the asynchronous case. Use when instead of if. Do not run
16316 vc-exec-after to display a message if not enabled. (Bug#4463)
16317
16318 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16319 properties to the stash strings.
16320 (vc-git-stash-list): Return a list of strings.
16321 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16322 (vc-git-stash-show-at-point): New functions.
16323 (vc-git-stash-map): New keymap.
16324
16325 * register.el (ctl-x-r-map): Define the keys here instead of
16326 using autoload.
16327
16328 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16329
16330 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16331 list, to workaround performance problem (bug#4485).
16332
16333 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16334
16335 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16336
16337 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16338
16339 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16340 Document that this option is not recommended to use.
16341
16342 2009-09-19 Glenn Morris <rgm@gnu.org>
16343
16344 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16345 variable `var'.
16346
16347 * calc/calc-alg.el (var):
16348 * calc/calcalg2.el (var): Define for compiler.
16349
16350 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16351
16352 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16353 Doc fix (Bug#3932).
16354
16355 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16356
16357 * time-stamp.el (time-stamp-month-dd-yyyy)
16358 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16359 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16360 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16361 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16362 Remove functions that have been obsolete since 1995 (Bug#4436).
16363
16364 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16365 indent buffer only if called interactively (Bug#4452).
16366
16367 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16368 Eli Zaretskii <eliz@gnu.org>
16369
16370 This fixes bug#4197 (merged to bug#865, though not identical).
16371 * server.el (server-auth-dir): Add docstring note about FAT32.
16372 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16373 but warn against using them.
16374
16375 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16376
16377 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16378 older GDB where there is no has_more field.
16379
16380 2009-09-19 Glenn Morris <rgm@gnu.org>
16381
16382 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16383
16384 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16385
16386 * files.el (auto-mode-alist): Change default for XML files to nXML
16387 mode (Bug#4169).
16388
16389 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16390
16391 * server.el (server-ensure-safe-dir): Pass 'integer
16392 to `file-attributes', as suggested.
16393
16394 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16395
16396 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16397 (dired-query): Use read-key.
16398
16399 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16400
16401 * cus-start.el (ns-use-qd-smoothing): Remove.
16402
16403 2009-09-18 Glenn Morris <rgm@gnu.org>
16404
16405 * allout.el (top-level): Remove unnecessary progn.
16406
16407 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16408
16409 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16410 definition of abbrev table.
16411
16412 * speedbar.el (speedbar-track-mouse):
16413 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16414 * net/eudc.el (eudc-expand-inline):
16415 * net/newst-backend.el (newsticker--cache-read-feed):
16416 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16417 condition-case handlers.
16418
16419 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16420
16421 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16422 (gdb-var-list): Add an element for has_more field.
16423 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16424 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16425 (gdb-var-update-handler-1): Parse output of dynamic variable
16426 objects (STL containers).
16427 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16428 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16429
16430 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16431 gdb-var-list.
16432 (gud-speedbar-buttons): Make node expandable if expression "has more"
16433 children.
16434
16435 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16436
16437 * startup.el (emacs-quick-startup): Remove variable and all uses.
16438 (command-line): Set `inhibit-x-resources' instead.
16439 (command-line-1): Use `inhibit-x-resources' instead.
16440
16441 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16442
16443 * subr.el: Fix last change to avoid using the `unless' macro,
16444 which breaks bootstrapping.
16445
16446 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16447
16448 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16449 extended definitions, in case we reload subr.el after having
16450 loaded CL.
16451 (eval-next-after-load): Mark as obsolete.
16452
16453 2009-09-17 Juri Linkov <juri@jurta.org>
16454
16455 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16456 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16457 (menu-bar-showhide-menu, menu-bar-tools-menu)
16458 (menu-bar-describe-menu, menu-bar-help-menu)
16459 (minibuffer-local-completion-map, minibuffer-local-map):
16460 Fix list quoting.
16461
16462 2009-09-17 Glenn Morris <rgm@gnu.org>
16463
16464 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16465 arguments, whether or not it has a handler.
16466
16467 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16468
16469 * simple.el (hard-newline): Give it a doc-string.
16470
16471 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16472 (lisp-mode-syntax-table): Give them doc-strings.
16473
16474 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16475
16476 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16477 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16478 (menu-bar-options-menu, menu-bar-showhide-menu)
16479 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16480 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16481 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16482 (menu-bar-options-menu, menu-bar-tools-menu)
16483 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16484 (menu-bar-help-menu):
16485 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16486 string arguments.
16487
16488 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16489 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16490 calls for the menu names and :help.
16491
16492 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16493
16494 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16495 to :minor-mode-function (bug#4455).
16496
16497 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16498
16499 * startup.el (command-line): Initialize the window-system after
16500 processing the command-line.
16501
16502 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16503 page-delimiter matches the empty string.
16504
16505 2009-09-16 Glenn Morris <rgm@gnu.org>
16506
16507 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16508 byte-compile-not-obsolete-var. It's a list now.
16509 (byte-compile-not-obsolete-funcs): New variable.
16510 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16511 byte-compile-not-obsolete-funcs.
16512 (byte-compile-variable-ref, byte-compile-defvar): Update for
16513 byte-compile-not-obsolete-vars name-change and list nature.
16514 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16515 and variables behind (f)boundp tests.
16516 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16517
16518 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16519
16520 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16521
16522 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16523
16524 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16525 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16526 Don't autoload.
16527
16528 2009-09-15 Stephen Eglen <stephen@gnu.org>
16529
16530 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16531 the virtual-buffers, use the name of the buffer specified by
16532 find-file-noselect, as the match may be a symlink. (This was a
16533 problem if the target and the symlink had different names.)
16534
16535 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16536
16537 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16538
16539 * desktop.el (desktop-path): Check user-emacs-directory.
16540
16541 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16542
16543 * loadup.el: Use after-load-functions to GC after loading each file.
16544 Remove the explicit GC calls that used to be sprinkled around.
16545
16546 * subr.el (after-load-functions): New hook.
16547 (do-after-load-evaluation): Run it. Use string-match-p to detect
16548 `obsolete' packages, rather than painfully extracting the relevant
16549 directory name.
16550
16551 2009-09-15 Glenn Morris <rgm@gnu.org>
16552
16553 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16554 free variable `doc'.
16555
16556 * dired.el (dired-mode-map): Add menu entry for async shell command.
16557
16558 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16559 variables, also consider the .elc files, since the .el files are
16560 normally gzipped (subsequent code locates the .el.gz from the .elc).
16561
16562 * calc/calc-prog.el (arglist): Define for compiler.
16563
16564 * calendar/diary-lib.el (diary-display-function): Change the default to
16565 fancy display.
16566 (body): Define for compiler.
16567
16568 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16569 (byte-compile-file-form, byte-compile-lambda)
16570 (byte-compile-top-level-body, byte-compile-form)
16571 (byte-compile-variable-ref, byte-compile-setq)
16572 (byte-compile-setq-default, byte-compile-body)
16573 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16574 (batch-byte-compile): Give some more local variables with common names
16575 a "bytecomp-" prefix to avoid masking warnings about free variables.
16576
16577 * startup.el (command-line-1): Give local variables with common names a
16578 distinguishing prefix, so as not to hide free variable warnings during
16579 bootstrap.
16580
16581 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16582 clever and add a suffix to make a unique name, just let the user decide
16583 whether or not to overwrite it. If the input is a directory, write the
16584 default filename to that directory. (Bug#4388)
16585 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16586 is a filename-as-a-directory.
16587
16588 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16589
16590 * textmodes/page.el (what-page): Don't move to beginning of line.
16591 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16592
16593 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16594
16595 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16596
16597 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16598
16599 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16600 * help.el (help-for-help-internal): Add purecopy calls for text.
16601
16602 * vc.el (top): print-log method now takes an optional SHORTLOG
16603 argument. Add a new method: root.
16604 (vc-root-diff, vc-print-root-log): New functions.
16605 (vc-log-short-style): New variable.
16606 (vc-print-log-internal): Add support for showing short logs.
16607
16608 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16609 vc-print-root-log and vc-print-root-diff.
16610
16611 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16612 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16613 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16614 short logs.
16615
16616 * vc-cvs.el (vc-cvs-print-log):
16617 * vc-mtn.el (vc-mtn-print-log):
16618 * vc-rcs.el (vc-rcs-print-log):
16619 * vc-sccs.el (vc-sccs-print-log):
16620 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16621 that is ignored for now.
16622
16623 * vc-mtn.el (vc-mtn-annotate-command):
16624 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16625
16626 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16627
16628 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16629 to function-key-map, and give them ascii-character property.
16630 * term/x-win.el (x-alternatives-map):
16631 * term/ns-win.el (ns-alternatives-map):
16632 * term/internal.el (msdos-key-remapping-map):
16633 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16634
16635 2009-09-14 Glenn Morris <rgm@gnu.org>
16636
16637 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16638 temp-buffers (2009-09-12).
16639
16640 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16641
16642 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16643 the new read-key function.
16644
16645 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16646
16647 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16648 is defined (Bug#4405).
16649
16650 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16651
16652 * recentf.el (recentf-cleanup): Use a hash table to find
16653 duplicates (Bug#4407).
16654
16655 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16656
16657 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16658 kp-0 to ascii equivalents (Bug#4325).
16659
16660 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16661
16662 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16663
16664 * eshell/em-hist.el:
16665 * eshell/em-dirs.el (eshell-complete-user-reference):
16666 Declare pcomplete functions and variables to avoid compiler warnings.
16667
16668 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16669
16670 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16671 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16672 * eshell/em-alias.el (eshell-aliases-file):
16673 * eshell/em-hist.el (eshell-history-file-name):
16674 Use expand-file-name instead of concat to make file names (Bug#4308).
16675
16676 2009-09-13 Glenn Morris <rgm@gnu.org>
16677
16678 * ediff-merg.el (ediff-do-merge):
16679 * filesets.el (filesets-run-cmd):
16680 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16681 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16682 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16683 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16684 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16685 Replace empty `let's with `progn'.
16686
16687 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16688
16689 * mail/sendmail.el (send-mail-function):
16690 * tooltip.el (tooltip-mode):
16691 * simple.el (transient-mark-mode):
16692 * rfn-eshadow.el (file-name-shadow-mode):
16693 * frame.el (blink-cursor-mode):
16694 * font-core.el (global-font-lock-mode):
16695 * files.el (temporary-file-directory)
16696 (small-temporary-file-directory, auto-save-file-name-transforms):
16697 * epa-hook.el (auto-encryption-mode):
16698 * composite.el (global-auto-composition-mode):
16699 Use custom-initialize-delay.
16700 * startup.el (command-line): Don't explicitly call
16701 custom-reevaluate-setting for all the above vars.
16702 * custom.el (custom-initialize-safe-set)
16703 (custom-initialize-safe-default): Delete.
16704
16705 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16706
16707 * term/x-win.el (x-initialize-window-system):
16708 * term/w32-win.el (w32-initialize-window-system):
16709 * term/ns-win.el (ns-initialize-window-system): Don't call
16710 mouse-wheel-mode since it's enabled globally by default already.
16711
16712 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16713 actually define the variable, but only silences the byte-compiler.
16714 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16715 before looking it up.
16716 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16717 is changed.
16718
16719 2009-09-12 Glenn Morris <rgm@gnu.org>
16720
16721 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16722 1000.
16723 (elint-add-required-env): Don't beep on error.
16724 (elint-forms): In case of error, return ENV unchanged.
16725 (elint-init-env): Skip non-list forms.
16726 (elint-log): Handle unknown file positions.
16727
16728 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16729
16730 * epg.el (epg-make-context): Add autoload cookie.
16731 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16732 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16733 (epg-verify-string, epg-start-sign, epg-sign-file)
16734 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16735 (epg-encrypt-string, epg-start-export-keys)
16736 (epg-export-keys-to-file, epg-export-keys-to-string)
16737 (epg-start-import-keys, epg-import-keys-from-file)
16738 (epg-import-keys-from-string, epg-start-receive-keys)
16739 (epg-receive-keys, epg-import-keys-from-server)
16740 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16741 (epg-sign-keys, epg-start-generate-key)
16742 (epg-generate-key-from-file, epg-generate-key-from-string):
16743 Remove autoload cookie.
16744
16745 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16746
16747 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16748 reevaluation of trash-directory.
16749
16750 * mwheel.el: Fix last change.
16751 (mouse-wheel-mode): New defvar.
16752 (mouse-wheel-mode): Remove autoload cookie.
16753
16754 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16755
16756 * mwheel.el (mwheel-installed-bindings): New var.
16757 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16758 the bindings we set last time. Use custom-initialize-delay.
16759 * loadup.el: Load mwheel after term/*-win.el.
16760 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16761 and mouse-wheel-up-event now that their first evaluation is done
16762 sufficiently late to be correct.
16763
16764 * startup.el (tutorial-directory): Make it a defcustom.
16765 Use custom-initialize-delay rather than eval-at-startup to set it.
16766 * image.el (image-load-path): Make it a defcustom.
16767 Use custom-initialize-delay rather than eval-at-startup to set it.
16768 * subr.el (eval-at-startup): Remove.
16769 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16770
16771 * subr.el (do-after-load-evaluation): Warn the user after loading an
16772 obsolete package.
16773
16774 2009-09-12 Glenn Morris <rgm@gnu.org>
16775
16776 * proced.el (proced-mark-alt): Remove alias.
16777 (proced-mode-map): Remove proced-mark-alt.
16778
16779 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16780 Elint file and directory. Remove initialization entry.
16781
16782 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16783 commands.
16784 (elint-current-buffer): Set mode-line-process.
16785 (elint-init-env): Handle define-derived-mode.
16786 Fix declare-function with unspecified arglist. Guard against odd
16787 defalias statements (eg iso-insert's 8859-1-map).
16788 (elint-add-required-env): Use a temp buffer.
16789 (elint-form): Just print the function/macro name, not the whole form.
16790 Return env unchanged if we fail to parse a macro.
16791 (elint-forms): Guard against parse errors.
16792 (elint-output): New function, to handle batch mode.
16793 (elint-log-message): Add optional argument. Use elint-output.
16794 (elint-set-mode-line): New function.
16795
16796 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16797
16798 * emacs-lisp/elp.el (elp-not-profilable): Add more
16799 functions (Bug#4233).
16800
16801 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16802
16803 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16804 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16805
16806 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16807
16808 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16809 (gdb-var-list-children): Use json parsing.
16810
16811 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16812
16813 * progmodes/js.el (js--proper-indentation): Handle the case where
16814 char-before is null. Reported by Deniz Dogan.
16815
16816 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16817
16818 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16819
16820 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16821
16822 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16823 (epg-digest-algorithm-alist): Add SHA224.
16824 (epg-context-set-passphrase-callback)
16825 (epg-context-set-progress-callback): Add description about
16826 callback function.
16827
16828 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16829
16830 * custom.el (custom-delayed-init-variables): New var.
16831 (custom-initialize-delay): New function.
16832 * startup.el (command-line): "Re"evaluate all vars in
16833 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16834 explicitly any more.
16835 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16836 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16837
16838 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16839
16840 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16841
16842 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16843 (gdb-var-update-handler): Use json parsing.
16844
16845 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16846
16847 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16848 decode annotated text, regardless of language environment. (Bug#2741)
16849
16850 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16851
16852 * Makefile.in (autoloads): Make rmail.el writable as well.
16853
16854 2009-09-11 Glenn Morris <rgm@gnu.org>
16855
16856 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16857 loaddefs.el.
16858 * dired.el: Regenerate with extracted autoloads.
16859 * Makefile.in (autoloads): Make dired.el writable.
16860
16861 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16862 * ibuffer.el: Regenerate with extracted autoloads.
16863 * Makefile.in (autoloads): Make ibuffer.el writable.
16864
16865 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16866 * version.el (emacs-copyright, emacs-major-version)
16867 (emacs-minor-version): Reformat doc-strings for make-docfile.
16868
16869 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16870 functions and variables, since they must be stuff specific to some other
16871 platform.
16872 (apropos-print): Make mouse-click message less specific about button.
16873
16874 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16875 that records where a macro was defined.
16876 * help-fns.el (describe-function-1): Mention if a function has a
16877 compiler-macro.
16878 * help-mode.el (help-function-cmacro): New button.
16879
16880 * locate.el (top-level): Always require dired.
16881 (locate-mode-map): Initialize inside the defvar.
16882
16883 * net/ange-ftp.el (dired-compress-file): Declare.
16884 (ange-ftp-dired-compress-file): Add doc string.
16885
16886 * term/ns-win.el (x-display-name, x-setup-function-keys):
16887 Unify doc-strings with X versions.
16888
16889 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16890
16891 * emulation/crisp.el (crisp-mode-map): Move initialization
16892 into declaration.
16893 (crisp-mode): Use define-minor-mode.
16894
16895 * progmodes/xscheme.el (xscheme-evaluation-commands):
16896 Put a :advertised-binding property rather than using
16897 advertised-xscheme-send-previous-expression.
16898 (advertised-xscheme-send-previous-expression): Declare obsolete.
16899 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16900 `advertised-undo'.
16901 (crisp-mode): Add corresponding bindings to
16902 undo's :advertised-binding instead.
16903 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16904 than using dired-advertised-find-file.
16905 (dired-advertised-find-file):
16906 * simple.el (advertised-undo):
16907 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16908 (widget-keymap): Put a :advertised-binding property rather
16909 than using advertised-widget-backward.
16910 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16911 than using advertised-undo.
16912 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16913
16914 2009-09-10 Simon South <ssouth@slowcomputing.org>
16915
16916 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16917 Mark mode is enabled and region is active; otherwise indent or
16918 insert TAB as usual.
16919 (delphi-mode): Update description of TAB-key binding.
16920
16921 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16922
16923 * subr.el (define-key-rebound-commands): Mark obsolete.
16924 * startup.el (precompute-menubar-bindings): Remove.
16925 (normal-top-level): Remove obsolete code that tried to precompute
16926 menubar bindings.
16927 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16928 define-key-rebound-commands and precompute-menubar-bindings.
16929
16930 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16931
16932 * net/imap.el (imap-interactive-login): Better messages.
16933 (imap-open): Fix bug with renamed buffer on reconnect.
16934 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16935 for easier debugging and cleaner code. On successful (guessed based on
16936 server capabilities) secondary authentication, set imap-state
16937 correctly.
16938 (imap-last-authenticator): Define imap-last-authenticator as a variable
16939 to avoid warnings.
16940
16941 2009-09-10 Glenn Morris <rgm@gnu.org>
16942
16943 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16944
16945 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16946 (byte-compile-file-form-autoload): Don't warn about unknown functions
16947 where the autoload statement comes after the use.
16948 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16949 that any handlers inside the body (eg require) are in turn respected.
16950
16951 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16952 effects.
16953
16954 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16955 and syntax and abbrev tables basic docs, if they don't have any.
16956
16957 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16958
16959 * international/mule-cmds.el (top-level): Require cl when compiling.
16960 (view-hello-file): Use default-value rather than
16961 default-enable-multibyte-characters.
16962
16963 * progmodes/fortran.el: Move all safe and risky properties into the
16964 defcustoms.
16965
16966 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16967 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16968 * mail/undigest.el:
16969 Put autoloads in rmail.el rather than loaddefs.el.
16970 * mail/rmail.el: Regenerate with extracted autoloads.
16971
16972 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16973 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16974
16975 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16976
16977 Reported in thread for Bug#4375.
16978 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16979 "-data-evaluate-expression" instead of print.
16980 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16981 (gdb-tooltip-print): Parse output from above MI command.
16982 (gdb): Revert 2009-08-11 change. User should detach inferior
16983 manually.
16984
16985 Remove the word "separate" from IO functions as inferior
16986 output is now never displayed in the GUD buffer.
16987
16988 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16989
16990 * startup.el (command-line-normalize-file-name): On Windows and
16991 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16992
16993 2009-09-10 Juri Linkov <juri@jurta.org>
16994
16995 * isearch.el (isearch-text-char-description): Propertize escape
16996 character sequences with the `escape-glyph' face. (Bug#4344)
16997
16998 * simple.el (shell-command): Set asynchronous process filter to
16999 `comint-output-filter'. (Bug#4343)
17000
17001 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17002 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17003 the list. Move "asm" to the bottom.
17004 (grep-find-ignored-directories): Add `choice' with nil value
17005 to empty the list easily.
17006 (grep-find-ignored-files): New option.
17007 (grep-files-history): Set to nil by default instead of '("ch" "el").
17008 (grep-compute-defaults): Add "<X>" to `grep-template'.
17009 (grep-read-files): Bind new local variables `default-alias' and
17010 `default-extension'. Use a list of default values for the file prompt.
17011 (lgrep): Add `--exclude=' command line options composed from
17012 `grep-find-ignored-files'.
17013 (rgrep): Add `-name' command line options composed from
17014 `grep-find-ignored-files'. (Bug#4301)
17015
17016 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17017
17018 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17019 (bug#4368).
17020
17021 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17022
17023 * calendar/time-date.el (autoload):
17024 Expand define-obsolete-function-alias into defalias and make-obsolete
17025 for old Emacsen that Gnus supports.
17026 (with-no-warnings): Define it for old Emacsen.
17027 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17028 is available.
17029 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17030 float-time is available; suppress compile warning for time-to-seconds.
17031
17032 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17033
17034 * net/imap.el (imap-message-map): Docstring fix.
17035
17036 2009-09-09 Glenn Morris <rgm@gnu.org>
17037
17038 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17039 line numbers too. (Bug#4374)
17040
17041 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17042
17043 * smerge-mode.el (smerge-remove-props, smerge-refine):
17044 Use with-silent-modifications (bug#4342).
17045
17046 * subr.el (with-silent-modifications): New macro.
17047
17048 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17049
17050 * files.el (top-level): Require `cl' when compiling.
17051
17052 2009-09-07 Glenn Morris <rgm@gnu.org>
17053
17054 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17055
17056 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17057 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17058
17059 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17060
17061 * vc-git.el (vc-git-annotate-command): Use separator to parse
17062 arguments correctly.
17063
17064 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17065
17066 * proced.el (proced-mode): Doc fix.
17067
17068 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17069
17070 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17071 lstat fails.
17072 (tramp-do-file-attributes-with-ls): Check for file existence at
17073 remote end.
17074 (tramp-do-file-attributes-with-stat): Likewise.
17075 (tramp-convert-file-attributes): Return nil when attr is nil.
17076
17077 2009-09-05 Glenn Morris <rgm@gnu.org>
17078
17079 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17080 properties to this button.
17081 (diary-fancy-display): Don't extend the button to the final newline.
17082 (diary-fancy-display-mode): Continue to define "q" as a local key.
17083
17084 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17085 efficient.
17086
17087 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17088
17089 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17090 (byte-compile-dest-file-function): New option.
17091 (byte-compile-dest-file): Doc fix.
17092 Obey byte-compile-dest-file-function.
17093 (byte-compile-cl-file-p): New function.
17094 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17095 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17096 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17097 than for file being previously loaded.
17098 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17099 (byte-compile-file-form-require): Handle the case where requiring a file
17100 indirectly causes CL to be loaded.
17101
17102 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17103
17104 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17105 before killing the old buffer, since by the time `kill-buffer' is
17106 run so many buffer variables have been set to nil that it may not
17107 behave as expected. (Bug#4061)
17108
17109 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17110
17111 * files.el (find-alternate-file): If the old buffer is modified
17112 and visiting a file, behave similarly to `kill-buffer' when
17113 killing it, thus reverting to the pre-1.878 behavior; see
17114 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17115 for discussion. Also, consult `buffer-file-name' as a variable
17116 not as a function, for consistency with the rest of the code.
17117
17118 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17119
17120 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17121 also when adding a new directory.
17122
17123 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17124 New defun.
17125
17126 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17127
17128 * files.el (locate-file-completion-table): Make it provide boundary
17129 information, so partial-completion works better.
17130
17131 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17132
17133 * mail/footnote.el (Footnote-text-under-cursor):
17134 Check footnote-text-marker-alist before using it (bug#4324).
17135
17136 2009-09-04 Glenn Morris <rgm@gnu.org>
17137
17138 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17139 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17140 * play/solitaire.el, play/tetris.el:
17141 Remove leading * from defcustom and defface docs.
17142
17143 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17144 necessary.
17145 (diary-fancy-overriding-map): New variable.
17146 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17147 Use view-mode.
17148
17149 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17150 goto-line.
17151
17152 2009-09-03 Glenn Morris <rgm@gnu.org>
17153
17154 * arc-mode.el (archive-mode):
17155 * dos-fns.el (set-default-process-coding-system):
17156 * man.el (Man-getpage-in-background):
17157 * menu-bar.el (menu-bar-describe-menu):
17158 * server.el (server-process-filter):
17159 * startup.el (command-line):
17160 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17161 * w32-fns.el (set-default-process-coding-system):
17162 * x-dnd.el (x-dnd-handle-file-name):
17163 * international/mule-cmds.el (mule-menu-keymap)
17164 (set-default-coding-systems, language-info-alist, set-language-info)
17165 (set-language-environment, standard-display-european-internal)
17166 (set-locale-environment):
17167 * international/mule-diag.el (mule-diag):
17168 * mail/emacsbug.el (report-emacs-bug):
17169 * mail/rmail.el (rmail-mode):
17170 * mail/sendmail.el (mail-setup):
17171 Use default-value rather than default-enable-multibyte-characters.
17172
17173 * progmodes/f90.el: Move all safe properties into the defcustoms.
17174 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17175
17176 * calendar/appt.el (appt-check):
17177 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17178 (diary-check-diary-file, diary-list-entries)
17179 (diary-include-other-diary-files, diary-simple-display)
17180 (diary-fancy-display, diary-print-entries)
17181 (diary-mark-included-diary-files, diary-make-entry):
17182 Don't call substitute-in-file-name on diary-file.
17183
17184 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17185 Stefan Monnier <monnier@iro.umontreal.ca>
17186
17187 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17188 (footnote-mode-map): Move initialization into the declaration.
17189 (footnote-minor-mode-map): Define it rather than changing global-map.
17190 (footnote-mode): Use define-minor-mode.
17191
17192 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17193
17194 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17195 (tramp-do-file-attributes-with-perl)
17196 (tramp-do-file-attributes-with-stat): Rename from
17197 `tramp-handle-file-attributes-with-*'.
17198 (tramp-handle-file-attributes): Use them.
17199 (tramp-do-directory-files-and-attributes-with-perl)
17200 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17201 `tramp-handle-directory-files-and-attributes-with-*'.
17202 (tramp-handle-directory-files-and-attributes): Use them.
17203 (tramp-method-out-of-band-p): Additional parameter SIZE.
17204 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17205 (tramp-handle-write-region): Use it.
17206 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17207 (tramp-handle-vc-registered): Check, whether the first run did
17208 return files to be tested.
17209 (tramp-advice-make-auto-save-file-name): Do not call directly
17210 `tramp-handle-make-auto-save-file-name', because this would bypass
17211 the locking mechanism.
17212
17213 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17214 (file-remote-p, process-file, start-file-process, set-file-times)
17215 (tramp-compat-file-attributes): Compatibility functions shall not
17216 call directly `tramp-handle-*', because this would bypass the
17217 locking mechanism.
17218 (tramp-compat-number-sequence): New defun.
17219
17220 2009-09-02 Glenn Morris <rgm@gnu.org>
17221
17222 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17223 alias for float-time.
17224 (time-to-number-of-days): In Emacs, use float-time.
17225 * net/newst-backend.el (time-add): Suppress warnings from compat
17226 function.
17227 * time.el (emacs-uptime, emacs-init-time):
17228 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17229 Use float-time rather than time-to-seconds.
17230
17231 * minibuffer.el (completion-initials-expand): Fix typo.
17232
17233 * faces.el (modeline, modeline-inactive, modeline-highlight)
17234 (modeline-buffer-id):
17235 * info.el (info-menu-5): Mark these face aliases as obsolete.
17236
17237 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17238
17239 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17240 space ...
17241 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17242 no "--thread" option.
17243 (gdb-stopped): Don't print "Switched to thread" message when it is
17244 unchanged.
17245
17246 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17247
17248 * minibuffer.el (completion-try-completion)
17249 (completion-all-completions): Remove ill-defined (and
17250 mistakenly installed and luckily never used nor documented)
17251 `completion-styles' property.
17252 (completion-initials-expand, completion-initials-all-completions)
17253 (completion-initials-try-completion): New functions.
17254 (completion-styles-alist): Add doc to each entry.
17255 Add new `initials' entry.
17256
17257 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17258
17259 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17260 MI command -var-evaluate-expression.
17261 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17262 and tweak for case of string child.
17263 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17264
17265 2009-09-01 Glenn Morris <rgm@gnu.org>
17266
17267 * add-log.el (change-log-date-face, change-log-name-face)
17268 (change-log-email-face, change-log-file-face, change-log-list-face)
17269 (change-log-conditionals-face, change-log-function-face)
17270 (change-log-acknowledgement-face):
17271 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17272 (custom-modified-face, custom-set-face, custom-changed-face)
17273 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17274 (custom-documentation-face, custom-state-face, custom-comment-face)
17275 (custom-comment-tag-face, custom-variable-tag-face)
17276 (custom-variable-button-face, custom-face-tag-face)
17277 (custom-group-tag-face-1, custom-group-tag-face):
17278 * diff-mode.el (diff-header-face, diff-file-header-face)
17279 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17280 (diff-added-face, diff-changed-face, diff-function-face)
17281 (diff-context-face, diff-nonexistent-face):
17282 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17283 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17284 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17285 (Info-title-4-face):
17286 * isearch.el (isearch-lazy-highlight-face):
17287 * log-view.el (log-view-file-face, log-view-message-face):
17288 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17289 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17290 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17291 (cvs-msg-face):
17292 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17293 (smerge-base-face, smerge-markers-face):
17294 * wid-edit.el (widget-documentation-face, widget-button-face)
17295 (widget-field-face, widget-single-line-field-face)
17296 (widget-inactive-face, widget-button-pressed-face):
17297 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17298 (woman-addition-face):
17299 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17300 (eshell-ls-executable-face, eshell-ls-readonly-face)
17301 (eshell-ls-unreadable-face, eshell-ls-special-face)
17302 (eshell-ls-missing-face, eshell-ls-archive-face)
17303 (eshell-ls-backup-face, eshell-ls-product-face)
17304 (eshell-ls-clutter-face):
17305 * eshell/em-prompt.el (eshell-prompt-face):
17306 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17307 * obsolete/old-whitespace.el (whitespace-highlight-face):
17308 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17309 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17310 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17311 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17312 (antlr-font-lock-literal-face):
17313 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17314 (ebrowse-root-class-face, ebrowse-file-name-face)
17315 (ebrowse-default-face, ebrowse-member-attribute-face)
17316 (ebrowse-member-class-face, ebrowse-progress-face):
17317 * progmodes/make-mode.el (makefile-space-face):
17318 * progmodes/sh-script.el (sh-heredoc-face):
17319 * textmodes/flyspell.el (flyspell-incorrect-face)
17320 (flyspell-duplicate-face):
17321 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17322 * textmodes/texinfo.el (texinfo-heading-face):
17323 Mark face aliases with "-face" suffix as obsolete.
17324
17325 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17326 compiler.
17327
17328 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17329 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17330 easy-menu-define wants to modify these.
17331
17332 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17333
17334 * net/browse-url.el (browse-url-file-url):
17335 * term/internal.el (dos-codepage-setup):
17336 Use default-value rather than default-enable-multibyte-characters.
17337
17338 * progmodes/etags.el (etags-goto-tag-location):
17339 * progmodes/flymake.el (flymake-highlight-line)
17340 (flymake-goto-file-and-line, flymake-goto-line):
17341 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17342 (gdb-goto-breakpoint):
17343 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17344 * progmodes/python.el (python-find-function)
17345 (python-pdbtrack-track-stack-file):
17346 * progmodes/verilog-mode.el (verilog-surelint-off):
17347 * term/ns-win.el (ns-open-file-select-line):
17348 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17349 Use forward-line rather than goto-line.
17350
17351 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17352 * textmodes/reftex-index.el (reftex-display-index):
17353 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17354 * textmodes/reftex-toc.el (reftex-toc):
17355 Remove unnecessary bindings of default-major-mode (all are followed by
17356 major-mode check and possible mode switch).
17357
17358 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17359
17360 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17361 Handle watchpoints (bug#4282).
17362 (def-gdb-thread-buffer-command): Enable thread to be selected by
17363 clicking without selecting threads buffer first.
17364 (gdb-current-context-command): Use selected frame so that "up",
17365 "down" etc work in the GUD buffer.
17366 (gdb-update): Find selected frame before rendering stack buffer.
17367 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17368
17369 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17370
17371 * progmodes/sym-comp.el (displayed-completions): Remove.
17372 (symbol-complete): Use minibuffer-complete.
17373
17374 2009-08-31 Glenn Morris <rgm@gnu.org>
17375
17376 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17377
17378 * apropos.el (apropos-symbols-internal):
17379 Handle (obsolete) face aliases.
17380
17381 * faces.el (describe-face): Adjust the output format to be more like
17382 describe-variable, and to mention (obsolete) face aliases.
17383 Adjust the whitespace so that help-setup-xref works.
17384
17385 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17386 * calendar/diary-lib.el (diary-button-face):
17387 Mark these face aliases as obsolete.
17388
17389 * calendar/calendar.el (calendar-today): Doc fix.
17390
17391 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17392
17393 * progmodes/gdb-mi.el (gdb-control-all-threads)
17394 (gdb-control-current-thread): Force tool bar update.
17395 (gdb-non-stop-handler): New function.
17396 (gdb-init-1): Use it to test if non-stop mode is supported.
17397 Remove unused gdbmi buffer type.
17398
17399 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17400
17401 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17402 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17403
17404 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17405
17406 * comint.el (comint-exec-1): Check command is non-null first.
17407 Part of gdb-mi.el change (2009-08-28).
17408
17409 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17410
17411 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17412
17413 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17414
17415 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17416 instead of `dolist' to avoid a recursive require when bootstrapping.
17417
17418 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17419
17420 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17421
17422 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17423
17424 * net/imap.el (imap-send-command): Simplify.
17425 (imap-wait-for-tag): point-max -> buffer-size.
17426
17427 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17428
17429 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17430 with constant argument.
17431
17432 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17433
17434 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17435
17436 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17437 Change default, since most of our files don't have a history.
17438 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17439 the user.
17440
17441 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17442 Add comint-run.
17443
17444 * calc/calc.el: Improve commenting convention.
17445 (calc-digit-map, toplevel): Simplify.
17446
17447 * comint.el (comint-insert-input): Be careful to only set point if we
17448 don't delegate to some other command.
17449
17450 * proced.el (proced-signal-list): Make it an alist.
17451 (proced-grammar-alist): Capitalize names.
17452 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17453 Disable undo manually and make it read-only.
17454 Use completion-annotate-function.
17455
17456 * minibuffer.el (minibuffer-message): If the current buffer is not
17457 a minibuffer, insert the message in the echo area rather than at the
17458 end of the buffer.
17459 (completion-annotate-function): New variable.
17460 (minibuffer-completion-help): Use it.
17461 (completion--embedded-envvar-table): Environment vars are
17462 always case-sensitive.
17463
17464 2009-08-30 Glenn Morris <rgm@gnu.org>
17465
17466 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17467 from fortran-current-defun.
17468 (fortran-beginning-of-subprogram): Be more precise about finding the
17469 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17470 (fortran-end-of-subprogram): Simplify.
17471 (fortran-current-defun): Use fortran-start-prog-re.
17472
17473 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17474
17475 * subr.el (do-after-load-evaluation): Simplify.
17476
17477 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17478
17479 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17480
17481 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17482 (vc-rcs-print-log): Use it.
17483
17484 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17485
17486 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17487
17488 * paths.el (abbrev-file-name): Move to abbrev.el.
17489 * abbrev.el (abbrev-file-name): Move from paths.el.
17490 Obey user-emacs-directory.
17491 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17492 user-emacs-directory.
17493 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17494 abbrev-file-name and calc-settings-file any more.
17495 * startup.el (command-line): Recompute abbrev-file-name and
17496 abbreviated-home-dir.
17497 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17498 of the special code for when C-h bindings haven't been changed.
17499 (display-startup-echo-area-message): Use with-current-buffer.
17500 (command-line-1): Use a list of strings, rather than a list of lists
17501 of strings for longopts.
17502
17503 * files.el (get-free-disk-space): Use / for default-directory.
17504
17505 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17506 Use with-current-buffer.
17507
17508 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17509 Recognize immutable variables like most-positive-fixnum.
17510 (byte-compile-setq-default): Check and warn if trying to assign
17511 to an immutable variable, or a non-variable.
17512
17513 * progmodes/cc-vars.el (c-comment-continuation-stars):
17514 * progmodes/cc-engine.el (c-looking-at-bos):
17515 * progmodes/cc-cmds.el (c-toggle-auto-state)
17516 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17517 (c-comment-line-break-function): Add version of obsolescence.
17518
17519 2009-08-28 Juri Linkov <juri@jurta.org>
17520
17521 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17522 associated with `archive-mode'.
17523
17524 * image.el (image-type-header-regexps): Use only JPEG magic number
17525 to determine JPEG images, and don't use `image-jpeg-p' because
17526 Emacs can display non-JFIF non-Exif JPEG images.
17527
17528 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17529
17530 * arc-mode.el (archive-mode):
17531 * emacs-lisp/re-builder.el (re-builder-unload-function):
17532 Protect against the default value of `major-mode' being nil.
17533
17534 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17535
17536 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17537 Fix typos in docstrings.
17538
17539 * progmodes/js.el (js--macro-decl-re): Doc fix.
17540 (js--plain-method-re, js--split-name): Refloc docstring.
17541 (js--class-styles, js--make-merged-item, js--splice-into-items):
17542 Fix typos in docstrings; reflow docstrings.
17543 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17544 (js--variable-decl-matcher, js--inside-pitem-p)
17545 (js--parse-state-at-point, js--get-all-known-symbols)
17546 (js--symbol-history, js-find-symbol, js--js-references)
17547 (js--moz-interactor, js--js-encode-value, js--read-tab):
17548 Fix typos in docstrings.
17549
17550 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17551
17552 * textmodes/reftex.el (reftex-get-file-buffer-force):
17553 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17554 * emulation/viper.el (viper-go-away, viper-set-hooks):
17555 * emacs-lisp/re-builder.el (re-builder-unload-function):
17556 * emacs-lisp/bytecomp.el (byte-compile-file):
17557 * ses.el (ses-unload-function):
17558 * hexl.el (hexl-find-file):
17559 * files.el (normal-mode):
17560 * ehelp.el (with-electric-help):
17561 * autoinsert.el (auto-insert-alist):
17562 * arc-mode.el (archive-mode):
17563 Use (default-value 'major-mode) instead of default-major-mode.
17564
17565 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17566 * international/mule.el (load-with-code-conversion):
17567 * emacs-lisp/debug.el (debug):
17568 * ediff-vers.el (ediff-rcs-get-output-buffer):
17569 * dired.el (dired-internal-noselect): Don't let-bind
17570 default-major-mode around code that doesn't use it.
17571 E.g. buffer creation via get-buffer-create doesn't use it.
17572
17573 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17574
17575 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17576 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17577 when writing the temp file. Otherwise, epa-file gets confused.
17578 (tramp-register-file-name-handlers): Make it a defun. Move also
17579 `epa-file-handler' to the front of `file-name-handler-alist'.
17580
17581 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17582
17583 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17584 start right after a ^M.
17585 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17586 (tramp-completion-file-name-regexp-separate)
17587 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17588 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17589 Don't modify last-coding-system-used by accident.
17590 (tramp-completion-file-name-handler): Apply the checks here,
17591 instead during registration.
17592 (tramp-register-file-name-handlers): Rename from
17593 `tramp-register-file-name-handler'. Register both
17594 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17595 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17596
17597 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17598
17599 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17600 Remove variable ...
17601 (gdb-init-1, gdb-display-separate-io-buffer)
17602 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17603 references to it.
17604 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17605 (gdb-inferior-filter): Use comint-output-filter to stop
17606 echoing and remove ^M characters.
17607
17608 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17609
17610 * emulation/viper-init.el (viper-restore-cursor-type):
17611 * emulation/cua-base.el (cua--update-indications):
17612 Replace default-cursor-type with (default-value 'cursor-type).
17613
17614 * mail/sendmail.el (mail-recover-1):
17615 * international/mule-diag.el (describe-current-coding-system-briefly)
17616 (describe-current-coding-system):
17617 * international/mule-cmds.el (select-safe-coding-system)
17618 (select-message-coding-system)
17619 (set-language-environment-coding-systems, set-locale-environment):
17620 * hexl.el (hexl-insert-multibyte-char):
17621 * dos-w32.el (find-buffer-file-type-coding-system):
17622 * simple.el (what-cursor-position):
17623 Replace uses of default-buffer-file-coding-system
17624 with (default-value 'buffer-file-coding-system).
17625
17626 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17627 Replace uses of default-cursor-in-non-selected-windows
17628 with (default-value 'cursor-in-non-selected-windows).
17629 Use with-current-buffer.
17630
17631 * mail/feedmail.el: Use CL macros.
17632 (feedmail-run-the-queue, feedmail-send-it-immediately):
17633 * dos-w32.el (find-buffer-file-type): Replace uses of
17634 default-buffer-file-type with (default-value 'buffer-file-type).
17635
17636 2009-08-28 Glenn Morris <rgm@gnu.org>
17637
17638 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17639 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17640 Use default-value of major-mode rather than default-major-mode.
17641
17642 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17643
17644 * Makefile.in (update-elcfiles): Report left over elc files.
17645
17646 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17647 expand-file-name and with-current-buffer.
17648 (mail-get-names, mail-directory): Use with-current-buffer.
17649
17650 * vc.el (vc-read-revision): New function.
17651 (vc-version-diff, vc-merge): Use it.
17652
17653 2009-08-27 Sam Steingold <sds@gnu.org>
17654
17655 * simple.el (kill-do-not-save-duplicates): New user option.
17656 (kill-new): When it is non-nil, and the new string is the same as
17657 the latest kill, set replace to t to avoid duplicates in kill-ring.
17658
17659 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17660
17661 * net/tramp.el (tramp-handle-process-file): Do not flush all
17662 caches when `process-file-side-effects' is set.
17663 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17664 instead of `tramp-find-file-exists-command'.
17665 Unset `process-file-side-effects'.
17666
17667 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17668
17669 * net/tramp.el (tramp-methods): New method "rsyncc".
17670 (top): Add completion function for "rsyncc".
17671 (tramp-message-show-message): New defvar.
17672 (tramp-message, tramp-error): Use it.
17673 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17674 remote copying.
17675 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17676 `tramp-methods' entry `copy-env' of "rsyncc".
17677 (tramp-vc-registered-read-file-names): New defconst.
17678 (tramp-vc-registered-file-names): New defvar.
17679 (tramp-handle-vc-registered): Implement optimization strategy.
17680 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17681 (tramp-vc-file-name-handler): New defun.
17682 (tramp-get-ls-command, tramp-get-test-command)
17683 (tramp-get-file-exists-command, tramp-get-remote-ln)
17684 (tramp-get-remote-perl, tramp-get-remote-stat)
17685 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17686
17687 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17688 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17689 timestamps.
17690 (tramp-get-file-property): Check for timestamps in
17691 `tramp-cache-inhibit-cache'.
17692 (tramp-set-file-property): Write timestamp.
17693
17694 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17695
17696 * language/japan-util.el (japanese-symbol-table): Add entries for
17697 cp932-2-byte.
17698
17699 * international/characters.el: Add category `j' to cp932-2-byte.
17700
17701 2009-08-27 Kenichi Handa <handa@m17n.org>
17702
17703 * international/fontset.el (build-default-fontset-data): New macro.
17704 (setup-default-fontset): Use build-default-fontset-data for CJK,
17705 tibetan, ethiopic, and ipa.
17706
17707 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17708
17709 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17710 (enable-multibyte-characters): Not customizable any more.
17711
17712 * subr.el (default-mode-line-format, default-header-line-format)
17713 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17714 (default-direction-reversed, default-truncate-lines)
17715 (default-left-margin, default-tab-width, default-case-fold-search)
17716 (default-left-margin-width, default-right-margin-width)
17717 (default-left-fringe-width, default-right-fringe-width)
17718 (default-fringes-outside-margins, default-scroll-bar-width)
17719 (default-vertical-scroll-bar, default-indicate-empty-lines)
17720 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17721 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17722 (default-scroll-down-aggressively, default-fill-column)
17723 (default-cursor-type, default-buffer-file-type)
17724 (default-cursor-in-non-selected-windows)
17725 (default-buffer-file-coding-system, default-major-mode)
17726 (default-enable-multibyte-characters): Mark as obsolete.
17727
17728 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17729
17730 * vc-dir.el (vc-dir-update): Remove debug helper.
17731
17732 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17733
17734 2009-08-26 Sam Steingold <sds@gnu.org>
17735
17736 * simple.el (save-interprogram-paste-before-kill): New user option.
17737 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17738 save the interprogram-paste into kill-ring before overriding it
17739 with the Emacs kill.
17740
17741 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17742
17743 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17744 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17745 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17746 and move to vc-rcs.el.
17747 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17748 move to vc-rcs.el.
17749 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17750 (vc-rcs-update-changelog): Remove.
17751 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17752 and move to vc-rcs.el.
17753
17754 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17755 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17756 renaming.
17757 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17758 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17759 vc.el, renamed to be RCS specific.
17760
17761 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17762 New functions.
17763 (vc-cvs-update-changelog): Move here from vc.el.
17764
17765 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17766 New functions.
17767
17768 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17769
17770 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17771
17772 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17773
17774 * vc-git.el (vc-git-register): Use "git add" for directories.
17775 (vc-git-stash, vc-git-stash-show): New functions.
17776 (vc-git-extra-menu-map): Bind them.
17777
17778 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17779 directory correctly in case the item is a directory itself.
17780
17781 * vc.el: Document the desired behavior for reverted files in the
17782 `added' state.
17783 (vc-default-prettify-state-info): Remove function, unused.
17784
17785 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17786
17787 2009-08-26 Glenn Morris <rgm@gnu.org>
17788
17789 * bindings.el (standard-mode-line-format): Reposition dashes in
17790 which-func entry. (Bug#4217)
17791
17792 * files.el (enable-local-variables, enable-local-eval)
17793 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17794 the defcustoms.
17795 (auto-mode-alist, ignored-local-variables)
17796 (save-some-buffers-action-alist): Move risky declarations to the
17797 definitions.
17798 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17799 (font-lock-defaults, format-alist, imenu--index-alist)
17800 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17801 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17802 (mode-line-modified, mode-line-mule-info, mode-line-position)
17803 (mode-line-process, mode-line-remote, outline-level)
17804 (parse-time-rules, rmail-output-file-alist)
17805 (special-display-buffer-names, vc-mode):
17806 Move risky declarations to the relevant files.
17807 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17808 (mode-line-modified, mode-line-process, mode-line-position)
17809 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17810 * font-core.el (font-lock-defaults):
17811 * format.el (format-alist):
17812 * vc-hooks.el (vc-mode):
17813 * window.el (special-display-buffer-names):
17814 * international/mule-cmds.el (input-method-alist):
17815 Define riskiness here (dumped file) rather than in files.el.
17816 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17817 * imenu.el (imenu-generic-expression, imenu--index-alist):
17818 * outline.el (outline-level):
17819 * time.el (display-time-string):
17820 * calendar/parse-time.el (parse-time-rules):
17821 * mail/rmailout.el (rmail-output-file-alist):
17822 Autoload riskiness here, rather than placing in files.el.
17823
17824 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17825
17826 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17827
17828 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17829
17830 * simple.el (process-file-side-effects): New defvar.
17831
17832 * dired-aux.el (dired-show-file-type):
17833 * vc.el (vc-diff-internal):
17834 * vc-arch.el (vc-arch-diff):
17835 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17836 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17837 * vc-git.el (vc-git-registered, vc-git-working-revision)
17838 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17839 (vc-git--empty-db-p):
17840 * vc-hooks.el (vc-user-login-name):
17841 * vc-svn.el (vc-svn-registered, vc-svn-state)
17842 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17843 * progmodes/grep.el (grep-probe): Let-bind
17844 `process-file-side-effects' with nil.
17845
17846 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17847
17848 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17849 daemon. Replace ping by checking for running service for bluez
17850 and zeroconf. (Bug#4239)
17851
17852 2009-08-25 Kevin Ryde <user42@zip.com.au>
17853
17854 * net/dig.el (dig): Add autoload cookie.
17855
17856 2009-08-25 Glenn Morris <rgm@gnu.org>
17857
17858 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17859 load-history for absolute file-names.
17860 (byte-compile-file-form-require): Warn about use of the cl package.
17861
17862 * format.el (format-alist): Doc fix.
17863
17864 * play/bubbles.el (top-level): Don't require cl at run-time.
17865
17866 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17867 run-time cl).
17868
17869 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17870
17871 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17872 from cl package.
17873 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17874
17875 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17876
17877 * calc/calc-alg.el (math-trig-rewrite)
17878 (math-hyperbolic-trig-rewrite): New functions.
17879 (calc-simplify): Simplify trig functions when asked.
17880
17881 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17882
17883 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17884
17885 2009-08-24 Kenichi Handa <handa@m17n.org>
17886
17887 * language/ind-util.el (mapthread): Delete it.
17888 (combinatorial): New function.
17889 (indian--puthash-cv): Use combinatorial instead of mapthread.
17890
17891 2009-08-22 Kevin Ryde <user42@zip.com.au>
17892
17893 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17894 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17895 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17896 Clarify docstring that the value is strings not symbols.
17897 (checkdoc-list-of-strings-p): New function.
17898
17899 2009-08-22 Glenn Morris <rgm@gnu.org>
17900
17901 * files.el (auto-mode-alist):
17902 * hippie-exp.el (he-concat-directory-file-name):
17903 * lpr.el (lpr-windows-system, printer-name):
17904 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17905 * ps-print.el (ps-windows-system):
17906 * startup.el (command-line):
17907 * emulation/viper-ex.el (viper-glob-function):
17908 * international/mule-cmds.el (set-language-environment-coding-systems):
17909 * net/ange-ftp.el (ange-ftp-write-region):
17910 * obsolete/fast-lock.el (fast-lock-cache-name):
17911 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17912 unisoft-unix, vax-vms, win32, w32.
17913
17914 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17915 given name if the pattern is not more specific.
17916
17917 * calendar/lunar.el (lunar-phase-names): New option.
17918 (lunar-phase): Doc fix.
17919 (lunar-cycles-per-year): New constant.
17920 (lunar-index): New function.
17921 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17922 (lunar-phase-name): Use lunar-phase-names.
17923 (calendar-lunar-phases): Use format.
17924 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17925
17926 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17927 Copy imenu-example--name-and-position function here for own use.
17928 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17929
17930 * bs.el (bs--redisplay):
17931 * cus-edit.el (custom-redraw):
17932 * ibuffer.el (ibuffer-bury-buffer):
17933 * server.el (server-goto-line-column):
17934 * startup.el (command-line-1):
17935 * strokes.el (strokes-xpm-for-stroke):
17936 * term.el (term-display-buffer-line):
17937 * view.el (View-goto-line):
17938 * calc/calc.el (calc-do, calc-trail-buffer):
17939 * play/gamegrid.el (gamegrid-add-score-insecure):
17940 * progmodes/ada-mode.el (ada-compile-goto-error):
17941 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17942 (ebrowse-select-1st-to-9nth):
17943 * progmodes/cperl-mode.el (cperl-time-fontification):
17944 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17945 * progmodes/gud.el (gud-display-line):
17946 (idlwave-shell-display-line):
17947 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17948 * progmodes/make-mode.el (makefile-browser-toggle):
17949 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17950 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17951 * textmodes/picture.el (picture-draw-rectangle):
17952 * textmodes/reftex-index.el (reftex-index-goto-letter):
17953 (reftex-select-jump-to-previous):
17954 * textmodes/reftex-sel.el (reftex-find-start-point)
17955 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17956 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17957 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17958 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17959 * textmodes/two-column.el (2C-associated-buffer):
17960 Use forward-line rather than goto-line.
17961
17962 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17963 goto-line.
17964
17965 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17966 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17967 (quick-check-list-to-regexp): Declare.
17968
17969 * progmodes/make-mode.el (makefile-browser-insert-selection):
17970 Use goto-char rather than goto-line.
17971
17972 * progmodes/prolog.el (compilation-error-regexp-alist)
17973 (compilation-forget-errors): Declare.
17974
17975 2009-08-22 Juri Linkov <juri@jurta.org>
17976
17977 * progmodes/grep.el (lgrep, rgrep): At the beginning
17978 set `dir' to `default-directory' unless `dir' is a non-nil
17979 readable directory. (Bug#4052)
17980 (lgrep, rgrep): Change a weird way to report an error
17981 from using `read-string' to using `error'.
17982 Instead of using interactive arguments in the function body,
17983 add new argument `confirm'.
17984
17985 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17986
17987 * textmodes/remember.el (remember-buffer):
17988 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17989 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17990 (icalendar-extract-ical-from-buffer):
17991 * net/newst-treeview.el (newsticker-groups-filename):
17992 * net/newst-backend.el (newsticker-cache-filename):
17993 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17994 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17995 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17996 (speedbar-buffers-line-path, speedbar-path-line)
17997 (speedbar-buffers-line-path):
17998 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17999 (epg-sign-keys):
18000 * epa.el (epa-display-verify-result):
18001 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18002
18003 2009-08-21 Glenn Morris <rgm@gnu.org>
18004
18005 * progmodes/js.el (inferior-moz-process): Fix declaration.
18006
18007 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18008
18009 * obsolete/rnewspost.el (news-mail-reply):
18010 Use goto-char rather than goto-line.
18011
18012 * term/ns-win.el (ns-open-file-select-line):
18013 Use line-beginning-position rather than goto-line.
18014
18015 * apropos.el (apropos-command):
18016 * ehelp.el (electric-helpify):
18017 * printing.el (pr-show-setup):
18018 * strokes.el (strokes-help):
18019 * tutorial.el (tutorial--describe-nonstandard-key)
18020 (tutorial--detailed-help):
18021 * woman.el (woman-mini-help, woman-display-extended-fonts):
18022 * calc/calc-help.el (calc-describe-key):
18023 * emulation/edt.el (edt-electric-helpify):
18024 * international/mule-diag.el (mule-diag):
18025 * play/yow.el (apropos-zippy):
18026 * progmodes/python.el (python-describe-symbol):
18027 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18028 * textmodes/table.el (*table--cell-describe-mode)
18029 (*table--cell-describe-bindings):
18030 Use help-print-return-message rather than the now obsolete alias.
18031
18032 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18033 (calendar-cursor-to-visible-date):
18034 * play/5x5.el (5x5-position-cursor):
18035 * play/decipher.el (decipher):
18036 * play/gomoku.el (gomoku-goto-xy):
18037 * play/landmark.el (lm-goto-xy):
18038 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18039 (mpuz-paint-digit):
18040 Use forward-line, not goto-line.
18041
18042 * mail/rmail.el (rmail-obsolete): Delete custom group.
18043 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18044 (rmail-remote-password, rmail-remote-password-required):
18045 Remove unneeded :set-after and :set properties.
18046
18047 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18048
18049 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18050
18051 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18052
18053 * loadup.el: Remove leftover macos code.
18054
18055 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18056 Explicitly pass the date format to git blame so that user local
18057 so that the output format can be parsed.
18058
18059 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18060
18061 * net/dbus.el (top): Don't check for (getenv
18062 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18063
18064 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18065
18066 * log-edit.el (log-edit-strip-single-file-name): New var.
18067 (log-edit-insert-changelog): Use it. Bug#3571
18068
18069 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18070
18071 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18072 Bug#3287
18073
18074 * help.el (help-print-return-message): Rename from
18075 print-help-return-message.
18076
18077 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18078 cvs-mode-map parent hack.
18079 (log-view-mode): Derive from special-mode.
18080
18081 * linum.el (linum-mode): window-size-change-functions is redundant.
18082 Adapt to new window-configuration-change-hook behavior.
18083 (linum-after-size, linum-after-config): Remove.
18084
18085 * imenu.el (imenu-example--name-and-position)
18086 (imenu-example--lisp-extract-index-name)
18087 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18088 Mark as obsolete.
18089
18090 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18091 (inferior-prolog-mode): Use it.
18092 (inferior-prolog-load-file): Reset list of errors.
18093
18094 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18095
18096 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18097
18098 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18099
18100 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18101
18102 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18103 is running already.
18104
18105 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18106
18107 * subr.el (listify-key-sequence-1): Use normal syntax since those
18108 integers are nowadays always represented by the same (positive) number
18109 on all platforms.
18110 (read-key-empty-map): New const.
18111 (read-key-delay): New var.
18112 (read-key): New function.
18113 (force-mode-line-update): Use with-current-buffer.
18114 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18115 (start-process-shell-command, start-file-process-shell-command):
18116 Discourage the use of command-args.
18117
18118 2009-08-19 Glenn Morris <rgm@gnu.org>
18119
18120 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18121
18122 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18123
18124 * simple.el (choose-completion-string): Don't rely on
18125 minibuffer-completing-file-name and ad-hoc checks to decide whether
18126 to continue completion or not.
18127
18128 * minibuffer.el (minibuffer-hide-completions): New function.
18129 (completion--do-completion): Use it.
18130 (completions-annotations): New face.
18131 (completion--insert-strings): Use it.
18132 (completion-pcm--delim-wild-regex): Add docstring.
18133 (completion-pcm--string->pattern): Add support for 0-width delimiters
18134 in completion-pcm--delim-wild-regex.
18135
18136 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18137
18138 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18139 Remove unused var `buffer-modified-p'.
18140
18141 * minibuffer.el (completion--do-completion): Move point for the #b001
18142 case as well (bug#4176).
18143 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18144
18145 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18146
18147 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18148 and :session buses.
18149
18150 2009-08-18 Kenichi Handa <handa@m17n.org>
18151
18152 * international/ucs-normalize.el (ucs-normalize-version):
18153 Change to 1.1.
18154 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18155 (utf-8-hfs): Make it perform normalization on encoding too.
18156
18157 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18158 (sentence-end-without-space): Delete duplicated chars.
18159 (sentence-end-base): Likewise.
18160
18161 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18162 (html-mode): Delete duplicated chars from sentence-end-base.
18163
18164 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18165 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18166
18167 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18168
18169 * files.el (hack-one-local-variable): If the mode function is for
18170 a minor mode, pass it an argument (Bug#4148).
18171
18172 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18173
18174 * net/tramp.el (tramp-register-completion-file-name-handler):
18175 Check also for (member 'partial-completion completion-styles).
18176
18177 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18178
18179 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18180 abbrev (Bug#3943).
18181
18182 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18183
18184 * progmodes/cperl-mode.el: Merge upstream 6.2.
18185 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18186 (cperl-forward-re): Check cperl-brace-recursing.
18187 (cperl-highlight-charclass): New function.
18188 (cperl-find-pods-heres): Use it.
18189 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18190 (cperl-beautify-regexp-piece): Fix column calculation.
18191 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18192 (cperl-beautify-level): Don't process entire regexp.
18193 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18194 calling man.
18195 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18196 (cperl-init-faces): Build a list in the normal way.
18197
18198 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18199
18200 * calendar/parse-time.el (parse-time-string-chars): Save match
18201 data.
18202
18203 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18204
18205 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18206 (sql-product): Use it.
18207 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18208 (sql-set-product): Add completion.
18209 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18210 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18211 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18212 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18213 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18214 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18215 (sql-highlight-db2-keywords): Remove.
18216 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18217 (sql-highlight-product): Use derived-mode-p.
18218 (sql-set-sqli-buffer): Use with-current-buffer.
18219 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18220 Simplify.
18221
18222 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18223
18224 * term.el: Fix commenting convention, turn comments into docstrings.
18225
18226 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18227
18228 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18229
18230 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18231
18232 * calendar/parse-time.el (parse-time-string-chars): Compute using
18233 character classes, to handle non-ascii characters (Bug#3190).
18234
18235 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18236
18237 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18238 another heredoc if the user adds another < (Bug#3226).
18239
18240 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18241 Don't initialize based on window-system (Bug#4124).
18242
18243 * facemenu.el (facemenu-read-color): Use a completion function
18244 that accepts any defined color, such as RGB triplets (Bug#3677).
18245
18246 * files.el (get-free-disk-space): Change fallback default
18247 directory to /. Expand DIR argument before switching to fallback.
18248 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18249
18250 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18251
18252 * files.el (load-library): Doc fix.
18253
18254 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18255
18256 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18257 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18258 incremental search string.
18259
18260 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18261 XEmacs.
18262
18263 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18264 (ediff-merge-region-is-non-clash)
18265 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18266 Also check if the job is really a merge job.
18267
18268 * ediff.el (ediff-current-file): New function.
18269
18270 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18271
18272 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18273 conventions.
18274 (js-insert-and-indent): Delete function.
18275 (js-mode-map): Don't bind keys to js-insert-and-indent.
18276 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18277 (js-end-of-defun): Rename from js--end-of-defun.
18278 (js-auto-indent-flag): Delete variable.
18279
18280 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18281
18282 * progmodes/js.el: Remove proclaim statement.
18283 Defvar which-func-imenu-joiner-function to silence compiler.
18284
18285 * files.el (auto-mode-alist): Use js-mode for .js files.
18286
18287 * progmodes/js2-mode.el: Remove file.
18288
18289 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18290
18291 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18292
18293 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18294
18295 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18296 Karl Landstrom <karl.landstrom@brgeight.se>
18297
18298 * progmodes/js.el: New file.
18299
18300 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18301
18302 * timezone.el (timezone-parse-date): Add ability to understand ISO
18303 basic format (minimal separators) dates in addition to the
18304 already-supported extended format dates.
18305
18306 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18307
18308 * international/ucs-normalize.el: Add a `coding' file variable.
18309
18310 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18311
18312 2009-08-14 Sam Steingold <sds@gnu.org>
18313
18314 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18315
18316 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18317
18318 * faces.el (help-argument-name): Define it here instead of
18319 help-fns.el, because in daemon mode help-fns.el may be loaded when
18320 faces are still uninitialized (Bug#1078).
18321
18322 * help-fns.el (help-argument-name): Move defface to faces.el.
18323
18324 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18325
18326 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18327 create buffer with a pty but no process so that GDB can make the
18328 inferior the controlling process.
18329
18330 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18331
18332 * international/ucs-normalize.el: New file.
18333
18334 2009-08-13 Richard Stallman <rms@gnu.org>
18335
18336 * mail/rmail.el (rmail-get-attr-names):
18337 Accept an attribute header that is too short.
18338
18339 * mail/rmail.el (rmail-forget-messages):
18340 Ignore nil elt in rmail-message-vector. Use dotimes.
18341
18342 * progmodes/compile.el (compilation-goto-locus):
18343 Use next-error-move-function.
18344
18345 * simple.el (next-error-move-function): New variable.
18346
18347 2009-08-12 Juri Linkov <juri@jurta.org>
18348
18349 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18350 always non-nil. (Bug#4052)
18351
18352 * replace.el (read-regexp): Return empty string when
18353 `default-value' is nil.
18354 (keep-lines-read-args): Don't use empty string as the
18355 default value for `read-regexp'. (Bug#2495)
18356
18357 2009-08-12 Juri Linkov <juri@jurta.org>
18358
18359 * international/mule-cmds.el (ucs-insert): Change arguments
18360 from `arg' to `character', `count', `inherit' to be the same
18361 as in `insert-char'. Doc fix. (Bug#4039)
18362
18363 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18364
18365 2009-08-12 Juri Linkov <juri@jurta.org>
18366
18367 * files-x.el: New file.
18368
18369 * files.el: Move code that deals with adding/deleting
18370 file/directory-local variables to files-x.el.
18371
18372 * Makefile.in (ELCFILES): Add files-x.elc.
18373
18374 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18375
18376 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18377 to use `goto-line'.
18378 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18379 `goto-line'.
18380 (gdb-invalidate-disassembly): Do not refresh upon receiving
18381 'update signal. Instead, update all disassembly buffers only after
18382 threads list.
18383 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18384 (gdb-starting): Move -data-list-register-names...
18385 (gdb-stopped): ...here so it's sent when first thread stops.
18386 (gdb-registers-handler-custom): Do nothing if register names are
18387 unknown yet.
18388
18389 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18390 from `gdb-mi.el' to avoid extra tangling.
18391
18392 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18393 change which breaks `gud-def' definitions used in `gdb'.
18394 (gdb-update-gud-running): No extra fuss for updating frame number.
18395
18396 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18397
18398 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18399 (describe-language-environment-map, setup-language-environment-map)
18400 (set-coding-system-map): Move initialization into declaration.
18401 (set-language-info-alist): Last arg to define-key-after can be skipped.
18402
18403 * international/quail.el (quail-completion-1): Simplify.
18404 (quail-define-rules): Use slightly more compact code.
18405 (quail-insert-decode-map): Propertize keys, compact columns.
18406
18407 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18408 Add goto-line.
18409
18410 2009-08-10 Miles Bader <miles@gnu.org>
18411
18412 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18413 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18414 (js2-instance-member, js2-private-member, js2-private-function-call)
18415 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18416 (js2-magic-paren, js2-external-variable):
18417 Remove "-face" suffix from face names.
18418 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18419 (js2-highlight-undeclared-vars, js2-peek-token)
18420 (js2-parse-function-params, js2-mode-show-errors)
18421 (js2-mode-show-warnings, js2-make-magic-delimiter)
18422 (js2-mode-highlight-magic-parens): Update to use new face names.
18423
18424 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18425
18426 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18427 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18428
18429 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18430
18431 * subr.el: Provide hashtable-print-readable.
18432
18433 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18434 hs-c-like-adjust-block-beginning.
18435 (hs-hide-block-at-point): Stop hiding at the beginning of
18436 hs-block-end-regexp (Bug#700).
18437
18438 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18439
18440 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18441 a macro.
18442 (gdb-registers-handler-custom): Do not fail when register names
18443 are unavailable.
18444
18445 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18446
18447 * progmodes/gdb-mi.el (gdb-control-all-threads)
18448 (gdb-control-current-thread): Interactive setters for
18449 `gdb-gud-control-all-threads' to use in menu.
18450 (gdb-show-run-p): Show «Go» when process is not active.
18451 (gud-tool-bar-map): Add non-stop/A,T indicator.
18452 Uses gud/thread.xpm and gud/all.xpm.
18453
18454 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18455
18456 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18457 (nslookup-font-lock-keywords): Make it a variable.
18458 (net-utils-mode): New mode for viewing diagnostic network output.
18459 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18460 (net-utils-run-simple): New function.
18461 (ifconfig, iwconfig, netstat, arp, route): Use it.
18462
18463 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18464
18465 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18466 (gdb-memory-set-address, def-gdb-set-positive-number)
18467 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18468 after changing settings.
18469 (gdb-invalidate-disassembly): Update when first shown.
18470 (gdb-edit-locals-value): Fixed.
18471 (gdb-registers-handler-custom): Print registers in right order and
18472 allow changing register values (only for current thread yet).
18473 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18474 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18475 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18476 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18477 Thread info in mode name.
18478 (gdb-registers-mode-map): TAB to switch to locals.
18479
18480 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18481
18482 * mail/rmail.el (rmail-add-mbox-headers)
18483 (rmail-set-message-counters-counter): Search for
18484 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18485
18486 2009-08-08 Glenn Morris <rgm@gnu.org>
18487
18488 * Makefile.in (ELCFILES): Update.
18489
18490 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18491
18492 * mail/sendmail.el (mail-yank-original):
18493 Set buffer-file-coding-system from the one used by the message whose
18494 text is yanked.
18495
18496 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18497 to "windows" when "pgnuplot" is used.
18498 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18499 Don't call accept-process-output if "pgnuplot" is used.
18500 (calc-graph-init): Don't send -display and -geometry to
18501 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18502 running "pgnuplot -V" with shell-command-to-string.
18503
18504 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18505 the default.
18506
18507 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18508
18509 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18510 org/org-latex.elc.
18511
18512 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18513
18514 * vc-dispatcher.el (vc-resynch-window): Update comment.
18515
18516 * term.el (term-handle-ansi-escape): Add comments with the
18517 terminfo capabilities implemented.
18518
18519 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18520
18521 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18522 (gdb-var-create-handler): Rewritten using JSON parser.
18523 (gdb-propertize-header): Move earlier.
18524 (gdb-set-header): Remove to avoid duplication.
18525 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18526 Refresh disassembly buffers only after threads list have been
18527 update.
18528 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18529 variables.
18530
18531 2009-08-04 Juri Linkov <juri@jurta.org>
18532
18533 * files.el: Commands to add/delete file/directory-local variables.
18534 (read-file-local-variable, read-file-local-variable-value)
18535 (read-file-local-variable-mode, modify-file-local-variable)
18536 (modify-file-local-variable-prop-line)
18537 (modify-dir-local-variable): New functions.
18538 (add-file-local-variable, delete-file-local-variable)
18539 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18540 (add-dir-local-variable, delete-dir-local-variable)
18541 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18542 (copy-dir-locals-to-file-locals-prop-line): New commands.
18543
18544 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18545
18546 * abbrev.el (insert-abbrev-table-description): Prettify output.
18547 Suggested by Karl Chen.
18548
18549 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18550
18551 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18552 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18553 (gdb-overlay-arrow-position, gdb-thread-position)
18554 (gdb-disassembly-position): Declare variables.
18555 (gdb-wait-for-pending): Function now.
18556 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18557 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18558 compilation goes smoothly.
18559 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18560 (gdb-non-stop-setting): New customization setting which replaces
18561 `gdb-non-stop' so changing it doesn't break active GDB session.
18562 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18563 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18564 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18565 (gdb-show-threads-by-default): New customization options.
18566 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18567 routines.
18568 (gdb-get-buffer-create): Send buffers update signal when they are
18569 created.
18570 (gdb-invalidate-locals, gdb-invalidate-registers)
18571 (gdb-invalidate-breakpoints)
18572 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18573 (gdb-invalidate-memory): Accept update signal.
18574 (gdb-current-context-command): Use --frame option.
18575 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18576 Implement `gdb-frame-number' selection logic.
18577 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18578 whether to show GUD toolbar buttons.
18579 (gdb-thread-exited): Unselect current thread when it exits.
18580 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18581 (gdb-mark-line): Routine which sets overlay arrow or inverses
18582 video on fringeless displays.
18583 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18584 to build aligned columns of data in GDB buffers and set text
18585 properties line-by-line.
18586 (gdb-invalidate-breakpoints)
18587 (gdb-breakpoints-list-handler-custom)
18588 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18589 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18590 (gdb-registers-handler-custom): Align data columns.
18591 (gdb-locals-handler-custom): Now prints data like in variable
18592 declarations.
18593 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18594 Remove confusing buttons.
18595 (gdb-invalidate-threads): Append --frame.
18596 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18597 between breakpoints/threads buffers.
18598 (gdb-set-window-buffer): Now can ignore dedicated windows.
18599 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18600 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18601 (def-gdb-thread-buffer-gud-command): Replaces
18602 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18603 for fine thread control.
18604 (gdb-preempt-existing-or-display-buffer): New function used to
18605 display bound buffers without breaking window layout.
18606 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18607 (gdb-select-frame): New version of `gdb-frames-select' which now
18608 sets `gdb-frame-number' so commands may use --frame option instead
18609 of inner debugger state.
18610 (gdb-frame-handler): Do not set `gdb-frame-number'.
18611 (gdb-threads-mode-map): Select threads with mouse.
18612
18613 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18614 avoid compilation warning.
18615 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18616 `gdb-show-stop-p`.
18617
18618 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18619 Argument `key' renamed to `buffer-type'.
18620 (gdb-current-context-buffer-name): Do not add thread info to
18621 buffer name when no thread is selected.
18622 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18623 command (bug 3794).
18624 (gdb-thread-selected): Handle `=thread-selected' notification.
18625 (gdb-wait-for-pending): New macro to deal with congestion problems.
18626 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18627 breakpoints.
18628 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18629 This fixes problem similar to one described in bug 3947.
18630 (gud-menu-map): More menu items.
18631 (gdb-init-1): Reset `gdb-thread-number' to nil.
18632
18633 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18634 non-stop settings.
18635
18636 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18637 (gdb-current-context-command): Do not append --thread if
18638 `gdb-thread-number' is nil.
18639 (gdb-running-threads-count, gdb-stopped-threads-count):
18640 New variables.
18641 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18642 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18643 New customization options.
18644 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18645 GUD commands.
18646 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18647 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18648 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18649 set `gdb-thread-number' and update `gud-running' properly.
18650 (gdb-running): Update threads list when new threads appear.
18651 (gdb-stopped): Support non-stop operation and new thread switching
18652 logic.
18653 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18654 (gdb-json-partial-output): New set of JSON routines.
18655 (def-gdb-auto-update-trigger): New `signal-list' optional
18656 argument.
18657 (gdb-thread-list-handler-custom): Update `gud-running',
18658 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18659 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18660 (gdb-continue-thread, gdb-step-thread): New commands for fine
18661 thread execution control.
18662 (gud-menu-map): New menu items to switch non-stop options.
18663 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18664 (gdb-send): Mimic RET properly (bug 3794).
18665
18666 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18667 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18668 gdb-buffer-rules.
18669 (def-gdb-auto-update-handler): New nopreserve optional argument.
18670 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18671
18672 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18673 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18674 (gdb-parent-mode): New mode to derive other GDB modes from.
18675 (gdb-display-disassembly-for-thread)
18676 (gdb-frame-disassembly-for-thread): New commands for threads
18677 buffer.
18678
18679 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18680 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18681 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18682 (gdb-update): We now store all GDB buffers in a list so that they
18683 can be updated by traversing a list instead of calling invalidate
18684 triggers explicitly.
18685 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18686 pair for GDB buffer.
18687 (gdb-stack-buffer-name): Add thread information.
18688 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18689 handle pending triggers.
18690 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18691 (def-gdb-thread-buffer-simple-command)
18692 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18693 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18694 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18695 New commands which show buffers bound to thread.
18696 (gdb-stack-list-locals-regexp): Remove unused regexp.
18697
18698 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18699 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18700 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18701 to (gud-comint-buffer) in *-buffer-name functions
18702 because (gdb-get-target-string) already does that.
18703 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18704 (gdb-changed-registers-handler): Rewritten without regexps.
18705
18706 * progmodes/gdb-mi.el: Basic thread selection support.
18707 (gdb-thread-number): New variable.
18708 (gdb-current-context-command): New macro which adds --thread
18709 option to command.
18710 (gdb-threads-mode-map): Select thread with SPC.
18711 (gdb-thread-list-handler-custom): Mark current thread with overlay
18712 arrow. Synchronize GDB thread and Emacs thread.
18713 (gdb-select-thread): New command which selects current thread.
18714 (gdb-invalidate-frames, gdb-invalidate-locals)
18715 (gdb-invalidate-registers): Use --thread option.
18716
18717 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18718
18719 * net/tramp.el (top): Make check for tramp-gvfs loading more
18720 robust. (Bug#3977)
18721 (tramp-handle-insert-file-contents): `unwind-protect' must be
18722 inside `with-parsed-tramp-file-name'.
18723
18724 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18725 fails.
18726
18727 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18728
18729 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18730 directory if CLASSPATH is not set.
18731
18732 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18733
18734 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18735 New defconst.
18736 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18737
18738 2009-08-02 Kevin Ryde <user42@zip.com.au>
18739
18740 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18741 Update freshmeat link. Delete newsforge.com as it seems gone.
18742
18743 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18744
18745 * select.el (x-set-selection): Doc fix (Bug#4021).
18746
18747 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18748
18749 * help-fns.el (describe-variable): Treat list return values from
18750 dir-locals-find-file properly (Bug#4005).
18751
18752 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18753
18754 * net/tramp.el (tramp-debug-message): Print also microseconds.
18755
18756 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18757
18758 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18759 or END is non-nil.
18760 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18761 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18762 format.
18763
18764 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18765 (tramp-get-file-property): Use it.
18766
18767 * autorevert.el (auto-revert-handler):
18768 Allow `auto-revert-tail-mode' for remote files.
18769
18770 2009-08-02 Jason Rumney <jasonr@gnu.org>
18771
18772 * minibuffer.el (read-file-name): Treat confirm options to
18773 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18774
18775 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18776
18777 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18778 (font-lock-variable-name-face, font-lock-constant-face):
18779 Darken the colors for light backgrounds.
18780
18781 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18782
18783 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18784 month names. (Bug#3987)
18785
18786 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18787
18788 * simple.el (line-move-finish): Pass whole number to
18789 line-move-to-column.
18790 (line-move-visual): Perform hscroll to the recorded position.
18791
18792 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18793
18794 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18795
18796 2009-07-29 Alan Mackenzie <acm@muc.de>
18797
18798 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18799
18800 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18801
18802 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18803 (gdb-place-breakpoints): Use full path when setting breakpoints.
18804
18805 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18806
18807 * calc/calc.el (calc-mode-map): Add keybinding for
18808 `calc-transpose-lines'.
18809
18810 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18811
18812 * calc/calc-misc.el (calc-transpose-lines): New function.
18813
18814 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18815
18816 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18817 Simplify check for out-of-band methods.
18818 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18819 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18820
18821 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18822
18823 * vc-git.el (vc-git-checkin): Fix typo.
18824
18825 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18826
18827 * progmodes/js2-mode.el: New file.
18828
18829 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18830
18831 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18832 (gud-menu-map): Adjust tooltip accordingly.
18833
18834 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18835
18836 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18837 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18838
18839 * add-log.el (change-log-mode-map): Add a menu.
18840
18841 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18842
18843 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18844 function returns nil.
18845 (dbus-handle-event): Handle special return value :ignore.
18846 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18847
18848 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18849
18850 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18851 it's not needed.
18852
18853 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18854
18855 Fix Bug#3888:
18856
18857 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18858
18859 * term/pc-win.el (x-display-name, x-colors)
18860 (x-select-enable-clipboard, x-select-text): Doc fix.
18861
18862 * term/common-win.el (x-display-name, x-colors): Doc fix.
18863
18864 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18865 (xw-defined-colors): Doc fix.
18866
18867 * w32-fns.el (x-select-text, x-setup-function-keys)
18868 (x-get-selection, x-set-selection): Doc fix.
18869
18870 * term/x-win.el (x-select-text, x-setup-function-keys)
18871 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18872
18873 * select.el (x-set-selection): Doc fix.
18874
18875 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18876
18877 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18878 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18879 "IsNSSSupportAvailable" method is not available.
18880 Reported by Steve Youngs <steve@sxemacs.org>.
18881
18882 2009-07-24 Kenichi Handa <handa@m17n.org>
18883
18884 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18885 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18886 (build-unicode-category-table): Fix range checks.
18887
18888 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18889
18890 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18891 the buffer we try to sync is current when calling
18892 vc-resynch-buffer.
18893
18894 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18895 not show up to date files.
18896
18897 2009-07-24 Glenn Morris <rgm@gnu.org>
18898
18899 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18900 Add autoload cookies. If necessary, initialize.
18901 (elint-log): Handle non-file buffers.
18902 (elint-initialize): Add optional argument to reinitialize.
18903 (elint-find-builtin-variables): Save excursion.
18904
18905 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18906
18907 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18908 for Lint.
18909
18910 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18911
18912 * vc.el (vc-print-log-internal): New function, split out from ...
18913 (vc-print-log): ... here.
18914 (vc-dir-move-to-goal-column): Declare.
18915
18916 * vc-git.el (vc-git-add-signoff): New variable.
18917 (vc-git-checkin): Use it.
18918 (vc-git-toggle-signoff): New function.
18919 (vc-git-extra-menu-map): Bind it to menu.
18920 (vc-git--run-command-string): Accept a nil FILE argument.
18921 (vc-git-stash-list): New function.
18922 (vc-git-dir-extra-headers): Use it.
18923
18924 2009-07-23 Glenn Morris <rgm@gnu.org>
18925
18926 * help-fns.el (describe-variable): Describe ignored and risky local
18927 variables in a similar way to that in which we describe safe ones.
18928
18929 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18930 (byte-compile-output-file-form, byte-compile-output-docform)
18931 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18932 Give some more local variables with common names a "bytecomp-" prefix,
18933 so as not to shadow things during compilation.
18934 * emacs-lisp/cl-macs.el (load-time-value)
18935 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18936 `outbuffer' to `bytecomp-outbuffer'.
18937
18938 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18939 since the next two variables cover them automatically now.
18940 (elint-builtin-variables, elint-autoloaded-variables): New.
18941 (elint-unknown-builtin-args): Remove all members, since they can be
18942 parsed automatically now.
18943 (elint-extra-errors): New.
18944 (elint-env-add-env, elint-env-add-macro): Use cadr.
18945 (elint-current-buffer): Use or. Change final message.
18946 (elint-get-top-forms): Use line-end-position.
18947 (elint-init-env): Use cadr. Handle autoload, declare-function,
18948 and defalias.
18949 (elint-add-required-env): Doc fix. Use or. Standardize error.
18950 (regexp-assoc): Remove unused function.
18951 (elint-top-form): Set elint-current-pos, to record the start of the
18952 top-level form, for compilation-mode.
18953 (elint-form): Trap errors in macro expansion. Use dolist.
18954 (elint-unbound-variable): Use elint-builtin-variables and
18955 elint-autoloaded-variables.
18956 (elint-get-args): Use cadr, or.
18957 (elint-check-cond-form): Use dolist, cadr.
18958 (elint-check-condition-case-form): Doc fix. Use cadr.
18959 Use elint-extra-errors.
18960 (elint-log): New function.
18961 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18962 Distinguish errors and warnings.
18963 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18964 Use a bytecomp-style format.
18965 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18966 (elint-get-log-buffer): Use compilation mode. Disable undo.
18967 Don't truncate lines.
18968 (elint-initialize): Set builtin and autoloaded variable lists.
18969 Only process elint-unknown-builtin-args if non-nil.
18970 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18971 New functions.
18972 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18973
18974 2009-07-22 Kevin Ryde <user42@zip.com.au>
18975
18976 * net/newst-backend.el (newsticker--parse-atom-1.0)
18977 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18978 (newsticker--parse-rss-1.0):
18979 * progmodes/idlwave.el (idlwave-mode):
18980 * progmodes/idlw-shell.el (idlwave-shell-mode):
18981 * progmodes/vera-mode.el (vera-mode):
18982 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18983 * progmodes/vhdl-mode.el (vhdl-mode):
18984 * textmodes/table.el (table-generate-source)
18985 (table--warn-incompatibility):
18986 Hyperlink urls in docstrings with URL `...'.
18987
18988 2009-07-22 Glenn Morris <rgm@gnu.org>
18989
18990 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18991 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18992 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18993 Remove leading * from defcustom docs.
18994
18995 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18996
18997 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18998 defcustom doc.
18999 (list-load-path-shadows): Optionally, just return shadows as a string.
19000
19001 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19002
19003 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19004
19005 * mail/rmailedit.el (rmail-edit-mode):
19006 Use auto-save-include-big-deletions.
19007
19008 * mail/rmail.el (rmail-variables):
19009 Use auto-save-include-big-deletions.
19010
19011 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19012 changes.
19013
19014 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19015
19016 * calc/calc.el (calc-undo-length): New variable.
19017 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19018
19019 2009-07-21 Richard Stallman <rms@gnu.org>
19020
19021 * files.el (auto-save-mode): Handle buffer-save-size = -2
19022 for toggling mode.
19023
19024 2009-07-21 Glenn Morris <rgm@gnu.org>
19025
19026 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19027
19028 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19029
19030 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19031 silence compiler. Instead...
19032 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19033 (ps-print-ensure-fontified): Update for above function name changes.
19034
19035 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19036 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19037 silence compiler. Instead...
19038 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19039 (mh-show-buffer): Only define for compiler.
19040 (pr-mh-current-message): Update for above function name changes.
19041
19042 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19043 as an argument.
19044 (find-file-noselect, insert-file-1): Update for above change.
19045
19046 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19047
19048 * mail/mailclient.el (mailclient-send-it): Fix message.
19049
19050 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19051 (edebug-eval): Check cl-debug-env is bound.
19052 (print-level, print-circle): Don't redefine built-in variables.
19053
19054 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19055 (custom-print-vectors): Remove old comments from doc.
19056
19057 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19058 (emerge-version): Make the variable an obsolete alias for the
19059 emacs-version variable. Make the function obsolete.
19060 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19061 Emerge options, rather than merging in into the main Options menu.
19062 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19063 and auto advance modes. Disable edit/fast items when not relevant.
19064
19065 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19066
19067 * term/vt420.el (terminal-init-vt420): Fix typo.
19068
19069 2009-07-20 Sam Steingold <sds@gnu.org>
19070
19071 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19072 variable (removed from compile.el on 2004-03-11).
19073
19074 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19075
19076 * files.el (hack-local-variables-filter): Fix last change.
19077
19078 2009-07-19 Juri Linkov <juri@jurta.org>
19079
19080 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19081 (dir-local-variables-alist): New buffer-local variable.
19082 (hack-local-variables-filter): If variable is not dir-local,
19083 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19084 because file-local overrides dir-local.
19085 (c-postprocess-file-styles) <declare-function>:
19086 Remove obsolete declaration.
19087 (hack-dir-local-variables): Add dir-local variable/value pair to
19088 `dir-local-variables-alist' and remove duplicates. Doc fix.
19089
19090 * help-fns.el (describe-variable): Add information about
19091 file-local and dir-local variables.
19092
19093 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19094
19095 * files.el (hack-local-variables-filter): Rewrite.
19096
19097 2009-07-19 Glenn Morris <rgm@gnu.org>
19098
19099 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19100 Silence compiler by only defining on XEmacs.
19101
19102 * international/mule.el (auto-coding-regexp-alist): Only match
19103 BABYL... at the start of buffer, not of lines. (Bug#3790)
19104
19105 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19106 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19107 (cal-menu-context-mouse-menu): Doc fix.
19108
19109 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19110
19111 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19112
19113 2009-07-18 Juri Linkov <juri@jurta.org>
19114
19115 * info.el: Virtual Info keyword finder.
19116 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19117 (Info-finder-file): New variable.
19118 (Info-finder-find-file): New function.
19119 (finder-known-keywords, finder-package-info)
19120 (find-library-name, lm-commentary): Use defvar and
19121 declare-function to silence compiler warnings.
19122 (Info-finder-find-node): New function.
19123 (info-finder): New command.
19124
19125 * subr.el (process-kill-buffer-query-function): New function.
19126 (add-hook)<kill-buffer-query-functions>: Add hook
19127 `process-kill-buffer-query-function'.
19128
19129 2009-07-18 Alan Mackenzie <acm@muc.de>
19130
19131 * progmodes/cc-mode.el (c-before-hack-hook)
19132 (c-postprocess-file-styles): Give invocation of `c-set-style'
19133 DONT-OVERRIDE parameter of t. Already set style variables will
19134 thus not be overridden by style settings given by `c-file-syle'.
19135
19136 * files.el (hack-local-variables-filter): Remove entries with
19137 duplicate keys from `file-local-variables-alist'.
19138
19139 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19140
19141 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19142 x-set-selection if display-selections-p returns nil for the
19143 current frame.
19144
19145 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19146
19147 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19148
19149 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19150
19151 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19152 Accept nil in addition to a regexp.
19153 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19154 Accept nil in addition to a regexp.
19155 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19156 buffers that have an associated file. Handle nil values of
19157 desktop-buffers-not-to-save and desktop-files-not-to-save.
19158 (Bug#3833)
19159
19160 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19161 (x-disown-selection-internal): New functions.
19162
19163 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19164
19165 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19166 warning.
19167 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19168 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19169
19170 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19171
19172 * simple.el (set-mark): Revert last change.
19173
19174 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19175
19176 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19177 rendering of pngs is not possible instead of messaging a long
19178 description.
19179
19180 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19181
19182 * w32-fns.el (x-selection-owner-p): New function.
19183
19184 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19185 (mouse-yank-at-click, mouse-yank-primary):
19186 If select-active-regions is non-nil, deactivate the mark before
19187 insertion.
19188
19189 * simple.el (deactivate-mark, set-mark): Only save selection if we
19190 own it.
19191
19192 2009-07-17 Kenichi Handa <handa@m17n.org>
19193
19194 * case-table.el (describe-buffer-case-table): Fix for the case
19195 that KEY is a cons.
19196
19197 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19198
19199 * vc-rcs.el (vc-rcs-find-file-hook):
19200 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19201
19202 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19203
19204 * net/tramp.el (tramp-wait-for-output): Handle the case when
19205 commands do not return a newline but a null byte before the shell
19206 prompt. (Bug#3858)
19207
19208 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19209
19210 * term/ns-win.el (ns-set-alpha): Don't declare.
19211 (ns-set-background-alpha): Remove function.
19212
19213 2009-07-16 Kevin Ryde <user42@zip.com.au>
19214
19215 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19216 y-or-n-p, for safety.
19217
19218 2009-07-16 Richard Stallman <rms@gnu.org>
19219
19220 * files.el (auto-save-mode): If buffer-saved-size is -2,
19221 don't clobber it.
19222
19223 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19224 (rmail-retry-ignored-headers): Add more uninteresting fields.
19225
19226 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19227
19228 * net/rcirc.el (rcirc): Use history variables.
19229 (rcirc-server-name-history, rcirc-nick-name-history)
19230 (rcirc-server-port-history): New variables.
19231
19232 2009-07-15 Kenichi Handa <handa@m17n.org>
19233
19234 * international/mule-cmds.el (set-language-environment-charset):
19235 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19236 ignore them.
19237
19238 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19239 Delete unibyte-display.
19240
19241 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19242
19243 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19244
19245 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19246
19247 * simple.el (deactivate-mark): Optional argument FORCE.
19248 (set-mark): Use deactivate-mark.
19249
19250 * info.el (Info-search): No need to check transient-mark-mode
19251 before calling deactivate-mark.
19252
19253 * select.el (x-set-selection): Doc fix.
19254 (x-valid-simple-selection-p): Allow buffer values.
19255 (xselect--selection-bounds): Handle buffer values.
19256 Suggested by David De La Harpe Golden.
19257
19258 * mouse.el (mouse-set-region, mouse-drag-track):
19259 Call copy-region-as-kill before setting the mark, to let
19260 select-active-regions work.
19261
19262 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19263
19264 * simple.el (deactivate-mark): If select-active-regions is
19265 non-nil, copy the selection data into a string.
19266 (activate-mark): If select-active-regions is non-nil, set the
19267 selection to the current buffer.
19268 (set-mark): Update selection if select-active-regions is non-nil.
19269
19270 * select.el (x-valid-simple-selection-p): Allow buffer values.
19271
19272 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19273
19274 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19275 and more featureful message-mode.
19276
19277 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19278
19279 * select.el (x-set-selection): Doc fix.
19280 (x-valid-simple-selection-p): Disallow selection data consisting
19281 of a list or cons of integers, since that is not used.
19282 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19283 (xselect-convert-to-string, xselect-convert-to-length)
19284 (xselect-convert-to-filename, xselect-convert-to-charpos)
19285 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19286
19287 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19288
19289 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19290 output in -break-info command (Emacs bug #3794).
19291
19292 2009-07-14 Glenn Morris <rgm@gnu.org>
19293
19294 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19295 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19296 (edebug-print-length, edebug-print-level, edebug-print-circle)
19297 (edebug-sit-for-seconds, edebug-view-outside)
19298 (edebug-bounce-point, edebug-set-global-break-condition)
19299 (edebug-Go-nonstop-mode, edebug-trace-mode)
19300 (edebug-Trace-fast-mode, edebug-continue-mode)
19301 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19302 (edebug-visit-eval-list): Doc fixes.
19303
19304 * subr.el (def-edebug-spec): Doc fix.
19305
19306 2009-07-14 Kenichi Handa <handa@m17n.org>
19307
19308 * international/characters.el: Fix setting of category ?C.
19309
19310 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19311
19312 * term/ns-win.el (x-select-font): defalias x-select-font to
19313 ns-popup-font-panel instead of generate-fontset-menu.
19314
19315 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19316
19317 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19318
19319 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19320
19321 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19322 the PK\003\004 header (Bug#3770).
19323
19324 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19325
19326 * pcomplete.el (pcomplete-comint-setup): Check for
19327 shell-dynamic-complete-filename too.
19328
19329 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19330
19331 * simple.el (temporary-goal-column): Change the value for
19332 line-move-visual to a cons cell.
19333 (line-move-visual): Record or set the window hscroll, if
19334 necessary (Bug#3494).
19335 (line-move-1): Handle cons value of temporary-goal-column.
19336
19337 2009-07-11 Kenichi Handa <handa@m17n.org>
19338
19339 * international/mule-diag.el (describe-character-set): Don't show
19340 width.
19341
19342 2009-07-10 Sam Steingold <sds@gnu.org>
19343
19344 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19345 Omake sometimes indents the errors it prints, so allow all
19346 regexps to start with spaces.
19347
19348 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19349
19350 * cus-edit.el (customize-changed-options-previous-release):
19351 Bump value to 22.1. (Bug#3804)
19352
19353 2009-07-08 Sam Steingold <sds@gnu.org>
19354
19355 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19356 to be a cons cell (test . ignored-directory) to selectively ignore
19357 some directories depending on the location of the search.
19358
19359 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19360
19361 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19362 remote user is root, on the local host.
19363 (tramp-local-host-p): Either the local user or the remote user
19364 must be root. (Bug#3771)
19365
19366 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19367
19368 * progmodes/gdb-mi.el (gdb): Remove description of
19369 gdb-use-separate-io-buffer.
19370 (menu): Don't allow toggling of or enable
19371 gdb-use-separate-io-buffer from menubar.
19372
19373 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19374
19375 * mail/unrmail.el (unrmail): Make sure the message ends with two
19376 newlines (Bug#3769).
19377
19378 2009-07-08 Glenn Morris <rgm@gnu.org>
19379
19380 * calendar/calendar.el (calendar-current-date): Rework previous change.
19381
19382 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19383
19384 * calendar/calendar.el (calendar-current-date):
19385 Add an optional argument giving an offset from today.
19386
19387 2009-07-08 Glenn Morris <rgm@gnu.org>
19388
19389 * tutorial.el (tutorial--describe-nonstandard-key):
19390 Adjust the message for when a key has been unbound.
19391 (help-with-tutorial): Hide the arch-tag.
19392
19393 2009-07-08 Kenichi Handa <handa@m17n.org>
19394
19395 * international/fontset.el (setup-default-fontset): For each
19396 script, append (not set) font-specs.
19397
19398 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19399 docstring.
19400
19401 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19402
19403 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19404 -data-list-register-names to ...
19405 (gdb-starting): ... here because GDB 7.0 requires execution to
19406 have started when using this MI command.
19407 (gdb-set-header): New function to distinguish select and
19408 unselected tabs in gdb buffers.
19409 (gdb-propertize-header): New macro that uses gdb-set-header.
19410 (gdb-breakpoints-header, gdb-locals-header): Use it.
19411 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19412
19413 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19414
19415 * Makefile.in (ELCFILES): Remove fadr.elc.
19416
19417 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19418
19419 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19420 may contain frame information, so `string-match' should be used.
19421 (gdb-update): Disassembly is invalidated through
19422 `gdb-get-selected-frame'.
19423 (gdb-pad-string): New function to pad string with spaces.
19424 (gdb-invalidate-disassembly): Invalidate only if the buffer
19425 exists.
19426 (gdb-disassembly-handler-custom): Column alignment.
19427 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19428 placing new ones.
19429 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19430 end of line, too.
19431 (gdb-frame-handler): Match convention to for disassembly buffer
19432 mode name.
19433 (gdb-stack-list-frames-handler): Rewritten without regexps.
19434 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19435 not highlight breakpoints without line information.
19436 (gdb-input): Add trailing newline to command.
19437
19438 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19439 buffer properly.
19440 (gdb-breakpoints-list-handler-custom): Replacement for
19441 `gdb-break-list-handler'. Using real parser instead of regexps
19442 now.
19443 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19444 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19445 to place breakpoints.
19446 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19447 functions.
19448 (gdb-disassembly-handler-custom): Show overlay arrow.
19449 (gdb-disassembly-place-breakpoints): Show breakpoints in
19450 disassembly buffer.
19451 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19452 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19453 instead of parsing breakpoints buffer. Fixed old menu references
19454 in `gud-menu-map'.
19455
19456 * fadr.el: Remove.
19457
19458 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19459 (gdb-memory-address): New variable which holds top address of
19460 memory page shown in memory buffer.
19461 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19462 New customization variables.
19463 New functions:
19464 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19465 display the memory buffer.
19466 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19467 buffer display parameters.
19468 (def-gdb-memory-format, gdb-memory-format-binary)
19469 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19470 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19471 Functions for setting memory buffer format.
19472 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19473 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19474 unit size used in memory buffer.
19475 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19476 Switch to next/previous page of memory buffer.
19477 Now using (bindat-get-field) instead of fadr functions.
19478
19479 2009-07-07 Sam Steingold <sds@gnu.org>
19480
19481 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19482 non-top-level files.
19483
19484 2009-07-07 Kenichi Handa <handa@m17n.org>
19485
19486 * international/mule-cmds.el (reset-language-environment):
19487 Put the highset priority to the charset iso-8859-1.
19488
19489 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19490
19491 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19492 to the end of the line when locating the block (Bug#700).
19493
19494 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19495
19496 * net/tramp.el (tramp-handle-write-region): Flush file properties
19497 in case of short track.
19498
19499 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19500
19501 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19502 Coded custom representation of verilog error regular expressions
19503 to work with Emacs-22's new format.
19504 (verilog-error-regexp-xemacs-alist): Coded custom representation
19505 of verilog error regular expressions to work with XEmacs format.
19506 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19507 error recognition into XEmacs.
19508 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19509 error recognition into Emacs-22.
19510
19511 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19512
19513 * woman.el: Remove stand-alone closing parentheses.
19514 (woman-file-name, woman2-format-paragraphs)
19515 (woman-leave-blank-lines): Code cleanup.
19516 (woman-use-own-frame): Change default to nil.
19517 (woman-italic, woman-bold, woman-unknown, woman-addition):
19518 Change defaults to inherit from default faces.
19519 (woman2-process-escapes): Consume the newline after a stand-alone
19520 filler character (Bug#3651).
19521
19522 2009-07-06 Glenn Morris <rgm@gnu.org>
19523
19524 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19525 (top-level): Move provide to the end.
19526 (ffap): Remove defunct URL from custom group.
19527
19528 * subr.el (eval-after-load): Doc fix.
19529
19530 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19531
19532 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19533 `calc-embedded-word' is called twice.
19534
19535 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19536
19537 * files.el (find-alternate-file-other-window, find-alternate-file):
19538 Obey confirm-nonexistent-file-or-buffer.
19539
19540 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19541
19542 * dired-aux.el (dired-show-file-type): Handle remote files.
19543
19544 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19545
19546 * desktop.el (desktop-globals-to-save):
19547 Add file-name-history (Bug#2750).
19548
19549 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19550
19551 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19552
19553 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19554
19555 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19556 property on entire argument since this is what eshell-lisp-command
19557 expects.
19558
19559 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19560
19561 * net/tramp-gvfs.el (tramp-gvfs-methods)
19562 (tramp-gvfs-zeroconf-domain)
19563 (tramp-bluez-discover-devices-timeout): Add version flag.
19564 (tramp-gvfs-handler-mounted-unmounted)
19565 (tramp-gvfs-connection-mounted-p): Polish handling of
19566 incompatibilities between GVFS 0.2 and 1.0.
19567
19568 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19569
19570 * cus-start.el (all): Add make-pointer-invisible.
19571
19572 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19573
19574 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19575 formatted correctly.
19576
19577 2009-07-02 Juri Linkov <juri@jurta.org>
19578
19579 * info.el: Virtual Info files and nodes.
19580 (Info-virtual-files, Info-virtual-nodes): New variables.
19581 (Info-current-node-virtual): New variable.
19582 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19583 New functions.
19584 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19585 to check for a virtual file instead of checking a fixed list
19586 of node names.
19587 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19588 instead of ad-hoc processing of "dir" and (apropos history toc).
19589 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19590 instead of ad-hoc processing of "dir" and (apropos history toc).
19591 Reread a file when moving from a virtual node.
19592 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19593 (Info-directory-toc-nodes, Info-directory-find-file)
19594 (Info-directory-find-node): New functions.
19595 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19596 (Info-history): Move part of code to
19597 `Info-history-find-node'.
19598 (Info-history-toc-nodes, Info-history-find-file)
19599 (Info-history-find-node): New functions.
19600 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19601 (Info-toc): Move part of code to `Info-toc-find-node'.
19602 (Info-toc-find-node): New function.
19603 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19604 the current Info file name to references because now the node
19605 "*TOC*" belongs to the same Info manual.
19606 (Info-toc-build): Rename from `Info-build-toc'.
19607 (Info-toc-nodes): Rename input argument `file' to `filename'.
19608 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19609 instead of ad-hoc processing of ("dir" apropos history toc).
19610 (Info-index-nodes): Use Info-virtual-file-p
19611 to check for a virtual file instead of checking a fixed list
19612 of node names.
19613 (Info-index-node): Add check for `Info-current-node-virtual'.
19614 Raise `save-match-data' higher up the tree to contain
19615 `search-forward' too (bug fix).
19616 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19617 (Info-virtual-index-nodes): New variable.
19618 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19619 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19620 (Info-apropos-file, Info-apropos-nodes): New variables.
19621 (Info-apropos-toc-nodes, Info-apropos-find-file)
19622 (Info-apropos-find-node, Info-apropos-matches): New functions.
19623 (info-apropos): Move part of code to `Info-apropos-find-node' and
19624 `Info-apropos-matches'.
19625 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19626 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19627 for a virtual file instead of checking a fixed list of node names.
19628
19629 * simple.el (async-shell-command): New command.
19630
19631 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19632
19633 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19634 instead of `mount-info'.
19635
19636 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19637
19638 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19639 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19640
19641 2009-07-02 Kenichi Handa <handa@m17n.org>
19642
19643 * international/mule.el (set-keyboard-coding-system): Force *-unix
19644 coding-system to avoid eol conversion.
19645
19646 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19647
19648 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19649 Add handler for `process-file', `shell-command' and
19650 `start-file-process'.
19651 (tramp-gvfs-handle-shell-command)
19652 (tramp-gvfs-handle-start-file-process)
19653 (tramp-gvfs-handle-process-file): New defuns.
19654 (tramp-synce-list-devices): Simplify check for existence of property.
19655
19656 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19657
19658 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19659
19660 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19661
19662 * language/korean.el (set-language-info-alist): Add korean-cp949,
19663 cp949 to spec.
19664
19665 2009-07-01 Kenichi Handa <handa@m17n.org>
19666
19667 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19668
19669 * international/encoded-kb.el: Deleted.
19670
19671 * international/mule.el (set-keyboard-coding-system): Perform the
19672 necessary setup here instead of calling encoded-kbd-setup-display.
19673
19674 2009-07-01 Glenn Morris <rgm@gnu.org>
19675
19676 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19677
19678 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19679
19680 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19681
19682 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19683
19684 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19685 Handle also the 'rename case, when setting file modes. (Bug#3712)
19686 (tramp-default-file-modes): Remove execute permissions.
19687
19688 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19689 (top): Add a default for "synce" in `tramp-default-user-alist'.
19690 Add completion function for "synce" method.
19691 (tramp-hal-service, tramp-hal-path-manager)
19692 (tramp-hal-interface-manager, tramp-hal-interface-device):
19693 New defconst.
19694 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19695 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19696 New defuns.
19697
19698 * net/trampver.el: Update release number.
19699
19700 2009-06-30 Kenichi Handa <handa@m17n.org>
19701
19702 * international/fontset.el (setup-default-fontset): Add CJK fonts
19703 for symbols and the other miscellaneous characters.
19704
19705 * language/korea-util.el (setup-korean-environment-internal):
19706 Make char-width-table suitable for Korean environments.
19707 (exit-korean-environment): Cancel above.
19708
19709 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19710 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19711 setup-function to make char-width-table suitable for respective
19712 environments, and an exit-function to cancel that.
19713
19714 * language/japan-util.el (setup-japanese-environment-internal):
19715 Call use-cjk-char-width-table with arg `ja_JP'.
19716
19717 * international/characters.el (cjk-char-width-table): Delete it.
19718 (cjk-char-width-table-list): New variable.
19719 (use-cjk-char-width-table): New arg local-name.
19720 (use-default-char-width-table): Fix for the case that Emacs is
19721 already using the default char-width-table.
19722
19723 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19724
19725 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19726 modes mandatory. (Bug#3712)
19727
19728 2009-06-29 Alan Mackenzie <acm@muc.de>
19729
19730 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19731 correction between the visible width of TABs and their number of bytes.
19732
19733 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19734
19735 * server.el (server-buffer-done): Prevent kill-buffer from
19736 prompting by clearing the buffer modification flag (Bug#3696).
19737
19738 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19739
19740 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19741 (verilog-endcomment-reason-re): Support unique case and priority case.
19742 (verilog-basic-complete-re): Support localparam lineup.
19743 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19744 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19745 commenting.
19746 (verilog-leap-to-case-head): Now support *nested* unique &
19747 priority case statements.
19748 (verilog-auto-lineup): Make just declarations the default (as it
19749 had been).
19750 (verilog-leap-to-case-head): Support priority/unique case statements.
19751 (verilog-auto-lineup): Rework to give users radio buttons to
19752 select the various styles of automatic lineup.
19753 (verilog-error-regexp-alist): Rework to support the XEmacs style
19754 of error regular expressions from compilers, lint tools &
19755 simulators. Note that GNU Emacs has made it impossible for a mode
19756 to load such things.
19757 (electric-verilog-terminate-line, verilog-indent-declaration)
19758 (verilog-auto-wiure): Rework for radio button selection of
19759 auto-lineup selection of specification of auto lineup.
19760 (verilog-beg-of-statement-1): Redesign to support proper operation
19761 in additional code, based on testing with auto-lineup.
19762 (verilog-calculate-indent, assignments & declarations)
19763 (verilog-backward-token): Enhance to support auto-lineup of
19764 assignments & declarations.
19765 (verilog-in-directive-p, verilog-at-struct-p): New function for
19766 easy test of whether we are.
19767 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19768 to support safe execution at almost anyline.
19769 (verilog-calc-1): Properly support indenting deep inside generate
19770 blocks.
19771 (verilog-init-font): Remove definition & use of verilog-init-font,
19772 as it is redundant with font-lock-defaults.
19773 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19774 to avoid circular calls if syntax-ppss is a function (as is the
19775 case now in 22.x GNU Emacs) as that function would sometimes call
19776 itself, leading to (nearly) infinite recursion.
19777 (verilog-ovm-begin-re, verilog-ovm-end-re)
19778 (verilog-ovm-statement-re, verilog-leap-to-head)
19779 (verilog-backward-token): Add support for OVM macros. Some are
19780 complete statements, and others open and close scopes like begin
19781 and end.
19782 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19783 (verilog-defun-level-generate-only-re): Really fix the defun-list
19784 compilation issue.
19785 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19786 coverpoint, constraint and cross statements.
19787 (verilog-defun-level-list, verilog-generate-defun-level-list)
19788 (verilog-all-defun-level-list): Redo these specifications - it is
19789 too hard to support eval-when compile aggregation of lists also
19790 built at when-compile time.
19791 (verilog-defun-level-list): Place defconsts of variables used in
19792 building regular expressions which are built in eval-when-compile
19793 bodies in the same eval-when-compile body to facilitate compile
19794 without load.
19795 (verilog-beg-block-re-ordered): Support indenting
19796 virtual/protected tasks and functions.
19797 (verilog-defun-level-list, verilog-in-generate-region-p)
19798 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19799 indentation of some module items (generate items).
19800 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19801 across virtual/protected tasks and functions.
19802
19803 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19804
19805 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19806 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19807 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19808 in concatenations. Reported by Yishay Belkind.
19809 (verilog-auto-ascii-enum): Support one-hot state machines in
19810 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19811 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19812 modport in AUTOINST and add vl-modport for users.
19813 Reported by David Rogoff.
19814 (verilog-auto-inout-module, verilog-auto-inst)
19815 (verilog-decls-get-interfaces, verilog-insert-definition)
19816 (verilog-insert-one-definition, verilog-read-decls)
19817 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19818 (verilog-sig-modport, verilog-signals-combine-bus)
19819 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19820 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19821 Suggested by David Rogoff.
19822 (verilog-repair-open-comma): Fix non-insertion of comma when
19823 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19824 (verilog-make-width-expression): Simplify [A-1:0] expression
19825 widths to just {A{1'b0}}.
19826 (verilog-mode): Cleanup checkdoc warnings.
19827 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19828 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19829 inputs/outputs or data type. Suggested by Vasu Kandadi.
19830 (next-error-last-buffer): Fix byte-compiler warning.
19831 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19832 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19833 or shell command text during AUTO expansion. Suggested by Tad Truex.
19834 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19835 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19836 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19837 in AUTOINOUT. Reported by Matthew Lovell.
19838 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19839 causing use of <= assignments. Reported by Alex Reed.
19840 (verilog-read-decls): Fix triand, trior, wand, wor to be
19841 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19842 (verilog-extended-complete-re): Support import "DPI-C" functions.
19843 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19844 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19845 (verilog-insert-date, verilog-insert-year)
19846 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19847 Windows systems. Reported by Michael Potts.
19848 (verilog-read-module-name): Fix AUTOINST when the child module
19849 declaration's name is a tick define. Reported by Elliot Mednick.
19850 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19851 passed to next parameter's definition. Reported by Bruce T.
19852 (verilog-read-decls): Fix detecting "parameter int" when using
19853 AUTOINSTPARAM. Reported by Bruce T.
19854 (verilog-goto-defun): Fix goto not finding modules unless first
19855 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19856 (verilog-mode): Expand -f flag arguments on entry to mode so
19857 verilog-goto-defun will work. Reported by Lawrence Butcher.
19858 (verilog-getopt): Expand environment variables in -f file
19859 arguments. Suggested by Lawrence Butcher.
19860 (verilog-set-define): Fix "Symbol's value as variable is void"
19861 when reading enumerations.
19862 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19863 Suggested by Stephen Peltan.
19864 (verilog-read-defines): Fix reading of enumerations in include
19865 files. Reported by Steve Peltan.
19866
19867 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19868
19869 * files.el (trash-directory): Fix defcustom type.
19870
19871 2009-06-28 Juri Linkov <juri@jurta.org>
19872
19873 * help-fns.el (describe-function-1): Correctly locate adviced
19874 functions in hyperlink (Bug#2438).
19875
19876 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19877
19878 * files.el (trash-directory): Change default to nil.
19879 (move-file-to-trash): If trash-directory is nil and
19880 system-move-file-to-trash is unbound, perform freedesktop-style
19881 trashing.
19882
19883 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19884
19885 * files.el (move-file-to-trash): Add freedesktop trash
19886 support (Bug#973).
19887
19888 2009-06-28 Glenn Morris <rgm@gnu.org>
19889
19890 * autorevert.el (global-auto-revert-non-file-buffers)
19891 (global-auto-revert-mode): Doc fixes.
19892
19893 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19894
19895 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19896
19897 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19898
19899 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19900 opened an X connection before calling x-get-resource (Bug#3194).
19901
19902 * play/doctor.el: Remove reference to obsolete website.
19903 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19904
19905 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19906
19907 Remove find-file-not-found-hook VC method. (Bug#2757)
19908 * vc-hooks.el (vc-file-not-found-hook)
19909 (vc-default-find-file-not-found-hook): Remove functions.
19910 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19911 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19912 * vc.el:
19913 * vc-hg.el:
19914 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19915
19916 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19917
19918 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19919 compatibility function for `looking-back'.
19920
19921 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19922 Use `ispell-looking-back'.
19923
19924 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19925
19926 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19927 rather than `filename'.
19928
19929 2009-06-23 Miles Bader <miles@gnu.org>
19930
19931 * face-remap.el (text-scale-set): New function.
19932
19933 2009-06-23 Glenn Morris <rgm@gnu.org>
19934
19935 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19936
19937 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19938
19939 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19940
19941 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19942
19943 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19944 Simplify Persian conditionals.
19945
19946 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19947 variable `filename'.
19948
19949 * comint.el (comint-insert-input): Doc fix.
19950
19951 * Makefile.in (ELCFILES): Fix typo in previous change.
19952
19953 2009-06-23 Miles Bader <miles@gnu.org>
19954
19955 * cus-start.el: Add entry for `recenter-redisplay'.
19956
19957 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19958
19959 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19960 Add an optional argument for the backend, use it instead of
19961 calling vc-backend.
19962 (vc-mode-line): Add an optional argument for the backend.
19963 Pass the backend to vc-state and vc-working-revision. Move code for
19964 special handling for vc-state being a buffer to ...
19965
19966 * vc-rcs.el (vc-rcs-find-file-hook):
19967 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19968
19969 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19970 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19971 vc-stay-local-p and vc-mode-line calls.
19972
19973 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19974 (vc-cvs-diff, vc-cvs-annotate-command)
19975 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19976 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19977 vc-mode-line calls.
19978
19979 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19980 direct comparison.
19981 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19982 backend when calling vc-mode-line.
19983 (vc-register): Do not create a closure for calling the vc register
19984 function, call it directly.
19985
19986 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19987
19988 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19989 to make it obvious item can be clicked.
19990
19991 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19992
19993 2009-06-23 Kenichi Handa <handa@m17n.org>
19994
19995 * language/korea-util.el (korean-key-bindings): Change the binding
19996 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19997 same command.
19998
19999 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20000
20001 Sync with Tramp 2.1.16.
20002
20003 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20004
20005 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20006 when a loading of a package fails. Completion function for rsync
20007 is `tramp-completion-function-alist-ssh'.
20008 (all): Replace all calls of `split-string' and
20009 `tramp-split-string' by `tramp-compat-split-string'.
20010 (tramp-default-method): Use `tramp-compat-process-running-p'.
20011 (tramp-default-proxies-alist): Allow also Lisp forms.
20012 (tramp-remote-path): Add choice "Private Directories".
20013 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20014 (tramp-domain-regexp): Allow also "-", "_" and ".".
20015 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20016 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20017 (tramp-debug-message): Insert header line in debug buffer.
20018 (tramp-handle-directory-files-and-attributes-with-stat):
20019 Care about filenames with spaces, or starting with "-".
20020 (tramp-handle-dired-uncache): New defun.
20021 (tramp-handle-insert-directory): Don't flush the directory from
20022 cache, this is handled by `dired-uncache' now.
20023 (tramp-handle-insert-file-contents): Improve error handling.
20024 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20025 Quote `tramp-end-of-output'.
20026 (tramp-action-password): Improve trace message.
20027 (tramp-check-for-regexp): Both echoes must be present, before removing.
20028 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20029 (tramp-compute-multi-hops): Eval cons cells of
20030 `tramp-default-proxies-alist'.
20031 (tramp-maybe-open-connection): Use the same command pattern for
20032 first hop and further hops.
20033 (tramp-wait-for-output): Remove handling of newlines.
20034 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20035 (tramp-split-string): Remove function. It is handled in
20036 tramp-compat now.
20037
20038 * net/tramp-cmds.el (tramp-bug):
20039 Recommend `tramp-cleanup-all-connections' in the bug mail.
20040
20041 * net/tramp-compat.el (tramp-compat-split-string)
20042 (tramp-compat-process-running-p): New defuns.
20043
20044 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20045 for `dired-uncache'.
20046
20047 * net/tramp-gvfs.el: New package.
20048
20049 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20050 Add handler for `dired-uncache'.
20051 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20052
20053 * net/trampver.el: Update release number. Make version check fit
20054 for SXEmacs 22.
20055
20056 2009-06-22 Jim Meyering <meyering@redhat.com>
20057
20058 Automatically handle .xz suffix (XZ-compressed files), too.
20059 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20060 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20061
20062 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20063 Nick Roberts <nickrob@snap.net.nz>
20064
20065 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20066 repository (http://sphinx.net.ru/hg/gdb-mi/).
20067
20068 2009-06-22 Glenn Morris <rgm@gnu.org>
20069
20070 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20071 `mode' and `eval' entries. (Bug#3430)
20072
20073 * Makefile.in (ELCFILES): Add fadr.elc.
20074
20075 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20076 differing behavior of \n and ^ in strings. (Bug#3385)
20077
20078 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20079
20080 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20081 property.
20082 (lisp-indent-function): Make it a defcustom.
20083
20084 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20085
20086 * progmodes/gdb-ui.el: Replace with ...
20087 * progmodes/gdb-mi.el: ... this file.
20088 * progmodes/gud.el: Modify for gdb-mi.el.
20089
20090 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20091
20092 * fadr.el: New file.
20093
20094 See ChangeLog.14 for earlier changes.
20095
20096 ;; Local Variables:
20097 ;; coding: utf-8
20098 ;; End:
20099
20100 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
20101
20102 This file is part of GNU Emacs.
20103
20104 GNU Emacs is free software: you can redistribute it and/or modify
20105 it under the terms of the GNU General Public License as published by
20106 the Free Software Foundation, either version 3 of the License, or
20107 (at your option) any later version.
20108
20109 GNU Emacs is distributed in the hope that it will be useful,
20110 but WITHOUT ANY WARRANTY; without even the implied warranty of
20111 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20112 GNU General Public License for more details.
20113
20114 You should have received a copy of the GNU General Public License
20115 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.