Synopsis: Migrate allout encryption provisions from pgg library, which is
[bpt/emacs.git] / lisp / ChangeLog
1 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2
3 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
4 key selection prompt; make 'silent as default (Bug#7487).
5
6 2010-12-16 Leo <sdl.web@gmail.com>
7
8 * eshell/eshell.el (eshell-directory-name): Use
9 locate-user-emacs-file (Bug#7578).
10
11 2010-12-15 Glenn Morris <rgm@gnu.org>
12
13 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
14
15 2010-12-15 Jari Aalto <jari.aalto@cante.net>
16 Scott Evans <gse@antisleep.com>
17
18 * rect.el (rectange--default-line-number-format)
19 (rectangle-number-line-callback): New functions.
20 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
21
22 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
23
24 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
25 Delete unused variables.
26 (move-to-column-force): Remove function obsolete since 21.2.
27
28 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
29
30 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
31 (tramp-handle-insert-file-contents): Do not set permanent-local
32 property.
33
34 * net/tramp-cache.el (tramp-persistency-file-name): Use
35 `locate-user-emacs-file' if fboundp.
36
37 * net/tramp-sh.el (tramp-methods): Add "ksu".
38 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
39 method list.
40
41 2010-12-14 Glenn Morris <rgm@gnu.org>
42
43 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
44 (find-tag-marker-ring): Declare.
45 (js-find-symbol): Require etags.
46
47 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
48 Require mail-utils.
49 (mail-alias-file): Don't autoload. Doc fix.
50 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
51 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
52 Mark as obsolete, and risky.
53 (mail-setup): Simplify.
54
55 * mail/mailalias.el (build-mail-aliases): Make it interactive.
56 * mail/sendmail.el (build-mail-aliases): Update autoload.
57
58 * dired.el (dired-trivial-filenames, dired-chown-program)
59 (dired-auto-revert-buffer): Remove autoload cookies.
60 * mail/sendmail.el (mail-recover-1): Require 'dired.
61
62 * dired.el (dired-subdir-switches, dired-chown-program)
63 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
64 Make into defcustoms.
65 (dired-chown-program): Simplify initialization.
66
67 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
68
69 2010-12-13 Romain Francoise <romain@orebokech.com>
70
71 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
72
73 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
74
75 * net/netrc.el (netrc-point-at-eol): Remove the unused
76 netrc-point-at-old and netrc-bound-and-true-p bindings.
77 (netrc-parse): Cache the netrc contents.
78
79 2010-12-13 Eli Zaretskii <eliz@gnu.org>
80
81 * subr.el (posn-col-row): Evaluate header-line-format in the
82 context of the POSITION window's buffer.
83
84 2010-12-13 Glenn Morris <rgm@gnu.org>
85
86 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
87 (with-silent-modifications): Doc fixes.
88
89 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
90
91 * net/tramp.el (tramp-action-password, tramp-process-actions):
92 Revert previous from. Use `save-restriction'.
93
94 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
95
96 * calendar/diary-lib.el (diary-list-sexp-entries):
97 Handle case of no newline at end of file. (Bug#7536)
98
99 2010-12-13 Glenn Morris <rgm@gnu.org>
100
101 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
102
103 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
104
105 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
106 (tramp-process-actions): Do not widen.
107
108 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
109 Protect buffer-modified value. (Bug#7557)
110
111 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
112
113 * log-edit.el (log-edit-changelog-entries):
114 Regexp quote filename. (Bug#7505)
115
116 2010-12-13 Tom Breton <tehom@panix.com>
117
118 * cus-edit.el (custom-save-all):
119 Bind print-length and print-level to nil. (Bug#7581)
120
121 2010-12-13 Glenn Morris <rgm@gnu.org>
122
123 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
124 Run hooks to update menu contents. (Bug#7586)
125
126 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
127 file names, for the sake of MS Windows. (Bug#7588)
128
129 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
132 empty lines without a leading space.
133
134 2010-12-13 Leo <sdl.web@gmail.com>
135
136 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
137 while mapping over marks (Bug#6810).
138
139 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
140
141 * image-dired.el (image-dired-db-file)
142 (image-dired-temp-image-file, image-dired-gallery-dir)
143 (image-dired-temp-rotate-image-file): Set default values relative
144 to image-dired-dir (Bug#7518).
145
146 2010-12-13 Lawrence Mitchell <wence@gmx.li>
147
148 * format.el (format-decode-run-method): Pass args FROM and TO, not
149 point-min and point-max, to shell-command-on-region (Bug#7488).
150
151 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
152
153 * frame.el (blink-cursor-mode): Make default t for ns.
154
155 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
156
157 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
158
159 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
160
161 * comint.el (comint-dynamic-list-input-ring)
162 (comint-dynamic-complete-filename)
163 (comint-replace-by-expanded-filename)
164 (comint-dynamic-simple-complete)
165 (comint-dynamic-list-filename-completions)
166 (comint-dynamic-list-completions): Doc fix (Bug#7499).
167
168 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
169 Doc fix (Bug#7471).
170
171 2010-12-13 Martin Rudalics <rudalics@gmx.at>
172
173 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
174 (Bug#7533).
175
176 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
177
178 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
179 (Bug#7491).
180
181 2010-12-13 Eli Zaretskii <eliz@gnu.org>
182
183 * files.el (file-relative-name): Handle UNC file names on
184 DOS/Windows. (Bug#4674)
185
186 2010-12-13 Daiki Ueno <ueno@unixuser.org>
187
188 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
189 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
190 (epg-context-set-passphrase-callback): Mention that the callback
191 is not called when used with GnuPG 2.x.
192
193 2010-12-13 Glenn Morris <rgm@gnu.org>
194
195 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
196 Ensure ps-footer-font-size-internal is initialized.
197 Call ps-get-page-dimensions before trying to use ps-font-for-text.
198
199 2010-12-13 Kenichi Handa <handa@m17n.org>
200
201 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
202 within condition-case.
203 (rmail-show-mime): Don't use condition-case.
204 (rmail-search-mime-message): New function.
205 (rmail-search-mime-message-function): Set to
206 rmail-search-mime-message.
207
208 2010-12-13 Leo <sdl.web@gmail.com>
209
210 * ido.el (ido-common-initialization): New function. (bug#3274)
211 (ido-mode): Use it.
212 (ido-completing-read): Call it.
213
214 2010-12-12 Karl Fogel <kfogel@red-bean.com>
215
216 * bookmark.el (bookmark-name-from-full-record): Rename back to
217 this original name from `bookmark-name-from-record' reverting part
218 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
219 As Drew Adams pointed out, there was no reason to cause churn for
220 third-party callers.
221
222 2010-12-12 Alan Mackenzie <acm@muc.de>
223
224 * progmodes/cc-engine.el (c-forward-type): Before scanning a
225 template arglist, check that the current language supports this.
226
227 2010-12-11 Glenn Morris <rgm@gnu.org>
228
229 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
230 state of the file matches. (Bug#7544)
231 (vc-bzr-register, vc-bzr-checkin)
232 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
233 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
234
235 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
236
237 2010-12-11 Karel Klíč <kklic@redhat.com>
238
239 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
240
241 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 Derive from prog-mode, use derived-mode-p, and fix up various
244 minor style issues in lisp/progmodes.
245
246 * progmodes/vhdl-mode.el (vhdl-mode):
247 * progmodes/verilog-mode.el (verilog-mode):
248 * progmodes/vera-mode.el (vera-mode):
249 * progmodes/sql.el (sql-mode):
250 * progmodes/scheme.el (scheme-mode):
251 * progmodes/perl-mode.el (perl-mode):
252 * progmodes/octave-inf.el (inferior-octave-mode):
253 * progmodes/autoconf.el (autoconf-mode):
254 * progmodes/m4-mode.el (m4-mode):
255 * progmodes/inf-lisp.el (inferior-lisp-mode):
256 * progmodes/idlwave.el (idlwave-mode):
257 * progmodes/icon.el (icon-mode):
258 * progmodes/idlw-help.el (idlwave-help-mode):
259 * progmodes/dcl-mode.el (dcl-mode):
260 * progmodes/idlw-shell.el (idlwave-shell-mode):
261 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
262 (ebrowse-member-mode, ebrowse-electric-position-mode):
263 Use define-derived-mode.
264
265 * progmodes/xscheme.el (exit-scheme-interaction-mode)
266 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
267 (xscheme-debugger-mode-p, xscheme-send-string-1):
268 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
269 (tcl-load-file, tcl-restart-with-file):
270 * progmodes/ps-mode.el (ps-run-running):
271 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
272 * progmodes/js.el (js--get-all-known-symbols):
273 * progmodes/inf-lisp.el (inferior-lisp-proc):
274 * progmodes/idlwave.el (idlwave-beginning-of-statement)
275 (idlwave-template, idlwave-update-buffer-routine-info)
276 (idlwave-update-current-buffer-info)
277 (idlwave-get-routine-info-from-buffers, idlwave-choose)
278 (idlwave-scan-class-info, idlwave-fix-keywords)
279 (idlwave-list-buffer-load-path-shadows):
280 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
281 (idlwave-toolbar-remove):
282 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
283 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
284 (idlwave-shell-menu-def):
285 * progmodes/idlw-complete-structtag.el
286 (idlwave-prepare-structure-tag-completion):
287 * progmodes/gud.el (gud-set-buffer):
288 * progmodes/f90.el (f90-backslash-not-special):
289 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
290
291 * progmodes/xscheme.el (xscheme-start)
292 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
293 * progmodes/which-func.el (which-function):
294 * progmodes/vhdl-mode.el (vhdl-set-style):
295 * progmodes/verilog-mode.el (verilog-set-compile-command)
296 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
297 (verilog-set-define, verilog-auto-reeval-locals):
298 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
299 * progmodes/simula.el (simula-mode):
300 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
301 * progmodes/python.el (python-check, python-mode):
302 * progmodes/prolog.el (prolog-mode-variables):
303 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
304 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
305 * progmodes/delphi.el (delphi-mode):
306 * progmodes/cc-styles.el (c-setup-paragraph-variables):
307 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
308 (c-font-lock-init): Move make-local-variable to their setq.
309
310 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
311 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
312 make-local-hook.
313 * progmodes/sh-script.el (sh-require-final-newline): Remove.
314 (sh-set-shell): Don't set require-final-newline since it's already done
315 by prog-mode.
316 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
317 since we never set it.
318 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
319 Use read-string and standard prompt.
320 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
321 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
322 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
323 (meta-common-mode-map): Rename from meta-mode-map.
324 Remove C-m binding, which is a user preference, not mode specific.
325 (meta-common-mode): New major mode; replace meta-common-initialization.
326 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
327 around with font-lock.
328 * progmodes/etags.el (select-tags-table-mode):
329 Derive from special-mode.
330 * progmodes/octave-mod.el (octave-mode):
331 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
332 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
333 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
334 Let define-derived-mode do its job.
335 * progmodes/cpp.el (cpp-edit-mode-map):
336 Move initialization into declaration.
337 (cpp-edit-mode): Use define-derived-mode.
338 (cpp-edit-load): Use derived-mode-p.
339 * progmodes/mixal-mode.el (mixal-mode):
340 * progmodes/f90.el (f90-mode):
341 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
342 require-final-newline since prog-mode does it already.
343 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
344 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
345 * progmodes/antlr-mode.el: Require cc-mode upfront.
346 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
347 the declaration.
348 (antlr-directory-dependencies, antlr-show-makefile-rules):
349 Use derived-mode-p.
350 (antlr-language-option): Don't assume point-min==1.
351 (antlr-mode): Use define-derived-mode.
352 * progmodes/ada-mode.el: Use derived-mode-p.
353 (ada-mode): Use define-derived-mode.
354 Use hack-local-variables-hook.
355
356 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
359 (texinfo-mode): Don't disable adaptive-fill-mode.
360 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
361 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
362 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
363 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
364 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
365 (texinfo-insert-@quotation, texinfo-insert-@samp)
366 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
367 (texinfo-insert-@uref): Use define-skeleton.
368 (texinfo-insert-@-with-arg): Delete.
369
370 2010-12-10 Eli Zaretskii <eliz@gnu.org>
371
372 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
373 nil, do quote archive member names. (Bug#6144)
374
375 2010-12-10 Glenn Morris <rgm@gnu.org>
376
377 * files.el (diff-no-select): Declare.
378
379 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
380 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
381
382 * comint.el (comint-input-ring-file-name): Doc fix.
383
384 2010-12-09 Eli Zaretskii <eliz@gnu.org>
385
386 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
387 New functions.
388 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
389 Use them instead of `nil' and `>', respectively.
390 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
391 instead of `nil'.
392 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
393 and menu-bar-positive-p instead of `nil' and `>', respectively.
394 (Bug#1077)
395
396 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
397
398 * whitespace.el (whitespace-newline-mode): Code fix.
399
400 2010-12-09 Glenn Morris <rgm@gnu.org>
401
402 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
403 Rename functions without commas, update callers.
404
405 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
406
407 * whitespace.el (whitespace-cleanup-region):
408 Clean up spaces before tabs. (Bug#7582)
409
410 2010-12-08 Karl Fogel <kfogel@red-bean.com>
411
412 * bookmark.el: Adjust parameter names and doc strings to resolve
413 confusion over whether "bookmark" meant a bookmark name or a
414 bookmark record. Along the way, shorten one function's name for
415 similar reasons. (Issue #7548)
416 (bookmark-name-from-record): New name for
417 `bookmark-name-from-full-record'. All callers changed.
418 (bookmark-get-bookmark, bookmark-get-bookmark-record)
419 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
420 (bookmark-get-annotation, bookmark-set-annotation)
421 (bookmark-get-filename, bookmark-set-filename)
422 (bookmark-get-position, bookmark-set-position)
423 (bookmark-get-front-context-string, bookmark-set-front-context-string)
424 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
425 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
426 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
427 Rename `bookmark' parameter to `bookmark-name-or-record', to
428 clearly show its role, and shorten or adjust doc strings accordingly.
429 (bookmark-set-name): Same, and pass the parameter directly to
430 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
431 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
432 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
433 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
434 and in some cases shorten doc string accordingly.
435 (bookmark-rename): Change `old' and `new' parameters to `old-name'
436 and `new-name', and adjust an internal variable to avoid confusion.
437 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
438 parameter in doc string.
439
440 2010-12-08 Glenn Morris <rgm@gnu.org>
441
442 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
443 from gdb's history file. (Bug#7575)
444
445 * mail/emacsbug.el (report-emacs-bug):
446 Try to handle some other mail clients.
447
448 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
449
450 * files.el (dir-locals-collect-variables): Don't let errors stop us.
451 Use string-prefix-p.
452 (file-name-version-regexp): New var.
453 (file-name-sans-versions):
454 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
455 (jka-compr-get-compression-info): Use dolist.
456 (jka-compr-compression-info-list): Don't bother specifying
457 version/backup regexps.
458
459 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
460
461 * simple.el (just-one-space): Make argument n default to 1 if
462 omitted.
463
464 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
465
466 * electric.el (electric-indent-post-self-insert-function):
467 Delete trailing newlines even if we don't reindent.
468
469 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
470
471 * minibuffer.el (completion-at-point): Remove the `arg'.
472 * bindings.el (complete-symbol): Move back from minibuffer.el.
473
474 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
475
476 * simple.el (just-one-space): Delete newlines for negative arg.
477
478 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
481 (ansi-color-filter-apply): Simplify.
482 (ansi-color-apply): Use `font-lock-face' rather than `face'.
483
484 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
485
486 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
487
488 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
489
490 * dired.el (dired-use-ls-dired): Set default to a special
491 "unspecified" value.
492 (dired-insert-directory): When called the first time, check
493 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
494
495 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
496
497 * replace.el: Add "collect" feature to occur.
498 (occur-collect-regexp-history): New var.
499 (occur-read-primary-args): Return a replace string for nlines,
500 if needed.
501 (occur): Extend the meaning of nlines.
502
503 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
506 (which-func-update-1): Distinguish symbols from strings.
507 (which-function): Stay within 80 columns.
508
509 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * subr.el (with-demoted-errors): Distinguish symbols from strings.
512
513 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
514 Improve docstring.
515 (comment-style): Use comment-styles's docs to describe values.
516
517 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
518
519 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
520 and ns-show-prefs (Bug#7535).
521
522 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
523 bindings (Bug#7535).
524
525 2010-12-03 Glenn Morris <rgm@gnu.org>
526
527 * nxml/nxml-mode.el: Require rng-nxml.
528 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
529 Remove declarations.
530
531 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
532 * nxml/rng-nxml.el, nxml/rng-valid.el:
533 Remove leading `*' from defcustom docs.
534
535 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
536 (normal-top-level-add-to-load-path, tty-handle-args):
537 Convert comments to basic doc-strings.
538
539 * net/browse-url.el (browse-url-url-at-point)
540 (browse-url-default-browser): Remove autoload cookies.
541
542 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
543 Remove more undefined cl functions.
544
545 * vc/diff.el (diff-sentinel): Make new arguments optional.
546 * ibuf-ext.el (diff-sentinel): Update declaration.
547
548 2010-12-03 Daiki Ueno <ueno@unixuser.org>
549
550 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
551 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
552 (epg-context-set-passphrase-callback): Mention that the callback
553 is not called when used with GnuPG 2.x.
554
555 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
556
557 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
558 (tramp-file-name-port): Check also for `tramp-default-port'.
559 (tramp-get-connection-name): New defun.
560 (tramp-get-connection-process): Use it.
561 (tramp-debug-message): Extend function exclude list.
562 (tramp-drop-volume-letter): Fix doc string.
563
564 * net/tramp-cmds.el: Remove solved todo item.
565
566 * net/tramp-efs.el:
567 * net/tramp-ftp.el:
568 * net/tramp-gvfs.el:
569 * net/tramp-gw.el:
570 * net/tramp-imap.el:
571 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
572 and `tramp-default-user-alist', respectively.
573
574 * net/tramp-gw.el (tramp-gw-open-connection):
575 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
576
577 * net/tramp-imap.el (tramp-imap-make-iht): Use just
578 `tramp-file-name-port'.
579
580 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
581 and "psftp". Exchange "%k" marker with options.
582 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
583 Compute size of link target.
584 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
585 `tramp-current-*' up due to gateway methods. Optimze computing of
586 copy arguments. Use `tramp-get-connection-name' and
587 `tramp-get-connection-buffer'. Improve debug messages.
588 (tramp-compute-multi-hops): Remove port determination.
589 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
590
591 * net/trampver.el: Update release number.
592
593 2010-12-02 Glenn Morris <rgm@gnu.org>
594
595 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
596 Avoid infinite loop over windows. (Bug#7492)
597
598 * progmodes/flymake.el (flymake-check-file-limit):
599 Allow nil to mean "no limit".
600 (flymake-check-patch-master-file-buffer): Update for above change.
601 Allow a .tex file-name extension to be optional.
602 (flymake-master-tex-init): Also match \include statements.
603
604 2010-11-30 Sam Steingold <sds@gnu.org>
605
606 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
607 (nxml-parent-document-set): A function to set `nxml-parent-document'.
608 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
609 (nxml-mode-hook): Remove `defcustom' (auto-defined by
610 define-derived-mode').
611 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
612 users who want to call `nxml-parent-document-set'.
613
614 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
615
616 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
617 stand-alone lines, since that is handled by log-edit-match-to-eoh
618 (Bug#6465).
619
620 2010-11-27 Eduard Wiebe <usenet@pusto.de>
621
622 * dired.el (dired-get-filename): Replace backslashes with slashes
623 in file names on MS-Windows, needed by `locate'. (Bug#7308)
624 * locate.el (locate-default-make-command-line): Don't consider
625 drive letter and root directory part of
626 `directory-listing-before-filename-regexp'. (Bug#7308)
627 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
628
629 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
632 of :smie-open/close-alist.
633 (smie-next-sexp): Make it accept a "start token" as argument.
634 (smie-indent-keyword): Be careful not to misidentify tokens that span
635 more than one line, as empty lines. Add argument `token'.
636
637 2010-11-27 Kenichi Handa <handa@m17n.org>
638
639 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
640 multipart subtypes, insert all as usual.
641
642 * mail/rmail.el: Require rfc2047.
643
644 2010-11-27 Kenichi Handa <handa@m17n.org>
645
646 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
647 (rmail-mime-entity-disposition)
648 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
649 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
650 (rmail-mime-save): Handle the case that the button's `data' is a
651 MIME entity.
652 (rmail-mime-insert-text): New function.
653 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
654 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
655 (rmail-mime-insert-bulk): New function mostly copied from the old
656 rmail-mime-bulk-handler.
657 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
658 (rmail-mime-process-multipart): New function mostly copied from
659 the old rmail-mime-multipart-handler.
660 (rmail-mime-show): Just call rmail-mime-process.
661 (rmail-mime-process): New function mostly copied from the old
662 rmail-mime-show.
663 (rmail-mime-insert-multipart, rmail-mime-parse)
664 (rmail-mime-insert, rmail-show-mime)
665 (rmail-insert-mime-forwarded-message)
666 (rmail-insert-mime-resent-message): New functions.
667 (rmail-insert-mime-forwarded-message-function): Set to
668 rmail-insert-mime-forwarded-message.
669 (rmail-insert-mime-resent-message-function): Set to
670 rmail-insert-mime-resent-message.
671
672 * mail/rmailsum.el: Require rfc2047.
673 (rmail-header-summary): Handle multiline Subject: field.
674 (rmail-summary-line-decoder): Change the default to
675 rfc2047-decode-string.
676
677 * mail/rmail.el (rmail-enable-mime): Change the default to t.
678 (rmail-mime-feature): Change the default to `rmailmm'.
679 (rmail-quit): Delete the specifal code for rmail-enable-mime.
680 (rmail-display-labels): Likewise.
681 (rmail-show-message-1): Check rmail-enable-mime, and use
682 rmail-show-mime-function for a MIME message. Decode the headers
683 according to RFC2047.
684
685 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * progmodes/which-func.el (which-func-imenu-joiner-function):
688 Return a string, as expected.
689 (which-function-mode): Make sure we stop any previous timer before
690 starting a new one.
691
692 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
693
694 * net/tramp.el (tramp-default-method-alist)
695 (tramp-default-user-alist, tramp-default-proxies-alist):
696 Adapt custom options type. (Bug#7445)
697
698 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
699
700 * progmodes/python.el: Add Ipython support (Bug#5390).
701 (python-shell-prompt-alist)
702 (python-shell-continuation-prompt-alist): New options.
703 (python--set-prompt-regexp): New function.
704 (inferior-python-mode, run-python, python-shell):
705 Require ansi-color. Use python--set-prompt-regexp to set the comint
706 prompt based on the Python interpreter.
707 (python--prompt-regexp): New var.
708 (python-check-comint-prompt)
709 (python-comint-output-filter-function): Use it.
710 (run-python): Use a pipe (Bug#5694).
711
712 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
713
714 * progmodes/python.el (run-python): Doc fix.
715 (python-keep-current-directory-in-path): New var (Bug#7454).
716
717 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
718
719 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
720 Prompt user before actually printing.
721
722 2010-11-27 Glenn Morris <rgm@gnu.org>
723
724 * startup.el (package-enable-at-startup, package-initialize):
725 Remove unnecessary declarations.
726
727 2010-11-27 Eli Zaretskii <eliz@gnu.org>
728
729 * international/characters.el (glyphless-char-display-control):
730 Exclude newline and TAB from the c0-control group.
731
732 2010-11-27 Glenn Morris <rgm@gnu.org>
733
734 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
735 (expand-mail-aliases): Remove unnecessary autoload.
736
737 * allout.el (allout-command-prefix, allout-mode-map): Declare.
738
739 * shell.el (shell-dir-cookie-re): Move definition before use.
740
741 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
742 Replace undefined CL functions.
743
744 2010-11-26 Eli Zaretskii <eliz@gnu.org>
745
746 * simple.el (prog-mode): Set bidi-paragraph-direction to
747 left-to-right.
748
749 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
750
751 2010-11-26 Glenn Morris <rgm@gnu.org>
752
753 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
754 diary-outlook-formats can be sensitive to calendar-date-style.
755 (diary-outlook-formats): Simplify the default setting.
756 (diary-from-outlook-internal): Pass subject and body as arguments.
757 Use dolist rather than dotimes. Don't save the diary buffer.
758 (diary-from-outlook-gnus, diary-from-outlook-rmail):
759 Pass subject and body as explicit arguments to the -internal function.
760
761 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
762
763 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
764 parsing them. This makes mailto:...?subject=foo\nbar work.
765
766 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
767
768 * vc/diff.el (diff): Fix last change.
769
770 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
773 (pcase--dontcare-upats): New var.
774 (pcase-let, pcase-let*): Generate better code.
775 Accept the same bodies as `let'.
776 (pcase-dolist): New macro.
777 (pcase--trivial-upat-p): New helper function.
778 (pcase--expand): Strip leading "(let nil" if any.
779
780 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
781
782 * mail/mailclient.el (browse-url): Require.
783 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
784 use the external browser function to send the mail (bug#7469).
785
786 * net/browse-url.el (browse-url-browser-function): Revert the
787 default back to the previous value, since the new value broke
788 mailclient.el.
789 (browse-url-mailto-function): New variable for mailto: URLs.
790 (browse-url): Use the new variable for mailto: URLs.
791
792 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * eshell/esh-cmd.el (eshell-parse-command):
795 * eshell/esh-arg.el (eshell-parse-arguments):
796 * eshell/em-script.el (eshell-source-file):
797 Use with-silent-modifications.
798
799 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
800
801 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
802 for a merge location.
803
804 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
805 (vc-bzr-merge-branch): Always prompt.
806 (vc-bzr-async-command): Use the full branch filename.
807
808 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
809
810 * shell.el (shell): Use current-buffer by default if it's already
811 a shell mode buffer and its process is dead.
812 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
813
814 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
815
816 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
817 Mention that the keywords should be comma separated.
818
819 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
820
821 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
822 Accept optional prefix arg meaning to prompt for a command.
823 (vc-update): Use vc-BACKEND-pull if available. Accept optional
824 prefix arg meaning to prompt for a command.
825 (vc-pull): Alias for vc-update.
826
827 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
828 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
829 (vc-bzr-merge-branch): New functions, implementing merge-branch
830 and pull operations.
831
832 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * Makefile.in: Fix up last merge.
835
836 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
837 (diff-sentinel): Get them as arguments instead.
838 (diff-old-file, diff-new-file, diff-extra-args): Remove.
839 (diff-file-local-copy, diff-better-file-name): New funs.
840 (diff-no-select): Rename from diff-into-buffer.
841 Support buffers additionally to files. Move `buf' arg. Don't display buf.
842 Prefer closures to buffer-local variables.
843 (diff): Adjust accordingly.
844 (diff-buffer-with-file): Move from files.el.
845 * files.el (diff-buffer-with-file): Move to vc/diff.el.
846 (diff-buffer-internal): Remove.
847 (diff-buffer-buffer): Remove.
848 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
849 the buffer name used, and so as not to mess up windows and frames.
850
851 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
852
853 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
854 (diff-buffer-internal): New function extracted from diff-buffer-with-file
855 (diff-buffer-with-file): Use it.
856 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
857 (diff): Use it.
858
859 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
860
861 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
862 \ref's or \pageref's value as default instead of initial input.
863
864 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
865
866 * files.el (backup-by-copying-when-mismatch): The default value is
867 now t.
868
869 * startup.el (normal-top-level):
870 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
871 `backup-by-copying-when-mismatch'.
872
873 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
874
875 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
876
877 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
878
879 * progmodes/python.el (python-font-lock-keywords):
880 Highlight top-level augmented assignments (Bug#6445).
881
882 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
883
884 * term/ns-win.el (ns-right-control-modifier)
885 (ns-right-command-modifier): Defvar them.
886
887 * cus-start.el (all): Add ns-right-control-modifier and
888 ns-right-command-modifier (Bug#7458).
889
890 2010-11-20 Glenn Morris <rgm@gnu.org>
891
892 * emacs-lisp/authors.el (authors-ignored-files)
893 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
894
895 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
896
897 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
898 (report-emacs-bug-parse-query-results)
899 (report-emacs-bug-create-existing-bugs-buffer): Pass through
900 keywords used for querying the bug database to show them in the
901 existing bugs buffer.
902
903 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
904
905 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
906
907 * info.el (info-tool-bar-map): Add some :vert-only keywords.
908
909 2010-11-20 Eli Zaretskii <eliz@gnu.org>
910
911 * international/characters.el (glyphless-char-display-control):
912 Make it a defcustom, with update-glyphless-char-display as its
913 :set attribute.
914 (top level): Don't call update-glyphless-char-display.
915
916 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
917
918 Sync with Tramp 2.2.0.
919
920 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
921 `file-remote-p' (due to compatibility).
922
923 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
924 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
925
926 * net/trampver.el: Update release number.
927
928 2010-11-20 Eli Zaretskii <eliz@gnu.org>
929
930 * faces.el (glyphless-char): Define value for `pc'.
931
932 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
933
934 Implemented a bug querying mechanism.
935 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
936 (report-emacs-bug-create-existing-bugs-buffer)
937 (report-emacs-bug-parse-query-results)
938 (report-emacs-bug-query-existing-bugs): New functions.
939
940 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
941
942 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
943 a \ref{} or \pageref{} macro, then use its value as initial input.
944
945 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
946
947 * calc/calc-units.el (math-build-units-table-buffer):
948 calc/README: Mention that the TeX specific units won't use the
949 `tex' prefix in TeX mode.
950 calc/calc-lang.el (math-variable-table): Don't use the `tex'
951 prefix for units in TeX mode.
952
953 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * simple.el (kill-new, kill-append, kill-region):
956 * comint.el (comint-kill-region): Make the yank-handler argument
957 obsolete.
958
959 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
962 that are both openers (resp. closers) and something else.
963 (smie-grammar): Loosen definition of valid values.
964 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
965 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
966 (smie-indent-after-keyword): Adjust users.
967 (smie-indent-keyword): Don't indent empty lines.
968
969 * vc-hg.el (vc-hg-program): New var.
970 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
971 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
972
973 2010-11-18 Glenn Morris <rgm@gnu.org>
974
975 * emacs-lisp/autoload.el (autoload-find-destination): The function
976 coding-system-eol-type may return non-numeric values. (Bug#7414)
977
978 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
979
980 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
981
982 2010-11-18 Eli Zaretskii <eliz@gnu.org>
983
984 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
985
986 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
987
988 * textmodes/picture.el (picture-mouse-set-point): Don't use
989 posn-col-row; explicitly compute the motion based on the posn at
990 the window-start (Bug#7390).
991
992 2010-11-18 Glenn Morris <rgm@gnu.org>
993
994 * novice.el (disabled-command-function):
995 Fix 2009-11-15 change. (Bug#7384)
996
997 2010-11-18 Glenn Morris <rgm@gnu.org>
998
999 * calendar/calendar.el (diary-iso-date-forms): Make elements
1000 mutually exclusive. (Bug#7377)
1001
1002 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1005 when filling the remaining "unconstrained" values.
1006
1007 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1010 safety predicate.
1011
1012 * files.el (safe-local-variable-p): Gracefully handle errors.
1013
1014 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1015 Use smie-indent-virtual when indenting relative to an opener.
1016 (smie-rule-separator): Use smie-rule-parent.
1017 (smie-indent-keyword): Consult rules, even for openers at bol.
1018 (smie-indent-comment-close): Try to align closer's content.
1019
1020 2010-11-18 Glenn Morris <rgm@gnu.org>
1021
1022 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1023
1024 2010-11-18 Glenn Morris <rgm@gnu.org>
1025
1026 * printing.el (pr-menu-bind): Doc fix.
1027
1028 * speedbar.el (speedbar-toggle-images): Doc fix.
1029
1030 * progmodes/python.el (python-shell): Doc fix.
1031
1032 * wid-edit.el (widget-field-use-before-change)
1033 (widget-use-overlay-change): Doc fixes.
1034
1035 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 Minor cleanup to improve style.
1038 * textmodes/rst.el (rst-update-section): Use point-marker.
1039 (rst-get-decoration): Eliminate unneeded assignment.
1040 (rst-promote-region, rst-straighten-decorations)
1041 (rst-section-tree, rst-adjust): Use point-marker.
1042 (rst-toc-mode-mouse-goto): Avoid setq.
1043 (rst-shift-region-guts, rst-shift-region-left)
1044 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1045 (rst-convert-bullets-to-enumeration): Use copy-marker.
1046
1047 * minibuffer.el (completion-fail-discreetly): New var.
1048 (completion--do-completion): Use it.
1049
1050 * electric.el (electric-pair-pairs): New var.
1051 (electric-pair-post-self-insert-function): Use it.
1052 (electric-layout-post-self-insert-function): Don't insert a before
1053 newline unless it's actually needed.
1054
1055 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1056
1057 * progmodes/python.el (run-python): Explain why we remove the current
1058 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1059
1060 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1061
1062 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1063
1064 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1065 (octave-mode-map): Don't bind ;, SPC, and LF.
1066 (octave-auto-indent, octave-auto-newline): Remove.
1067 (electric-layout-rules): Declare.
1068 (octave-mode): Set electric-layout-rules.
1069 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1070 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1071 (octave-electric-space): Remove.
1072
1073 * electric.el (electric-layout-mode): New minor mode.
1074 (electric--after-char-pos): New function.
1075 (electric-indent-post-self-insert-function): Use it.
1076 (electric-layout-rules): New var.
1077 (electric-layout-post-self-insert-function): New function.
1078 (electric-indent-mode): Make them interact better.
1079
1080 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1083 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1084 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1085
1086 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1087
1088 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1089 Make sure to check inside the word (Bug#6761).
1090
1091 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1092
1093 * startup.el (command-line): If the cursorColor resource is set,
1094 change the cursor face-spec (Bug#7392).
1095
1096 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1097
1098 The main features of the following allout.el changes are:
1099 - implement user customization for the allout key bindings
1100 - add a customization control by which the user can inhibit use of
1101 a trailing Ctrl-H, so by default it's reserved for use with
1102 describe-prefix-bindings
1103 - adapt to new version of called-interactively-p, while
1104 maintaining backwards compatibility with old version
1105 - fix hotspot navigation so i works properly with meta-modified keys
1106
1107 * allout.el (allout-keybindings, allout-bind-keys)
1108 (allout-keybindings-binding, allout-prefixed-keybindings)
1109 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1110 (allout-keybindings-list, allout-mode-map-adjustments)
1111 (allout-setup-mode-map): Establish allout-mode keymaps as user
1112 customizable settings, and also establish a customizable setting which
1113 regulates whether or not a trailing control-h is reserved for use with
1114 describe-prefix-bindings - and inhibit it by default, so that control-h
1115 *is* reserved for describe-prefix-bindings unless the user changes it.
1116
1117 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1118 and accurately between modified and unmodified events, and handle
1119 modified events more comprehensively.
1120
1121 * allout.el (allout-substring-no-properties):
1122 Alias to use or provide version of `substring-no-properties'.
1123 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1124
1125 * allout.el (allout-next-single-char-property-change):
1126 Alias to use or provide version of `next-single-char-property-change'.
1127 (allout-annotate-hidden, allout-hide-by-annotation):
1128 Use `allout-next-single-char-property-change'.
1129
1130 * allout.el (allout-select-safe-coding-system):
1131 Alias to use or provide version of `select-safe-coding-system'.
1132 (allout-toggle-subtree-encryption):
1133 Use `allout-select-safe-coding-system'.
1134
1135 * allout.el (allout-set-buffer-multibyte):
1136 Alias to use or provide version of `set-buffer-multibyte'.
1137 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1138
1139 * allout.el (allout-called-interactively-p): Macro for using the
1140 different versions of called-interactively-p identically, depending on
1141 the subroutine's argument signature.
1142 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1143 Use `(interactive "p")' instead of `(called-interactively-p)'.
1144
1145 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1146 (allout-previous-visible-heading, allout-forward-current-level)
1147 (allout-backward-current-level, allout-show-children):
1148 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1149
1150 * allout.el (allout-before-change-handler):
1151 Exempt edits to the (overlaid) character after the allout outline
1152 bullet from edit confirmation prompt.
1153
1154 * allout.el (allout-add-resumptions):
1155 Ensure that it respects correct buffer for keybindings.
1156
1157 * allout.el (allout-beginning-of-line):
1158 Use `allout-previous-single-char-property-change' alias for the sake of
1159 diverse compatibility.
1160
1161 * allout.el (allout-end-of-line):
1162 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1163
1164 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1165
1166 * frame.el (frame-notice-user-settings): Don't clobber other
1167 user-set parameters when calling face-set-after-frame-default in
1168 response to background-color parameter (Bug#7373).
1169
1170 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1171
1172 * international/characters.el (glyphless-char-display-control):
1173 Rename from glyphless-char-control; all users changed. Doc fix.
1174 Signal an error if display method is not one of the recognized
1175 symbols.
1176
1177 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1178
1179 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1180 (tramp-compat-line-end-position): Remove them.
1181
1182 * net/tramp.el (tramp-parse-rhosts-group)
1183 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1184 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1185 (tramp-parse-netrc-group, tramp-parse-putty-group)
1186 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1187 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1188 (tramp-sh-handle-file-selinux-context)
1189 (tramp-sh-handle-file-name-all-completions)
1190 (tramp-sh-handle-insert-directory)
1191 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1192 (tramp-wait-for-output, tramp-send-command-and-read)
1193 * net/tramp-smb.el (tramp-smb-read-file-entry)
1194 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1195
1196 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1197 `point-at-bol'.
1198 (tramp-remote-coding-commands): Add an alternative using "base64
1199 -d -i". This is needed for older base64 versions from GNU
1200 coreutils. Reported by Klaus Reichl
1201 <Klaus.Reichl@thalesgroup.com>.
1202
1203 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1204
1205 * simple.el (count-words-region): New function.
1206
1207 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * shell.el (shell-dir-cookie-re): New custom variable.
1210 (shell-dir-cookie-watcher): New function.
1211
1212 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1213 and compilation-mode (bug#7350).
1214
1215 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1216 highlight when one of them is empty.
1217
1218 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1219 trailing space.
1220 (skeleton-newline): New function.
1221 (skeleton-internal-1): Use it.
1222
1223 * simple.el (open-line): `newline' may strip trailing space.
1224
1225 2010-11-12 Kevin Ryde <user42@zip.com.au>
1226
1227 * international/mule-cmds.el (princ-list): Use mapc.
1228
1229 2010-11-12 Glenn Morris <rgm@gnu.org>
1230
1231 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1232 Use it to replace all instances of "*Compile-Log*"
1233
1234 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1235
1236 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1237 indentation specs.
1238
1239 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1240
1241 * progmodes/modula2.el: Use SMIE and skeleton.
1242 (m2-mode-syntax-table): (*..*) can be nested.
1243 Add //...\n. Fix paren syntax.
1244 (m2-mode-map): Remove LF and TAB bindings.
1245 (m2-indent): Add safety property.
1246 (m2-smie-grammar): New var.
1247 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1248 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1249 (m2-mode): Use define-derived-mode.
1250 (m2-newline, m2-tab): Remove.
1251 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1252 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1253 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1254 (m2-import): Use define-skeleton.
1255
1256 2010-11-11 Glenn Morris <rgm@gnu.org>
1257
1258 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1259
1260 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1261 (ls-lisp-verbosity): Add custom :set-after property.
1262 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1263 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1264 (ls-lisp-insert-directory): Update caller.
1265 (ls-lisp-set-options): New function.
1266 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1267 Doc fix.
1268
1269 * play/landmark.el (lm-prompt-for-move):
1270 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1271
1272 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1273
1274 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1275 (idlwave-study-twins): Prefix dynamic local variable `name'.
1276 (idlwave-routine-twin-compare): Update for above change.
1277
1278 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1279 Prefix dynamic local variables `name', `kwd', and `link'.
1280 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1281 * progmodes/idlw-complete-structtag.el
1282 (idlwave-complete-structure-tag-help):
1283 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1284 (idlwave-complete-sysvar-tag-help)
1285 (idlwave-complete-class-structure-tag-help):
1286 Update for above name changes.
1287
1288 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1289
1290 * net/browse-url.el (browse-url-browser-function): Change the
1291 default to use `browse-url-mail' on mailto: URLs.
1292
1293 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1294
1295 * emacs-lisp/package.el (package-read-all-archive-contents):
1296 Reset package-archive-contents to nil before re-reading.
1297
1298 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1299
1300 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1301 already found as misspellings by (flyspell-large-region), just
1302 do highlighting (bug#7322).
1303
1304 2010-11-10 Glenn Morris <rgm@gnu.org>
1305
1306 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1307
1308 * emulation/edt.el (edt-with-position): New macro.
1309 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1310 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1311 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1312
1313 * emulation/tpu-extras.el (tpu-with-position): New macro.
1314 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1315
1316 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1317
1318 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1319 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1320 (texinfo-master-menu, texinfo-insert-node-lines)
1321 (texinfo-multiple-files-update):
1322 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1323 Use line-beginning-position.
1324
1325 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1326 No recent Emacs supports system-type `emx'.
1327
1328 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1329 (ada-command-separator, ada-default-prj-properties)
1330 (ada-find-any-references): Update for above name change.
1331
1332 * dirtrack.el (dirtrack-directory-function)
1333 (dirtrack-canonicalize-function):
1334 * filecache.el (file-cache-completion-ignore-case)
1335 (file-cache-case-fold-search, file-cache-ignore-case):
1336 * term.el (serial-port-is-file-p): Cosmetic change.
1337
1338 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1339 Remove non-existent `windows-95' system-type.
1340 * dired.el (dired-chown-program): Remove non-existent `linux'
1341 system-type.
1342
1343 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1344 (ping-program-options): Remove non-existent `linux' system-type.
1345
1346 * startup.el (package-initialize): Update declaration.
1347
1348 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1349 (ls-lisp-handle-switches): Use time-less-p.
1350 (ls-lisp-format-time): Use float-time.
1351
1352 * textmodes/remember.el (remember-time-to-seconds): Remove.
1353 (remember-store-in-mailbox): Use float-time.
1354
1355 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1356
1357 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1358 never a real function.
1359 (with-no-warnings): Remove compat stub, now unused.
1360 (time-less-p): Doc fix.
1361 (time-to-number-of-days): Simplify.
1362
1363 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1364 Remove.
1365 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1366 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1367 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1368 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1369 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1370
1371 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1372 (eshell-shuffle-files, eshell-shorthand-tar-command)
1373 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1374 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1375 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1376 Prefix dynamic local variable `matches'.
1377
1378 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1379 Prefix dynamic local variable `skeleton'.
1380
1381 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1382
1383 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1384 in mail buffer; make yank-action always a command that yanks original
1385 buffer.
1386
1387 2010-11-09 Glenn Morris <rgm@gnu.org>
1388
1389 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1390
1391 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1394 completion field (bug#7211).
1395
1396 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1397 Fix handling of backslash escapes.
1398 (python-quote-syntax): Adjust accordingly.
1399
1400 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1401
1402 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1403 (vc-mtn-workfile-branch): Adjust to new output format.
1404
1405 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1406
1407 * international/mule-cmds.el (princ-list): Mark as obsolete.
1408
1409 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1410
1411 * emacs-lisp/smie.el: New package.
1412
1413 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1414
1415 * files.el (backup-by-copying-when-mismatch):
1416 Set `permanent-local' property.
1417
1418 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1419 `permanent-local' property for `backup-by-copying-when-mismatch'.
1420
1421 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1422
1423 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1424
1425 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1426
1427 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1428 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1429 AUTOINOUT for SV style multidimensional arrays, bug294.
1430 Reported by Eric Mastromarchi.
1431 (verilog-preprocess): Use with-current-buffer and
1432 font-lock-fontify-buffer to cleanup style issues.
1433
1434 2010-11-09 Glenn Morris <rgm@gnu.org>
1435
1436 * locate.el (locate, locate-mode): Doc fixes.
1437
1438 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1439
1440 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1441 user for confirmation.
1442 (server-force-stop): Use it.
1443 (server-start): Use server-force-stop for kill-emacs-hook, to
1444 avoid user interaction while killing Emacs.
1445
1446 2010-11-09 Glenn Morris <rgm@gnu.org>
1447
1448 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1449 (meta-indent-line): Simplify.
1450
1451 * vc/emerge.el (emerge-line-number-in-buf):
1452 * textmodes/ispell.el (ispell-region):
1453 * textmodes/fill.el (current-fill-column):
1454 * progmodes/xscheme.el (xscheme-send-current-line):
1455 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1456 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1457 * progmodes/sh-script.el (sh-handle-prev-do):
1458 * progmodes/meta-mode.el (meta-indent-line):
1459 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1460 (idlwave-in-quote):
1461 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1462 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1463 * progmodes/fortran.el (fortran-looking-at-if-then):
1464 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1465 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1466 (cperl-find-pods-heres):
1467 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1468 * net/quickurl.el (quickurl-list-insert):
1469 * net/ldap.el (ldap-search-internal):
1470 * net/eudc.el (eudc-expand-inline):
1471 * mail/sendmail.el (sendmail-send-it):
1472 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1473 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1474 (viper-brac-function):
1475 * calc/calc-yank.el (calc-do-grab-region):
1476 * calc/calc-keypd.el (calc-keypad-press):
1477 * term.el (term-move-columns, term-insert-spaces):
1478 * speedbar.el (speedbar-highlight-one-tag-line):
1479 * simple.el (current-word):
1480 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1481 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1482 (Info-scroll-down):
1483 * hippie-exp.el (he-line-beg):
1484 * epa.el (epa--marked-keys):
1485 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1486 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1487 (dired-relist-entry):
1488 * buff-menu.el (Buffer-menu-buffer):
1489 * array.el (current-line):
1490 * allout.el (allout-resolve-xref)
1491 (allout-latex-verbatim-quote-curr-line):
1492 Replace yet more uses of end-of-line etc with line-end-position, etc.
1493
1494 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1497 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1498 (checkdoc-syntax-table): Initialize in the declaration.
1499 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1500 the mode on unconditionally.
1501
1502 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1503 (extent-end-position, extent-start-position): Remove setf method for
1504 non-existing functions (bug#7319).
1505
1506 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1507
1508 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1509 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1510 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1511 (smie-prec2->grammar): Rename from smie-prec2-levels.
1512 (smie-grammar): Rename from smie-op-levels.
1513 (smie-indent--hanging-p): Rename from smie-hanging-p.
1514 (smie-rule-hanging-p): New alias.
1515 (smie-indent--bolp): Rename from smie-bolp.
1516 (smie-indent--hanging-p): New alias.
1517 (smie--token): New dynamically bound variable.
1518 (smie-indent--parent): New function.
1519 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1520 (smie-rule-next-p): Rename from smie-next-p.
1521 (smie-rule-prev-p): Rename from smie-prev-p.
1522 (smie-rule-sibling-p, smie-rule-parent)
1523 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1524 (smie-rule-separator-outdent): New var.
1525 (smie-indent--rule): Merge with smie-indent--column.
1526 (smie-indent-forward-token, smie-indent-backward-token):
1527 Also recognize close parens.
1528 (smie-indent-keyword): Don't use smie-indent--column any more.
1529 (smie-indent-after-keyword): Ignore closers by default.
1530 (smie-indent-line): Use with-demoted-errors.
1531 * progmodes/octave-mod.el (octave-smie-grammar):
1532 Rename from octave-smie-op-levels.
1533 (octave-smie-rules): Adjust to new behavior.
1534 * progmodes/prolog.el (prolog-smie-grammar):
1535 Rename from prolog-smie-op-levels.
1536
1537 2010-11-07 Glenn Morris <rgm@gnu.org>
1538
1539 * eshell/esh-util.el (subst-char-in-string)
1540 (directory-files-and-attributes): These compatibility definitions are
1541 not needed on any version of Emacs since at least 21.4.
1542
1543 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1544 (verilog-get-end-of-line): Remove.
1545 (verilog-within-string, verilog-re-search-forward-substr)
1546 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1547 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1548 Use point-at-bol, point-at-eol.
1549 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1550 Remove.
1551 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1552 (electric-pascal-terminate-line, pascal-set-auto-comments)
1553 (pascal-indent-paramlist, pascal-indent-declaration)
1554 (pascal-get-lineup-indent, pascal-func-completion)
1555 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1556 Use point-at-bol, point-at-eol.
1557 * progmodes/flymake.el (flymake-line-beginning-position)
1558 (flymake-line-end-position): Remove.
1559 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1560 * eshell/esh-util.el (line-end-position, line-beginning-position):
1561 Remove compat definitions.
1562
1563 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1564 Use end-of-line N.
1565 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1566 Use line-end-position.
1567
1568 * emacs-lisp/chart.el (chart-zap-chars):
1569 * play/decipher.el (decipher-set-map):
1570 * progmodes/ada-mode.el (ada-get-current-indent)
1571 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1572 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1573 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1574 (ada-get-all-references):
1575 * progmodes/cperl-mode.el (cperl-electric-paren)
1576 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1577 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1578 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1579 (cperl-word-at-point-hard):
1580 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1581 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1582 (idlwave-shell-display-line):
1583 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1584 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1585 * progmodes/js.el (js--re-search-forward-inner)
1586 (js--re-search-backward-inner):
1587 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1588 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1589 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1590 * textmodes/flyspell.el (flyspell-process-localwords):
1591 * textmodes/ispell.el (ispell-buffer-local-parsing)
1592 (ispell-buffer-local-dict, ispell-buffer-local-words):
1593 Use point-at-bol and point-at-eol.
1594
1595 * speedbar.el (speedbar-generic-item-info)
1596 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1597 (speedbar-add-indicator, speedbar-check-vc-this-line)
1598 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1599 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1600 Replace more uses of end-of-line etc with line-end-position.
1601
1602 2010-11-06 Glenn Morris <rgm@gnu.org>
1603
1604 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1605 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1606 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1607 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1608 (texinfo-multiple-files-update):
1609 * textmodes/table.el (table--probe-cell-left-up)
1610 (table--probe-cell-right-bottom):
1611 * textmodes/picture.el (picture-tab-search):
1612 * textmodes/page-ext.el (pages-copy-header-and-position)
1613 (pages-directory-for-addresses):
1614 * progmodes/vera-mode.el (vera-get-offset):
1615 * progmodes/simula.el (simula-calculate-indent):
1616 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1617 * progmodes/prolog.el (end-of-prolog-clause):
1618 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1619 * progmodes/icon.el (indent-icon-exp):
1620 * progmodes/etags.el (tag-re-match-p):
1621 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1622 * progmodes/ebnf2ps.el (ebnf-begin-file):
1623 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1624 (dcl-save-local-variable):
1625 * play/life.el (life-setup):
1626 * play/gametree.el (gametree-looking-at-ply):
1627 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1628 * mail/sendmail.el (mail-mode-auto-fill):
1629 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1630 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1631 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1632 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1633 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1634 * type-break.el (type-break-file-keystroke-count):
1635 * term.el (term-replace-by-expanded-history-before-point)
1636 (term-skip-prompt, term-extract-string):
1637 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1638 (speedbar-contract-line, speedbar-toggle-line-expansion)
1639 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1640 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1641 * sort.el (sort-skip-fields):
1642 * skeleton.el (skeleton-internal-list):
1643 * simple.el (line-move-finish, line-move-to-column):
1644 * shell.el (shell-forward-command):
1645 * misc.el (copy-from-above-command):
1646 * makesum.el (double-column):
1647 * ebuff-menu.el (electric-buffer-update-highlight):
1648 * dired.el (dired-move-to-end-of-filename):
1649 * dframe.el (dframe-popup-kludge):
1650 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1651 * arc-mode.el (archive-get-lineno):
1652 Use line-end-position and line-beginning-position.
1653
1654 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1655 (idlwave-study-twins): Prefix dynamic local `class'.
1656 (idlwave-routine-twin-compare): Update for above name change.
1657
1658 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1659 Use boundp tests to silence compiler. Update for changed name of
1660 bytecomp-filename variable.
1661
1662 * emulation/viper-cmd.el (viper-read-string-with-history):
1663 Prefix dynamic local `initial'.
1664 (viper-minibuffer-standard-hook): Update for above name change.
1665
1666 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1667 (elint-init-form): Update for above name change.
1668
1669 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1670 local variables `cbeg' and `cend' a prefix.
1671 (mail-extr-voodoo): Update for above name change.
1672
1673 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1674 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1675 (reftex-toc-promote-action): Doc fix.
1676
1677 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1678 `prompt', `data' a prefix.
1679 (reftex-select-post-command-hook, reftex-select-callback)
1680 (reftex-select-mouse-accept, reftex-select-read-cite):
1681 Update for above name changes.
1682
1683 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1684 `refstyle' to reftex-refstyle.
1685 (reftex-offer-label-menu): Update for above name change.
1686 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1687 `refstyle' name change.
1688
1689 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1690 with with-current-buffer.
1691 (diff, template): Give dynamic local variables a prefix.
1692 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1693 (emerge-line-number-in-buf): Update for above name change.
1694 (emerge-combine-versions-internal): Rename local `template' to
1695 emerge-combine-template.
1696 (emerge-combine-versions-edit): Update for above name change.
1697
1698 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1699
1700 * textmodes/reftex-cite.el
1701 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1702 entries with whitespace after \bibitem.
1703 (reftex-create-bibtex-file): Match entries containing numbers and
1704 symbol constituents. Make sure that entries with whitespace at
1705 various places are found.
1706
1707 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1708
1709 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1710
1711 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1712
1713 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1714
1715 2010-11-05 Glenn Morris <rgm@gnu.org>
1716
1717 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1718 (woman2-roff-buffer): Give local variable `request' a prefix.
1719 (woman0-macro): Rename argument `request' in the same way.
1720 (woman-request): New name for `request' dynamic variable.
1721 (woman-unquote, woman-forward-arg): Update for above name change.
1722 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1723 (woman1-unquote): New name for `unquote' dynamic variable.
1724 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1725 (woman-translations): Rename from `translations'. No longer global.
1726 (woman2-tr, woman-translate): Update for above name change.
1727 (woman-translate): Check for bound variable.
1728 (woman2-roff-buffer): Give local variable `translations' a prefix.
1729
1730 * play/doctor.el: Give all local variables a prefix. Update callers.
1731 (doc$, doctor-put-meaning): Use backquote.
1732
1733 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1734 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1735
1736 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1737 variables bytes, ptr, op a prefix.
1738 (disassemble-offset): Update for above change.
1739
1740 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1741
1742 * emacs-lisp/package.el (package-unpack): Remove no-op.
1743 (package--builtins, package--dir): Doc fix.
1744 (package-activate-1, package-activate, package-install)
1745 (package-compute-transaction): Fix error message.
1746 (package-delete): Use delete-directory. Omit system packages.
1747 (package-initialize): Set package-alist to nil first.
1748 (package-menu-mark-delete, package-menu-mark-install): Don't add
1749 symbols that are inconsistent with the package state.
1750 (package-menu-execute): Perform deletions and installations as
1751 single batch operations.
1752
1753 2010-11-03 Glenn Morris <rgm@gnu.org>
1754
1755 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1756 (props): Remove unnecessary declaration.
1757
1758 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1759 set-process-query-on-exit-flag.
1760
1761 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1762 (reftex-toc-do-promote): Remove unused local `mpos'.
1763 (reftex-toc-restore-region): Make `mpos' local to this function.
1764
1765 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1766
1767 * play/landmark.el (lm-losing-threshold): Correct spelling.
1768 (lm-human-plays): Use new name.
1769
1770 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1771 (gomoku-human-plays): Use new name.
1772
1773 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1774 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1775 (gomoku-score-trans-table, gomoku-winning-threshold)
1776 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1777
1778 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1779
1780 * emacs-lisp/package.el: Don't put built-in packages in
1781 package-alist, to avoid loading inefficiencies.
1782 (package-built-in-p): Make VERSION optional, and treat it as a
1783 minimum acceptable version.
1784 (package-activate): Search separately for built-in packages.
1785 Emit a warning if a dependency fails.
1786 (define-package): Handle most common case, where there is no
1787 obsolete package, first.
1788 (package-compute-transaction): Print required version in error.
1789 (package--initialized): New variable.
1790 (list-packages): Use it.
1791 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1792 built-in packages in packages-alist; keep it separate.
1793 Set package--initialized.
1794 (describe-package): Avoid activating packages as a side-effect.
1795 Search separately for built-in packages.
1796 (describe-package-1): Handle the case where an elpa package is
1797 simultaneously built-in and available/installed.
1798 (package-installed-p, package--generate-package-list):
1799 Search separately for built-in packages.
1800 (package-load-descriptor): Doc fix.
1801
1802 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1803
1804 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1805 Handle __DATA__ and __END__.
1806
1807 2010-11-02 Noah Friedman <friedman@splode.com>
1808
1809 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1810 nil, do not ask to recompile files that are not already compiled,
1811 and do not recompile them.
1812
1813 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1814
1815 * emacs-lisp/package.el (package-initialize): Ensure that
1816 obsoleted built-in packages are not in package-activated-list
1817 during activation.
1818 (describe-package-1): Make the "installed" status override
1819 "built-in".
1820
1821 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1822
1823 * subr.el (version-separator, version-regexp-alist): Remove '*'
1824 from docstring.
1825 (version-list-<=, version<=, version=): Doc fix.
1826
1827 2010-11-01 Kenichi Handa <handa@m17n.org>
1828
1829 * faces.el (glyphless-char): Inherit underline for tty.
1830
1831 2010-11-01 Kenichi Handa <handa@m17n.org>
1832
1833 Implement various display methods for glyphless characters.
1834
1835 * international/characters.el (char-acronym-table): New variable.
1836 (glyphless-char-control): New variable.
1837 (update-glyphless-char-display): New funciton.
1838
1839 * faces.el (glyphless-char): New face.
1840
1841 2010-11-01 Glenn Morris <rgm@gnu.org>
1842
1843 * calendar/holidays.el (general-holidays, oriental-holidays)
1844 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1845 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1846 the definitions of their targets.
1847
1848 * emacs-lisp/smie.el (smie): New custom group.
1849 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1850
1851 * faces.el (xw-defined-colors, x-setup-function-keys):
1852 * mouse-sel.el (x-select-text):
1853 * term/w32console.el (x-setup-function-keys): Update declarations.
1854
1855 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1856
1857 * textmodes/ispell.el (comment-add): Declare.
1858
1859 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1860 Declare.
1861
1862 * info.el (finder-keywords-hash, package-alist): Declare.
1863
1864 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1865
1866 * finder.el (finder-compile-keywords): Don't use intern-soft,
1867 since package names may not yet exist in the obarray.
1868
1869 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1870
1871 * vc/vc-arch.el (vc-arch-checkin):
1872 * vc/vc-cvs.el (vc-cvs-checkin):
1873 * vc/vc-mtn.el (vc-mtn-checkin):
1874 * vc/vc-rcs.el (vc-rcs-checkin):
1875 * vc/vc-sccs.el (vc-sccs-checkin):
1876 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1877 since 2010-04-21 commit by Stefan Monnier.
1878
1879 2010-11-01 Glenn Morris <rgm@gnu.org>
1880
1881 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1882
1883 * startup.el (package-enable-at-startup, package-initialize):
1884 Silence compiler.
1885
1886 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1887 Silence compiler.
1888
1889 2010-10-31 Julien Danjou <julien@danjou.info>
1890
1891 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1892 (byte-recompile-directory):
1893 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1894 Use `byte-recompile-file'.
1895
1896 2010-10-31 Glenn Morris <rgm@gnu.org>
1897
1898 * cus-start.el: Handle standard values via a keyword.
1899 Only set version property if specified.
1900 (cursor-in-non-selected-windows, menu-bar-mode)
1901 (tool-bar-mode, show-trailing-whitespace):
1902 Do not specify standard values.
1903 (transient-mark-mode, temporary-file-directory): Use :standard.
1904
1905 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1906
1907 * term/x-win.el (x-get-selection-value): New function that gets
1908 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1909
1910 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1911
1912 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1913 preserve owner and group when editing files. (Bug#7289)
1914
1915 2010-10-31 Glenn Morris <rgm@gnu.org>
1916
1917 * speedbar.el (speedbar-mode):
1918 * play/fortune.el (fortune-in-buffer, fortune):
1919 * play/gomoku.el (gomoku-mode):
1920 * play/landmark.el (lm-mode):
1921 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1922 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1923
1924 * select.el (x-selection): Mark it as an obsolete alias.
1925
1926 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1927
1928 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1929 major-mode (bug#7284).
1930
1931 2010-10-31 Glenn Morris <rgm@gnu.org>
1932
1933 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1934 rather than just an unused variable that inherits from the real one.
1935
1936 2010-10-31 Alan Mackenzie <acm@muc.de>
1937
1938 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1939 This fixes bug #7185.
1940
1941 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1942
1943 * startup.el (command-line): Search for package directories, and
1944 don't load package.el if none are found.
1945
1946 * emacs-lisp/package.el (describe-package, list-packages):
1947 Call package-initialize if it has not been called yet.
1948
1949 2010-10-30 Alan Mackenzie <acm@muc.de>
1950
1951 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1952 which fontifies the tail of an enum.
1953 (c-basic-matchers-after): Insert a call to the above new function.
1954 This fixes bug #7264.
1955
1956 2010-10-30 Glenn Morris <rgm@gnu.org>
1957
1958 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1959 tool-bar-mode, transient-mark-mode. (Bug#7306)
1960 Include the :set property in the dumped Emacs.
1961
1962 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 SMIE: change indent rules format, improve smie-setup.
1965 * emacs-lisp/smie.el (smie-precs-precedence-table)
1966 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1967 Mark them pure so the tables gets built at compile time.
1968 (smie-bnf-precedence-table): Store the closer-alist in the table.
1969 (smie-prec2-levels): Preserve the closer-alist.
1970 (smie-blink-matching-open): Be more forgiving in case of indentation.
1971 (smie-hanging-p): Rename from smie-indent--hanging-p.
1972 (smie-bolp): Rename from smie-indent--bolp.
1973 (smie--parent, smie--after): New dynamic vars.
1974 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1975 (smie-indent-rules): Remove.
1976 (smie-indent--offset-rule): Remove fun.
1977 (smie-rules-function): New var.
1978 (smie-indent--rule): New fun.
1979 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1980 (smie-indent-exps): Use it.
1981 (smie-setup): Setup paren blinking; add keyword args for token
1982 functions; extract closer-alist from op-levels.
1983 (smie-indent-debug-log): Remove var.
1984 (smie-indent-debug): Remove fun.
1985 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1986 (prolog-smie-rules): New fun to replace it.
1987 (prolog-mode-variables): Simplify.
1988 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1989 it's setup automatically.
1990 (octave-smie-indent-rules): Remove.
1991 (octave-smie-rules): New fun to replace it.
1992 (octave-mode): Simplify.
1993
1994 2010-10-29 Glenn Morris <rgm@gnu.org>
1995
1996 * files.el (temporary-file-directory): Remove (already defined in C).
1997 * cus-start.el: Add temporary-file-directory.
1998
1999 * abbrev.el (abbrev-mode):
2000 * composite.el (auto-composition-mode):
2001 * menu-bar.el (menu-bar-mode):
2002 * simple.el (transient-mark-mode):
2003 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2004 that they do not define the associated variables twice.
2005 * simple.el (transient-mark-mode): Remove defvar.
2006 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2007 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2008 Handle multiple groups, and also custom-delayed-init-variables.
2009 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2010
2011 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2014 (pcase-if): Add one minor optimization.
2015 (pcase-split-equal): Rename from pcase-split-eq.
2016 (pcase-split-member): Rename from pcase-split-memq.
2017 (pcase-u1): Add strings to the member optimization.
2018 Add `guard' variant of predicates.
2019 (pcase-q1): Add string patterns.
2020
2021 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2024
2025 2010-10-28 Glenn Morris <rgm@gnu.org>
2026
2027 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2028 Move menu-bar related settings to ../menu-bar.el.
2029 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2030 Move ns-specific settings here from term/ns-win.el.
2031
2032 * simple.el (x-selection-owner-p): Remove unused declaration.
2033
2034 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * minibuffer.el (completion-cycling): New var (bug#7266).
2037 (minibuffer-complete, completion--do-completion):
2038 Use completion--flush-all-sorted-completions.
2039 (minibuffer-complete): Only cycle if completion-cycling is set.
2040 (completion--flush-all-sorted-completions): Unset completion-cycling.
2041 (minibuffer-force-complete): Set completion-cycling.
2042 (completion-all-sorted-completions): Move declaration before first use.
2043
2044 2010-10-28 Leo <sdl.web@gmail.com>
2045
2046 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2047 which changes the order of matches seen by users (bug#7231).
2048
2049 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2050
2051 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2052 Don't confuse -omega as "-o mega".
2053
2054 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2055
2056 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2057 (log-edit-author): New dynamic var.
2058 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2059 to return the author if different from committer.
2060 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2061
2062 * play/landmark.el: Adjust commenting convention.
2063 (lm-nil-score): Rename from nil-score.
2064 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2065 (OOOOscore): Move into a let in lm-score-trans-table.
2066 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2067
2068 * electric.el (electric-indent-chars): Autoload.
2069 * progmodes/octave-mod.el (octave-mode):
2070 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2071 (ruby-mode-abbrev-table): Merge initialization and declaration.
2072
2073 2010-10-27 Glenn Morris <rgm@gnu.org>
2074
2075 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2076 variable.
2077
2078 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2079
2080 * term/ns-win.el: Restore require of cl when compiling.
2081 (menu-bar-final-items): Remove non-existent `windows' menu.
2082 (ns-handle-nxopen): Optionally handle the temp-case.
2083 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2084 (ns-insert-file, ns-find-file): Use `pop'.
2085
2086 2010-10-26 Glenn Morris <rgm@gnu.org>
2087
2088 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2089
2090 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2091
2092 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2093 global map.
2094 * term/common-win.el (x-setup-function-keys): Remove most of the
2095 keymappings. Comment on the remaining ones.
2096
2097 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2098
2099 * server.el (server-port): New option. (Bug#854)
2100 (server-start): Use server-port.
2101
2102 2010-10-26 Glenn Morris <rgm@gnu.org>
2103
2104 * term/ns-win.el (ns-version-string): Remove unused declaration.
2105 (ns-invocation-args): Change to x-invocation-args.
2106 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2107 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2108 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2109 Use x-invocation-args instead of ns-invocation-args.
2110 (ns-initialize-window-system, handle-args-function-alist):
2111 Use x-handle-args instead of ns-handle-args.
2112 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2113 * startup.el (command-line-ns-option-alist): Replace
2114 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2115 ns-handle-iconic with the x- equivalents.
2116
2117 * term/common-win.el (x-select-enable-clipboard):
2118 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2119
2120 * term/ns-win.el: No need to require cl when compiling.
2121 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2122 (xw-defined-colors): Use the common-win definitions.
2123 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2124 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2125 * term/common-win.el (x-select-text, x-alternatives-map)
2126 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2127 * loadup.el [ns]: Load common-win.
2128
2129 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2130
2131 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2132 recipients; expand mail aliases (Bug#7280).
2133
2134 2010-10-25 Glenn Morris <rgm@gnu.org>
2135
2136 * term/common-win.el (x-handle-switch): Simplify with pop.
2137 Optionally handle numeric switches.
2138 (x-handle-numeric-switch): Just call x-handle-switch.
2139 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2140 (x-handle-name-switch, x-handle-display, x-handle-args):
2141 Simplify with pop.
2142
2143 * term/ns-win.el: Do not require easymenu.
2144 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2145 <spell>: Move adjustments to menu-bar.el.
2146 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2147 <separator-undo, spell>: Move ns-win's adjustments here.
2148 * loadup.el [ns]: Do not load easymenu.
2149
2150 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2151
2152 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2153 Delete (Bug#7222).
2154
2155 * startup.el (fancy-startup-tail): Instead of using inline images,
2156 refer to image files from etc/.
2157
2158 * wid-edit.el (checkbox): Likewise.
2159 (widget-image-find): Center image specs.
2160
2161 2010-10-24 Glenn Morris <rgm@gnu.org>
2162
2163 * term/ns-win.el (x-select-text): Doc fix.
2164 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2165 (x-select-text): Move to term/common-win.
2166 * term/w32-win.el (xw-defined-colors): Move to common-win.
2167 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2168 (x-setup-function-keys, x-select-text): Move to common-win.
2169 * term/common-win.el (x-select-text, x-alternatives-map)
2170 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2171 definitions here.
2172
2173 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2174
2175 * net/mairix.el (mairix-searches-mode-map):
2176 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2177
2178 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2179
2180 * verilog-mode.el (verilog-directive-re): Make this variable
2181 auto-built for efficiency of execution and updating.
2182 (verilog-extended-complete-re): Support 'pure' fucntion & task
2183 declarations (these have no bodies).
2184 (verilog-beg-of-statement): General cleanup to enable support of
2185 'pure' fucntion & task declarations (these have no bodies).
2186 These efforts together fix Verilog bug210 from veripool; which was also
2187 noticed by Steve Pearlmutter.
2188 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2189 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2190 Support `elsif. Reported by Shankar Giri.
2191 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2192 attribute handling for lining up declarations and assignments.
2193 (verilog-beg-of-statement-1): Fix issue where continued declaration
2194 is indented differently if it is after a begin..end clock.
2195 (verilog-in-attribute-p, verilog-skip-backward-comments)
2196 (verilog-skip-forward-comment-p): Support proper treatment of
2197 attributes by indent code. Reported by Jeff Steele.
2198 (verilog-in-directive-p): Fix comment to correctly describe function.
2199 (verilog-backward-up-list, verilog-in-struct-region-p)
2200 (verilog-backward-token, verilog-in-struct-p)
2201 (verilog-in-coverage-p, verilog-do-indent)
2202 (verilog-pretty-declarations): Use verilog-backward-up-list as
2203 wrapper around backward-up-list inorder to properly skip comments.
2204 Reported by David Rogoff.
2205 (verilog-property-re, verilog-endcomment-reason-re)
2206 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2207 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2208 of if). Reported by Max Bjurling and
2209 (verilog-calc-1): Fix for clocking block in modport
2210 declaration. Reported by Brian Hunter.
2211
2212 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2213
2214 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2215 (verilog-gate-keywords, verilog-read-sub-decls)
2216 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2217 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2218 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2219 (verilog-read-decls): Fix spaces in V2K module parameters causing
2220 mis-identification as interfaces, bug287.
2221 (verilog-read-decls): Fix not treating "parameter string" as a
2222 parameter in AUTOINSTPARAM.
2223 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2224 treating `elsif similar to `endif inside AUTOSENSE.
2225 (verilog-do-indent): Implement correct automatic or static task or
2226 function end comment highlight. Reported by Steve Pearlmutter.
2227 (verilog-font-lock-keywords-2): Fix highlighting of single
2228 character pins, bug264. Reported by Michael Laajanen.
2229 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2230 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2231 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2232 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2233 (verilog-pretty-expr): Fix interactive arguments, bug272.
2234 Reported by Mark Johnson.
2235 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2236 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2237 bug269. Suggested by Gary Delp.
2238 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2239 (verilog-preprocessor, verilog-set-compile-command):
2240 Create verilog-preprocess and verilog-preprocessor to show
2241 preprocessed output.
2242 (verilog-get-beg-of-line, verilog-get-end-of-line)
2243 (verilog-modi-file-or-buffer, verilog-modi-name)
2244 (verilog-modi-point, verilog-within-string): Move defmacro's
2245 before first use to avoid warning. Reported by Steve Pearlmutter.
2246 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2247 (verilog-colorize-region, verilog-highlight-buffer)
2248 (verilog-highlight-includes, verilog-highlight-modules)
2249 (verilog-highlight-region, verilog-mode): Rename colorize to
2250 highlight to match other packages. Disable module highlighting,
2251 as received speed complaints, reenable for experimentation only
2252 using new verilog-highlight-modules.
2253 (verilog-read-decls): Fix regexp stack overflow in very large
2254 AUTO_TEMPLATEs, bug250.
2255 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2256 (verilog-scan): Create verilog-save-buffer-state to standardize
2257 making insignificant changes that shouldn't call hooks.
2258 (verilog-save-no-change-functions, verilog-save-scan-cache)
2259 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2260 Create verilog-save-no-change-functions to wrap verilog-scan
2261 preservation, and fix to work with nested preserved calls.
2262 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2263 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2264 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2265 (verilog-submit-bug-report): Update variable list to be complete.
2266 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2267 breaking on-the-fly font-locking.
2268 (verilog-colorize-buffer, verilog-colorize-include-files)
2269 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2270 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2271 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2272 AUTOINST cell instance name, middle mouse button now finds-file on
2273 it. Suggested by Brad Dobbie.
2274 (verilog-alw-get-temps, verilog-auto-reset)
2275 (verilog-auto-sense-sigs, verilog-read-always-signals)
2276 (verilog-read-always-signals-recurse): Fix loop indexes being
2277 AUTORESET. AUTORESET now assumes any variables in the
2278 initialization section of a for() should be ignored.
2279 Reported by Dan Dever.
2280 (verilog-error-font-lock-keywords)
2281 (verilog-error-regexp-emacs-alist)
2282 (verilog-error-regexp-xemacs-alist): Fix error detection of
2283 Cadence HAL, reported by David Asher. Repair drift between the
2284 three similar error variables.
2285 (verilog-modi-lookup, verilog-modi-lookup-cache)
2286 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2287 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2288 Fix slow verilog-auto expansion on very large files.
2289 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2290 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2291 "{1*2{...". Broke in last revision.
2292 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2293 submodule connections with replications "{#{a},#{b}}".
2294
2295 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2296
2297 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2298 Fix typo in docstring.
2299
2300 2010-10-24 Kenichi Handa <handa@m17n.org>
2301
2302 * face-remap.el (text-scale-adjust): Call read-event with a proper
2303 prompt.
2304
2305 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2306
2307 * emacs-lisp/unsafep.el: Don't mark functions that display
2308 messages as safe. Suggested by Johan Bockgård.
2309
2310 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2311
2312 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2313 Turn comments into docstrings.
2314
2315 * minibuffer.el (completion--replace): Move point where it belongs
2316 when there's a common suffix (bug#7215).
2317
2318 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2319
2320 Merge read-color and facemenu-read-color (Bug#7242).
2321
2322 * faces.el (read-color): Use the completion code from
2323 facemenu-read-color. Require match in completion. Doc fix.
2324
2325 * facemenu.el (facemenu-read-color): Alias for read-color.
2326 (facemenu-set-foreground, facemenu-set-background):
2327 Use read-color.
2328
2329 * frame.el (set-background-color, set-foreground-color)
2330 (set-cursor-color, set-mouse-color, set-border-color):
2331 Use read-color.
2332
2333 2010-10-24 Leo <sdl.web@gmail.com>
2334
2335 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2336 argument of delete-file and delete-directory (Bug#7011).
2337
2338 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2339
2340 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2341 button-buffer-map.
2342
2343 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2344
2345 * emacs-lisp/package.el (package--generate-package-list): Make the
2346 *Packages* buffer read-only.
2347
2348 2010-10-24 Alan Mackenzie <acm@muc.de>
2349
2350 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2351 result of `c-beginning-of-decl-1' between invocations of a lambda
2352 function (Bug #7265).
2353
2354 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2355
2356 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2357 executable is not available on the system (Bug#7268).
2358
2359 2010-10-24 Glenn Morris <rgm@gnu.org>
2360
2361 * select.el (selection-coding-system, next-selection-coding-system):
2362 Sync doc with C versions.
2363
2364 * w32-vars.el (x-select-enable-clipboard):
2365 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2366 * term/common-win.el (x-select-enable-clipboard): Move here.
2367
2368 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2369 definition of C variable.
2370
2371 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2372 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2373 Don't redefine things that are defined in C.
2374 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2375 (show-trailing-whitespace, auto-hscroll-mode)
2376 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2377 Set up the appropriate custom properties.
2378
2379 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2380
2381 Bind "C-c ]" to ...
2382 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2383 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2384 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2385 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2386
2387 2010-10-23 Glenn Morris <rgm@gnu.org>
2388
2389 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2390 say what it was.
2391
2392 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2393 Sync docs with C version.
2394
2395 * term/ns-win.el (xw-defined-colors):
2396 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2397
2398 * term/pc-win.el (x-select-enable-clipboard):
2399 * term/x-win.el (x-select-enable-clipboard):
2400 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2401
2402 * comint.el (comint-password-prompt-regexp): Make it less vague.
2403 Bump version.
2404
2405 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2406
2407 * help.el (finder-by-keyword): Remove unnecessary autoload.
2408
2409 2010-10-22 Glenn Morris <rgm@gnu.org>
2410
2411 * loadup.el: Unconditionally load float-sup.
2412 * paren.el (show-paren-delay):
2413 * emacs-lisp/float-sup.el:
2414 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2415 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2416 (lazy-lock-stealth-verbose): Assume float support.
2417 * ps-print.el: Assume float support on Emacs.
2418 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2419 Remove non-float branch.
2420
2421 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2422 src/Makefile no longer being pre-processed.
2423
2424 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * emacs-lisp/find-func.el (find-library): Use test-completion.
2427
2428 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2429
2430 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2431
2432 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2433
2434 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2435 space in stat format string.
2436 (tramp-send-command): Unset $PS1 when using here documents, in
2437 order not to get several prompts.
2438 (tramp-get-inline-coding): Return `nil' in case of errors.
2439
2440 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2441
2442 * hexl.el (hexl-mode, hexl-mode-exit):
2443 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2444 (hexl-revert-buffer-function): New function.
2445 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2446
2447 2010-10-19 Alan Mackenzie <acm@muc.de>
2448
2449 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2450 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2451 that these keywords aren't wrongly matched as identifiers.
2452
2453 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2454 setting of c-new-BEG and c-new-END from c-before-change to
2455 c-after-change. (Bug#7181)
2456
2457 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2458
2459 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2460 Don't mark as safe.
2461
2462 * custom.el (custom-theme-set-variables): Likewise.
2463 (load-theme): Add custom-theme-set-faces and
2464 custom-theme-set-variables to safe-functions while loading.
2465 (custom-enabled-themes): Mark as risky.
2466
2467 2010-10-18 Julien Danjou <julien@danjou.info>
2468
2469 * bindings.el: Remove end dashes in default mode-line-format.
2470
2471 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2472
2473 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2474 to delete-forward-char.
2475
2476 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2477 deletechar, and hence delete-forward-char.
2478
2479 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * repeat.el (repeat): Use read-key (bug#6256).
2482
2483 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2484
2485 * emacs-lisp/unsafep.el: Don't mark functions that display
2486 messages as safe. Suggested by Johan Bockgård.
2487
2488 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2489
2490 * minibuffer.el (completion--replace): Move point where it belongs
2491 when there's a common suffix (bug#7215).
2492
2493 2010-10-19 Kenichi Handa <handa@m17n.org>
2494
2495 * international/characters.el: Add category '|' (word breakable)
2496 to fullwidth characters.
2497
2498 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2499
2500 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2501 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2502 order to make stat results a float. Patch by Andreas Schwab
2503 <schwab@linux-m68k.org>.
2504
2505 2010-10-18 Julien Danjou <julien@danjou.info>
2506
2507 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2508 hidden by `make-pointer-invisible'.
2509
2510 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2511
2512 * files.el (locate-file-completion-table): Strip non-matching elements
2513 before checking length of list (bug#7238).
2514
2515 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2516
2517 * custom.el (custom-theme-set-variables): Mark as a safe function.
2518 (load-theme): Check forms using unsafep.
2519
2520 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2521
2522 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2523
2524 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2525 Fix aspell data file searching (bug#7230).
2526
2527 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2528
2529 * cus-theme.el (custom-theme--migrate-settings): New var.
2530 (customize-create-theme): Allow editing the `user' theme.
2531 (custom-theme-add-variable, custom-theme-add-var-1)
2532 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2533 to the front of each variable or face widget.
2534 (custom-theme-write): Save theme settings in the correct order.
2535 Optionally, remove saved settings from user customizations.
2536 (custom-theme-write-variables, custom-theme-write-faces):
2537 Save only the checked widgets.
2538 (customize-themes): Add a link for migrating custom settings.
2539
2540 * custom.el (custom-declare-theme, provide-theme):
2541 Use custom-theme-name-valid-p.
2542 (custom-theme-name-valid-p): Remove checks that are now
2543 unnecessary since themes no longer obey load-path.
2544
2545 * cus-edit.el (custom-variable-value-create): For the simple
2546 style, hide documentation string when hidden.
2547
2548 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2549
2550 * cus-edit.el (custom-variable, custom-face): Combine the
2551 :inhibit-magic and :display-style properties into a single
2552 :custom-style property.
2553 (custom-toggle-hide-variable, custom-toggle-hide-face):
2554 New functions. If hiding an edited value, save it to :shown-value.
2555 (custom-variable-value-create, custom-face-value-create): Use them.
2556 (custom-magic-reset): Allow magic property to be unset.
2557
2558 * custom.el: Custom themes no longer use load-path.
2559 (custom-theme-load-path): New option. Change built-in theme
2560 directory to etc/.
2561 (custom-enabled-themes): Add custom-theme-load-path dependency.
2562 (custom-theme--load-path): New function.
2563 (load-theme, custom-available-themes): Use it.
2564
2565 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2566 (customize-themes): Link to custom-theme-load-path variable.
2567 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2568 :custom-style property.
2569
2570 * themes/*.el: Moved to etc/.
2571
2572 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2573
2574 * textmodes/reftex-cite.el
2575 (reftex-extract-bib-entries-from-thebibliography): Do not move
2576 point when searching for \bibitem entries. Match entries with
2577 spaces or tabs in front of arguments.
2578
2579 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2580
2581 * cus-theme.el (customize-create-theme): Delete overlays after
2582 erasing. If given a THEME arg, display only the faces of that arg
2583 instead of custom-theme--listed-faces.
2584 (custom-theme-variable-menu, custom-theme-variable-action)
2585 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2586 (custom-theme-add-variable, custom-theme-add-face): Apply value
2587 from the theme settings, instead of the current value.
2588 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2589 (custom-theme-visit-theme): Allow calling outside theme buffers.
2590 (custom-theme-merge-theme): Don't enable the theme when merging.
2591 (custom-theme-write-variables, custom-theme-write-faces): Use the
2592 :shown-value properties to save buffer values, not global ones.
2593 (customize-themes): Display a warning about user customizations.
2594
2595 * cus-edit.el (custom-variable-value-create)
2596 (custom-face-value-create): Obey new special properties
2597 :shown-value and :inhibit-magic.
2598
2599 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2600
2601 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2602 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2603 <dale@codefu.org>.
2604
2605 2010-10-14 Kenichi Handa <handa@m17n.org>
2606
2607 * mail/rmail.el (rmail-show-message-1): Catch an error of
2608 base64-decode-region and just show an error message (bug#7165).
2609
2610 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2611 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2612 a font-spec (bug#7197).
2613
2614 2010-10-14 Glenn Morris <rgm@gnu.org>
2615
2616 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2617
2618 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2619
2620 * international/mule.el (define-coding-system):
2621 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2622 * composite.el (compose-region): Fix typo in docstring.
2623
2624 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2625
2626 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2627 only after checking the theme-face property.
2628
2629 * faces.el (face-spec-reset-face): Reset all attributes in one
2630 single call to set-face-attribute.
2631 (face-spec-match-p): Make it a defsubst.
2632 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2633 (x-create-frame-with-faces, tty-create-frame-with-faces)
2634 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2635 frame-set-background-mode, since they are recomputed immediately
2636 afterwards in face-set-after-frame-default.
2637 (face-set-after-frame-default): Minor optimization.
2638 (cursor): Provide non-trivial defface spec.
2639
2640 * custom.el (custom-theme-recalc-face): Simplify.
2641
2642 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2643
2644 * calc/calc-alg.el (math-var): Rename from `var'.
2645 (math-is-polynomial, math-is-poly-rec): Replace `var'
2646 with `math-var'.
2647
2648 * calc/calcalg2.el (math-var): Rename from `var'.
2649 (calcFunc-table, math-scan-for-limits): Replace `var'
2650 with `math-var'.
2651
2652 2010-10-13 Glenn Morris <rgm@gnu.org>
2653
2654 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2655
2656 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2657
2658 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2659
2660 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2661
2662 * net/tls.el (tls-program): Remove spurious %s from openssl.
2663 (tls-starttls-switches): Remove starttls hack.
2664 (open-tls-stream): Ditto.
2665 (tls-find-starttls-argument): Ditto.
2666
2667 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2668
2669 * image.el (image-library-alist): Declare as obsolete alias.
2670 (image-type-available-p): Use `dynamic-library-alist'.
2671
2672 * term/w32-win.el (dynamic-library-alist):
2673 Use instead of `image-library-alist'.
2674
2675 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2676
2677 * subr.el (last): Make it faster. (Bug#7174)
2678
2679 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2680
2681 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2682
2683 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2684
2685 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2686 (describe-theme-1): Extract doc from unloaded themes.
2687
2688 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2689
2690 * themes/tango-theme.el:
2691 * themes/tango-dark-theme.el:
2692 * themes/wheatgrass-theme.el: New files.
2693
2694 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2695
2696 * cus-theme.el (describe-theme, customize-themes)
2697 (custom-theme-save): New commands.
2698 (custom-new-theme-mode-map): Bind C-x C-s.
2699 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2700 (customize-create-theme): New optional arg THEME.
2701 (custom-theme-revert): Use it.
2702 (custom-theme-visit-theme): Remove dead code.
2703 (custom-theme-merge-theme): Use custom-available-themes.
2704 (custom-theme-write): Make interactive.
2705 (custom-theme-write): Use custom-theme-name-valid-p.
2706 (describe-theme-1, custom-theme-choose-revert)
2707 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2708 New funs.
2709 (custom-theme-allow-multiple-selections): New option.
2710 (custom-theme-choose-mode): New major mode.
2711
2712 * custom.el (custom-theme-set-variables): Remove dead code.
2713 Obey custom--inhibit-theme-enable.
2714 (custom--inhibit-theme-enable): New var.
2715 (provide-theme): Obey it.
2716 (load-theme): Replace load with manual read/eval, in order to
2717 check for correctness. Use custom-theme-name-valid-p.
2718 (custom-theme-name-valid-p): New function.
2719 (custom-available-themes): Use it.
2720
2721 * cus-edit.el (custom--initialize-widget-variables): New function.
2722 (Custom-mode): Use it.
2723
2724 * cus-face.el (custom-theme-set-faces): Remove dead code.
2725 Obey custom--inhibit-theme-enable.
2726
2727 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2728
2729 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2730
2731 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2732
2733 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2734
2735 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2736 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2737 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2738
2739 * cus-start.el (all): ns-right-alternate-modifier is new.
2740
2741 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * emacs-lisp/lisp.el (lisp-completion-at-point):
2744 Use emacs-lisp-mode-syntax-table for the whole function.
2745
2746 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2747
2748 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2749 instead of font-lock-mode before adding keywords.
2750 Remove hi-lock-mode off code. Remove inhibit hack.
2751 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2752 non-nil; removed hook inhibit hack.
2753
2754 2010-10-12 Glenn Morris <rgm@gnu.org>
2755
2756 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2757 (load-path-shadows-find): ... to this.
2758 (list-load-path-shadows): Update for above change.
2759
2760 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2761
2762 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2763
2764 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2765 Fix comment for declare-function.
2766
2767 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2768
2769 * custom.el (custom-fix-face-spec): New function; code moved from
2770 custom-face-edit-fix-value.
2771 (custom-push-theme): Use it when checking if a face has been
2772 changed outside customize.
2773 (custom-available-themes): New function.
2774 (load-theme): Use it.
2775
2776 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2777
2778 * custom.el (custom-push-theme): Cleanup (use cond).
2779 (disable-theme): Recompute the saved-face property.
2780 (custom-theme-recalc-face): Follow face alias before setting prop.
2781
2782 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2783 New variables, containing checkbox images.
2784
2785 * startup.el (fancy-startup-tail):
2786 * wid-edit.el (checkbox): Use them.
2787
2788 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2789
2790 * shell.el (shell-mode-map):
2791 * progmodes/modula2.el (m2-mode-map):
2792 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2793 * play/mpuz.el (mpuz-mode-map):
2794 * play/landmark.el (lm-mode-map):
2795 * play/decipher.el (decipher-mode-map):
2796 * play/5x5.el (5x5-mode-map):
2797 * net/telnet.el (telnet-mode-map):
2798 * net/quickurl.el (quickurl-list-mode-map):
2799 * net/mairix.el (mairix-searches-mode-map):
2800 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2801 * net/dig.el (dig-mode-map):
2802 * mail/mspools.el (mspools-mode-map):
2803 * hexl.el (hexl-mode-map):
2804 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2805 (wordstar-C-o-map, wordstar-C-q-map):
2806 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2807 * emacs-lisp/chart.el (chart-map):
2808 * edmacro.el (edmacro-mode-map):
2809 * erc/erc-list.el (erc-list-menu-mode-map):
2810 * array.el (array-mode-map): Declare and define in one step.
2811
2812 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2813
2814 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2815
2816 * epa.el (epa-passphrase-callback-function): Display filename
2817 passed as the 3rd arg.
2818 * epa-file.el (epa-file-passphrase-callback-function):
2819 Pass filename to epa-passphrase-callback-function.
2820
2821 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2822
2823 * cus-edit.el (custom-face-widget-to-spec)
2824 (custom-face-get-current-spec, custom-face-state): New functions.
2825 (custom-face-set, custom-face-mark-to-save)
2826 (custom-face-value-create, custom-face-state-set): Use them.
2827
2828 * cus-theme.el (custom-theme--listed-faces): New var.
2829 (customize-create-theme): Use *Custom Theme* as the buffer name.
2830 Set revert-buffer-function. Optional arg BUFFER. Insert all
2831 faces listed in custom-theme--listed-faces.
2832 (custom-theme-revert): New function.
2833 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2834 bottom of the list.
2835 (custom-theme-write): Prompt for theme name if empty.
2836 (custom-theme-write-variables): Use dolist.
2837 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2838
2839 2010-10-09 Alan Mackenzie <acm@muc.de>
2840
2841 Enhance fontification of declarators to take account of the
2842 presence/absence of "typedef".
2843
2844 * cc-engine.el (c-forward-type): New &optional param
2845 "brace-block-too".
2846 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2847 presence of either or both of a "struct"-like keyword and "typedef".
2848
2849 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2850 fontification of declarators which follow a "}".
2851 (c-font-lock-declarations): Fontify declarators according to the
2852 presence/absence of "typedef".
2853
2854 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2855 for "typedef".
2856 (c-typedef-decl-key): New lang variable built from
2857 c-typedef-decl-kwds.
2858
2859 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2860
2861 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2862 since that's too annoying. Move the filter groups commands to
2863 TAB/backtab.
2864
2865 * epa.el (epa-passphrase-callback-function): Say what we're
2866 querying the password for.
2867
2868 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2869 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2870
2871 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2872
2873 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2874 (custom-magic-value-create): Pad button tags with spaces.
2875 (custom-face-edit): New variable.
2876 (custom-face-value-create): Determine whether to use the usual
2877 face editor here, instead of using custom-face-selected.
2878 Pass face defaults to custom-face-edit widget.
2879 (custom-face-selected, custom-display-unselected): Delete widgets.
2880 (custom-display-unselected-match): Function removed.
2881 (custom-face-set, custom-face-mark-to-save):
2882 Accept custom-face-edit widgets as the direct widget child.
2883
2884 * wid-edit.el (widget--completing-widget): New var.
2885 (widget-default-complete): Bind it when doing completion.
2886 (widget-string-complete, widget-file-complete): Use it.
2887
2888 2010-10-09 Glenn Morris <rgm@gnu.org>
2889
2890 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2891 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2892 (holiday-hebrew-misc): Small simplifications.
2893
2894 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2895
2896 * net/browse-url.el: Don't require thingatpt, term, dired,
2897 executable, or w3-auto when compiling.
2898 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2899 Declare.
2900 (browse-url-text-emacs): Require term.
2901
2902 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2903
2904 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2905
2906 2010-10-08 Glenn Morris <rgm@gnu.org>
2907
2908 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2909
2910 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2911 (shadows-compare-text-p): Make it an obsolete alias for...
2912 (load-path-shadows-compare-text): ... new name.
2913 (find-emacs-lisp-shadows): Update for above name change.
2914 (load-path-shadows-same-file-or-nonexistent): New name for the old
2915 shadow-same-file-or-nonexistent.
2916
2917 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2918
2919 * minibuffer.el (completion--some, completion--do-completion)
2920 (minibuffer-complete-and-exit, minibuffer-completion-help)
2921 (completion-basic-try-completion)
2922 (completion-basic-all-completions)
2923 (completion-pcm--find-all-completions): Use lexical-let to
2924 avoid some false matches in variable completion (Bug#7056)
2925
2926 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2927
2928 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2929
2930 2010-10-08 Leo <sdl.web@gmail.com>
2931
2932 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2933 return non-nil if the file exists (Bug#7090).
2934
2935 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * minibuffer.el (completion--replace):
2938 Better preserve markers (bug#7138).
2939
2940 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2941
2942 * server.el (server-process-filter): Doc fix.
2943
2944 2010-10-08 Drew Adams <drew.adams@oracle.com>
2945
2946 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2947
2948 2010-10-08 Glenn Morris <rgm@gnu.org>
2949
2950 * vc/ediff-wind.el (ediff-setup-control-frame):
2951 * vc/ediff-ptch.el (ediff-default-backup-extension):
2952 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2953 (ediff-exec-process): Remove system-types emx, windows-95.
2954
2955 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2956
2957 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2958
2959 * cus-edit.el (custom-variable, custom-face): Doc fix.
2960 (custom-face-edit): Add value-create attribute.
2961 (custom-face-edit-value-create)
2962 (custom-face-edit-value-visibility-action): New functions.
2963 Hide unused face attributes by default, and add a visibility toggle.
2964 (custom-face-edit-deactivate): Show empty values with shadow face.
2965 (custom-face-selected): Only use this for face specs with default
2966 attributes.
2967 (custom-face-value-create): Cleanup.
2968
2969 * wid-edit.el (widget-checklist-value-create): Use dolist.
2970 (widget-checklist-match-find): Make second arg optional.
2971
2972 2010-10-07 Glenn Morris <rgm@gnu.org>
2973
2974 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2975 Prefix things.
2976
2977 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2978 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2979 load-path-shadows-mode, update references.
2980 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2981 Rename variable and button.
2982 (list-load-path-shadows): Update button caller.
2983
2984 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2985
2986 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2987 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2988 (smie-merge-prec2s): Handle those new entries.
2989 (smie-prec2-levels): Only set precedence to nil for actual
2990 openers/closers.
2991 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2992 that is now unnecessary.
2993
2994 2010-10-07 Miles Bader <miles@gnu.org>
2995
2996 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2997
2998 2010-10-07 Glenn Morris <rgm@gnu.org>
2999
3000 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3001 (mail-position-on-field): Remove declarations.
3002 (mail-position-on-field): Autoload it.
3003 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3004 and mail-header-end. Don't require sendmail.
3005
3006 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3007 (shadow-mode): New mode.
3008 (shadow-find-file): New button.
3009 (list-load-path-shadows): Use shadow-mode and buttons.
3010
3011 * iimage.el (iimage-version): Remove.
3012 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3013 Turn into defcustoms.
3014 (iimage-mode-map): Give it a doc string.
3015
3016 * calendar/appt.el (appt-activate): Give a warning rather than an error
3017 if there is no diary-file.
3018
3019 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3020
3021 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3022 Use `tramp-handle-find-backup-file-name'.
3023
3024 2010-10-06 Glenn Morris <rgm@gnu.org>
3025
3026 * font-core.el (font-lock-defaults-alist): Remove variable.
3027 (font-lock-mode): Doc fix.
3028 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3029 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3030 (font-lock-set-defaults): Doc fix.
3031 Do not consult font-lock-defaults-alist.
3032
3033 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3034
3035 * emacs-lisp/cl.el: No longer provide cl-19.
3036
3037 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3038
3039 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3040 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3041 New defuns, taken from tramp-smb.el.
3042 (tramp-coding-system-change-eol-conversion)
3043 (tramp-set-process-query-on-exit-flag): Remove.
3044
3045 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3046 (tramp-compat-coding-system-change-eol-conversion)
3047 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3048 from tramp.el.
3049
3050 * net/tramp-gvfs.el:
3051 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3052 by `tramp-compat-set-process-query-on-exit-flag'.
3053
3054 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3055 Use `tramp-handle-directory-files-and-attributes',
3056 `tramp-handle-file-exists-p' and
3057 `tramp-handle-file-newer-than-file-p'.
3058 (tramp-imap-handle-file-exists-p)
3059 (tramp-imap-handle-file-executable-p)
3060 (tramp-imap-handle-file-readable-p)
3061 (tramp-imap-handle-directory-files-and-attributes)
3062 (tramp-imap-handle-file-newer-than-file-p): Remove.
3063
3064 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3065 by `tramp-compat-set-process-query-on-exit-flag' and
3066 `tramp-coding-system-change-eol-conversion' by
3067 `tramp-compat-coding-system-change-eol-conversion'.
3068
3069 * net/tramp-smb.el (tramp-smb-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-smb-handle-directory-files-and-attributes)
3074 (tramp-smb-handle-file-exists-p)
3075 (tramp-smb-handle-file-newer-than-file-p): Remove.
3076 (tramp-smb-maybe-open-connection):
3077 Replace `tramp-set-process-query-on-exit-flag' by
3078 `tramp-compat-set-process-query-on-exit-flag'.
3079
3080 2010-10-05 Glenn Morris <rgm@gnu.org>
3081
3082 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3083
3084 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3085
3086 Continue reorganization of load dependencies. (Bug#7156)
3087
3088 * net/tramp.el (tramp-handle-file-local-copy-hook)
3089 (tramp-delete-temp-file-function): Move down.
3090 (tramp-exists-file-name-handler): Move up.
3091 (tramp-register-file-name-handlers): Simplify autoload.
3092 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3093 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3094 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3095 (tramp-handle-file-name-completion)
3096 (tramp-handle-file-name-directory)
3097 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3098 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3099 (tramp-handle-find-backup-file-name)
3100 (tramp-handle-insert-file-contents, tramp-handle-load)
3101 (tramp-handle-substitute-in-file-name)
3102 (tramp-handle-unhandled-file-name-directory)
3103 (tramp-mode-string-to-int, tramp-local-host-p)
3104 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3105
3106 * net/tramp-gvfs.el (top):
3107 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3108
3109 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3110 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3111
3112 2010-10-04 Glenn Morris <rgm@gnu.org>
3113
3114 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3115 (appt-activate): Give status messages.
3116
3117 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3118
3119 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3120 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3121 `gnutls-negotiate' (formerly `starttls-negotiate').
3122 Remove trivial wrapper `starttls-open-stream'.
3123
3124 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3125
3126 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3127 log-outgoing commands.
3128 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3129 to create a buffer local revert-buffer-function variable.
3130 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3131 revert-buffer-function lambda.
3132
3133 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3134
3135 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3136 `gnutls-boot'. Make TYPE the only required parameter.
3137 Allow TRUSTFILES and KEYFILES to be lists.
3138 (open-ssl-stream): Use it.
3139
3140 2010-10-03 Glenn Morris <rgm@gnu.org>
3141
3142 * subr.el (directory-sep-char): Remove obsolete variable.
3143 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3144 it is "necessary".
3145
3146 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3147 * vc/vc.el (vc-static-header-alist): Doc fix.
3148 * vc/vc-cvs.el (vc-cvs-header):
3149 * vc/vc-rcs.el (vc-rcs-header):
3150 * vc/vc-sccs.el (vc-sccs-header):
3151 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3152 * obsolete/vc-mcvs.el (vc-mcvs-header):
3153 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3154 on XEmacs.
3155
3156 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3157
3158 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3159 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3160
3161 2010-10-03 Glenn Morris <rgm@gnu.org>
3162
3163 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3164
3165 * textmodes/rst.el (rst-font-lock-keywords-function):
3166 Drop Emacs 20 code.
3167
3168 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3169
3170 * printing.el: Drop Emacs 20 code.
3171
3172 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3173 without having used appt.el already).
3174
3175 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3176 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3177 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3178 XEmacs.
3179 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3180 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3181
3182 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3183 (charset-width, find-charset-region, chars-in-region, forward-point)
3184 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3185 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3186 Remove compatibility cruft (none of these are used by ps*.el).
3187
3188 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3189
3190 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3191
3192 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3193
3194 * server.el (server-process-filter, server-return-error):
3195 Give emacsclient time to shut down after receiving an error string.
3196
3197 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3198
3199 * files.el (remote-file-name-inhibit-cache): New defcustom.
3200
3201 * time.el (display-time-file-nonempty-p):
3202 Use `remote-file-name-inhibit-cache'.
3203
3204 * net/tramp.el (tramp-completion-reread-directory-timeout):
3205 Fix docstring.
3206
3207 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3208 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3209 `remote-file-name-inhibit-cache'. Check also for an integer
3210 value. Add/increase counter when `tramp-verbose' >= 10.
3211 (tramp-set-file-property): Add/increase counter when
3212 `tramp-verbose' >= 10.
3213
3214 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3215 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3216 (tramp-bug): Set tramp-autoload cookie. Report all interned
3217 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3218 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3219 characters only in strings.
3220
3221 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3222 to backward compatibility.
3223
3224 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3225 (tramp-handle-file-name-all-completions)
3226 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3227 (tramp-open-connection-setup-interactive-shell):
3228 Call `tramp-cleanup-connection' directly.
3229
3230 2010-10-02 Glenn Morris <rgm@gnu.org>
3231
3232 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3233
3234 * subr.el (char-bytes): Remove obsolete function.
3235
3236 * isearch.el (isearch-return-char): Remove obsolete function.
3237
3238 * mouse.el: No longer provide mldrag.
3239 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3240 Remove obsolete aliases.
3241
3242 * comint.el (comint-kill-output): Remove obsolete alias.
3243
3244 * composite.el (decompose-composite-char): Remove obsolete function.
3245 * ps-def.el (decompose-composite-char): Remove unused function.
3246
3247 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3248
3249 * outline.el (outline-visible): Remove obsolete function.
3250
3251 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3252 * faces.el (internal-find-face, internal-get-face)
3253 (frame-update-faces, frame-update-face-colors)
3254 (x-frob-font-weight, x-frob-font-slant)
3255 (internal-frob-font-weight, internal-frob-font-slant)
3256 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3257 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3258 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3259 since Emacs 21.1.
3260 * emulation/viper-util.el (viper-get-face):
3261 * obsolete/lucid.el (find-face, get-face): Use facep.
3262 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3263 Remove unused functions.
3264 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3265
3266 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3267 delete tempfile if interrupted during compilation.
3268
3269 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3270
3271 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3272 gnutls-cli.
3273 (tls-program): Add --insecure to be consistent with the defaults from
3274 openssl s_client. Now all three commands are insecure.
3275
3276 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3277
3278 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3279 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3280 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3281
3282 2010-10-01 Glenn Morris <rgm@gnu.org>
3283
3284 * obsolete/sc.el: Remove file.
3285
3286 * files.el (temporary-file-directory): On darwin, also try
3287 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3288
3289 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3290
3291 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3292 Let's not break compatibility gratuitously, shall we?
3293
3294 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3295
3296 * net/tls.el (tls-starttls-switches): New variable.
3297 (tls-find-starttls-argument): Use it.
3298 (open-tls-stream): Ditto.
3299
3300 * net/netrc.el (netrc-credentials): Return the value of the "default"
3301 entry.
3302 (netrc-machine): Ditto.
3303
3304 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3305
3306 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3307
3308 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3309
3310 * server.el (server-start): Don't write pid to the authentication file.
3311 (server-create-tty-frame): Don't send pid.
3312 (server-process-filter): Send pid at the start of every connection.
3313
3314 2010-09-30 Glenn Morris <rgm@gnu.org>
3315
3316 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3317 (show-all-diary-entries): Remove obsolete function aliases.
3318
3319 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3320 Remove options, obsolete since 22.1.
3321 (appt-display-format, appt-display-message):
3322 Remove backwards-compatibility code.
3323 (appt-check): No longer check appt-issue-message.
3324 (appt-make-list): No longer autoload it. Doc fix. No longer
3325 activate the package.
3326
3327 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3328
3329 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3330 (starttls-negotiate): Just call boot, and let the handshake be
3331 triggered from the read loop.
3332
3333 2010-09-29 Glenn Morris <rgm@gnu.org>
3334
3335 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3336 not displaying the diary.
3337 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3338 * calendar/appt.el (appt-check): No longer need to kill diary.
3339
3340 * calendar/diary-lib.el (diary-list-entries): Move the
3341 "Preparing..." message entirely here.
3342 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3343 messages to diary-list-entries.
3344 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3345 diary-display-function.
3346
3347 * calendar/diary-lib.el (diary-include-other-diary-files):
3348 Trap some recursive includes.
3349
3350 * calendar/appt.el (appt-activate): Check diary file.
3351
3352 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3353
3354 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3355 construction.
3356
3357 * calendar/time-date.el: No need to require cl for Emacs 21.
3358
3359 2010-09-28 Glenn Morris <rgm@gnu.org>
3360
3361 * calendar/appt.el (appt-check): Minor simplification.
3362
3363 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3364
3365 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3366 citation prefix.
3367
3368 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3369
3370 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3371 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3372
3373 2010-09-27 Kenichi Handa <handa@m17n.org>
3374
3375 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3376 "ustar" format.
3377
3378 2010-09-27 Kenichi Handa <handa@m17n.org>
3379
3380 * international/mule.el (define-coding-system): Docstring fixed.
3381
3382 * international/mule-diag.el (describe-character-set): Use princ
3383 with proper print-length and print-level instead of insert.
3384
3385 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3386
3387 * window.el (walk-windows): Doc fix (bug#7105).
3388
3389 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * emacs-lisp/float-sup.el (e): Remove.
3392
3393 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3394
3395 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3396 variable.
3397 (starttls-negotiate): Use it.
3398
3399 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3400
3401 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3402 back.
3403
3404 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3407
3408 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3409
3410 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3411
3412 * net/netrc.el (netrc-store-data): New function.
3413
3414 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3415
3416 * net/gnutls.el: GnuTLS glue code to set up a connection.
3417
3418 2010-09-25 Julien Danjou <julien@danjou.info>
3419
3420 * notifications.el: Call dbus-register-signal only if it is bound.
3421
3422 2010-09-25 Glenn Morris <rgm@gnu.org>
3423
3424 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3425 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3426 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3427 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3428 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3429 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3430 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3431 * eshell/esh-util.el, eshell/esh-var.el:
3432 Remove leading `*' from docs of faces and defcustoms.
3433
3434 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3435
3436 * eshell/em-ls.el (eshell-ls-archive-regexp):
3437 * eshell/esh-util.el (eshell-tar-regexp):
3438 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3439 * info.el (Info-suffix-list):
3440 * international/mule.el (auto-coding-alist):
3441 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3442 * progmodes/etags.el (tags-compression-info-list):
3443 Support xz compression.
3444
3445 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3446
3447 * files.el (get-free-disk-space): Don't assume the "df" output
3448 columns line up (Bug#6995).
3449
3450 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3451
3452 * finder.el (finder-unknown-keywords):
3453 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3454 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3455
3456 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3457
3458 * server.el (server-start): Revert part of 2010-08-08 change. Using
3459 address 127.0.0.1 for local host is now done in Fmake_network_process.
3460
3461 2010-09-24 Glenn Morris <rgm@gnu.org>
3462
3463 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3464 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3465 * textmodes/css-mode.el, textmodes/dns-mode.el:
3466 Move autoloaded auto-mode-alist entries to files.el.
3467 * files.el (auto-mode-alist): Move entries here.
3468
3469 2010-09-23 Glenn Morris <rgm@gnu.org>
3470
3471 * isearch.el (isearch-lazy-highlight-cleanup)
3472 (isearch-lazy-highlight-initial-delay)
3473 (isearch-lazy-highlight-interval)
3474 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3475 * net/net-utils.el (ipconfig-program-options):
3476 Move aliases to options before the associated definitions.
3477
3478 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * newcomment.el (comment-normalize-vars): Better test validity of
3481 comment-end-skip.
3482
3483 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3486 (float-e): New name for `e'.
3487 (degrees-to-radians, radians-to-degrees):
3488 * calendar/solar.el (solar-longitude):
3489 * calculator.el (calculator-registers, calculator-funcall):
3490 * textmodes/artist.el (artist-spray-random-points):
3491 * play/bubbles.el (bubbles--initialize-images): Use new names.
3492
3493 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3494
3495 Update to CEDET 1.0's version of EIEIO.
3496
3497 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3498 New function.
3499 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3500 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3501 (class-precedence-list): If class is nil, return nil.
3502 (eieio-generic-call): If class of first input arg is nil, don't
3503 look up static methods, and do check for primary methods.
3504 (initialize-instance): See if the default needs to be evaluated
3505 during the constructor.
3506 (eieio-perform-slot-validation-for-default): Don't do the check
3507 for values that will eventually be evaluated.
3508 (eieio-eval-default-p): New function.
3509 (eieio-default-eval-maybe): Use it.
3510
3511 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3512
3513 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3514 method-invocation-order.
3515 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3516 (eieio-class-precedence-dfs): Compute class precedence list using
3517 dfs algorithm.
3518 (eieio-class-precedence-bfs): Compute class precedence list using
3519 bfs algorithm.
3520 (eieio-class-precedence-c3): Compute class precedence list using
3521 c3 algorithm.
3522 (class-precedence-list): New function.
3523 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3524 (inconsistent-class-hierarchy): New error symbol.
3525 (call-next-method): Stow the replacement argument list for future
3526 call-next-method invocations.
3527
3528 2010-09-23 Glenn Morris <rgm@gnu.org>
3529
3530 * calendar/appt.el (appt-check): If not displaying the diary,
3531 use (diary 1) to only get the entries we need.
3532 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3533 that it is in day order. (Bug#7019)
3534
3535 * calendar/appt.el (appt-check): Rather than showing the diary,
3536 just turn off invisible display, and only if needed.
3537
3538 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3539
3540 2010-09-23 Glenn Morris <rgm@gnu.org>
3541
3542 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3543 (byte-compile-defvar, byte-compile-cl-warn):
3544 Start warnings with lower-case, like the majority.
3545
3546 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3547
3548 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3549
3550 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3551 * files.el (auto-mode-alist): Move ld-script entries here, further down
3552 the list.
3553
3554 * vc/add-log.el: Don't require timezone when compiling.
3555 (timezone-make-date-sortable): Autoload it.
3556 (change-log-sortable-date-at): Don't require timezone.
3557 Use `ignore-errors'.
3558
3559 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3560 Move alias before definition, so it does not need autoloading.
3561
3562 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3563 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3564 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3565 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3566 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3567 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3568 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3569 * textmodes/tex-mode.el, textmodes/two-column.el:
3570 Remove leading `*' from docs of defcustoms etc.
3571
3572 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3573
3574 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3575
3576 2010-09-22 Dan Christensen <jdc@uwo.ca>
3577
3578 * calendar/time-date.el (date-to-time): Try using parse-time-string
3579 first before using the slower timezone-make-date-arpa-standard.
3580
3581 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3582
3583 * calendar/time-date.el (format-seconds): Comment fix.
3584
3585 2010-09-22 Glenn Morris <rgm@gnu.org>
3586
3587 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3588 is not automatically buffer-local.
3589
3590 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3593 (smie-indent-comment): Be more careful with comment-start-skip.
3594 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3595 (smie-indent-functions): Use them.
3596
3597 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3598
3599 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3600
3601 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3602
3603 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3604 tool-bar-position. Don't modify frame parameters here.
3605 (menu-bar-options-save): Add tool-bar-position.
3606
3607 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3608
3609 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3610
3611 * textmodes/reftex-parse.el (reftex-what-macro)
3612 (reftex-context-substring): Let-bind forward-sexp-function to nil
3613 since we don't need/want to treat \begin...\end as a block (bug#7053).
3614
3615 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3616
3617 * simple.el (blink-matching-open): Use syntax-class.
3618
3619 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3620 Set invisibility spec for pascal's outline mode.
3621 (pascal-outline-change): Clean up calling convention.
3622 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3623
3624 * progmodes/prolog.el (prolog-smie-forward-token)
3625 (prolog-smie-backward-token): New functions.
3626 (prolog-mode-variables): Use them to parse "!," correctly.
3627 Set up smie-blink-matching for ".".
3628
3629 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3630 and `end'.
3631 (ispell-region, ispell-process-line): Update users.
3632
3633 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3634 point-min==1.
3635
3636 * textmodes/ispell.el: Fix commenting convention.
3637 (ispell-parse-output): Simplify, use push.
3638 (ispell-region): Use match-string-no-properties.
3639 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3640 (ispell-minor-mode): Use define-minor-mode.
3641 (ispell-message): Remove unused var `skip-regexp'.
3642 (ispell-add-per-file-word-list): Use dynamic let-binding.
3643 Try and use the proper comment marker.
3644
3645 * mail/sendmail.el: Fix commenting convention.
3646 (sendmail-send-it): Use line-beginning-position.
3647
3648 * help-fns.el (describe-variable): Add original value, if applicable.
3649
3650 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3651
3652 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3653
3654 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3655
3656 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3657
3658 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3659 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3660 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3661 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3662 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3663 something like "." can also be a closer.
3664 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3665 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3666 Rename internal functions to use "--". Update callers.
3667
3668 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3669
3670 * fringe.el (fringe-styles): New var.
3671 (fringe-mode, fringe-query-style): Use it.
3672
3673 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3674
3675 * progmodes/sql.el: Version 2.8
3676 (sql-login-params): Update widget structure; changes still needed.
3677 (sql-product-alist): Add :list-all and :list-table features for
3678 SQLite, Postgres and MySQL products.
3679 (sql-redirect): Handle default value.
3680 (sql-execute, sql-execute-feature): New functions.
3681 (sql-read-table-name): New function.
3682 (sql-list-all, sql-list-table): New functions. User API.
3683 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3684 for above functions.
3685 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3686 for above functions.
3687 (sql-postgres-login-params): Add user and database defaults.
3688 (sql-buffer-live-p): Bug fix.
3689 (sql-product-history): New variable.
3690 (sql-read-product): New function. Use it.
3691 (sql-set-product, sql-product-interactive): Use it.
3692 (sql-connection-history): New variable.
3693 (sql-read-connection): New function. Use it.
3694 (sql-connect): New function.
3695 (sql-for-each-login): Redesign function interface.
3696 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3697 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3698 (sql-comint): Check for program. Existing live buffer.
3699 (sql-comint-postgres): Add port parameter.
3700
3701 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3702
3703 * emacs-lisp/warnings.el: Fix commenting convention.
3704 (display-warning): Use special mode and make the buffer read-only.
3705
3706 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3707
3708 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3709 empty string when it follows a repeated or optional pattern.
3710
3711 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3714 (indent-region): Use indent-according-to-mode.
3715
3716 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3717
3718 * fringe.el (fringe-mode): Doc fix.
3719
3720 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3721
3722 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3723 refreshing the preview buffer.
3724
3725 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3728 (latex-syntax-propertize-rules): New consts; replace
3729 tex-font-lock-syntactic-keywords.
3730 (tex-env-mark, latex-env-before-change): New functions.
3731 (latex-electric-env-pair-mode): New minor mode.
3732 (tex-font-lock-verb): Change arguments; do move point.
3733 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3734 representation as a form of comment.
3735 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3736 (doctex-syntax-propertize-rules): New const; replaces
3737 doctex-font-lock-syntactic-keywords.
3738 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3739
3740 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3741 (fortran-make-syntax-propertize-function): New function; replaces
3742 fortran-font-lock-syntactic-keywords.
3743 (fortran-mode): Use it.
3744 (fortran-line-length): Use it. Improve interactive spec.
3745
3746 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3747 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3748 when adding surrounding \(..\).
3749
3750 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3751
3752 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3753
3754 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3755 Use with-current-buffer.
3756
3757 * isearch.el (isearch-face): Rename from `isearch'.
3758 (isearch-highlight): Use new name.
3759
3760 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3761
3762 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3763 5, for `half' width fringes. (Bug#6933)
3764
3765 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3768 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3769
3770 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3771
3772 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3773
3774 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3775 in calculating new frame position. Add more space between new and
3776 parent on the left (Bug#7048).
3777
3778 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3779
3780 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3781 defmacro.
3782
3783 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3784
3785 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3786
3787 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3788 obsolete alias for x-selection-value.
3789
3790 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3791
3792 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3793
3794 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3795 cookie.
3796
3797 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3798
3799 * net/tramp-compat.el (tramp-compat-with-temp-message)
3800 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3801 (tramp-compat-process-put): New defuns.
3802
3803 * net/tramp.el (top):
3804 * net/tramp-gvfs.el (top):
3805 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3806
3807 * net/tramp.el (tramp-progress-reporter-update):
3808 Use `tramp-compat-funcall'.
3809
3810 * net/tramp.el (tramp-process-actions):
3811 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3812 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3813 (tramp-get-remote-stat, tramp-get-remote-readlink):
3814 Use `tramp-compat-with-temp-message'.
3815
3816 * net/tramp-sh.el (top): Require 'cl.
3817 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3818 (tramp-open-connection-setup-interactive-shell):
3819 Use `tramp-compat-process-put'.
3820
3821 2010-09-15 Alan Mackenzie <acm@muc.de>
3822
3823 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3824 indentation.
3825 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3826
3827 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3830 `lexical' for warnings related to lexical scoping.
3831 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3832 global vars which don't have a prefix and could hence affect lexical
3833 scoping in unrelated files.
3834
3835 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3836
3837 * net/imap.el: Revert back to version
3838 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3839 seem problematic.
3840
3841 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3842
3843 * obsolete/old-whitespace.el (whitespace-unload-function):
3844 Explicitly pass `obarray' to `unintern' to avoid a warning.
3845
3846 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3849 Add `when' argument. Update callers.
3850
3851 * subr.el (unintern): Declare the obarray arg mandatory.
3852
3853 2010-09-14 Glenn Morris <rgm@gnu.org>
3854
3855 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3856 Doc fixes.
3857
3858 * calendar/diary-lib.el (diary-included-files): New variable.
3859 (diary-list-entries): Maybe initialize diary-included-files.
3860 (diary-include-other-diary-files): Append to diary-included-files.
3861 * calendar/appt.el (appt-update-list): Also check the members of
3862 diary-included-files. (Bug#6999)
3863 (appt-check): Doc fix.
3864
3865 2010-09-14 David Reitter <david.reitter@gmail.com>
3866
3867 * simple.el (line-move-visual): Do not truncate goal column to
3868 integer size. (Bug#7020)
3869
3870 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * repeat.el (repeat): Allow repeating when the last event is a click.
3873 Suggested by Drew Adams (bug#6256).
3874
3875 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3876
3877 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3878 Replace setting HGRCPATH to "" by some less invasive --config options.
3879
3880 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3881
3882 * font-lock.el (font-lock-beginning-of-syntax-function):
3883 Mark as obsolete.
3884
3885 2010-09-14 Glenn Morris <rgm@gnu.org>
3886
3887 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3888 and tool-bar modes. (Bug#6211)
3889 (menu-bar-mode): Move setting of standard-value after the
3890 minor-mode definition, otherwise it seems to have no effect.
3891
3892 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3893
3894 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3895 Fix typo. (Bug#6976)
3896
3897 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3898
3899 * whitespace.el: Allow cleaning up blanks without blank
3900 visualization (Bug#6651). Adjust help window for
3901 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3902 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3903 (whitespace-style): Add new value 'face. Adjust docstring.
3904 (whitespace-space, whitespace-hspace, whitespace-tab):
3905 Adjust foreground property face.
3906 (whitespace-line-column): Adjust docstring and type declaration.
3907 (whitespace-style-value-list, whitespace-toggle-option-alist)
3908 (whitespace-help-text): Adjust const initialization.
3909 (whitespace-toggle-options, global-whitespace-toggle-options):
3910 Adjust docstring.
3911 (whitespace-display-window, whitespace-interactive-char)
3912 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3913 (whitespace-help-scroll): New fun.
3914
3915 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3916
3917 * calendar/time-date.el (format-seconds): Comment fix.
3918
3919 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3920
3921 * progmodes/sql.el: Version 2.7.
3922 (sql-buffer-live-p): Improve detection.
3923 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3924 (sql-set-sqli-buffer): Use it.
3925 (sql-product-interactive): Run `sql-set-sqli-hook'.
3926 (sql-rename-buffer): Code cleanup.
3927 (sql-redirect, sql-redirect-value): New functions. More to come.
3928
3929 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3930
3931 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.
3932 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3933 (TRAMP_SRC): New macro.
3934 ($(lisp)/net/tramp-loaddefs.el): New target.
3935
3936 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3937
3938 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3939
3940 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3941
3942 * net/tramp.el (top): Don't show loading message. Require just
3943 'tramp-compat, everything else is required there.
3944 Use `ignore-errors' where appropriate.
3945 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3946 (tramp-terminal-type, tramp-end-of-output)
3947 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3948 (tramp-completion-function-alist-ssh)
3949 (tramp-completion-function-alist-telnet)
3950 (tramp-completion-function-alist-su)
3951 (tramp-completion-function-alist-putty, tramp-remote-path)
3952 (tramp-remote-process-environment, tramp-sh-extra-args)
3953 (tramp-actions-before-shell, tramp-uudecode)
3954 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3955 (tramp-perl-file-attributes)
3956 (tramp-perl-directory-files-and-attributes)
3957 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3958 (tramp-perl-encode, tramp-perl-decode)
3959 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3960 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3961 (tramp-handle-make-symbolic-link, tramp-handle-load)
3962 (tramp-handle-file-name-as-directory)
3963 (tramp-handle-file-name-directory)
3964 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3965 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3966 (tramp-do-file-attributes-with-ls)
3967 (tramp-do-file-attributes-with-perl)
3968 (tramp-do-file-attributes-with-stat)
3969 (tramp-handle-set-visited-file-modtime)
3970 (tramp-handle-verify-visited-file-modtime)
3971 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3972 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3973 (tramp-handle-file-selinux-context)
3974 (tramp-handle-set-file-selinux-context)
3975 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3976 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3977 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3978 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3979 (tramp-handle-file-ownership-preserved-p)
3980 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3981 (tramp-handle-directory-files-and-attributes)
3982 (tramp-do-directory-files-and-attributes-with-perl)
3983 (tramp-do-directory-files-and-attributes-with-stat)
3984 (tramp-handle-file-name-all-completions)
3985 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3986 (tramp-handle-copy-file, tramp-handle-copy-directory)
3987 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3988 (tramp-do-copy-or-rename-file-via-buffer)
3989 (tramp-do-copy-or-rename-file-directly)
3990 (tramp-do-copy-or-rename-file-out-of-band)
3991 (tramp-handle-make-directory, tramp-handle-delete-directory)
3992 (tramp-handle-delete-file)
3993 (tramp-handle-dired-recursive-delete-directory)
3994 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3995 (tramp-handle-insert-directory)
3996 (tramp-handle-unhandled-file-name-directory)
3997 (tramp-handle-expand-file-name)
3998 (tramp-handle-substitute-in-file-name)
3999 (tramp-handle-executable-find, tramp-process-sentinel)
4000 (tramp-handle-start-file-process, tramp-handle-process-file)
4001 (tramp-handle-call-process-region, tramp-handle-shell-command)
4002 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4003 (tramp-handle-insert-file-contents)
4004 (tramp-handle-insert-file-contents-literally)
4005 (tramp-handle-find-backup-file-name)
4006 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4007 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4008 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4009 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4010 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4011 (tramp-find-file-exists-command, tramp-open-shell)
4012 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4013 (tramp-open-connection-setup-interactive-shell)
4014 (tramp-local-coding-commands, tramp-remote-coding-commands)
4015 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4016 (tramp-inline-compress-commands, tramp-find-inline-compress)
4017 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4018 (tramp-send-command, tramp-wait-for-output)
4019 (tramp-send-command-and-check, tramp-barf-unless-okay)
4020 (tramp-send-command-and-read, tramp-mode-string-to-int)
4021 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4022 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4023 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4024 (tramp-method-out-of-band-p, tramp-local-host-p)
4025 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4026 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4027 (tramp-get-test-command, tramp-get-test-nt-command)
4028 (tramp-get-file-exists-command, tramp-get-remote-ln)
4029 (tramp-get-remote-perl, tramp-get-remote-stat)
4030 (tramp-get-remote-readlink, tramp-get-remote-trash)
4031 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4032 (tramp-get-local-uid, tramp-get-local-gid)
4033 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4034 tramp-sh.el.
4035 (tramp-methods, tramp-default-method-alist)
4036 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4037 Move initialization to tramp-sh.el.
4038 (tramp-temp-name-prefix): Make it a defconst.
4039 (tramp-dissect-file-name): Don't check anymore for multi-hop
4040 methods.
4041 (tramp-debug-outline-regexp): Add a docstring.
4042 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4043 (tramp-get-debug-buffer): Use it.
4044
4045 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4046 initialization forms.
4047 (tramp-set-connection-property): Don't protect `tramp-message'
4048 call, it isn't necessary any longer.
4049 (tramp-dump-connection-properties): Use `ignore-errors'.
4050
4051 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4052 'password-cache and 'auth-source.
4053
4054 * net/tramp-gvfs.el (top):
4055 * net/tramp-smb.el (top): Require 'tramp-sh.
4056
4057 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4058
4059 * net/tramp-sh.el: New file, derived from tramp.el.
4060 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4061 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4062 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4063 Use `ignore-errors' where appropriate.
4064 (tramp-sh-file-name-handler-alist): Rename from
4065 `tramp-file-name-handler-alist'.
4066 (tramp-send-command-and-check): Return t or nil. Remove all
4067 `zerop' checks, where called.
4068 (tramp-handle-set-file-modes)
4069 (tramp-do-copy-or-rename-file-directly)
4070 (tramp-handle-delete-directory, tramp-handle-delete-file)
4071 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4072 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4073 (tramp-get-remote-ln): Set tramp-autoload cookie.
4074
4075 * net/tramp-fish.el: Remove file.
4076
4077 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4078
4079 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4080 buffer-file-name to avoid file-locking. (Bug#7026)
4081
4082 2010-09-13 Julien Danjou <julien@danjou.info>
4083
4084 * notifications.el (notifications-notify): Add support for
4085 image-path and sound-name.
4086 (notifications-specification-version): Add this variable.
4087
4088 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4091
4092 2010-09-12 Leo <sdl.web@gmail.com>
4093
4094 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4095 (rcirc-completion-start): New variables.
4096 (rcirc-nick-completions): Rename to rcirc-completions.
4097 (rcirc-nick-completion-start-offset): Delete.
4098 (rcirc-completion-at-point): New function for constructing
4099 completion data for both nicks and irc commands. Add to
4100 completion-at-point-functions in rcirc mode.
4101 (rcirc-complete): Rename from rcirc-nick-complete; use
4102 rcirc-completion-at-point.
4103 (defun-rcirc-command): Update rcirc-client-commands.
4104
4105 2010-09-11 Glenn Morris <rgm@gnu.org>
4106
4107 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4108 atomically, to avoid parallel build errors. (Bug#4196)
4109
4110 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4111
4112 * progmodes/sql.el: Version 2.6
4113 (sql-dialect): Synonym for "sql-product".
4114 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4115 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4116 Set "sql-buffer" to buffer name not buffer object so multiple sql
4117 interactive buffers work properly. Reverts misguided changes in
4118 earlier work.
4119 (sql-comint): Make sure different buffer name is used if "*SQL*"
4120 buffer is for a different product.
4121 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4122 login param.
4123 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4124 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4125 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4126 Accept new buffer name or prompt for one.
4127 (sql-port): Default to zero.
4128 (sql-comint-mysql): Handle "sql-port" as a numeric.
4129 (sql-port-history): Delete unused variable.
4130 (sql-get-login): Default "sql-port" to a number.
4131 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4132 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4133 "sqlite3" executables.
4134 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4135 (sql-buffer-live-p): New function.
4136 (sql-mode-menu, sql-send-string): Use it.
4137 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4138 syntax pattern.
4139 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4140 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4141
4142 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4143
4144 * net/netrc.el (netrc-credentials): New convenience function.
4145
4146 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4149 to replace texinfo-font-lock-syntactic-keywords.
4150 (texinfo-mode): Use it.
4151
4152 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4153 Use syntax-propertize-function.
4154
4155 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4156 replace sgml-font-lock-syntactic-keywords.
4157 (sgml-mode): Use it.
4158
4159 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4160 since we don't use it.
4161
4162 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4163
4164 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4165 if available.
4166 (vhdl-fontify-buffer): Adjust.
4167
4168 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4169 replace tcl-font-lock-syntactic-keywords.
4170 (tcl-mode): Use it.
4171
4172 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4173 replace simula-font-lock-syntactic-keywords.
4174 (simula-mode): Use it.
4175
4176 * progmodes/sh-script.el (sh-st-symbol): Remove.
4177 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4178 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4179 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4180 (sh-font-lock-paren): Set syntax-multiline.
4181 (sh-font-lock-syntactic-keywords): Remove.
4182 (sh-syntax-propertize-function): New function to replace it.
4183 (sh-mode): Use it.
4184
4185 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4186 Define while compiling.
4187 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4188 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4189 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4190 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4191 (ruby-here-doc-end-syntax): Only define when
4192 syntax-propertize is not available.
4193 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4194 New functions.
4195 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4196 (electric-indent-chars): Silence bytecompiler.
4197 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4198 electric-indent-chars.
4199
4200 * progmodes/python.el (python-syntax-propertize-function): New var to
4201 replace python-font-lock-syntactic-keywords.
4202 (python-mode): Use it.
4203 (python-quote-syntax): Simplify and adjust to new use.
4204
4205 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4206 replace perl-font-lock-syntactic-keywords.
4207 (perl-syntax-propertize-special-constructs): New fun to replace
4208 perl-font-lock-special-syntactic-constructs.
4209 (perl-font-lock-syntactic-face-function): New fun.
4210 (perl-mode): Use it.
4211
4212 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4213 to replace octave-font-lock-close-quotes.
4214 (octave-syntax-propertize-function): New function to replace
4215 octave-font-lock-syntactic-keywords.
4216 (octave-mode): Use it.
4217
4218 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4219 replaces mixal-font-lock-syntactic-keywords.
4220 (mixal-mode): Use it.
4221
4222 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4223 New var; replaces makefile-font-lock-syntactic-keywords.
4224 (makefile-mode): Use it.
4225 (makefile-imake-mode): Adjust.
4226
4227 * progmodes/js.el (js--regexp-literal): Define while compiling.
4228 (js-syntax-propertize-function): New var; replaces
4229 js-font-lock-syntactic-keywords.
4230 (js-mode): Use it.
4231
4232 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4233 replaces gdb-script-font-lock-syntactic-keywords.
4234 (gdb-script-mode): Use it.
4235
4236 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4237 (fortran--font-lock-syntactic-keywords): New var.
4238 (fortran-line-length): Update syntax-propertize-function and
4239 fortran--font-lock-syntactic-keywords.
4240
4241 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4242
4243 * progmodes/cfengine.el (cfengine-mode):
4244 Use syntax-propertize-function.
4245 (cfengine-font-lock-syntactic-keywords): Remove.
4246
4247 * progmodes/autoconf.el (autoconf-mode):
4248 Use syntax-propertize-function.
4249 (autoconf-font-lock-syntactic-keywords): Remove.
4250
4251 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4252 (ada-after-change-function, ada-initialize-syntax-table-properties)
4253 (ada-handle-syntax-table-properties): Only define when
4254 syntax-propertize is not available.
4255 (ada-mode): Use syntax-propertize-function.
4256
4257 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4258 (font-lock-fontify-syntactic-keywords-region): Move handling of
4259 font-lock-syntactically-fontified to...
4260 (font-lock-default-fontify-region): ...here.
4261 Let syntax-propertize-function take precedence.
4262 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4263
4264 * emacs-lisp/syntax.el (syntax-propertize-function)
4265 (syntax-propertize-chunk-size, syntax-propertize--done)
4266 (syntax-propertize-extend-region-functions): New vars.
4267 (syntax-propertize-wholelines, syntax-propertize-multiline)
4268 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4269 (syntax-propertize): New functions.
4270 (syntax-propertize-rules): New macro.
4271 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4272 (syntax-ppss): Call syntax-propertize.
4273
4274 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4275
4276 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4277
4278 * textmodes/ispell.el (ispell-init-process): Improve comments.
4279 XEmacs compatibility changes regarding (add-hook) 'local option
4280 and (set-process-query-on-exit-flag).
4281
4282 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4283
4284 * net/tramp-cache.el (tramp-parse-connection-properties):
4285 Set tramp-autoload cookie.
4286
4287 2010-09-09 Glenn Morris <rgm@gnu.org>
4288
4289 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4290 (imagemagick-register-types): Doc fix.
4291
4292 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4295
4296 * progmodes/js.el (require): Require is already "eval-and-compile".
4297 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4298 (js--re-search-backward): Use js--re-search-forward.
4299
4300 * progmodes/fortran.el (fortran-line-length): Don't recompute
4301 syntactic keywords redundantly a second time.
4302
4303 * progmodes/ada-mode.el: Replace "(set '" with setq.
4304 (ada-mode): Simplify.
4305 (ada-create-case-exception, ada-adjust-case-interactive)
4306 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4307 (ada-search-ignore-string-comment, ada-move-to-start)
4308 (ada-move-to-end): Use with-syntax-table.
4309
4310 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4311 (font-lock-unfontify-region, font-lock-default-fontify-region):
4312 Update usage correspondingly.
4313 (font-lock-fontify-syntactic-keywords-region):
4314 Set parse-sexp-lookup-properties buffer-locally here.
4315 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4316
4317 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4318
4319 2010-09-08 Glenn Morris <rgm@gnu.org>
4320
4321 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4322 Error if not compiled with -DBYTE_CODE_METER.
4323
4324 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4325 Ignore dir-locals-file.
4326
4327 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4328
4329 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4330 Not a const.
4331 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4332 for the `gnu' messages.
4333 (compilation-set-skip-threshold): New command.
4334 (compilation-start): Use \' rather than $.
4335 (compilation-forget-errors): Use clrhash.
4336
4337 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4338
4339 * textmodes/ispell.el (ispell-valid-dictionary-list):
4340 Simplify logic.
4341
4342 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4343
4344 Migrate to Tramp 2.2. Rearrange load dependencies.
4345 (Bug#1529, Bug#5448, Bug#5705)
4346
4347 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4348 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4349 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4350
4351 * net/tramp.el (top): Remove all other tramp-* loads except
4352 tramp-compat.el. Remove all changes to tramp-unload-hook for
4353 other tramp-* packages. Rearrange defun order. Change calls of
4354 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4355 `tramp-compat-octal-to-decimal' to new function names.
4356 (tramp-terminal-type, tramp-initial-end-of-output)
4357 (tramp-methods, tramp-foreign-file-name-handler-alist)
4358 (tramp-tramp-file-p, tramp-completion-mode-p)
4359 (tramp-send-command-and-check, tramp-get-remote-path)
4360 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4361 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4362 (with-file-property, with-connection-property): Move to
4363 tramp-cache.el.
4364 (tramp-local-call-process, tramp-decimal-to-octal)
4365 (tramp-octal-to-decimal): Move to tramp-compat.el.
4366 (tramp-handle-shell-command): Do not require 'shell.
4367 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4368 symbols.
4369 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4370
4371 * net/tramp-cache.el (top): Require 'tramp. Add to
4372 `tramp-unload-hook'.
4373 (tramp-cache-data, tramp-get-file-property)
4374 (tramp-set-file-property, tramp-flush-file-property)
4375 (tramp-flush-directory-property, tramp-get-connection-property)
4376 (tramp-set-connection-property, tramp-flush-connection-property)
4377 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4378 cookie.
4379 (with-file-property, with-connection-property): New defuns, moved
4380 from tramp.el.
4381 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4382 macro.
4383
4384 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4385 (tramp-version): Set tramp-autoload cookie.
4386
4387 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4388 changes to tramp-unload-hook for other tramp-* packages. Add to
4389 `tramp-unload-hook'.
4390 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4391 (tramp-compat-call-process): New defuns, moved from tramp.el.
4392
4393 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4394 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4395 Add to `tramp-unload-hook'. Change call of
4396 `tramp-compat-decimal-to-octal' to new function name.
4397 (tramp-fish-method): Make it a defconst.
4398 (tramp-fish-file-name-p): Make it a defsubst.
4399 (tramp-fish-method, tramp-fish-file-name-handler)
4400 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4401
4402 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4403 `tramp-foreign-file-name-handler-alist'. Add to
4404 `tramp-unload-hook'.
4405 (tramp-ftp-method): Make it a defconst.
4406 (tramp-ftp-file-name-p): Make it a defsubst.
4407 (tramp-ftp-method, tramp-ftp-file-name-handler)
4408 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4409
4410 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4411 `tramp-foreign-file-name-handler-alist'. Add to
4412 `tramp-unload-hook'. Change checks, whether package can be
4413 loaded.
4414 (tramp-gvfs-file-name-p): Make it a defsubst.
4415 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4416 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4417 (tramp-gvfs-handle-file-directory-p): New defun.
4418 (tramp-gvfs-file-name-handler-alist): Use it.
4419
4420 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4421 `tramp-foreign-file-name-handler-alist'. Add to
4422 `tramp-unload-hook'.
4423 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4424 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4425 defconst.
4426 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4427 (tramp-gw-open-connection): Set tramp-autoload cookie.
4428
4429 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4430 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4431 Add to `tramp-unload-hook'. Change checks, whether package can be
4432 loaded.
4433 (tramp-imap-file-name-p): Make it a defsubst.
4434 (tramp-imap-method, tramp-imaps-method)
4435 (tramp-imap-file-name-handler)
4436 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4437
4438 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4439 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4440 Add to `tramp-unload-hook'. Change checks, whether package can be
4441 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4442 function name.
4443 (tramp-smb-tunnel-method): Make it a defconst.
4444 (tramp-smb-file-name-p): Make it a defsubst.
4445 (tramp-smb-method, tramp-smb-file-name-handler)
4446 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4447
4448 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4449 (tramp-uuencode-region): Set tramp-autoload cookie.
4450
4451 * net/trampver.el (top) Add to `tramp-unload-hook'.
4452 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4453 cookie. Update release number.
4454
4455 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4456
4457 * textmodes/ispell.el (ispell-start-process): Make sure original
4458 arg list is properly initialized (Bug#6993, Bug#6994).
4459
4460 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4461
4462 * files.el (directory-abbrev-alist): Use \` as default regexp.
4463
4464 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4465 chars like - or ] (bug#6984).
4466 (rx-any-condense-range): Explode 2-char ranges.
4467
4468 2010-09-06 Glenn Morris <rgm@gnu.org>
4469
4470 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4471
4472 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * textmodes/bibtex.el:
4475 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4476
4477 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4478
4479 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4480 since no callers use it.
4481 (imap-message-get): Ditto.
4482 (imap-message-put): Ditto.
4483 (imap-mailbox-map): Ditto.
4484 (imap-mailbox-put): Ditto.
4485 (imap-mailbox-get): Ditto.
4486 (imap-mailbox-get): Revert last change for this function.
4487
4488 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4489
4490 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4491 callers to use `imap-fetch' instead. According to the comments, this
4492 should be safe, since all other IMAP clients use the 1:* syntax.
4493 (imap-enable-exchange-bug-workaround): Remove.
4494 (imap-debug): Remove -- doesn't seem very useful.
4495
4496 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4497
4498 * net/imap.el (imap-log): New convenience function used throughout
4499 instead of repeating the same code all over the place.
4500
4501 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4502
4503 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4504 when mouse-drag-copy-region is non-nil (Bug#6956).
4505
4506 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4507
4508 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4509 Improve regexps (Bug#6987).
4510 (dired-sort-toggle): Search more robustly for -t flag.
4511
4512 * files.el (get-free-disk-space): Search more robustly for
4513 "available" column. Suggested by Ehud Karni
4514 <ehud@unix.mvs.co.il>.
4515
4516 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4517
4518 * international/uni-bidi.el:
4519 * international/uni-category.el:
4520 * international/uni-combining.el:
4521 * international/uni-decimal.el:
4522 * international/uni-mirrored.el:
4523 * international/uni-name.el: Regenerate.
4524
4525 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * electric.el (electric-indent-post-self-insert-function):
4528 Don't reindent with a sloppy indentation function.
4529
4530 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4531 border case in change-log-mode.
4532
4533 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4534
4535 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4536 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4537 Recognize leading tab in gcc-include regexp. Ignore names with
4538 leading "from" or "in" in gnu regexp (Bug#6937).
4539
4540 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4543 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4544 (ispell-start-process): Avoid setq and simplify logic.
4545 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4546 (kill-buffer-hook): Don't use it globally with code that uses
4547 expand-file-name since that may call kill-buffer via
4548 code_conversion_restore.
4549
4550 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4551
4552 * emacs-lisp/package.el (package-directory-list): Only call
4553 file-name-nondirectory on a string.
4554
4555 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4556
4557 * emacs-lisp/package.el (package--download-one-archive):
4558 Ensure that archive-contents is valid before saving it.
4559 (package-activate-1, package-mark-obsolete, define-package)
4560 (package-compute-transaction, package-list-maybe-add): Use push.
4561
4562 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4563
4564 Use SMIE's blink-paren for octave-mode.
4565 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4566 Backslashes do not escape single-quotes, single-quotes do.
4567 (octave-block-else-regexp, octave-block-end-regexp)
4568 (octave-block-match-alist): Remove.
4569 (octave-smie-bnf-table): New var, with old content.
4570 (octave-smie-op-levels): Use it.
4571 (octave-smie-closer-alist): New var.
4572 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4573 (octave-blink-matching-block-open): Remove.
4574 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4575 (octave-electric-space): Let self-insert-command run expand-abbrev and
4576 blink parens.
4577
4578 * electric.el (electricity): New group.
4579 (electric-indent-chars): New var.
4580 (electric-indent-post-self-insert-function): New fun.
4581 (electric-indent-mode): New minor mode.
4582 (electric-pair-skip-self): New custom.
4583 (electric-pair-post-self-insert-function): New function.
4584 (electric-pair-mode): New minor mode.
4585
4586 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4587 calcAlg-blink-matching-open.
4588 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4589 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4590 Use the new blink-matching-check-function.
4591
4592 Provide blink-matching support to SMIE.
4593 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4594 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4595 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4596
4597 * simple.el (newline): Fix last change to properly remove itself from
4598 the hook.
4599
4600 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4601
4602 * simple.el (newline): Eliminate optimization.
4603 Use post-self-insert-hook to set hard-newline and things before
4604 running post-self-insert-hook.
4605 (blink-matching-check-mismatch): New function.
4606 (blink-matching-check-function): New variable.
4607 (blink-matching-open): Use them.
4608 Skip back forward over prefix chars skipped by forward-sexp.
4609 Don't check if the parens are backslash escaped.
4610 (blink-paren-post-self-insert-function): Check backslash escaping here.
4611
4612 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4613
4614 * emacs-lisp/package.el (package-menu-mode-map):
4615 Change package-menu-revert bindings to revert-buffer.
4616 (package-menu-mode): Set revert-buffer-function.
4617 (package-menu-revert): Doc fix.
4618
4619 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4620
4621 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4622 `default-directory' unless using Ispell per-directory personal
4623 dictionaries and not in a mini-buffer under XEmacs.
4624 (kill-buffer-hook): Do not kill ispell process on exit when
4625 `ispell-process-directory' is "~/". (Bug#6143)
4626
4627 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4628
4629 * simple.el (kill-new): Call interprogram-cut-function with only
4630 one argument.
4631
4632 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4633 Remove cut buffer from error message.
4634
4635 * term/x-win.el (x-select-text):
4636 * term/pc-win.el (x-selection-value):
4637 * term/ns-win.el (x-selection-value):
4638 * eshell/em-term.el:
4639 * w32-fns.el (x-get-selection-value):
4640 * mouse-sel.el (mouse-sel-set-selection-function):
4641 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4642
4643 * term/x-win.el: Update documentation for x-last-selected-text-*.
4644 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4645 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4646 (x-select-text): Remove argument PUSH, update documentation.
4647 Remove cut-buffer code.
4648 (x-selection-value-internal): Was previously x-selection-value.
4649 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4650 Update documentation, remove cut-buffer code.
4651 Call x-selection-value-internal.
4652 (x-clipboard-yank): Call x-selection-value-internal.
4653 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4654
4655 * term/pc-win.el (x-last-selected-text):
4656 x-cut-buffer-or-selection-value renamed to x-selection-value
4657 (x-select-text): Remove argument PUSH, update documentation.
4658
4659 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4660 x-cut-buffer-or-selection-value renamed to x-selection-value
4661 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4662 (x-select-text): Remove argument PUSH, update documentation.
4663
4664 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4665
4666 * w32-fns.el (x-last-selected-text):
4667 x-cut-buffer-or-selection-value renamed to x-selection-value.
4668 (x-cut-buffer-max): Remove.
4669 (x-select-text): Remove argument PUSH, update documentation.
4670
4671 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4672
4673 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4674
4675 * mouse-sel.el (mouse-sel-get-selection-function):
4676 x-cut-buffer-or-selection-value renamed to x-selection-value.
4677 (x-select-text): Remove optional push.
4678
4679 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * simple.el (blink-paren-function): Move from C to here.
4682 (blink-paren-post-self-insert-function): New function.
4683 (post-self-insert-hook): Use it.
4684
4685 * emacs-lisp/pcase.el (pcase-split-memq):
4686 Fix overenthusiastic optimisation.
4687 (pcase-u1): Handle the case of a lambda pred.
4688
4689 2010-08-31 Kenichi Handa <handa@m17n.org>
4690
4691 * international/mule-cmds.el (standard-display-european-internal):
4692 Setup standard-display-table for 8-bit characters by storing 8-bit
4693 characters in the element vector.
4694
4695 * disp-table.el (standard-display-8bit):
4696 Setup standard-display-table for 8-bit characters by storing 8-bit
4697 characters in the element vector.
4698 (standard-display-european): Likewise.
4699
4700 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4701
4702 * textmodes/nroff-mode.el (nroff-view): New command.
4703 (nroff-mode-map): Bind it to C-c C-c.
4704
4705 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * emacs-lisp/smie.el (smie-down-list): New command.
4708
4709 Remove old indentation and navigation code on octave-mode.
4710 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4711 smie-down-list rather than add a binding for octave-down-block.
4712 (octave-mark-block, octave-blink-matching-block-open):
4713 Rely on forward-sexp-function.
4714 (octave-fill-paragraph): Don't narrow, so you can use
4715 indent-according-to-mode.
4716 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4717 (octave-in-block-p, octave-re-search-forward-kw)
4718 (octave-re-search-backward-kw, octave-indent-calculate)
4719 (octave-end-as-array-index-p, octave-block-end-offset)
4720 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4721 (octave-down-block, octave-backward-up-block, octave-up-block)
4722 (octave-before-magic-comment-p, octave-indent-line): Remove.
4723
4724 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4725
4726 * emacs-lisp/package.el (package--read-archive-file): Just use
4727 `read', to avoid copying an additional string.
4728 (package-menu-mode): Set header-line-format here.
4729 (package-menu-refresh, package-menu-revert): Signal an error if
4730 not in the Package Menu.
4731 (package-menu-package-list): New var.
4732 (package--generate-package-list): Operate on the current buffer;
4733 don't assume that it is *Packages*, since the user may rename it.
4734 Allow persistent package listings and sort keys using
4735 package-menu-package-list and package-menu-package-sort-key.
4736 (package-menu--version-predicate): Fix version calculation.
4737 (package-menu-sort-by-column): Don't select the window.
4738 (package--list-packages): Create the *Packages* buffer.
4739 Set package-menu-package-list-key.
4740 (list-packages): Sorting by status is now the default.
4741 (package-buffer-info): Use match-string-no-properties.
4742 (define-package): Add a &rest argument for future proofing, but
4743 don't use it yet.
4744 (package-install-from-buffer, package-install-buffer-internal):
4745 Merge into a single function, package-install-from-buffer.
4746 (package-install-file): Change caller.
4747
4748 * finder.el: Load finder-inf using `require'.
4749 (finder-list-matches): Sorting by status is now the default.
4750 (finder-compile-keywords): Simpify printing.
4751
4752 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4755 (octave-mode-map): Remove special bindings for forward/backward-block
4756 and octave-backward-up-block. Use smie-close-block.
4757 (octave-continuation-marker-regexp): New var.
4758 (octave-continuation-regexp): Use it.
4759 (octave-operator-table, octave-smie-op-levels)
4760 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4761 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4762 (octave-mode): Use SMIE.
4763 (octave-close-block): Delete.
4764
4765 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4766
4767 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4768 CLIPBOARD, not in PRIMARY. (Bug#6944)
4769
4770 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4773 a list of parents.
4774 (smie-indent-column): Allow indirection through variables.
4775
4776 * composite.el (save-buffer-state): Delete, unused.
4777 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4778 (font-lock-default-fontify-region): Use with-syntax-table.
4779 * jit-lock.el (with-buffer-unmodified): Remove.
4780 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4781
4782 Use `declare' in defmacros.
4783 * window.el (save-selected-window):
4784 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4785 * progmodes/python.el (def-python-skeleton):
4786 * net/dbus.el (dbus-ignore-errors):
4787 * jka-cmpr-hook.el (with-auto-compression-mode):
4788 * international/mule.el (with-category-table):
4789 * emacs-lisp/timer.el (with-timeout):
4790 * emacs-lisp/lisp-mnt.el (lm-with-file):
4791 * emacs-lisp/eieio.el (with-slots):
4792 * emacs-lisp/easymenu.el (easy-menu-define):
4793 * emacs-lisp/debug.el (debugger-env-macro):
4794 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4795 (Multiple-value-call, Multiple-value-prog1):
4796 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4797 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4798 edebug rule to definition.
4799 * emacs-lisp/lisp-mode.el (save-selected-window)
4800 (with-current-buffer, combine-after-change-calls)
4801 (with-output-to-string, with-temp-file, with-temp-buffer)
4802 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4803 (dolist, dotimes, when, unless):
4804 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4805
4806 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4807
4808 * finder.el: Require `package'.
4809 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4810 (finder-package-info): Var deleted.
4811 (finder-keywords-hash, finder--builtins-alist): New vars.
4812 (finder-compile-keywords): Compute package--builtins and
4813 finder-keywords-hash instead of finder-keywords-hash, respecting
4814 the "Package" header.
4815 (finder-unknown-keywords, finder-list-matches):
4816 Use finder-keywords-hash and package--list-packages.
4817 (finder-mode): Don't set font-lock-defaults.
4818 (finder-exit): We don't use "*Finder-package*" and "*Finder
4819 Category*" buffers anymore.
4820
4821 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4822 (package--builtins): Set default value to nil.
4823 (package-initialize): Load precomputed value of package--builtins
4824 from finder-inf.el.
4825 (package-alist, package-compute-transaction)
4826 (package-download-transaction): Improve docstring.
4827 (package-read-all-archive-contents): Do not change
4828 package--builtins here.
4829 (list-packages): Make package-list-packages an alias for this.
4830 Sort by status by default.
4831 (package--list-packages): Add optional PACKAGES arg.
4832 (describe-package-1): Use font-lock-face property. For built-in
4833 packages, insert file commentary.
4834 (package--generate-package-list): Rename from
4835 package-list-packages-internal; all callers changed. Add optional
4836 PACKAGES arg. Add alphabetical sort fallbacks.
4837 (package-menu--version-predicate, package-menu--status-predicate)
4838 (package-menu--description-predicate)
4839 (package-menu--name-predicate): New functions.
4840
4841 * info.el (Info-finder-find-node): Search package-alist instead of
4842 finder-package-info.
4843
4844 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4845
4846 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4847 "alpha" and "beta".
4848 (version-to-list): Handle versions like "10.3d".
4849
4850 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4853 (macroexp-accumulate): Use `declare'.
4854
4855 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4856
4857 * whitespace.el (whitespace-style): Adjust type declaration.
4858
4859 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4860
4861 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4862 empty argument to gvfs-copy.
4863
4864 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4865
4866 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4867 handle new TRASH arg of `delete-file'.
4868
4869 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4870
4871 * net/tramp.el (tramp-handle-insert-directory): Don't use
4872 `forward-word', its default syntax could be changed.
4873
4874 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4875 Michael Albinus <michael.albinus@gmx.de>
4876
4877 Implement compression for inline methods.
4878
4879 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4880 (tramp-copy-size-limit): Allow also nil.
4881 (tramp-inline-compress-commands): New defconst.
4882 (tramp-find-inline-compress, tramp-get-inline-compress)
4883 (tramp-get-inline-coding): New defuns.
4884 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4885 replaced by `tramp-get-inline-coding'.
4886 (tramp-handle-file-local-copy, tramp-handle-write-region)
4887 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4888
4889 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4890
4891 Detect ssh 'ControlMaster' argument automatically in some cases.
4892
4893 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4894 (tramp-default-method): Use it.
4895
4896 2010-08-26 Karel Klíč <kklic@redhat.com>
4897
4898 * net/tramp.el (tramp-file-name-for-operation):
4899 Add file-selinux-context.
4900
4901 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4902
4903 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4904
4905 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4906
4907 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4908 (Bug#6907).
4909
4910 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4911
4912 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4913 (js-paren-indent-offset, js-square-indent-offset)
4914 (js-curly-indent-offset): New options.
4915 (js--proper-indentation): Use them.
4916
4917 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4918
4919 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4920 instead of inspecting font-lock properties (Bug#6916).
4921
4922 2010-08-26 David Reitter <david.reitter@gmail.com>
4923
4924 * server.el (server-visit-files): Run pre-command-hook and
4925 post-command-hook for each buffer while it is current (Bug#6910).
4926 (server-execute): Do not run hooks here.
4927
4928 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4929
4930 Sync with Tramp 2.1.19.
4931
4932 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4933 (tramp-reporter-dump-variable, tramp-load-report-modules)
4934 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4935 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4936
4937 * net/tramp-compat.el (top): Do not autoload
4938 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4939 only when `start-file-process' is not bound.
4940 (byte-compile-not-obsolete-vars): Define if not bound.
4941 (tramp-compat-funcall): New defmacro.
4942 (tramp-compat-line-beginning-position)
4943 (tramp-compat-line-end-position)
4944 (tramp-compat-temporary-file-directory)
4945 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4946 (tramp-compat-copy-file, tramp-compat-copy-directory)
4947 (tramp-compat-delete-file, tramp-compat-delete-directory)
4948 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4949 Use it.
4950 (tramp-advice-file-expand-wildcards): Do not use
4951 `tramp-handle-file-remote-p'.
4952 (tramp-compat-make-temp-file): Simplify fallback implementation.
4953 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4954 (tramp-compat-copy-tree): Remove function.
4955 (tramp-compat-delete-file): New defun.
4956 (tramp-compat-delete-directory): Provide implementation for older
4957 Emacsen.
4958 (tramp-compat-file-attributes): Handle only
4959 `wrong-number-of-arguments' error.
4960
4961 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4962 Add PRESERVE_SELINUX_CONTEXT.
4963 (tramp-fish-handle-delete-file): Add TRASH arg.
4964 (tramp-fish-handle-directory-files-and-attributes):
4965 Do not use `tramp-fish-handle-file-attributes.
4966 (tramp-fish-handle-file-local-copy)
4967 (tramp-fish-handle-insert-file-contents)
4968 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4969
4970 * net/tramp-gvfs.el (top): Require url-util.
4971 (tramp-gvfs-mount-point): Remove.
4972 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4973 and `set-file-selinux-context'.
4974 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4975 (tramp-gvfs-handle-file-selinux-context)
4976 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4977 (with-tramp-dbus-call-method): Format trace message.
4978 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4979 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4980 Implement backup call, when operation on local files fails.
4981 Use progress reporter. Flush properties of changed files.
4982 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4983 Use `tramp-compat-delete-file'.
4984 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4985 (tramp-gvfs-handle-make-directory): Make more traces.
4986 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4987 (tramp-gvfs-url-file-name): Hexify file name in url.
4988 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4989 into account for the resulting file name.
4990 (tramp-gvfs-handler-askquestion): Preserve current message, in
4991 order to let progress reporter continue afterwards. (Bug#6257)
4992 Return dummy mountpoint, when the answer is "no".
4993 See `tramp-gvfs-maybe-open-connection'.
4994 (tramp-gvfs-handler-mounted-unmounted)
4995 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4996 attribute "default_location". Set "prefix" property.
4997 Handle default-location.
4998 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4999 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5000 exists. Raise an error, if not (due to a corresponding answer
5001 "no" in interactive questions, for example).
5002 Use `tramp-compat-funcall'.
5003
5004 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5005 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5006 (tramp-imap-do-copy-or-rename-file)
5007 (tramp-imap-handle-insert-file-contents)
5008 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5009 (tramp-imap-handle-delete-file): Add TRASH arg.
5010
5011 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5012 Add PRESERVE-SELINUX-CONTEXT.
5013 (tramp-smb-handle-copy-file)
5014 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5015 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5016 Use `with-progress-reporter'.
5017 (tramp-smb-handle-delete-file): Add TRASH arg.
5018
5019 * net/tramp.el (tramp-methods): Move hostname to the end in all
5020 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5021 appropriate.
5022 (tramp-verbose): Describe verbose level 9.
5023 (tramp-completion-function-alist)
5024 (tramp-file-name-regexp, tramp-chunksize)
5025 (tramp-local-coding-commands, tramp-remote-coding-commands)
5026 (with-connection-property, tramp-completion-mode-p)
5027 (tramp-action-process-alive, tramp-action-out-of-band)
5028 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5029 (tramp-exists-file-name-handler): Fix docstring.
5030 (tramp-remote-process-environment): Use `format' instead of
5031 `concat'. Protect version string by apostroph.
5032 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5033 XEmacs.
5034 (tramp-file-name-regexp-unified)
5035 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5036 not regard the volume letter as remote filename. (Bug#5447)
5037 (tramp-perl-file-attributes)
5038 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5039 (tramp-vc-registered-read-file-names): Read input as
5040 here-document, otherwise the command could exceed maximum length
5041 of command line.
5042 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5043 `set-file-selinux-context'.
5044 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5045 backtrace functions.
5046 (tramp-error-with-buffer): Don't show the connection buffer when
5047 we are in completion mode.
5048 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5049 (tramp-handle-file-selinux-context)
5050 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5051 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5052 New defuns.
5053 (with-progress-reporter): New defmacro.
5054 (tramp-debug-outline-regexp): New defconst.
5055 (top, tramp-rfn-eshadow-setup-minibuffer)
5056 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5057 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5058 (tramp-completion-mode-p, tramp-check-for-regexp)
5059 (tramp-open-connection-setup-interactive-shell)
5060 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5061 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5062 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5063 Use `tramp-compat-funcall'.
5064 (tramp-handle-make-symbolic-link): Flush file properties.
5065 (tramp-handle-load, tramp-handle-file-local-copy)
5066 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5067 (tramp-handle-vc-registered, tramp-maybe-send-script)
5068 (tramp-find-shell): Use `with-progress-reporter'.
5069 (tramp-do-file-attributes-with-stat): Add space in format string,
5070 in order to work around a bug in pdksh. Reported by Gilles Pion
5071 <gpion@lfdj.com>.
5072 (tramp-handle-verify-visited-file-modtime): Do not send a command
5073 when the connection is not established.
5074 (tramp-handle-set-file-times): Simplify the check for utc.
5075 (tramp-handle-directory-files-and-attributes)
5076 (tramp-get-remote-path): Use `copy-tree'.
5077 (tramp-completion-handle-file-name-all-completions): Ensure, that
5078 non remote files are still checked. Oops.
5079 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5080 Handle PRESERVE-SELINUX-CONTEXT.
5081 (tramp-do-copy-or-rename-file): Add progress reporter.
5082 (tramp-do-copy-or-rename-file-directly): Do not use
5083 `tramp-handle-file-remote-p'.
5084 (tramp-do-copy-or-rename-file-out-of-band):
5085 Use `tramp-compat-delete-directory'.
5086 (tramp-do-copy-or-rename-file-out-of-band)
5087 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5088 Use `format-spec-make'.
5089 (tramp-handle-delete-file): Add TRASH arg.
5090 (tramp-handle-dired-uncache): Flush directory cache, not only file
5091 cache.
5092 (tramp-handle-expand-file-name)
5093 (tramp-completion-handle-file-name-all-completions)
5094 (tramp-completion-handle-file-name-completion):
5095 Use `tramp-connectable-p'.
5096 (tramp-handle-start-file-process): Set connection property "vec".
5097 Use it, in order to invalidate file caches. Check only for
5098 `remote-tty' process property.
5099 Implement tty setting. (Bug#4604, Bug#6360)
5100 (tramp-file-name-for-operation): Add `call-process-region' and
5101 `set-file-selinux-context'.
5102 (tramp-find-foreign-file-name-handler)
5103 (tramp-advice-make-auto-save-file-name)
5104 (tramp-set-auto-save-file-modes): Remove superfluous check for
5105 `stringp'. This is done inside `tramp-tramp-file-p'.
5106 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5107 operations when we are in completion mode. This gives the user
5108 the chance to correct the file name in the minibuffer.
5109 (tramp-completion-mode-p): Use `non-essential'.
5110 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5111 compatibility: Use `completion-ignore-case' if
5112 `read-file-name-completion-ignore-case' does not exist.
5113 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5114 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5115 `tramp-open-shell'.
5116 (tramp-action-password): Hide password prompt before next run.
5117 (tramp-process-actions): Widen connection buffer for the trace.
5118 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5119 process property. Trace stty settings if `tramp-verbose' >= 9.
5120 Apply workaround for IRIX64 bug. Move argument of last
5121 `tramp-send-command' where it belongs to.
5122 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5123 front of `login-args'.
5124 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5125 on "/dev/null" instead of "/".
5126 (tramp-get-ls-command-with-dired): Make test for "--dired"
5127 stronger.
5128 (tramp-set-auto-save-file-modes): Adapt version check.
5129 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5130 (tramp-handle-process-file): Call the program in a subshell, in
5131 order to preserve working directory.
5132 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5133 `tramp-remote-sh' from `tramp-methods'.
5134 (tramp-get-ls-command): Make test for "--color=never" stronger.
5135 (tramp-check-for-regexp): Use (forward-line 1).
5136
5137 * net/trampver.el: Update release number.
5138
5139 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5140
5141 * help.el (help-map): Bind `C-h P' to describe-package.
5142
5143 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5144
5145 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5146 when downloading archives.
5147 (describe-package-1): Add package commentary.
5148 (package-install-button-action): New function.
5149 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5150 (package-menu-view-commentary): Function removed.
5151 (package-list-packages-internal): Hide the `package' package too.
5152
5153 2010-08-25 Kenichi Handa <handa@m17n.org>
5154
5155 * language/misc-lang.el ("Arabic"): New language environment.
5156 Setup composition-function-table for Arabic characters.
5157
5158 * international/fontset.el (setup-default-fontset): Fix typo for
5159 arabic OTF spec (fini->fina).
5160
5161 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5162
5163 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5164 on all frames.
5165
5166 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5167
5168 * whitespace.el: Allow cleaning up blanks without blank
5169 visualization (Bug#6651). Adjust help window for
5170 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5171 instead of whitespace-line-column (from EmacsWiki). New version
5172 13.1.
5173 (whitespace-style): Add new value 'face. Adjust docstring.
5174 (whitespace-space, whitespace-hspace, whitespace-tab):
5175 Adjust foreground property face.
5176 (whitespace-line-column): Adjust docstring and type declaration.
5177 (whitespace-style-value-list, whitespace-toggle-option-alist)
5178 (whitespace-help-text): Adjust const initialization.
5179 (whitespace-toggle-options, global-whitespace-toggle-options):
5180 Adjust docstring.
5181 (whitespace-display-window, whitespace-interactive-char)
5182 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5183 (whitespace-help-scroll): New fun.
5184
5185 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5186
5187 * emacs-lisp/package.el (list-packages): Alias for
5188 package-list-packages.
5189
5190 2010-08-24 Kevin Ryde <user42@zip.com.au>
5191
5192 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5193 (Bug#5651).
5194
5195 * progmodes/ruby-mode.el (ruby): Add defgroup.
5196
5197 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5198
5199 * progmodes/python.el: Add Ipython support (Bug#5390).
5200 (python-shell-prompt-alist)
5201 (python-shell-continuation-prompt-alist): New options.
5202 (python--set-prompt-regexp): New function.
5203 (inferior-python-mode, run-python, python-shell):
5204 Require ansi-color. Use python--set-prompt-regexp to set the comint
5205 prompt based on the Python interpreter.
5206 (python--prompt-regexp): New var.
5207 (python-check-comint-prompt)
5208 (python-comint-output-filter-function): Use it.
5209 (run-python): Use a pipe (Bug#5694).
5210
5211 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5212
5213 * progmodes/python.el (python-send-region): Send a different
5214 Python command if Ipython is in use.
5215 (python-check-version): Use a Python command to find the version.
5216
5217 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5218
5219 * mouse.el (mouse-yank-primary): Avoid setting primary when
5220 deactivating the mark (Bug#6872).
5221
5222 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5223
5224 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5225 with "else" (Bug#3991).
5226
5227 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5228
5229 * net/dbus.el: Accept UNIX domain sockets as bus address.
5230 (top): Don't initialize `dbus-registered-objects-table' anymore,
5231 this is done in dbusbind,c.
5232 (dbus-check-event): Adapt test for bus.
5233 (dbus-return-values-table, dbus-unregister-service)
5234 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5235 Adapt doc string.
5236
5237 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5238
5239 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5240
5241 2010-08-22 Juri Linkov <juri@jurta.org>
5242
5243 * simple.el (read-extended-command): New function with the logic
5244 for `completing-read' moved to Elisp from `execute-extended-command'.
5245 Use `function-called-at-point' in `minibuffer-default-add-function'
5246 to get a command name for M-n (bug#5364, bug#5214).
5247
5248 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5249
5250 * startup.el (command-line-1): Issue warning for ignored arguments
5251 --unibyte, etc (Bug#6886).
5252
5253 2010-08-22 Leo <sdl.web@gmail.com>
5254
5255 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5256 (ignore, bright, dim, keyword): Split list of nicknames before
5257 passing to rcirc-add-or-remove (Bug#6894).
5258
5259 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5260
5261 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5262
5263 2010-08-22 Leo <sdl.web@gmail.com>
5264
5265 Fix buffer-list rename&refresh after killing a buffer in ido.
5266 * ido.el: Revert Óscar's.
5267 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5268 Remember the buffers at head, rather than their name.
5269 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5270
5271 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5272 Stefan Monnier <monnier@iro.umontreal.ca>
5273
5274 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5275 extra backslash added to each line (bug#6890).
5276
5277 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5280
5281 2010-08-22 Glenn Morris <rgm@gnu.org>
5282
5283 * menu-bar.el (menu-bar-games-menu): Add landmark.
5284
5285 2010-08-22 Glenn Morris <rgm@gnu.org>
5286
5287 * align.el (align-regexp): Make group and spacing arguments
5288 use the interactive defaults when non-interactive. (Bug#6698)
5289
5290 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5291 expansion, so as not to need sendmail.
5292 (mail-text-start): Remove declaration.
5293 (rmail-retry-failure): Require sendmail.
5294
5295 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5296
5297 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5298
5299 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5300
5301 * progmodes/flymake.el (flymake-start-syntax-check-process):
5302 Use `start-file-process' in order to let it run also on remote hosts.
5303
5304 2010-08-22 Kenichi Handa <handa@m17n.org>
5305
5306 * files.el: Add `word-wrap' as safe local variable.
5307
5308 2010-08-22 Glenn Morris <rgm@gnu.org>
5309
5310 * woman.el (woman-translate): Case matters. (Bug#6849)
5311
5312 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5313
5314 * simple.el (kill-region): Doc fix (Bug#6787).
5315
5316 2010-08-22 Glenn Morris <rgm@gnu.org>
5317
5318 * calendar/diary-lib.el (diary-header-line-format):
5319 Fit it to the window, not the frame.
5320
5321 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5322
5323 * subr.el (ignore-errors): Add debug declaration.
5324
5325 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5326
5327 * whitespace.el (whitespace-color-off): Remove post-command-hook
5328 locally.
5329
5330 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5331
5332 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5333
5334 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5335
5336 * cus-edit.el (custom-group-value-create): Add extra newline
5337 before end line (Bug#6876).
5338
5339 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5340
5341 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5342 when extending it. Before killing on the second click, check if
5343 the buffer is the correct one. Doc fix.
5344 (mouse-secondary-save-then-kill): Allow usage without first
5345 calling mouse-start-secondary, by defaulting to point. Don't save
5346 an empty secondary selection. Doc fix.
5347
5348 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5349
5350 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5351 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5352 New version 13.0.
5353 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5354 Adjust initialization.
5355 (whitespace-bob-marker, whitespace-eob-marker)
5356 (whitespace-buffer-changed): New vars.
5357 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5358 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5359 (whitespace-post-command-hook, whitespace-display-char-on):
5360 Adjust code.
5361 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5362 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5363
5364 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * files.el (locate-file-completion-table): Only list the .el and .elc
5367 extensions if there's no other choice (bug#5955).
5368
5369 * facemenu.el (facemenu-self-insert-data): New var.
5370 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5371 New functions.
5372 (facemenu-add-face): Use them.
5373
5374 * simple.el (blink-matching-open): Obey forward-sexp-function.
5375
5376 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5377
5378 * simple.el (prog-mode-map): New var.
5379 (prog-indent-sexp): New command.
5380
5381 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5382
5383 * progmodes/prolog.el (smie): Require.
5384
5385 * emacs-lisp/smie.el (smie-default-backward-token)
5386 (smie-default-forward-token): Strip properties.
5387 (smie-next-sexp): Be more careful with associative operators.
5388 (smie-forward-sexp-command): Generalize.
5389 (smie-backward-sexp-command): Simplify.
5390 (smie-closer-alist): New var.
5391 (smie-close-block): New command.
5392 (smie-indent-debug-log): New var.
5393 (smie-indent-offset-rule): Add a few more cases.
5394 (smie-indent-column): New function.
5395 (smie-indent-after-keyword): Use it.
5396 (smie-indent-keyword): Use it.
5397 Fix up the opener code's point position.
5398 (smie-indent-comment): Only applies at BOL.
5399 (smie-indent-debug): New command.
5400
5401 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5402 declarations that are useful before running the macro.
5403
5404 2010-08-18 Joakim Verona <joakim@verona.se>
5405
5406 * image.el (imagemagick-types-inhibit): New variable.
5407 (imagemagick-register-types): New function.
5408 * image-mode.el (image-transform-properties): New function.
5409 (image-transform-set-scale, image-transform-fit-to-height)
5410 (image-transform-set-rotation, image-transform-set-resize)
5411 (image-transform-fit-to-width, image-transform-fit-to-height):
5412 New functions.
5413 (image-toggle-display-image): Support image transforms.
5414
5415 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5416
5417 * image.el (create-animated-image): Don't add heuristic mask to image
5418 (Bug#6839).
5419
5420 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5421
5422 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5423 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5424
5425 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5428
5429 Font-lock '...' strings, plus various simplifications and fixes.
5430 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5431 (octave-font-lock-close-quotes): New function.
5432 (octave-font-lock-syntactic-keywords): New var.
5433 (octave-mode): Use it. Set beginning-of-defun-function.
5434 (octave-mode-map): Don't override the <foo>-defun commands.
5435 (octave-mode-menu): Pass it directly to easy-menu-define;
5436 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5437 (octave-block-match-alist): Fix up last change so that
5438 octave-close-block uses the more specific keyword.
5439 (info-lookup-mode): Silence byte-compiler.
5440 (octave-beginning-of-defun): Not interactive any more.
5441 Optimize slightly.
5442 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5443 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5444 (octave-completion-at-point-function): Make sure point is within
5445 beg..end.
5446 (octave-reindent-then-newline-and-indent):
5447 Use reindent-then-newline-and-indent.
5448 (octave-add-octave-menu): Remove.
5449
5450 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5451
5452 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5453 (report-emacs-bug-can-use-xdg-email): New functions.
5454 (report-emacs-bug): Set can-xdg-email to result of
5455 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5456 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5457 about it.
5458
5459 * net/browse-url.el (browse-url-default-browser): Add cond
5460 for browse-url-xdg-open.
5461 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5462
5463 2010-08-17 Glenn Morris <rgm@gnu.org>
5464
5465 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5466 (c-fontify-recorded-types-and-refs): Define for compiler.
5467 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5468 before use.
5469
5470 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5471 Fix format call.
5472
5473 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5474
5475 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5476 properties.
5477 (tramp-handle-process-file): Call the program in a subshell, in
5478 order to preserve working directory.
5479 (tramp-action-password): Hide password prompt before next run.
5480 (tramp-process-actions): Widen connection buffer for the trace.
5481
5482 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5483
5484 * net/rcirc.el (rcirc-log-process-buffers): New option.
5485 (rcirc-print): Use it.
5486 (rcirc-generate-log-filename): New function.
5487 (rcirc-log-filename-function): Change default to
5488 rcirc-generate-log-filename (Bug#6828).
5489
5490 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5491
5492 * simple.el (deactivate-mark): If select-active-regions is `only',
5493 only set selection for temporarily active regions.
5494
5495 * cus-start.el: Change defcustom for select-active-regions.
5496
5497 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5498
5499 * mouse.el (mouse--drag-set-mark-and-point): New function.
5500 (mouse-drag-track): Use LOCATION arg to push-mark.
5501 Use mouse--drag-set-mark-and-point to take click-count into
5502 consideration when updating point and mark (Bug#6840).
5503
5504 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5505
5506 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5507 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5508
5509 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5510
5511 * font-lock.el (lisp-font-lock-keywords-2):
5512 Add combine-after-change-calls, condition-case-no-debug,
5513 with-demoted-errors, and with-silent-modifications (Bug#6025).
5514
5515 2010-08-14 Kevin Ryde <user42@zip.com.au>
5516
5517 * emacs-lisp/copyright.el (copyright-update-year)
5518 (copyright-update): Temporary switch-to-buffer to ensure the
5519 buffer change being queried is visible (Bug#5394).
5520
5521 2010-08-14 Tom Tromey <tromey@redhat.com>
5522
5523 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5524 (Bug#6733).
5525
5526 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5527
5528 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5529 MS-DOS. (Bug#6689)
5530
5531 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5532
5533 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5534 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5535 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5536 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5537 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5538 Call menu-bar-set-tool-bar-position.
5539
5540 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5541
5542 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5543 comment style (bug#6834).
5544 * progmodes/scheme.el (scheme-mode-syntax-table):
5545 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5546 "b" flag in "' 14b" syntax.
5547
5548 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5549 for (un)commenting the region and performing completion.
5550 (octave-mode-menu): Use standard commands for help and completion.
5551 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5552 (octave-mode): Use define-derived-mode.
5553 Set completion-at-point-functions and don't set columns.
5554 Don't disable adaptive-fill-regexp.
5555 (octave-describe-major-mode, octave-comment-region)
5556 (octave-uncomment-region, octave-comment-indent)
5557 (octave-indent-for-comment): Remove.
5558 (octave-indent-calculate): Rename from calculate-octave-indent.
5559 (octave-indent-line, octave-fill-paragraph): Update caller.
5560 (octave-initialize-completions): No need to make an alist.
5561 (octave-completion-at-point-function): New function.
5562 (octave-complete-symbol): Use it.
5563 (octave-insert-defun): Use define-skeleton.
5564
5565 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5566 (octave-mode-map): Use comment-dwim (bug#6829).
5567
5568 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5569
5570 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5571 indentation of inserted comment.
5572
5573 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5574
5575 * faces.el (region): Add type gtk that uses gtk colors.
5576
5577 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5578 Handle theme-name change.
5579
5580 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5581
5582 * progmodes/sql.el: Version 2.5
5583 (sql-product-alist): Add :prompt-cont-regexp property for several
5584 database products.
5585 (sql-prompt-cont-regexp): New variable.
5586 (sql-output-newline-count, sql-output-by-send):
5587 New variables. Record number of newlines in input text.
5588 (sql-send-string): Handle multiple filters and count newlines.
5589 (sql-send-magic-terminator): Count terminator newline.
5590 (sql-interactive-remove-continuation-prompt): Filters output to
5591 remove continuation prompts; one for each newline.
5592 (sql-interactive-mode): Set up new variables, prompt regexp and
5593 output filter.
5594 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5595 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5596
5597 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * emacs-lisp/pcase.el: New file.
5600
5601 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5602
5603 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5604 as here-document, otherwise the command could exceed maximum
5605 length of command line.
5606 (tramp-handle-vc-registered): Call script accordingly.
5607 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5608
5609 2010-08-10 Kenichi Handa <handa@m17n.org>
5610
5611 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5612 composable pattern.
5613
5614 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5615
5616 * emacs-lisp/package.el (package-version-split)
5617 (package--version-first-nonzero, package-version-compare):
5618 Functions removed.
5619 (package-directory-list, package-load-all-descriptors)
5620 (package--built-in, package-activate, define-package)
5621 (package-installed-p, package-compute-transaction)
5622 (package-read-all-archive-contents)
5623 (package--add-to-archive-contents, package-buffer-info)
5624 (package-tar-file-info, package-list-packages-internal):
5625 Use version-to-list and version-list-*.
5626
5627 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5628 Use version-to-list.
5629 (package-upload-buffer-internal): Use version-list-<=.
5630
5631 2010-08-09 Kenichi Handa <handa@m17n.org>
5632
5633 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5634 composable pattern.
5635
5636 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5637
5638 * tutorial.el (tutorial--default-keys): C-d is now bound to
5639 delete-forward-char (Bug#6826).
5640
5641 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5642 for `double' value of mouse-1-click-follows-link (Bug#6807).
5643
5644 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5645
5646 * replace.el (replace-highlight): Bind isearch-forward and
5647 isearch-error, ensuring that highlighting is updated if the user
5648 switches the search direction (Bug#6808).
5649
5650 * isearch.el (isearch-lazy-highlight-forward): New var.
5651 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5652 (isearch-lazy-highlight-update): Use it.
5653
5654 2010-08-08 Kenichi Handa <handa@m17n.org>
5655
5656 * international/mule.el (define-charset): Store NAME as :base property.
5657 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5658 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5659 current priority. Force using the designation of the specific
5660 charset by adding `charset' text property. Improve the whole algorithm.
5661
5662 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5663
5664 * emulation/pc-select.el (pc-selection-mode-hook)
5665 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5666 (pc-selection-mode): Fix typos in docstrings.
5667
5668 2010-08-08 Kenichi Handa <handa@m17n.org>
5669
5670 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5671 ctext-non-standard-encodings-alist here.
5672
5673 * international/mule.el (ctext-non-standard-encodings-alist):
5674 Add "koi8-r" and "microsoft-cp1251".
5675 (ctext-standard-encodings): New variable.
5676 (ctext-non-standard-encodings-table): List only elements for
5677 non-standard encodings.
5678 (ctext-pre-write-conversion): Adjust for the above change.
5679 Check ctext-standard-encodings.
5680
5681 * international/mule-conf.el (compound-text): Doc fix.
5682 (ctext-no-compositions): Doc fix.
5683 (compound-text-with-extensions): Doc fix.
5684
5685 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5686
5687 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5688
5689 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5690
5691 * progmodes/which-func.el (which-func-format): Split help-echo text
5692 into lines, like other mode-line tooltips.
5693
5694 * server.el (server-start): When using TCP sockets, force IPv4
5695 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5696
5697 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5700
5701 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5702
5703 * term.el (term-delimiter-argument-list): Reflow docstring.
5704 (term-read-input-ring, term-write-input-ring, term-send-input)
5705 (term-bol, term-erase-in-display, serial-supported-or-barf):
5706 Fix typos in docstrings.
5707
5708 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5711
5712 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5713
5714 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5715
5716 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5717
5718 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5719 Fix typo in docstring (bug#6747).
5720
5721 2010-08-08 Leo <sdl.web@gmail.com>
5722
5723 * eshell/esh-io.el (eshell-get-target): Better detection of
5724 read-only file (Bug#6762).
5725
5726 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5727
5728 * align.el (align-default-spacing): Doc fix.
5729 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5730
5731 2010-08-08 Stephen Peters <speters@itasoftware.com>
5732
5733 * calendar/icalendar.el
5734 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5735 (icalendar--get-weekday-numbers): New.
5736 (icalendar--convert-recurring-to-diary): Handle multiple byday
5737 values in weekly rules. (Bug#6766)
5738
5739 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5740
5741 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5742 (icalendar--create-uid, icalendar-export-region)
5743 (icalendar--parse-summary-and-rest): Code formatting.
5744
5745 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5746
5747 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5748 to italicize headers.
5749 (calc-highlight-selections-with-faces): New variable.
5750 (calc-selected-face, calc-nonselected-face): New faces.
5751
5752 * calc/calccomp.el (math-comp-highlight-string): Use
5753 `calc-highlight-selections-with-faces' to determine how to highlight
5754 sub-formulas.
5755
5756 * calc/calc-sel.el (calc-show-selections): Change message to when
5757 using faces to highlight selections.
5758
5759 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5760
5761 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5762 Add SQLite 3 keywords, functions and datatypes.
5763 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5764 (Bug#6686).
5765
5766 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5767
5768 * simple.el (select-active-regions): Move to keyboard.c.
5769 (deactivate-mark): Used saved-region-selection.
5770 (select-active-region): Function removed.
5771 (activate-mark, set-mark, push-mark-command)
5772 (handle-shift-selection): Don't call it.
5773 (keyboard-quit): Avoid adding the region to the window selection.
5774
5775 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5776 select-active-regions implementation.
5777 (mouse-yank-at-click): Doc fix.
5778
5779 * cus-start.el: Add custom declaration for select-active-regions.
5780
5781 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5782
5783 * simple.el (delete-forward-char): Doc fix.
5784
5785 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5786 after reading the tutorial.
5787
5788 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5789
5790 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5791 Fix for the case that a C style comment has its delimiters alone on
5792 their respective lines.
5793
5794 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5795
5796 * net/tramp.el (tramp-handle-start-file-process): Set connection
5797 property "vec".
5798 (tramp-process-sentinel): Use it for flushing the cache.
5799 We cannot do it via the process buffer, the buffer could be deleted
5800 already when running the sentinel.
5801
5802 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5803
5804 * comint.el (comint-mode): Make directory tracking functions
5805 functional on remote files. (Bug#6764)
5806
5807 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5808
5809 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5810
5811 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5812
5813 * emacs-lisp/find-gc.el (find-gc-source-files):
5814 Rename unexec.c => unexcoff.c.
5815
5816 * emacs-lisp/authors.el (authors-fixed-entries):
5817 Rename unexec.c => unexcoff.c.
5818
5819 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5820
5821 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5822 cache, not only file cache.
5823 (tramp-process-sentinel): New defun.
5824 (tramp-handle-start-file-process): Use it, in order to invalidate
5825 file caches.
5826
5827 2010-08-03 Leo <sdl.web@gmail.com>
5828
5829 * server.el (server-start): Simplify loop.
5830
5831 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * frame.el (screen-height, screen-width, set-screen-width)
5834 (set-screen-height): Remove ancient compatibility aliases.
5835
5836 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5837 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5838
5839 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5840 that change current buffer.
5841
5842 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5843
5844 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5845 beginning of the string. Use `string-match-p'. (Bug#6765)
5846
5847 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5848
5849 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5850
5851 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5852
5853 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5854 (package--builtins): Tweak descriptions.
5855 (package-print-package): Upcase descriptions if necessary.
5856 Show all built-in packages in font-lock-builtin-face.
5857 (package-list-packages-internal): Omit "emacs" package.
5858 Show status of built-in packages as "built-in".
5859
5860 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5861
5862 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5863 before killing to preserve the primary selection (Bug#6701).
5864
5865 * term/x-win.el (x-select-text): Doc fix.
5866
5867 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5868
5869 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5870 (objc-font-lock-extra-types):
5871 * progmodes/cc-mode.el (c-basic-common-init):
5872 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5873 (c++-make-template-syntax-table)
5874 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5875 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5876 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5877 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5878 * progmodes/cc-fonts.el (c-make-inverse-face)
5879 (c-basic-matchers-after):
5880 * progmodes/cc-engine.el (c-forward-keyword-clause)
5881 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5882 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5883 (c-guess-continued-construct, c-guess-basic-syntax):
5884 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5885 The above functions were modified or created.
5886
5887 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5888
5889 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5890
5891 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5892
5893 * files.el (bidi-paragraph-direction): Define safe local values.
5894
5895 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5896 language-info-alist. Remove outdated FIXME in a comment.
5897
5898 2010-07-31 Alan Mackenzie <acm@muc.de>
5899
5900 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5901 Auto-fill broken in C/C++ modes.
5902
5903 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5904
5905 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5906 (menu-bar-showhide-tool-bar-menu-customize-disable)
5907 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5908 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5909 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5910 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5911 make a menu for Options => toolbar that can move it.
5912
5913 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5914
5915 * emacs-lisp/package-x.el (package--make-rss-entry):
5916 (package-maint-add-news-item, package--update-news)
5917 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5918
5919 * emacs-lisp/package.el (package-archive-url): Rename from
5920 package-archive-id.
5921 (package-install): Doc fix.
5922 (package-download-single, package-download-tar, package-install)
5923 (package-menu-view-commentary): Callers changed.
5924
5925 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5926
5927 * net/tramp.el (tramp-handle-start-file-process): Check only for
5928 `remote-tty' process property.
5929 (tramp-open-shell): Don't check for tty.
5930 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5931 process property.
5932
5933 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5934 host.
5935
5936 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5937
5938 * emacs-lisp/package.el (package-load-list, package-archives)
5939 (package-archive-contents, package-user-dir)
5940 (package-directory-list, package--builtins, package-alist)
5941 (package-activated-list, package-obsolete-alist): Mark as risky.
5942
5943 2010-07-28 Phil Hagelberg <phil@evri.com>
5944
5945 Add support for non-default package repositories.
5946 * emacs-lisp/package.el (package-archive-base): Var deleted.
5947 (package-archives): New variable.
5948 (package-archive-contents): Doc fix.
5949 (package-load-descriptor): Do nothing if descriptor file is missing.
5950 (package--write-file-no-coding): New function.
5951 (package-unpack-single): Use it.
5952 (package-archive-id): New function.
5953 (package-download-single, package-download-tar)
5954 (package-menu-view-commentary): Use it.
5955 (package-installed-p): Make second argument optional.
5956 (package-read-all-archive-contents): New function.
5957 (package-initialize): Use it.
5958 (package-read-archive-contents): Add ARCHIVE argument.
5959 (package--add-to-archive-contents): New function.
5960 (package-install): Don't call package-read-archive-contents.
5961 (package--download-one-archive): Store archive file in a
5962 subdirectory of package-user-dir.
5963 (package-menu-execute): Remove spurious line movement.
5964
5965 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5966
5967 * cus-start.el (tool-bar-style): Add text-image-horiz.
5968
5969 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5970
5971 * progmodes/gud.el (gud-common-init): Check for remoteness of
5972 `file', and not of `default-directory'.
5973
5974 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5975
5976 * net/tramp.el (tramp-methods): Move hostname to the end in all
5977 ssh `tramp-login-args'.
5978 (tramp-verbose): Describe verbose level 9.
5979 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5980 (tramp-open-connection-setup-interactive-shell): Trace stty
5981 settings if `tramp-verbose' >= 9.
5982 (tramp-handle-start-file-process): Implement tty setting.
5983 (Bug#4604, Bug#6360)
5984
5985 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5986 `tramp-verbose' to 9.
5987
5988 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5989
5990 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5991 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5992 Remove references to package `lisp-re' (bug#4369).
5993
5994 2010-07-27 Tom Tromey <tromey@redhat.com>
5995
5996 * progmodes/js.el (js-mode):
5997 * progmodes/make-mode.el (makefile-mode):
5998 * progmodes/simula.el (simula-mode):
5999 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6000
6001 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6002
6003 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6004
6005 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6006 (display-time-world-buffer-name, display-time-world-mode-map):
6007 Fix typos in docstrings.
6008
6009 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6010
6011 * image-mode.el (image-display-size): New function.
6012 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6013 (image-mode-fit-frame): Use it (Bug#6639).
6014
6015 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6016
6017 * dired.el (dired-buffers-for-dir): Handle list values of
6018 dired-directory (Bug#6636).
6019
6020 2010-07-26 Sam Steingold <sds@gnu.org>
6021
6022 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6023 Do not call `x-get-selection' the second time, reuse the value.
6024
6025 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6026
6027 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6028 which consist of control chars only. Suggested by Richard Stallman.
6029
6030 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6031
6032 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6033 exists before passing an error to find-file-not-found-functions
6034 (bug#6723).
6035
6036 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6037
6038 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6039 Remove leading nil element, adjust values.
6040 (tetris-shapes, tetris-shape-scores):
6041 Change representation of shapes and remove some redundancy.
6042 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6043 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6044 Adjust for working with new representation of shapes.
6045 (tetris-shape-rotations): New function.
6046 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6047 (tetris-rotate-prev, tetris-rotate-next):
6048 Adjust for working with the new version of tetris-test-shape.
6049
6050 2010-07-23 Markus Triska <markus.triska@gmx.at>
6051
6052 * progmodes/ps-mode.el: Use comint (bug#5954).
6053 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6054 (ps-mode-other-newline): Simplify.
6055 (ps-run-mode): Derive from comint-mode instead of
6056 fundamental-mode, yielding input history etc.
6057 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6058 (ps-run-send-string): Adapt for comint-mode.
6059 (ps-run-newline): Remove now unneeded function.
6060
6061 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6062
6063 * net/tramp.el (tramp-methods): Move hostname to the end in all
6064 plink `tramp-login-args'.
6065
6066 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6067
6068 * net/tramp.el (tramp-open-shell): New defun.
6069 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6070 Use it.
6071
6072 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6073
6074 * net/tramp.el (tramp-file-name-regexp-unified)
6075 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6076 not regard the volume letter as remote filename. (Bug#5447)
6077
6078 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6079
6080 * custom.el (custom-declare-variable): Give a clearer error message
6081 when the docstring is missing (bug#6476).
6082
6083 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6084
6085 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6086 (sql-login-params): New widget definition.
6087 (sql-oracle-login-params, sql-mysql-login-params)
6088 (sql-solid-login-params, sql-sybase-login-params)
6089 (sql-informix-login-params, sql-ingres-login-params)
6090 (sql-ms-login-params, sql-postgres-login-params)
6091 (sql-interbase-login-params, sql-db2-login-params)
6092 (sql-linter-login-params): Use it.
6093 (sql-sqlite-login-params): Use it; Define "database" parameter as
6094 a file name.
6095 (sql-sqlite-program): Change to "sqlite3".
6096 (sql-comint-sqlite): Make sure database name is complete.
6097 (sql-for-each-login): New function.
6098 (sql-connect, sql-save-connection): Use it.
6099 (sql-get-login-ext): New function.
6100 (sql-get-login): Use it.
6101 (sql-make-alternate-buffer-name): Handle :file parameters.
6102
6103 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6104
6105 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6106 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6107
6108 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6109
6110 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6111
6112 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6113
6114 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6115
6116 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6117
6118 * net/tramp.el (tramp-get-ls-command)
6119 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6120 instead of "/".
6121
6122 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6123
6124 * progmodes/sql.el: Version 2.3.
6125 (sql-connection-alist): Change keys from symbols to strings;
6126 enhanced the widget definition.
6127 (sql-mode-menu): Add submenu to select connections.
6128 (sql-interactive-mode-menu): Add "Save Connection" item.
6129 (sql-add-product): Fix menu item.
6130 (sql-get-product-feature): Improved error handling.
6131 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6132 (sql-make-alternate-buffer-name): Simplified.
6133 (sql-product-interactive): Handle missing product.
6134 (sql-connect): Support string keys, minor improvements.
6135 (sql-save-connection): New function.
6136 (sql-connection-menu-filter): New function.
6137
6138 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6139
6140 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6141 (tramp-open-connection-setup-interactive-shell):
6142 Apply workaround for IRIX64 bug. Move argument of last
6143 `tramp-send-command' where it belongs to.
6144
6145 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6146
6147 * net/tramp.el (tramp-perl-file-attributes)
6148 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6149 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6150 front of `login-args'.
6151
6152 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6153
6154 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6155 Set `show-trailing-whitespace' to nil.
6156 (display-time-world-display): Simplify.
6157
6158 2010-07-18 Alan Mackenzie <acm@muc.de>
6159
6160 Enhance `c-file-style' in file/directory local variables.
6161 * progmodes/cc-mode.el (c-count-cfss): New function.
6162 (c-before-hack-hook): Call `c-set-style' differently according to
6163 whether c-file-style was set in file or directory local
6164 variables.
6165
6166 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6167
6168 * progmodes/sql.el: Version 2.2.
6169 (sql-product, sql-user, sql-database, sql-server, sql-port):
6170 Use defcustom :safe keyword rather than putting safe-local-variable
6171 property.
6172 (sql-password): Use defcustom :risky keyword rather than putting
6173 risky-local-variable property.
6174 (sql-oracle-login-params, sql-sqlite-login-params)
6175 (sql-solid-login-params, sql-sybase-login-params)
6176 (sql-informix-login-params, sql-ingres-login-params)
6177 (sql-ms-login-params, sql-postgres-login-params)
6178 (sql-interbase-login-params, sql-db2-login-params)
6179 (sql-linter-login-params): Add `port' option.
6180 (sql-get-product-feature): Add NO-INDIRECT parameter.
6181 (sql-comint-oracle, sql-comint-sybase)
6182 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6183 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6184 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6185 (sql-comint-linter): Rename sql-connect-* functions to
6186 sql-comint-*.
6187 (sql-product-alist, sql-mode-menu): Rename as above and
6188 :sqli-connect-func to :sqli-comint-func.
6189 (sql-connection): New variable.
6190 (sql-interactive-mode): Set it.
6191 (sql-connection-alist): New variable.
6192 (sql-connect): New function.
6193 (sql--alt-buffer-part, sql--alt-if-not-empty)
6194 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6195
6196 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6197
6198 * image-mode.el (image-bookmark-make-record): Do not set context
6199 in an image (Bug#6650).
6200
6201 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6202
6203 * simple.el (select-active-region): New function.
6204 (push-mark-command, set-mark, activate-mark)
6205 (handle-shift-selection): Use it.
6206 (deactivate-mark): Don't check for size of region.
6207
6208 * mouse.el (mouse-drag-track): Use select-active-region.
6209
6210 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6211
6212 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6213 "--dired" stronger.
6214
6215 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6216
6217 * term/x-win.el (x-select-enable-primary): Change default to nil.
6218 (x-select-enable-clipboard): Add :version keyword.
6219
6220 * mouse.el (mouse-drag-copy-region):
6221 * simple.el (select-active-regions): Likewise.
6222
6223 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6224
6225 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6226 (vc-coding-system-for-diff): Use it to decide whether to inherit
6227 from the file the EOL format for reading the diffs of that file.
6228 (Bug#4451)
6229
6230 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6231
6232 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6233 unibyte, so compressed attachments are not compressed again.
6234
6235 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6236
6237 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6238 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6239 (tramp-find-shell): Simplify setting connection property.
6240 (tramp-get-ls-command): Make test for "--color=never" stronger.
6241
6242 2010-07-15 Simon South <ssouth@member.fsf.org>
6243
6244 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6245 blocks within record declarations (i.e. variant parts) correctly.
6246
6247 2010-07-15 Simon South <ssouth@member.fsf.org>
6248
6249 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6250 over literal tokens when parsing so newlines aren't "absorbed" by
6251 single-line comments. Corrects the indentation of case blocks
6252 that have a comment on the first line.
6253
6254 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6255
6256 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6257 by Drew Adams (Bug#5504).
6258
6259 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6260
6261 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6262 now that Unicode is used (Bug#6594).
6263
6264 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6265
6266 * term/x-win.el (x-select-enable-clipboard): Default to t.
6267 (x-initialize-window-system): Don't overwrite Paste menu item.
6268
6269 * simple.el (select-active-regions): Default to t.
6270 (push-mark-command): Don't overwrite primary with empty string.
6271
6272 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6273 (mouse-drag-copy-region): Default to nil.
6274
6275 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6276 Cut/Copy/Paste menu bar items.
6277
6278 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6279
6280 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6281 Patch applied by Karl Fogel.
6282
6283 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6284 and `bookmark-current-buffer' if they have been already set in
6285 another buffer (e.g gnus-art).
6286
6287 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6288 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6289
6290 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6291
6292 * bookmark.el (bookmark-make-record-default): Allow unneeded
6293 information to be omitted from the record.
6294
6295 Adjust declarations and calls:
6296
6297 * info.el (bookmark-make-record-default): Adjust declaration.
6298 (Info-bookmark-make-record): Adjust call.
6299
6300 * woman.el (bookmark-make-record-default): Adjust declaration.
6301 (woman-bookmark-make-record): Adjust call.
6302
6303 * man.el (bookmark-make-record-default): Adjust declaration.
6304 (Man-bookmark-make-record): Adjust call.
6305
6306 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6307
6308 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6309
6310 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6311
6312 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6313 This is also from Thierry Volpiatto's patch in bug #6444. However,
6314 because it was extraneous to the functional change in that patch,
6315 and causes a re-indendation, I am committing it separately.
6316
6317 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6318
6319 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6320 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6321 Patch applied by Karl Fogel (Bug#6444).
6322
6323 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6324
6325 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6326
6327 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6328
6329 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6330 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6331 (ns-alternatives-map): Change S-tab binding to backtab
6332 (bug#6616).
6333
6334 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6335 under ns.
6336
6337 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6338
6339 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6340 (Bug#5806)
6341
6342 * language/tv-util.el (tai-viet-re): Remove format.
6343
6344 2010-07-12 Kenichi Handa <handa@m17n.org>
6345
6346 * language/hebrew.el: Remove no-byte-compile declaration.
6347 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6348 composition-function-table for 3-character looking back.
6349 (hebrew-font-get-precomposed): New function.
6350 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6351
6352 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6353
6354 * mouse.el (mouse-drag-track): Handle select-active-regions
6355 (Bug#6612).
6356
6357 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6358
6359 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6360 empty argument to gvfs-copy.
6361
6362 2010-07-10 Glenn Morris <rgm@gnu.org>
6363
6364 * calendar/calendar.el (calendar-week-end-day): New function.
6365 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6366 Respect calendar-week-start-day. (Bug#6606)
6367 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6368 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6369 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6370 respect calendar-week-start-day.
6371
6372 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6373
6374 * simple.el (use-region-p): Doc fix (Bug#6607).
6375
6376 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6377
6378 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6379 Add regexps for cucumber and ruby.
6380
6381 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6382
6383 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6384 (epa-file-insert-file-contents): Hack to prevent
6385 find-file from opening empty buffer when decryption failed
6386 (bug#6568).
6387
6388 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6389
6390 * textmodes/ispell.el (ispell-alternate-dictionary):
6391 Use file-readable-p.
6392 Return nil if no word-list is found at default locations.
6393 (ispell-complete-word-dict): Default to nil.
6394 (ispell-command-loop): Use 'word-list' when using lookup-words.
6395 (lookup-words): Use ispell-complete-word-dict or
6396 ispell-alternate-dictionary. Check for word-list availability
6397 and handle errors if needed with better messages (Bug#6539).
6398 (ispell-complete-word): Use ispell-complete-word-dict or
6399 ispell-alternate-dictionary.
6400
6401 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6402
6403 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6404 builtins (BufferError, BytesWarning, WindowsError; callables
6405 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6406
6407 2010-07-07 Glenn Morris <rgm@gnu.org>
6408
6409 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6410 (zone-shift-left): Ignore intangibility, and any errors from
6411 forward-char.
6412 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6413 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6414 deleting, and copying text properties.
6415 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6416 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6417 to point-max is hard.
6418 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6419 (zone-fill-out-screen): Ignore intangibility.
6420
6421 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6422
6423 * menu-bar.el (menu-bar-mode):
6424 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6425 if it has been set.
6426
6427 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6428 word/line selection (Bug#6565).
6429
6430 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6431
6432 * net/dbus.el (dbus-send-signal): Declare function.
6433
6434 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6435
6436 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6437 (dbus-register-property): New optional argument EMITS-SIGNAL.
6438 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6439
6440 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6441
6442 * mouse.el (mouse-drag-overlay): Variable deleted.
6443 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6444 (mouse--remap-link-click-p): New function.
6445 (mouse-drag-track): Handle dragging by using temporary Transient
6446 Mark mode, instead of a special overlay.
6447 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6448 mouse-show-mark.
6449
6450 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6451 deleted.
6452
6453 2010-07-02 Juri Linkov <juri@jurta.org>
6454
6455 * autoinsert.el (auto-insert-alist): Fix readability
6456 by using dotted pair notation for lambda.
6457
6458 2010-07-02 Juri Linkov <juri@jurta.org>
6459
6460 * faces.el (read-face-name): Rename arg `string-describing-default'
6461 to `default'. Doc fix. Display the default value in quotes
6462 in the prompt. With empty input, return the `default' arg,
6463 unless the default value is a string (in which case return nil).
6464 (describe-face): Replace the string `default' arg of `read-face-name'
6465 with the symbol `default'.
6466
6467 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6468
6469 * emulation/viper-cmd.el (viper-delete-backward-char)
6470 (viper-del-backward-char-in-insert)
6471 (viper-del-backward-char-in-replace, viper-change)
6472 (viper-backward-indent): Replace delete-backward-char with
6473 delete-char (Bug#6552).
6474
6475 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6476
6477 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6478
6479 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6480
6481 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6482 argument passed to frame-creation-function (Bug#5378).
6483
6484 * faces.el (x-handle-named-frame-geometry)
6485 (x-handle-reverse-video, x-create-frame-with-faces)
6486 (face-set-after-frame-default, tty-create-frame-with-faces):
6487 Don't separately consult default-frame-alist. It is now passed as the
6488 PARAMETER argument.
6489
6490 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6491
6492 * startup.el (command-line): Don't call tool-bar-setup in a
6493 tty-only build.
6494
6495 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6496
6497 * ruler-mode.el (ruler--save-header-line-format): New fun.
6498 (ruler-mode): Use it as a setter function, so as not to overwrite
6499 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6500
6501 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6502
6503 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6504 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6505 (vc-log-outgoing): Use it.
6506 (vc-diff-internal): Set diff-vc-backend.
6507
6508 * vc/diff-mode.el (diff-vc-backend): New var.
6509
6510 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6511
6512 * dynamic-setting.el (font-setting-change-default-font):
6513 Remove call to message.
6514
6515 2010-06-28 Kenichi Handa <handa@m17n.org>
6516
6517 * international/quail.el (quail-insert-kbd-layout): Fix the
6518 showing of untranslated characters.
6519
6520 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6521
6522 * simple.el (delete-active-region): New option.
6523 (delete-backward-char): Implement in Lisp.
6524 (delete-forward-char): New command.
6525
6526 * mouse.el (mouse-region-delete-keys): Deleted.
6527 (mouse-show-mark): Simplify.
6528
6529 * bindings.el (global-map): Bind delete and DEL, the former to
6530 delete-forward-char.
6531
6532 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6533
6534 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6535 (ruby-mode): Bind indent-line-function (Bug#5119).
6536
6537 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6538
6539 * startup.el (command-line): Recognize "0" X resource value.
6540
6541 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6542
6543 * startup.el (command-line): Use X resources to set the value of
6544 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6545
6546 * menu-bar.el (menu-bar-mode):
6547 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6548 Set init-value to t.
6549
6550 * frame.el (frame-notice-user-settings): Don't change
6551 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6552 vice versa (Bug#2249).
6553
6554 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6555
6556 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6557
6558 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6559
6560 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6561 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6562
6563 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6564 default directories are expanded (Bug#6143).
6565
6566 2010-06-24 Juri Linkov <juri@jurta.org>
6567
6568 * minibuffer.el (completions-format): Change default from nil to
6569 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6570
6571 2010-06-24 Juri Linkov <juri@jurta.org>
6572
6573 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6574 buffer-locally to lambda that re-runs the vc diff command.
6575 (Bug#6447)
6576
6577 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6578
6579 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6580 echo area is in use (Bug#3412).
6581
6582 2010-06-22 Glenn Morris <rgm@gnu.org>
6583
6584 * textmodes/texinfmt.el (texinfo-format-region)
6585 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6586 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6587 (texinfo-format-option, texinfo-noindent):
6588 Use line-beginning-position and line-end-position.
6589
6590 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6591 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6592 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6593 utf-8 characters.
6594
6595 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6596
6597 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6598 forward-line fallout.
6599
6600 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6601
6602 * mouse.el (mouse-appearance-menu): Add docstring.
6603
6604 * help.el (describe-key): Print up-event using key-description.
6605
6606 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6607
6608 * net/zeroconf.el (zeroconf-resolve-service)
6609 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6610 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6611
6612 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6613
6614 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6615
6616 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6617
6618 Avoid displaying files with a nil state in vc-dir.
6619 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6620 cases that cause insertion.
6621 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6622 with a nil state.
6623
6624 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6625
6626 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6627
6628 2010-06-29 Leo <sdl.web@gmail.com>
6629
6630 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6631
6632 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6633
6634 * generic-x.el (bat-generic-mode): Fix regexp for command line
6635 switches (Bug#5719).
6636
6637 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6638
6639 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6640 of nconc to avoid pure storage error (Bug#6239).
6641
6642 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6643
6644 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6645 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6646 bindings of bookmark-automatically-show-annotations (Bug#6515).
6647
6648 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6649
6650 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6651 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6652
6653 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6654
6655 * comint.el (make-comint, make-comint-in-buffer): Mention return
6656 value in the docstrings. (Bug#6498)
6657
6658 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6659
6660 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6661 since it is not present when using some non-default switches.
6662
6663 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6664
6665 * simple.el (compose-mail): Fix doc string to refer to
6666 `compose-mail-user-agent-warnings', instead of to the
6667 nonexistent `compose-mail-check-user-agent'.
6668
6669 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6670
6671 Fix an indentation bug:
6672
6673 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6674 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6675 of existing values.
6676
6677 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6678 (c-clear->-pair-props-if-match-before): now return t when they've
6679 cleared properties, nil otherwise.
6680 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6681 by taking account of the existing value.
6682
6683 * progmodes/cc-defs.el
6684 (c-clear-char-property-with-value-function): Fix this to clear the
6685 property rather than overwriting it with nil.
6686
6687 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6688
6689 * emacs-lisp/package.el (package-print-package): Add link to
6690 package description via describe-package.
6691 (describe-package-1): List package requirements. Add button to
6692 perform installation.
6693 (package-menu-describe-package): New command.
6694
6695 * help-mode.el (help-package): New button type.
6696
6697 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6698
6699 * emacs-lisp/package.el: Move package-list-packages binding to
6700 menu-bar.el.
6701 (describe-package, describe-package-1, package--dir): New funs.
6702 (package-activate-1): Use package--dir.
6703
6704 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6705
6706 * help-mode.el (help-package-def): New button type.
6707
6708 * menu-bar.el: Move package-list-packages binding here from
6709 package.el.
6710
6711 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6712
6713 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6714
6715 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6716
6717 * emacs-lisp/edebug.el (edebug-read-list):
6718 Phase out old-style backquotes.
6719
6720 2010-06-17 Juri Linkov <juri@jurta.org>
6721
6722 * help-mode.el (help-mode): Set buffer-local variable
6723 revert-buffer-function to help-mode-revert-buffer.
6724 (help-mode-revert-buffer): New function.
6725
6726 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6727 before popping to "*info*" (like in other Info functions).
6728 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6729 old-history-forward. Pop to old-buffer-name or "*info*" to
6730 recreate the killed buffer. Set Info-history-forward from
6731 old-history-forward.
6732 (Info-breadcrumbs-depth): Add :group and :version.
6733
6734 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6735
6736 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6737
6738 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6739
6740 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6741 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6742
6743 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6744
6745 * emacs-lisp/package.el (package-menu-mode-map):
6746 Move initialization into declaration.
6747
6748 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6749
6750 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6751
6752 * emacs-lisp/package.el (package-archive-base): Point to
6753 elpa.gnu.org.
6754 (package-enable, package-load-list): New defcustoms.
6755 (package-user-dir, package-directory-list): Turn into defcustoms.
6756 Don't include package-user-dir in package-directory-list.
6757 (package--builtins-base): Don't include Emacs as a "package".
6758 (package-subdirectory-regexp): New var.
6759 (package-load-all-descriptors, package-compute-transaction)
6760 (package-download-transaction): Obey package-load-list.
6761 (package-activate-1): Rename from package-do-activate.
6762 (package-list-packages-internal): Check package-load-list.
6763 (package-load-descriptor, package-generate-autoloads)
6764 (package-unpack, package-unpack-single)
6765 (package--read-archive-file, package-delete):
6766 Use expand-file-name.
6767
6768 * emacs-lisp/package-x.el: New file. Package uploading
6769 functionality split out from package.el.
6770
6771 * startup.el (command-line): Load packages after reading init file.
6772
6773 2010-06-17 Tom Tromey <tromey@redhat.com>
6774
6775 * emacs-lisp/package.el: New file.
6776
6777 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6778
6779 Fix vc-annotate for renamed files when using Git.
6780 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6781 ls-files. Doe not pass the object as a file name to cat-file, it
6782 is not a file name.
6783 (vc-git-annotate-command): Pass the file name using -- to avoid
6784 ambiguity with the revision.
6785 (vc-git-previous-revision): Pass a relative file name.
6786
6787 2010-06-22 Glenn Morris <rgm@gnu.org>
6788
6789 * progmodes/js.el (js-mode-map): Use standard capitalization and
6790 ellipses for menu entries.
6791
6792 * wid-edit.el (widget-complete): Doc fix.
6793
6794 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6795
6796 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6797
6798 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6799
6800 Fix annotating other revisions for renamed files in vc-annotate.
6801 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6802 VC backend. Use it when non-nil.
6803 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6804 (Bug#6487).
6805
6806 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6807 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6808 Do not pass the file name to the 'previous-revision call when we
6809 don't want a file diff. (Bug#6489)
6810
6811 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6812
6813 Fix finding revisions for renamed files in vc-annotate.
6814 * vc/vc.el (vc-find-revision): Add an optional argument for
6815 the VC backend. Use it when non-nil.
6816 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6817 backend to vc-find-revision. (Bug#6487)
6818
6819 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6820
6821 Fix reading file names in Git annotate buffers.
6822 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6823 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6824
6825 2010-06-20 Alan Mackenzie <acm@muc.de>
6826
6827 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6828 in file local variables, set it first.
6829
6830 2010-06-19 Glenn Morris <rgm@gnu.org>
6831
6832 * descr-text.el (describe-char-unicode-data): Insert separating
6833 space when needed. (Bug#6422)
6834
6835 * progmodes/idlwave.el (idlwave-action-and-binding):
6836 Fix typo in 2009-12-03 change. (Bug#6450)
6837
6838 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6841 handling for `lambda' (misunderstanding).
6842
6843 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6844
6845 * calc/calc-poly.el (math-accum-factors): Make sure that
6846 constants aren't distributed after they are factored out.
6847
6848 2010-06-16 Juri Linkov <juri@jurta.org>
6849
6850 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6851 `list-colors-print'. (Bug#6332)
6852
6853 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6854
6855 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6858 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6859
6860 * font-lock.el (font-lock-major-mode): Rename from
6861 font-lock-mode-major-mode to distinguish it from
6862 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6863 (font-lock-set-defaults):
6864 * font-core.el (font-lock-default-function): Adjust users.
6865 (font-lock-mode): Don't set it at all.
6866
6867 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6870
6871 2010-06-16 Glenn Morris <rgm@gnu.org>
6872
6873 * calendar/appt.el (appt-time-msg-list): Doc fix.
6874 (appt-check): Let-bind appt-warn-time.
6875 (appt-add): Make the 3rd argument optional.
6876 Simplify argument names. Doc fix. Check for integer WARNTIME.
6877 Only add WARNTIME to the output list if non-nil.
6878
6879 2010-06-16 Ivan Kanis <apple@kanis.eu>
6880
6881 * calendar/appt.el (appt-check): Let the 3rd element of
6882 appt-time-msg-list specify the warning time.
6883 (appt-add): Add new argument with the warning time. (Bug#5176)
6884
6885 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6886
6887 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6888 older than version 1.6. (Bug#6361)
6889
6890 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6891
6892 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6893 used by cl-do-arglist. (Bug#6408)
6894
6895 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6896
6897 * textmodes/ispell.el (ispell-dictionary-base-alist):
6898 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6899 Suggested by Rolando Pereira (bug#6434).
6900
6901 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6902
6903 * facemenu.el (list-colors-sort): Doc fix.
6904
6905 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6906
6907 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6908
6909 2010-06-14 Juri Linkov <juri@jurta.org>
6910
6911 Add sort option `list-colors-sort'. (Bug#6332)
6912 * facemenu.el (color-rgb-to-hsv): New function.
6913 (list-colors-sort): New defcustom.
6914 (list-colors-sort-key): New function.
6915 (list-colors-display): Doc fix. Sort list according to the option
6916 `list-colors-sort'.
6917 (list-colors-print): Add HSV values to `help-echo' property of
6918 RGB strings.
6919
6920 2010-06-14 Juri Linkov <juri@jurta.org>
6921
6922 * compare-w.el: Move to the "vc" subdirectory.
6923
6924 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * image-mode.el (image-mode-map): Remap left-char and right-char.
6927
6928 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6929
6930 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6931
6932 * term/common-win.el (x-colors): Add all the color names defined
6933 in rgb.txt (Bug#6332).
6934
6935 * facemenu.el (list-colors-print): Don't print extra names if it
6936 will overflow the window width.
6937
6938 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6939 change (Bug#6343).
6940
6941 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6942
6943 * files.el (make-directory): Doc fix (bug#6396).
6944
6945 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6946
6947 * net/tramp.el (tramp-remote-process-environment): Protect version
6948 string by apostroph.
6949 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6950 XEmacs.
6951 (tramp-file-name-for-operation): Add `call-process-region'.
6952 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6953
6954 * net/tramp-compat.el (top): Do not autoload
6955 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6956 only when `start-file-process' is not bound.
6957 (tramp-advice-file-expand-wildcards): Do not use
6958 `tramp-handle-file-remote-p'.
6959 (tramp-compat-make-temp-file): Handle the case, that
6960 `make-temp-file' has no third argument EXTENSION.
6961
6962 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6963
6964 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6965
6966 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6967
6968 2010-06-11 Juri Linkov <juri@jurta.org>
6969
6970 * finder.el (finder-known-keywords): Add keyword "vc"
6971 for version control.
6972
6973 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6974 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6975 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6976 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6977
6978 2010-06-11 Juri Linkov <juri@jurta.org>
6979
6980 Move version control related files to the "vc" subdirectory.
6981 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6982 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6983 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6984 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6985 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6986 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6987 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6988 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6989 Move files to the "vc" subdirectory.
6990
6991 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6992
6993 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6994 (Bug#6367).
6995
6996 2010-06-11 Stephen Eglen <stephen@gnu.org>
6997
6998 * shell.el: Bind `shell-resync-dirs' to M-RET.
6999
7000 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7001
7002 * notifications.el: Move file from lisp/net, because it is
7003 supposed to talk locally to the user.
7004
7005 2010-06-10 Julien Danjou <julien@danjou.info>
7006
7007 * net/notifications.el (notifications-on-action-signal)
7008 (notifications-on-closed-signal): Pass notification id as first
7009 argument to the callback functions. Add docstrings.
7010 (notifications-notify): Fix docstring.
7011
7012 2010-06-10 Glenn Morris <rgm@gnu.org>
7013
7014 * emacs-lisp/authors.el (authors-ignored-files)
7015 (authors-valid-file-names): Add some files.
7016
7017 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7019 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7020 merge conflict, giving preference to the emacs-23 version of the code.
7021
7022 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7023
7024 * emacs-lisp/advice.el (ad-compile-function):
7025 Define warning-suppress-types before we let-bind it (bug#6275).
7026
7027 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7028 declare it, make it buffer-local and permanent-local (bug#6324).
7029 (vc-resynch-window): Adjust name.
7030 * vc-hooks.el (vc-find-file-hook): Adjust name.
7031
7032 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7033
7034 * net/notifications.el (notifications-notify): Fix docstring.
7035
7036 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7037
7038 Update to Unicode 6.0.0 beta.
7039 * international/charprop.el: Update copyright.
7040 * international/mule-cmds.el (ucs-names): Update character ranges.
7041 * international/uni-bidi.el:
7042 * international/uni-category.el:
7043 * international/uni-combining.el:
7044 * international/uni-comment.el:
7045 * international/uni-decimal.el:
7046 * international/uni-decomposition.el:
7047 * international/uni-digit.el:
7048 * international/uni-lowercase.el:
7049 * international/uni-mirrored.el:
7050 * international/uni-name.el:
7051 * international/uni-numeric.el:
7052 * international/uni-old-name.el:
7053 * international/uni-titlecase.el:
7054 * international/uni-uppercase.el: Regenerate.
7055
7056 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7057
7058 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7059 (smie-precs-precedence-table): Fix typo in docstring.
7060
7061 * vc-mtn.el (log-edit-extract-headers): Declare function.
7062
7063 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7064
7065 * net/notifications.el (dbus-register-signal): Declare function.
7066 (notifications-notify): Fix typos and reflow docstring.
7067
7068 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7069
7070 Improve VC create/retrieve tag/branch.
7071 * vc.el (vc-create-tag): Do not read the directory name for VCs
7072 with repository revision granularity. Adjust the tag/branch
7073 prompt. Reset VC properties.
7074 (vc-retrieve-tag): Do not read the directory name for VCs
7075 with repository revision granularity. Reset VC properties.
7076
7077 2010-06-09 Julien Danjou <julien@danjou.info>
7078
7079 * net/notifications.el: New file.
7080
7081 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7082
7083 Add optional support for resetting VC properties.
7084 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7085 call vc-file-clearprops when true.
7086 (vc-resynch-buffer): Add new optional argument, pass it down.
7087 (vc-resynch-buffers-in-directory): Likewise.
7088
7089 Improve support for special markup in the VC commit message.
7090 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7091 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7092 * vc-git.el (vc-git-checkin):
7093 * vc-bzr.el (vc-bzr-checkin): Likewise.
7094
7095 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7098 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7099
7100 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7101
7102 * iimage.el: Remove images as soon as the underlying text is modified.
7103 (iimage-modification-hook): New function.
7104 (iimage-mode-buffer): Use it.
7105
7106 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7109 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7110 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7111 (smie-indent-keyword): Add handling of open-paren keywords.
7112 (smie-indent-comment-continue): Don't assume comment-continue.
7113
7114 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7115
7116 * window.el (pop-to-buffer): Remove the conditional that
7117 compares new-window and old-window, so it will reselect
7118 the selected window unconditionally.
7119 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7120
7121 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * emacs-lisp/smie.el (smie-indent-offset-after)
7124 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7125 (smie-indent-after-keyword): Use them.
7126 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7127 (smie-indent-keyword): Tweak the black magic.
7128 (smie-indent-comment-continue): Strip comment-continue before use.
7129 (smie-indent-functions): Indent comments before keywords.
7130
7131 2010-06-06 Juri Linkov <juri@jurta.org>
7132
7133 * isearch.el (isearch-lazy-highlight-search): Fix looping
7134 by checking for empty match. This syncs this loop with the
7135 similar loop in `isearch-search'. (Bug#6362)
7136
7137 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7138
7139 * net/dbus.el (dbus-register-method): Declare function.
7140 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7141 (dbus-introspect): Doc fix.
7142 (dbus-event-bus-name, dbus-introspect-get-interface)
7143 (dbus-introspect-get-argument): Reflow docstrings.
7144
7145 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7146
7147 vc-log-incoming/vc-log-outgoing fixes for Git.
7148 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7149 incoming/outgoing logs.
7150 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7151 instead of vc-git-compute-remote.
7152 (vc-git-compute-remote): Remove.
7153
7154 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7155
7156 * term/common-win.el (x-colors): Add "dark green" and "dark
7157 turquoise" (Bug#6332).
7158
7159 2010-06-04 Juri Linkov <juri@jurta.org>
7160
7161 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7162 Instead of setting `replace' to t and replacing the same string
7163 with itself, don't do certain actions when
7164 kill-do-not-save-duplicates is non-nil and string is equal to car
7165 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7166 interprogram-paste strings to kill-ring, and don't push the input
7167 argument `string' to kill-ring.
7168 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7169
7170 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7171
7172 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7173
7174 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7175
7176 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7177 (tramp-gvfs-handler-mounted-unmounted)
7178 (tramp-gvfs-connection-mounted-p): Handle default-location.
7179
7180 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7181 move files to trash.
7182
7183 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7184
7185 * international/mule-cmds.el (nonascii-insert-offset)
7186 (nonascii-translation-table): Add obsolescence information.
7187
7188 * international/mule.el (make-translation-table-from-vector): Doc fix.
7189
7190 2010-06-03 Glenn Morris <rgm@gnu.org>
7191
7192 * desktop.el (desktop-clear-preserve-buffers):
7193 Add "*Warnings*" buffer. (Bug#6336)
7194
7195 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7196
7197 vc-log-incoming/vc-log-outgoing improvements for Git.
7198 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7199 short log.
7200 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7201
7202 Add bindings for vc-log-incoming and vc-log-outgoing.
7203 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7204 and vc-log-outgoing.
7205 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7206 and vc-log-outgoing.
7207
7208 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7209
7210 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7211 (rcirc-handler-366): Always sort nicknames.
7212
7213 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7214
7215 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7216
7217 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7218
7219 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7220
7221 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7222
7223 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7224 (rcirc-sort-nicknames-join): Avoid setq.
7225
7226 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7227
7228 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7229 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7230 (rcirc-handler-366): Use them.
7231
7232 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7233
7234 Split smie-indent-calculate into more manageable chunks.
7235 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7236 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7237 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7238 (smie-indent-exps): Extract from smie-indent-calculate.
7239 (smie-indent-functions): New var.
7240 (smie-indent-functions): Use them.
7241
7242 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7243
7244 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7245 (smie-indent-calculate): Simplify and cleanup.
7246
7247 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7248
7249 * net/tramp-gvfs.el (top): Require url-util.
7250 (tramp-gvfs-mount-point): Remove.
7251 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7252 New defuns.
7253 (with-tramp-dbus-call-method): Format trace message.
7254 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7255 Implement backup call, when operation on local files fails.
7256 Use progress reporter. Flush properties of changed files.
7257 (tramp-gvfs-handle-make-directory): Make more traces.
7258 (tramp-gvfs-url-file-name): Hexify file name in url.
7259 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7260 into account for the resulting file name.
7261 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7262 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7263 (tramp-gvfs-handler-mounted-unmounted)
7264 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7265 attribute "default_location". Set "prefix" property.
7266 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7267 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7268 exists. Raise an error, if not (due to a corresponding answer
7269 "no" in interactive questions, for example).
7270
7271 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7272
7273 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7274
7275 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7278 right-*. (Bug#6265)
7279
7280 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7281
7282 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7283 * vc-git.el (vc-git-compute-remote): New function.
7284 (vc-git-log-outgoing): Use it instead of hard coding a value.
7285 (vc-git-log-incoming): New function.
7286
7287 Improve state updating for VC tag commands.
7288 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7289 to update the state of all buffers in the directory.
7290
7291 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7292
7293 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7296 `file-directory-p' to the filename part rather than to the whole text.
7297
7298 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7301
7302 2010-05-31 Drew Adams <drew.adams@oracle.com>
7303
7304 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7305
7306 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7307
7308 * subr.el (momentary-string-display): Just use read-event to read
7309 the exit event (Bug#6238).
7310
7311 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7312
7313 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7314
7315 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7316
7317 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7318 Suggested by Eli Zaretskii <eliz@gnu.org>.
7319
7320 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * minibuffer.el (completion-file-name-table): Don't return a boundary
7323 past the end of `string' (bug#6299).
7324 (completion--file-name-table): Delegate to completion-file-name-table
7325 for the `boundaries' case.
7326
7327 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7328
7329 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7330 movement commands.
7331
7332 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7333 `path-separator', but maintain compatibility with Emacs 20.2.
7334
7335 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7336
7337 * server.el (server-process-filter): Receive parent-id argument
7338 from emacsclient.
7339 (server-create-window-system-frame): New arg. Pass parent-id as
7340 frame parameter.
7341
7342 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7343
7344 Bidi-sensitive word movement with arrow keys.
7345 * subr.el (right-arrow-command, left-arrow-command): Move to
7346 bindings.el.
7347
7348 * bindings.el (right-char, left-char): Move from subr.el and
7349 rename from right-arrow-command and left-arrow-command.
7350 (right-word, left-word): New functions.
7351 (global-map) <right>: Bind to right-char.
7352 (global-map) <left>: Bind to left-char.
7353 (global-map) <C-right>: Bind to right-word.
7354 (global-map) <C-left>: Bind to left-word.
7355
7356 * ls-lisp.el (ls-lisp-classify-file): New function.
7357 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7358 (ls-lisp-classify): Call ls-lisp-classify-file.
7359 (insert-directory): Remove blanks from switches.
7360
7361 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7362
7363 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7364 (ansi-color-drop-regexp): New constant.
7365 (ansi-color-apply, ansi-color-filter-region)
7366 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7367 (ansi-color-apply): Build string list before calling concat.
7368
7369 2010-05-28 Juri Linkov <juri@jurta.org>
7370
7371 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7372 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7373 (Bug#5270)
7374
7375 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7376
7377 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7378 to ignored backtrace functions.
7379 (with-progress-reporter): Expand docstring.
7380 (tramp-handle-delete-file): Implement TRASH argument.
7381 (tramp-get-remote-trash): New defun.
7382
7383 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7384
7385 * net/tramp-compat.el (tramp-compat-delete-file):
7386 Use `symbol-value' for backward compatibility.
7387
7388 * net/tramp.el (tramp-handle-make-symbolic-link)
7389 (tramp-handle-load)
7390 (tramp-do-copy-or-rename-file-via-buffer)
7391 (tramp-do-copy-or-rename-file-directly)
7392 (tramp-do-copy-or-rename-file-out-of-band)
7393 (tramp-handle-process-file, tramp-handle-call-process-region)
7394 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7395 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7396 (tramp-delete-temp-file-function): Use `delete-file' instead
7397 of `tramp-compat-delete-file'.
7398
7399 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7400 (tramp-fish-handle-make-symbolic-link)
7401 (tramp-fish-handle-process-file): Use `delete-file' instead
7402 of `tramp-compat-delete-file'.
7403
7404 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7405 Use `delete-file' instead of `tramp-compat-delete-file'.
7406
7407 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7408 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7409 `tramp-compat-delete-file'.
7410
7411 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7412 Use `delete-file' instead of `tramp-compat-delete-file'.
7413
7414 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7415 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7416 (tramp-smb-handle-write-region): Use `delete-file' instead of
7417 `tramp-compat-delete-file'.
7418 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7419
7420 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7421
7422 * dired.el (dired-delete-file): New arg TRASH.
7423 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7424 (dired-do-flagged-delete, dired-do-delete): Use trash.
7425
7426 * speedbar.el (speedbar-item-delete): Allow trashing.
7427
7428 * files.el (delete-directory): New arg TRASH.
7429
7430 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7431 (ange-ftp-rename-remote-to-remote)
7432 (ange-ftp-rename-local-to-remote)
7433 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7434 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7435 `delete-file'.
7436 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7437 allow trashing.
7438
7439 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7440 handle new TRASH arg of `delete-file'.
7441
7442 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7443 (tramp-handle-make-symbolic-link, tramp-handle-load)
7444 (tramp-do-copy-or-rename-file-via-buffer)
7445 (tramp-do-copy-or-rename-file-directly)
7446 (tramp-do-copy-or-rename-file-out-of-band)
7447 (tramp-handle-process-file, tramp-handle-call-process-region)
7448 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7449 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7450 (tramp-delete-temp-file-function): Use null TRASH arg in
7451 tramp-compat-delete-file call.
7452
7453 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7454 (tramp-fish-handle-delete-file)
7455 (tramp-fish-handle-make-symbolic-link)
7456 (tramp-fish-handle-process-file): Use null TRASH arg in
7457 `tramp-compat-delete-file' call.
7458
7459 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7460 arg in `tramp-compat-delete-file' call.
7461
7462 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7463 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7464 `tramp-compat-delete-file' call.
7465
7466 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7467 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7468 `tramp-compat-delete-file' call.
7469
7470 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7471 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7472 (tramp-smb-handle-write-region): Use null TRASH arg in
7473 tramp-compat-delete-file call.
7474 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7475 (tramp-smb-handle-delete-file): Rename arg.
7476
7477 * diff.el (diff-sentinel):
7478 * epg.el (epg--make-temp-file, epg-decrypt-string)
7479 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7480 * jka-compr.el (jka-compr-partial-uncompress)
7481 (jka-compr-call-process, jka-compr-write-region):
7482 * server.el (server-sentinel): Remove optional arg from
7483 delete-file, reverting 2010-05-03 change.
7484
7485 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7486
7487 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7488 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7489
7490 2010-05-27 Kenichi Handa <handa@m17n.org>
7491
7492 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7493 element of GSTRING is nil.
7494
7495 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * emacs-lisp/smie.el (smie-forward-token-function)
7498 (smie-backward-token-function): New vars.
7499 (smie-backward-sexp, smie-forward-sexp)
7500 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7501 (smie-default-backward-token): Rename from smie-backward-token and
7502 skip comments.
7503 (smie-default-forward-token): Rename from smie-forward-token and
7504 skip comments.
7505 (smie-next-sexp): Handle nil results from next-token.
7506 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7507
7508 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7509
7510 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7511 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7512
7513 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7514
7515 * htmlfontify.el (hfy-face-resolve-face): New function.
7516 (hfy-face-to-style): Use it (Bug#6279).
7517
7518 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7519
7520 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7521 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7522
7523 2010-05-26 Glenn Morris <rgm@gnu.org>
7524
7525 * emulation/edt.el (edt-load-keys): Use locate-library.
7526
7527 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7528
7529 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7530 (log-edit-changelog-entries): Doc fix.
7531 (log-edit-changelog-insert-entries): Args changed.
7532 Rename relative filenames in ChangeLog entries. Delete tabs.
7533 (log-edit-insert-changelog-entries): Reorganize return value of
7534 `log-edit-changelog-entries' to pass filenames to
7535 log-edit-changelog-insert-entries.
7536
7537 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7538
7539 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7540 `image-dired-dired-insert-marked-thumbs' to
7541 `image-dired-dired-toggle-marked-thumbs'.
7542
7543 * image-dired.el: Require cl when compiling.
7544 (image-dired-dired-toggle-marked-thumbs): Rename from
7545 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7546 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7547 to 'no-dir. Skip files whose names don't match
7548 `image-file-name-regexp'. When file has a thumbnail overlay,
7549 delete it. (Bug#5270)
7550
7551 2010-05-25 Juri Linkov <juri@jurta.org>
7552
7553 * image-mode.el (image-mode): Add image-after-revert-hook to
7554 after-revert-hook.
7555 (image-after-revert-hook): New function. (Bug#5669)
7556
7557 2010-05-25 Juri Linkov <juri@jurta.org>
7558
7559 * image.el (image-animated-p): When delay between animated images
7560 is 0, set it to 10 (0.1 sec). (Bug#6258)
7561
7562 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7563
7564 * net/tramp.el (tramp-handle-insert-directory): Don't use
7565 `forward-word', its default syntax could be changed.
7566
7567 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7568
7569 * net/tramp.el (tramp-progress-reporter-update): New defun.
7570 (with-progress-reporter): Use it.
7571 (tramp-process-actions):
7572 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7573 Preserve current message, in order to let progress reporter continue
7574 afterwards. (Bug#6257)
7575
7576 2010-05-25 Glenn Morris <rgm@gnu.org>
7577
7578 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7579 Add :version.
7580
7581 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7582
7583 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7584 (rcirc-default-full-name): Change to "unknown".
7585 (rcirc-user-name-history): Add variable.
7586
7587 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7588 Jonathan Rockway <jon@jrock.us>
7589
7590 * net/rcirc.el (rcirc-server-alist): Add :pass.
7591 (rcirc): When prompting for connection parameters, also prompt for
7592 username and password.
7593 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7594 value to server when connecting.
7595
7596 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7597
7598 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7599 (smie-merge-prec2s): Pass the tables as separate args.
7600 (smie-bnf-precedence-table): Adjust call accordingly.
7601 (smie-prec2-levels): Set levels at the end.
7602
7603 Replace Lisp calls to delete-backward-char by delete-char.
7604 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7605 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7606 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7607 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7608 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7609 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7610 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7611 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7612 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7613 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7614 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7615 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7616 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7617 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7618 delete-backward-char by calls to delete-char.
7619
7620 2010-05-25 Kenichi Handa <handa@m17n.org>
7621
7622 * language/hebrew.el (hebrew-shape-gstring): New function.
7623 Register it in composition-function-table for all Hebrew combining
7624 characters.
7625
7626 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7627
7628 * epa.el (epa--select-keys): Don't explicitly delete the window since
7629 that can fail (e.g. sole window in frame). Use dedication instead.
7630
7631 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7632
7633 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7634
7635 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7636
7637 * image.el (image-refresh): Define as an alias for image-flush.
7638
7639 * image-mode.el (image-toggle-display-image): Caller changed.
7640
7641 2010-05-21 Juri Linkov <juri@jurta.org>
7642
7643 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7644 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7645 whitespace, call wildcard-to-regexp on substrings and concat them
7646 with "\\|". (Bug#6114)
7647
7648 2010-05-21 Alan Mackenzie <acm@muc.de>
7649
7650 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7651 Replace parameter `here' with `here-' and `here-plus', which sandwich
7652 any pertinent CPP construct.
7653 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7654 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7655 CPP construct from taking part in the scanning.
7656
7657 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7658
7659 * net/tramp.el (tramp-do-copy-or-rename-file)
7660 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7661 Tune `with-progress-reporter' messages.
7662 (tramp-handle-vc-registered):
7663 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7664 (tramp-fish-handle-insert-file-contents)
7665 (tramp-fish-maybe-open-connection):
7666 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7667 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7668 (tramp-imap-handle-insert-file-contents)
7669 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7670
7671 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * add-log.el (change-log-font-lock-keywords):
7674 Highlight all authors in multi-author entries.
7675
7676 * smerge-mode.el (smerge-refine-ignore-whitespace)
7677 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7678 Fix typos in docstrings.
7679 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7680
7681 2010-05-21 Glenn Morris <rgm@gnu.org>
7682
7683 * progmodes/fortran.el (fortran-mode):
7684 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7685
7686 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7687 having a relative path in src/Makefile.in.
7688
7689 2010-05-20 Kevin Ryde <user42@zip.com.au>
7690
7691 * help-mode.el (help-make-xrefs): For Info node links turn
7692 newlines into spaces. Link node names with newlines are matched
7693 by help-xref-info-regexp and buttonized, this change ensures they
7694 can be followed successfully with RET. (Bug#6206)
7695
7696 2010-05-20 Juri Linkov <juri@jurta.org>
7697
7698 * locate.el (locate): Use pop-to-buffer instead of
7699 switch-to-buffer-other-window. (Bug#6204)
7700
7701 2010-05-20 Juri Linkov <juri@jurta.org>
7702
7703 * replace.el (replace-highlight): Fix lazy-highlighting
7704 for `M-s w str M-% str RET'.
7705
7706 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7707
7708 * isearch.el (isearch-yank-word-or-char): Pull next subword
7709 when `subword-mode' is activated. (Bug#6220)
7710
7711 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7712
7713 * isearch.el (isearch-update-post-hook): New hook.
7714 (isearch-update): Use the new hook. (Bug#6225)
7715
7716 2010-05-20 Juri Linkov <juri@jurta.org>
7717
7718 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7719 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7720 (Bug#6222)
7721
7722 2010-05-20 Juri Linkov <juri@jurta.org>
7723
7724 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7725 (Bug#6223)
7726
7727 2010-05-20 Juri Linkov <juri@jurta.org>
7728
7729 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7730 FILE-NAME to read from the minibuffer when called interactively
7731 with prefix argument instead of using buffer-file-name.
7732 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7733
7734 * dired.el: Update autoloads.
7735
7736 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7737
7738 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7739 nxml-finish-element, for consistency with SGML mode.
7740
7741 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7742 octave-close-block.
7743
7744 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7745
7746 * composite.el: Require cl when compiling.
7747 (reference-point-alist, compose-gstring-for-graphic)
7748 (compose-gstring-for-terminal): Fix typos in docstrings.
7749
7750 2010-05-19 Juri Linkov <juri@jurta.org>
7751
7752 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7753 set-window-parameter.
7754
7755 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7756
7757 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7758 where appropriate.
7759 (tramp-maybe-open-connection): Use it.
7760
7761 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7762
7763 * simple.el (move-end-of-line): Make sure we are at line beginning
7764 before backing up to end of previous line.
7765
7766 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7767
7768 * password-cache.el (password-cache-remove): Fix docstring.
7769
7770 * net/secrets.el: Autoload the widget functions.
7771 (secrets-search-items, secrets-create-item)
7772 (secrets-get-attributes, secrets-expand-item): Attributes will be
7773 stored on the password database without leading ":", as all other
7774 clients do as well.
7775 (secrets-mode): Fix docstring.
7776 (secrets-show-secrets): Provide it as autoloaded command only when
7777 D-Bus support is available. Check existence of Secret Service API.
7778
7779 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * indent.el (indent-region): Deactivate region (bug#6200).
7782
7783 2010-05-19 Glenn Morris <rgm@gnu.org>
7784
7785 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7786
7787 2010-05-19 Kenichi Handa <handa@m17n.org>
7788
7789 * composite.el: Register compose-gstring-for-graphic in
7790 composition-function-table only for combining characters (Mn, Mc, Me).
7791
7792 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7793
7794 * calc/calc-trail.el (calc-trail-isearch-forward)
7795 (calc-trail-isearch-backward): Ensure that the new window
7796 point is set correctly.
7797
7798 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7799
7800 * subr.el (read-quoted-char): Resolve modifiers after key
7801 remapping (bug#6212).
7802
7803 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7804
7805 Add visualization code for secrets.
7806 * net/secrets.el (secrets-mode): New major mode.
7807 (secrets-show-secrets, secrets-show-collections)
7808 (secrets-expand-collection, secrets-expand-item)
7809 (secrets-tree-widget-after-toggle-function)
7810 (secrets-tree-widget-show-password): New defuns.
7811
7812 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7813
7814 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7815 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7816 handled in smie-next-sexp.
7817 (smie-indent-calculate): Provide a starting indentation (so the
7818 recursion is well-founded ;-).
7819
7820 Fix handling of non-associative equal levels.
7821 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7822 when it's not needed.
7823 (smie-op-left, smie-op-right): New functions.
7824 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7825 Better handle equal levels to distinguish the associative case from
7826 the "multi-keyword construct" case.
7827 (smie-backward-sexp, smie-forward-sexp): Use it.
7828
7829 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7830
7831 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7832
7833 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7834 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7835
7836 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 Provide a simple generic indentation engine and use it for Prolog.
7839 * emacs-lisp/smie.el: New file.
7840 * progmodes/prolog.el (prolog-smie-op-levels)
7841 (prolog-smie-indent-rules): New var.
7842 (prolog-mode-variables): Use them to configure SMIE.
7843 (prolog-indent-line, prolog-indent-level): Remove.
7844
7845 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7846
7847 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7848 order before computing the averages.
7849
7850 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7851
7852 * calc/calc-vec.el (calc-histogram):
7853 (calcFunc-histogram): Allow vectors as inputs.
7854 (math-vector-avg): New function.
7855
7856 * calc/calc-ext.el (math-group-float): Have the number of digits
7857 being grouped depend on the radix (Bug#6189).
7858
7859 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7860
7861 * version.el (emacs-copyright, emacs-version): Don't define here,
7862 now that emacs.c defines it.
7863
7864 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7865
7866 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7867 "Describe Language Environment" menu item.
7868
7869 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7870
7871 Bidi-sensitive movement with arrow keys.
7872 * subr.el (right-arrow-command, left-arrow-command): New functions.
7873
7874 * bindings.el (global-map): Bind them to right and left arrow keys.
7875
7876 Don't override standard definition of convert-standard-filename.
7877 * files.el (convert-standard-filename):
7878 Call w32-convert-standard-filename and dos-convert-standard-filename on
7879 the corresponding systems.
7880
7881 * w32-fns.el (w32-convert-standard-filename): Rename from
7882 convert-standard-filename. Doc fix.
7883
7884 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7885 (convert-standard-filename): Don't defalias.
7886 (register-name-alist, make-register, register-value)
7887 (set-register-value, intdos): Obsolete aliases for the
7888 corresponding dos-* functions and variables.
7889 (dos-intdos): Add a doc string.
7890
7891 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7892
7893 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7894 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7895 (math-compose-tex-func):
7896 * calc/calccomp.el (math-compose-expr):
7897 * calc/calc-ext.el (math-format-flat-expr-fancy):
7898 * calc/calc-store.el (calc-read-var-name):
7899 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7900
7901 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7902 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7903 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7904 (math-standard-units): Add units.
7905
7906 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7907
7908 * progmodes/asm-mode.el (asm-mode):
7909 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7910
7911 * pcomplete.el (pcomplete-completions-at-point): New function,
7912 extracted from pcomplete-std-complete.
7913 (pcomplete-std-complete): Use it.
7914
7915 2010-05-15 Glenn Morris <rgm@gnu.org>
7916
7917 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7918 Remove references to CVS, RCS and Old directories.
7919
7920 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7921
7922 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7923 appropriate.
7924
7925 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7926
7927 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7928 (sh-mode-syntax-table): Give it a default value instead.
7929 (sh-header-marker): Make buffer-local.
7930 (sh-mode): Move make-local-variable to the corresponding setq.
7931 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7932 Use complete-with-action.
7933
7934 * simple.el (prog-mode): New (abstract) major mode.
7935 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7936 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7937
7938 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7939
7940 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7941 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7942 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7943 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7944 (sql-escape-newlines-filter, sql-input-sender)
7945 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7946
7947 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7948
7949 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7950
7951 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7952 latex-open-block and C-c / to latex-close-block.
7953
7954 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7955 and C-c C-e to sgml-close-tag.
7956
7957 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7958
7959 * net/tramp.el (with-progress-reporter): Create reporter object
7960 only when the message would be displayed. Handle nested calls.
7961 (tramp-handle-load, tramp-handle-file-local-copy)
7962 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7963 (tramp-maybe-send-script, tramp-find-shell):
7964 Use `with-progress-reporter'.
7965 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7966 Fix message text.
7967
7968 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7969 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7970 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7971 Use `with-progress-reporter'.
7972
7973 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7974
7975 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7976 process everytime when spellchecking from the minibuffer (bug#6143).
7977
7978 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7981
7982 * dos-fns.el: Add "dos-" prefix for namespace control.
7983 (convert-standard-filename): Define as alias for
7984 dos-convert-standard-filename but only if applicable.
7985
7986 2010-05-12 Alan Mackenzie <acm@muc.de>
7987
7988 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7989 Push the mark at the start of these functions when appropriate.
7990
7991 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7992
7993 * minibuffer.el (completion-cycle-threshold): New custom var.
7994 (completion--do-completion): Use it.
7995 (minibuffer-complete): Use cycling if appropriate.
7996
7997 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8000 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8001
8002 2010-05-11 Juri Linkov <juri@jurta.org>
8003
8004 * scroll-all.el (scroll-all-check-to-scroll):
8005 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8006
8007 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * iimage.el (iimage-mode-map): Move initialization into declaration.
8010 (iimage-mode-buffer): Use with-silent-modifications.
8011 Simplify calling convention. Adjust callers.
8012 (iimage-mode): Don't run hook redundantly.
8013
8014 * minibuffer.el (completion-pcm--pattern->regex):
8015 Fix last change (bug#6160).
8016
8017 2010-05-10 Juri Linkov <juri@jurta.org>
8018
8019 Remove nodes visited during Isearch from the Info history.
8020 * info.el (Info-isearch-initial-history)
8021 (Info-isearch-initial-history-list): New variables.
8022 (Info-isearch-start): Record initial values of
8023 Info-isearch-initial-history and Info-isearch-initial-history-list.
8024 Add Info-isearch-end to isearch-mode-end-hook.
8025 (Info-isearch-end): New function.
8026
8027 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8028
8029 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8030 format string, in order to work around a bug in pdksh.
8031 Reported by Gilles Pion <gpion@lfdj.com>.
8032 (tramp-handle-verify-visited-file-modtime): Do not send a command
8033 when the connection is not established.
8034 (tramp-handle-set-file-times): Simplify the check for utc.
8035
8036 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8037
8038 Fix use of `filter-buffer-substring' (rework previous change).
8039 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8040 (cua-repeat-replace-region):
8041 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8042 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8043 (cua-cut-region-to-global-mark): Use it.
8044
8045 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8046
8047 * progmodes/sql.el: Version 2.1.
8048 (sql-product-alist): Redesign structure of product info.
8049 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8050 (sql-port, sql-port-history): New variables.
8051 (sql-interactive-product): New variable.
8052 (sql-send-terminator): New variable.
8053 (sql-imenu-generic-expression): Add "Types" imenu entry.
8054 (sql-oracle-login-params, sql-sqlite-login-params)
8055 (sql-mysql-login-params, sql-solid-login-params)
8056 (sql-sybase-login-params, sql-informix-login-params)
8057 (sql-ingres-login-params, sql-ms-login-params)
8058 (sql-postgres-login-params, sql-interbase-login-params)
8059 (sql-db2-login-params, sql-linter-login-params)
8060 (sql-oracle-scan-on): New variables.
8061 (sql-mode-map): Add C-c C-i to start interactive mode.
8062 (sql-mode-menu): Update existing menu entries.
8063 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8064 (sql-mode-oracle-font-lock-keywords)
8065 (sql-mode-postgres-font-lock-keywords)
8066 (sql-mode-ms-font-lock-keywords)
8067 (sql-mode-sybase-font-lock-keywords)
8068 (sql-mode-informix-font-lock-keywords)
8069 (sql-mode-interbase-font-lock-keywords)
8070 (sql-mode-ingres-font-lock-keywords)
8071 (sql-mode-solid-font-lock-keywords)
8072 (sql-mode-mysql-font-lock-keywords)
8073 (sql-mode-sqlite-font-lock-keywords)
8074 (sql-mode-db2-font-lock-keywords)
8075 (sql-mode-linter-font-lock-keywords): Update initialization to
8076 reduce run-time complexity.
8077 (sql-add-product, sql-del-product): New functions.
8078 (sql-set-product-feature, sql-get-product-feature): New functions.
8079 (sql-product-font-lock): Update product API.
8080 (sql-add-product-keywords): New function.
8081 (sql-highlight-product): Update product API.
8082 (sql-help-list-products): New function.
8083 (sql-help): Dynamically lists free and non-free products.
8084 (sql-get-login): Correct bug in handling history and added
8085 prompt for port.
8086 (sql-copy-column): Copy without properties.
8087 (sqli-input-sender): Apply filters to SQLi input.
8088 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8089 Implement as a filter.
8090 (sql-escape-newlines-filter): Implement as a filter.
8091 (sql-remove-tabs-filter): New function.
8092 (sql-send-magic-terminator): New function.
8093 (sql-send-string): Implement magic terminator.
8094 (sql-send-region): Use `sql-send-string'.
8095 (sql-interactive-mode): Use product API.
8096 (sql-product-interactive): Use product API.
8097 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8098 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8099 (sql-db2, sql-linter): Use `sql-product-interactive'.
8100 (sql-connect): New function.
8101 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8102 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8103 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8104 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8105 Use `sql-connect'.
8106
8107 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8110 New custom variable.
8111 (completion-pcm--string->pattern): Use it.
8112 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8113 Make it handle any symbol as `any'.
8114 (completion-pcm--merge-completions): Extract common suffix for the new
8115 `prefix' symbol as well.
8116 (completion-substring--all-completions): Use the new `prefix' symbol.
8117
8118 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8119
8120 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8121 not bound.
8122 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8123 (tramp-compat-funcall): New defmacro.
8124 (tramp-compat-line-beginning-position)
8125 (tramp-compat-line-end-position)
8126 (tramp-compat-temporary-file-directory)
8127 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8128 (tramp-compat-copy-file, tramp-compat-copy-directory)
8129 (tramp-compat-delete-file, tramp-compat-delete-directory)
8130 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8131 * net/tramp.el (top, with-progress-reporter)
8132 (tramp-rfn-eshadow-setup-minibuffer)
8133 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8134 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8135 (tramp-completion-mode-p, tramp-check-for-regexp)
8136 (tramp-open-connection-setup-interactive-shell)
8137 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8138 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8139 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8140 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8141 (tramp-reporter-dump-variable, tramp-load-report-modules)
8142 (tramp-append-tramp-buffers)
8143 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8144
8145 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8146
8147 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8150 buffer-modtime. Adjust users.
8151
8152 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8153
8154 * international/mule.el (auto-coding-alist): Only purecopy
8155 car of each item, not the whole list (Bug#6083).
8156
8157 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8158
8159 * progmodes/js.el (js-mode): Make paragraph variables local before
8160 calling c-setup-paragraph-variables (Bug#6071).
8161
8162 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8163
8164 * composite.el (compose-region, reference-point-alist): Fix typos
8165 in the doc strings.
8166
8167 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8168
8169 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8170 gnuplot's "set" command.
8171
8172 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8173
8174 * abbrev.el (last-abbrev-text): Doc fix.
8175 (abbrev-prefix-mark): Don't escape parenthesis.
8176
8177 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8178
8179 * composite.el (find-composition): Doc fix.
8180
8181 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8182
8183 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8184 (sql-oracle-program, sql-sqlite-options)
8185 (sql-query-placeholders-and-send): Doc fixes.
8186 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8187 (sql-imenu-generic-expression, sql-buffer)
8188 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8189 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8190 (sql-mode-sybase-font-lock-keywords)
8191 (sql-mode-informix-font-lock-keywords)
8192 (sql-mode-interbase-font-lock-keywords)
8193 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8194 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8195 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8196 (sql-product-feature, sql-highlight-product)
8197 (comint-line-beginning-position, sql-rename-buffer)
8198 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8199 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8200 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8201 Fix typos in docstrings.
8202
8203 2010-05-08 Juri Linkov <juri@jurta.org>
8204
8205 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8206 property instead of `invisible' and `after-string' (bug#5998).
8207
8208 2010-05-08 Juri Linkov <juri@jurta.org>
8209
8210 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8211
8212 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8213
8214 * filecache.el (file-cache-add-directory-list)
8215 (file-cache-add-directory-recursively): Fix typos in docstrings.
8216
8217 2010-05-08 Kenichi Handa <handa@m17n.org>
8218
8219 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8220 (gujarati-composable-pattern): Fix typo.
8221
8222 2010-05-08 Kenichi Handa <handa@m17n.org>
8223
8224 * language/indian.el (oriya-composable-pattern)
8225 (tamil-composable-pattern, malayalam-composable-pattern):
8226 Add two-part vowels to "v" (vowel sign).
8227
8228 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8229
8230 * files.el (copy-directory): Handle symlinks (Bug#5982).
8231
8232 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8233
8234 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8235 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8236 (Bug#5846).
8237
8238 2010-05-08 Glenn Morris <rgm@gnu.org>
8239
8240 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8241
8242 * minibuffer.el (completion-at-point): Doc fix.
8243
8244 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * electric.el (Electric-command-loop): Minor tweak.
8247
8248 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8249 better with dedicated windows.
8250
8251 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8252
8253 * Version 23.2 released.
8254
8255 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8256 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 Highlight vendor specific properties.
8259 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8260 (css-proprietary-property): New face.
8261 (css-font-lock-keywords): Use them.
8262
8263 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8264
8265 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8266
8267 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8270 * files.el (auto-mode-alist): Remove redundant entries.
8271
8272 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8273 * simple.el (auto-save-mode): Move from files.el.
8274 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8275
8276 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8277
8278 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8279
8280 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8281
8282 * mail/binhex.el (binhex-decode-region-internal)
8283 * mail/uudecode.el (uudecode-decode-region-internal)
8284 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8285 (dns-read-type, dns-query)
8286 * pgg-parse.el (pgg-parse-armor)
8287 * pgg.el (pgg-verify-region)
8288 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8289 XEmacs.
8290
8291 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8292
8293 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8294
8295 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8296
8297 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8298 * emulation/cua-base.el (cua-repeat-replace-region):
8299 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8300 (cua-cut-region-to-global-mark):
8301 Remove text properties with `set-text-properties'.
8302
8303 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8304
8305 * net/tramp.el (top, with-progress-reporter):
8306 Use `symbol-function' inside `funcall'.
8307
8308 * net/tramp-compat.el (tramp-compat-file-attributes)
8309 (tramp-compat-delete-file, tramp-compat-delete-directory):
8310 Handle only `wrong-number-of-arguments' error.
8311
8312 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8313 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8314 inside `funcall'.
8315
8316 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * minibuffer.el (completion--sreverse, completion--common-suffix):
8319 New functions.
8320 (completion-pcm--merge-completions): Extract common suffix when safe.
8321
8322 * emacs-lisp/easy-mmode.el (define-minor-mode):
8323 Make :variable more flexible.
8324 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8325
8326 2010-05-05 Juri Linkov <juri@jurta.org>
8327
8328 Add `slow' and `history' tags to the desktop data.
8329
8330 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8331 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8332 (Info-finder-find-node): Require `finder.el' to be able
8333 to restore node from the desktop.
8334 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8335 data `Info-history' and `slow' tag in the assoc list.
8336 (Info-restore-desktop-buffer): Don't restore nodes with the
8337 `slow' tag. Restore `Info-history'.
8338
8339 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8340
8341 Add FORCE argument to `delete-file'.
8342
8343 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8344 forcing to delete the temporary file.
8345 (ange-ftp-delete-file): Add FORCE arg.
8346 (ange-ftp-rename-remote-to-remote)
8347 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8348 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8349 Force file deletion.
8350
8351 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8352
8353 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8354 (tramp-handle-make-symbolic-link, tramp-handle-load)
8355 (tramp-do-copy-or-rename-file-via-buffer)
8356 (tramp-do-copy-or-rename-file-directly)
8357 (tramp-do-copy-or-rename-file-out-of-band)
8358 (tramp-handle-process-file, tramp-handle-call-process-region)
8359 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8360 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8361 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8362
8363 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8364 (tramp-fish-handle-make-symbolic-link)
8365 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8366
8367 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8368 Use `tramp-compat-delete-file'.
8369
8370 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8371 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8372
8373 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8374 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8375
8376 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8377 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8378 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8379 Use `tramp-compat-delete-file'.
8380
8381 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 Minor cleanups.
8384 * subr.el (add-minor-mode): Use push.
8385 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8386 * emulation/edt.el (edt-select-mode): Simplify.
8387
8388 Use define-minor-mode in more cases.
8389 * term/tvi970.el (tvi970-set-keypad-mode):
8390 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8391 (normal-erase-is-backspace-mode):
8392 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8393 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8394 (get-scroll-bar-mode): New function.
8395 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8396
8397 Use define-minor-mode for less obvious cases.
8398 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8399 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8400 * international/iso-ascii.el (iso-ascii-mode):
8401 * frame.el (auto-raise-mode, auto-lower-mode):
8402 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8403
8404 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8405
8406 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8407 in order to see error messages for failed logins.
8408
8409 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8410
8411 * diff.el (diff-sentinel):
8412
8413 * epg.el (epg--make-temp-file, epg-decrypt-string)
8414 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8415
8416 * jka-compr.el (jka-compr-partial-uncompress)
8417 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8418
8419 * server.el (server-sentinel): Use delete-file's new FORCE arg
8420 (Bug#6070).
8421
8422 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8423
8424 Use define-minor-mode where applicable.
8425 * view.el (view-mode):
8426 * type-break.el (type-break-query-mode)
8427 (type-break-mode-line-message-mode):
8428 * textmodes/reftex.el (reftex-mode):
8429 * term/vt100.el (vt100-wide-mode):
8430 * tar-mode.el (tar-subfile-mode):
8431 * savehist.el (savehist-mode):
8432 * ibuf-ext.el (ibuffer-auto-mode):
8433 * composite.el (auto-composition-mode):
8434 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8435 Use define-minor-mode.
8436 (vhdl-mode): Use static mode-line format.
8437 (vhdl-mode-line-update): Delete.
8438 (vhdl-create-mode-menu, vhdl-activate-customizations)
8439 (vhdl-hs-minor-mode): Don't bother calling it.
8440
8441 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8442
8443 * simple.el (with-wrapper-hook): Move.
8444 (buffer-substring-filters): Mark obsolete.
8445 (filter-buffer-substring-functions): New variable.
8446 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8447
8448 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8449 Michael Albinus <michael.albinus@gmx.de>
8450
8451 Implement compression for inline methods.
8452
8453 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8454 (tramp-copy-size-limit): Allow also nil.
8455 (tramp-inline-compress-commands): New defconst.
8456 (tramp-find-inline-compress, tramp-get-inline-compress)
8457 (tramp-get-inline-coding): New defuns.
8458 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8459 replaced by `tramp-get-inline-coding'.
8460 (tramp-handle-file-local-copy, tramp-handle-write-region)
8461 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8462
8463 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8466 Remove unused functions.
8467
8468 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8469 Set find-tag-default-function as a variable rather than a property.
8470
8471 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8472 * progmodes/etags.el (tags-completion-at-point-function):
8473 Remove left over interactive spec. Add autoloading stub.
8474 (complete-tag): Use tags-completion-at-point-function.
8475
8476 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8477
8478 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8479
8480 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8481
8482 * ido.el (ido-init-completion-maps): Remove C-v binding.
8483 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8484
8485 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8486
8487 * minibuffer.el (tags-completion-at-point-function): New function.
8488 (completion-at-point-functions): Use it.
8489
8490 * progmodes/etags.el (complete-tag): Revert last change.
8491
8492 2010-04-29 Alan Mackenzie <acm@muc.de>
8493
8494 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8495 off-by-one error (in end of macro position).
8496
8497 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8498
8499 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8500 firefox is absent. Don't autoload.
8501 (browse-url-galeon-program): Don't autoload.
8502
8503 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8504
8505 * bindings.el (complete-symbol): Move into minibuffer.el.
8506
8507 * minibuffer.el (complete-tag): Move from etags.el. If tags
8508 completion cannot be performed, return nil instead of signalling
8509 an error.
8510 (completion-at-point): Make it an alias for complete-symbol.
8511 (complete-symbol): Move from bindings.el, and replace with the
8512 body of completion-at-point.
8513
8514 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8515
8516 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8517
8518 * net/tramp.el (tramp-remote-selinux-p): New defun.
8519 (tramp-handle-file-selinux-context)
8520 (tramp-handle-set-file-selinux-context): Use it.
8521
8522 2010-04-28 Sam Steingold <sds@gnu.org>
8523
8524 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8525 `safe-local-variable' if the value is a string or a symbol with
8526 the property `bug-reference-url-format'.
8527
8528 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8529
8530 * progmodes/bug-reference.el (bug-reference-url-format):
8531 Revert 2010-04-27 change due to security risk.
8532
8533 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 Make it possible to locally disable a globally enabled mode.
8536 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8537 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8538 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8539 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8540 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8541 that subsequent hooks get a chance to disable it.
8542
8543 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8546 Avoid re-enabling a minor mode after the user turned the minor mode
8547 off if MODE-enable-in-buffers is run twice (typically once from
8548 fundamental-mode's after-change-major-mode-hook and a second time from
8549 run-mode-hook's own after-change-major-mode-hook).
8550
8551 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8552
8553 2010-04-27 Sam Steingold <sds@gnu.org>
8554
8555 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8556 `safe-local-variable' if the value is a string or a function, as
8557 documented and implemented on 2010-04-02.
8558
8559 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8560
8561 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8562 when method is 'kill.
8563
8564 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8565
8566 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8567 condition in default directory check.
8568 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8569 Kill ispell process when killing its associated buffer.
8570
8571 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8572
8573 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8574 but we aren't using it.
8575
8576 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8577
8578 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8579 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8580
8581 2010-04-24 Glenn Morris <rgm@gnu.org>
8582
8583 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8584 Ignore VCS-ignore files, and deleted nextstep preferences files.
8585 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8586 (authors-ambiguous-files): New list.
8587 (authors-valid-file-names): Add some deleted files.
8588 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8589 (authors-disambiguate-file-name): New function. (Bug#5501)
8590 (authors-canonical-file-name): Doc fix.
8591 Don't warn about obsolete files.
8592 (authors-canonical-file-name, authors-scan-el):
8593 Use authors-disambiguate-file-name.
8594
8595 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8596 Add autoload cookies.
8597 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8598 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8599 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8600 They have definitions / compiler macros in cl.el.
8601 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8602 Replace manual autoloads with generated ones.
8603 (htmlfontify-unload-rgb-file): Remove autoload.
8604 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8605
8606 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8607
8608 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8609 (byte-compile-setq-default): Optimize for the
8610 single-var case and don't call byte-compile-form in this case to avoid
8611 inf-loop with byte-compile-set-default.
8612
8613 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8614
8615 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8616
8617 Implement SELINUX backends.
8618
8619 * net/tramp.el (tramp-file-name-handler-alist):
8620 Add `file-selinux-context' and `set-file-selinux-context'.
8621 (tramp-handle-file-selinux-context)
8622 (tramp-handle-set-file-selinux-context): New defuns.
8623 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8624 Handle PRESERVE-SELINUX-CONTEXT.
8625
8626 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8627 Add `file-selinux-context' and `set-file-selinux-context'.
8628 (tramp-gvfs-handle-file-selinux-context)
8629 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8630 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8631
8632 * net/ange-ftp.el (ange-ftp-copy-file):
8633 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8634 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8635 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8636 Add PRESERVE-SELINUX-CONTEXT.
8637
8638 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8639
8640 Synchronize with Tramp repository.
8641
8642 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8643 (tramp-action-process-alive, tramp-action-out-of-band)
8644 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8645 (tramp-exists-file-name-handler): Fix docstring.
8646 (with-progress-reporter): New defmacro.
8647 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8648 (tramp-maybe-open-connection): Use it.
8649
8650 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8651
8652 Detect ssh 'ControlMaster' argument automatically in some cases.
8653
8654 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8655 (tramp-default-method): Use it.
8656
8657 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8658
8659 * net/tramp.el (tramp-handle-copy-file): Add new optional
8660 parameter `preserve-selinux-context'.
8661 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8662
8663 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8664
8665 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8666 Ensure, that non remote files are still checked. Oops.
8667
8668 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8669
8670 Fix Bug#5840.
8671
8672 * icomplete.el (icomplete-completions): Use `non-essential'.
8673
8674 * net/tramp.el (tramp-connectable-p): New defun.
8675 (tramp-handle-expand-file-name)
8676 (tramp-completion-handle-file-name-all-completions)
8677 (tramp-completion-handle-file-name-completion): Use it.
8678
8679 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8680
8681 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8682
8683 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8684
8685 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8686
8687 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8688
8689 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8690 is present.
8691
8692 * info.el (info-tool-bar-map): Add labels.
8693
8694 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8695
8696 * cus-edit.el (custom-commands): Add labels for tool bar.
8697 (custom-buffer-create-internal, Custom-mode): Adjust for
8698 labels in custom-commands.
8699
8700 * dynamic-setting.el: Renamed from font-setting.el.
8701
8702 2010-04-21 John Wiegley <jwiegley@gmail.com>
8703
8704 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8705 toggles the use of virtual buffers.
8706 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8707 (ido-toggle-virtual-buffers): New function.
8708
8709 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8710
8711 Use `define-derived-mode'; fix window selection; doc fixes.
8712 * play/tetris.el (tetris, tetris-update-speed-function)
8713 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8714 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8715 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8716 (tetris-pause-game): Fix typos in docstrings.
8717 (tetris-mode-map, tetris-null-map):
8718 Move initialization into declaration.
8719 (tetris-mode): Define with `define-derived-mode';
8720 set show-trailing-whitespace to nil.
8721 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8722
8723 2010-04-21 Karel Klíč <kklic@redhat.com>
8724
8725 * files.el (backup-buffer): Handle SELinux context, and return it
8726 if a backup was made by renaming.
8727 (backup-buffer-copy): Set SELinux context to the target file.
8728 (basic-save-buffer): Set SELinux context of the newly written file.
8729 (basic-save-buffer-1): Now it also returns any SELinux context.
8730 (basic-save-buffer-2): Set SELinux context of the newly created file,
8731 and return it.
8732 * net/tramp.el (tramp-file-name-for-operation):
8733 Add file-selinux-context.
8734
8735 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 Make the log-edit comments use RFC822 format throughout.
8738
8739 * vc.el (vc-checkin, vc-modify-change-comment):
8740 Adjust to new vc-start/finish-logentry.
8741 (vc-find-conflicted-file): New command.
8742 (vc-transfer-file): Adjust to new vc-checkin.
8743 (vc-next-action): Improve scoping.
8744
8745 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8746 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8747
8748 * vc-git.el (vc-git-log-edit-mode): Remove.
8749 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8750 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8751
8752 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8753 (vc-start-logentry): Remove argument `extra'.
8754 (vc-finish-logentry): Remove extra args.
8755
8756 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8757 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8758 (vc-bzr-conflicted-files): New function.
8759
8760 * log-edit.el (log-edit-extra-flags)
8761 (log-edit-before-checkin-process): Remove.
8762 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8763 (log-edit-headers-alist): New var.
8764 (log-edit-header-contents-regexp): New const.
8765 (log-edit-match-to-eoh): New function.
8766 (log-edit-font-lock-keywords): Use them.
8767 (log-edit): Insert a "Summary:" header as default.
8768 (log-edit-mode): Mark font-lock rules as case-insensitive.
8769 (log-edit-done): Cleanup headers.
8770 (log-view-process-buffer): Remove.
8771 (log-edit-extract-headers): New function to replace it.
8772
8773 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8774
8775 * subr.el (default-direction-reversed): Remove obsolescence info.
8776
8777 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8780 windows/frames.
8781
8782 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8783 I.e. include text after point in the completion region.
8784 Also, return nil when we're not after/in a symbol.
8785
8786 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8787 default enable-multibyte-characters.
8788
8789 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * international/mule.el: Help the user choose a valid coding-system.
8792 (read-buffer-file-coding-system): New function.
8793 (set-buffer-file-coding-system): Use it. Prompt the user if the
8794 coding-system cannot encode all the chars.
8795
8796 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8797 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8798 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8799 Don't use *vc-bzr-shelve*.
8800
8801 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8802
8803 Fix the version number for added files.
8804 * vc-hg.el (vc-hg-working-revision): Check if the file is
8805 registered after hg parent fails (Bug#5961).
8806
8807 2010-04-19 Glenn Morris <rgm@gnu.org>
8808
8809 * htmlfontify.el (htmlfontify-buffer)
8810 (htmlfontify-copy-and-link-dir): Autoload entry points.
8811
8812 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8813
8814 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8815 name relative to the project root (Bug#5960).
8816
8817 2010-04-19 Glenn Morris <rgm@gnu.org>
8818
8819 * vc-git.el (vc-git-print-log): Doc fix.
8820
8821 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8822
8823 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8824
8825 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8826
8827 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8828 default settings (Bug#5928).
8829
8830 2010-04-19 Glenn Morris <rgm@gnu.org>
8831
8832 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8833 New function.
8834 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8835
8836 2010-04-19 Kenichi Handa <handa@m17n.org>
8837
8838 * language/indian.el (malayalam-composable-pattern): Fix previous
8839 change (add U+0D4D "SIGN VIRAMA").
8840 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8841 (tamil-composable-pattern): Fix typo in the regexp.
8842 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8843 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8844 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8845
8846 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8847
8848 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8849 paragraph-separate (Bug#5821).
8850
8851 2010-04-19 Juri Linkov <juri@jurta.org>
8852
8853 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8854
8855 * info.el (Info-find-node-2): Comment out code that skips
8856 breadcrumbs line.
8857 (Info-mouse-follow-link): New command.
8858 (Info-link-keymap): New keymap.
8859 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8860 Return a string with links instead of inserting breadcrumbs
8861 to the Info buffer.
8862 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8863 Instead of putting the `invisible' text property over the Info
8864 header, make an overlay over the Info header with the `invisible'
8865 property and `after-string' set to the string returned by
8866 `Info-breadcrumbs'.
8867
8868 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8869
8870 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8871 Reported by monkey@sandpframing.com.
8872
8873 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8876 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8877 available in the "keyseq cache" any more.
8878
8879 * custom.el (defcustom): Add edebug spec.
8880
8881 2010-04-18 Juri Linkov <juri@jurta.org>
8882
8883 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8884
8885 * view.el (view-file, view-buffer): Move test for special mode-class
8886 from view-file to view-buffer.
8887
8888 * tar-mode.el (tar-extract): Turn if's into one cond
8889 like in arc-mode.el.
8890
8891 2010-04-18 Juri Linkov <juri@jurta.org>
8892
8893 Add 7z archive format support (bug#5475).
8894
8895 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8896 (archive-7z-extract): New defcustom.
8897 (archive-find-type): Add magic string for 7z.
8898 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8899 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8900 `buffer' arg of `call-process'.
8901 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8902 call the function `archive-7z-extract' with the variable
8903 `archive-7z-extract' let-bound to `archive-zip-extract'.
8904 (archive-7z-summarize, archive-7z-extract): New functions.
8905
8906 * international/mule.el (auto-coding-alist):
8907 * files.el (auto-mode-alist): Add 7z file extension.
8908
8909 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8910
8911 * loadup.el: Setup hash-cons for pure data.
8912
8913 Fix duplicate entries in cedet's loaddefs.el files.
8914 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8915 Should make most file-local generated-autoload-file unnecessary.
8916 (print-readably): Silence warnings.
8917 (autoload-find-destination): Take load-name as an arg to make sure
8918 it's the same as the one that will be in the file.
8919 (autoload-generate-file-autoloads): Adjust to above changes.
8920 Try to make the dataflow a bit simpler.
8921
8922 * cvs-status.el (cvs-refontify): Remove unused.
8923
8924 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8925
8926 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8927
8928 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8929 twos-complement mode.
8930
8931 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8932
8933 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8934 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8935 (calc-inverse): Add "Option" to message, as appropriate.
8936 (calc-hyperbolic): Add "Option" to message, as appropriate.
8937 (calc-option, calc-is-option): New functions.
8938
8939 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8940 (calc-option-prefix-help): New function.
8941
8942 * calc/calc-misc.el (calc-help): Add "Option" entry.
8943
8944 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8945 (calc-option-flag): New variable.
8946 (calc-do): Set `calc-option-flag to nil.
8947 (calc-set-mode-line): Add "Opt " as appropriate.
8948
8949 2010-04-16 Juri Linkov <juri@jurta.org>
8950
8951 Move scrolling commands from simple.el to window.el
8952 because their primitives are implemented in window.c.
8953
8954 * simple.el (scroll-error-top-bottom)
8955 (scroll-up-command, scroll-down-command, scroll-up-line)
8956 (scroll-down-line, scroll-other-window-down)
8957 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8958 * window.el (scroll-error-top-bottom)
8959 (scroll-up-command, scroll-down-command, scroll-up-line)
8960 (scroll-down-line, scroll-other-window-down)
8961 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8962 Move from simple.el to window.el because their primitives are
8963 implemented in window.c.
8964
8965 2010-04-16 Juri Linkov <juri@jurta.org>
8966
8967 * isearch.el (isearch-lookup-scroll-key): Check both
8968 `isearch-scroll' and `scroll-command' properties.
8969 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8970
8971 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8972
8973 * simple.el (scroll-up-command, scroll-down-command)
8974 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8975
8976 2010-04-15 Juri Linkov <juri@jurta.org>
8977
8978 * simple.el (scroll-up-command, scroll-down-command)
8979 (scroll-up-line, scroll-down-line): Put `scroll-command'
8980 property on the these symbols. Remove them from
8981 `scroll-preserve-screen-position-commands'.
8982
8983 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8984 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8985 Remove it from `scroll-preserve-screen-position-commands'.
8986
8987 * isearch.el (isearch-allow-scroll): Doc fix.
8988
8989 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8990
8991 * net/tramp.el (tramp-error-with-buffer): Don't show the
8992 connection buffer when we are in completion mode.
8993 (tramp-file-name-handler): Catch the error for some operations
8994 when we are in completion mode. This gives the user the chance to
8995 correct the file name in the minibuffer.
8996
8997 2010-04-15 Glenn Morris <rgm@gnu.org>
8998
8999 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9000
9001 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9002
9003 Simplify by using `define-derived-mode'.
9004 * info.el (Info-mode):
9005 * calendar/todo-mode.el (todo-mode):
9006 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9007 (gomoku-mode-map): Move initialization into declaration.
9008
9009 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9010
9011 Fix Bug#5840.
9012 * ido.el (ido-file-name-all-completions-1):
9013 * minibuffer.el (minibuffer-completion-help):
9014 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9015
9016 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * simple.el (non-essential): New var.
9019
9020 Add a new field `location' to bookmarks for non-file bookmarks.
9021 * bookmark.el (bookmark-location): Use the new field, if present.
9022 (bookmark-insert-location): Undo last change, not needed any more.
9023 * man.el (Man-bookmark-make-record):
9024 * woman.el (woman-bookmark-make-record): Add `location' field.
9025
9026 2010-04-14 Juri Linkov <juri@jurta.org>
9027
9028 * simple.el (scroll-error-top-bottom): New defcustom.
9029 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9030
9031 * emulation/pc-select.el (pc-select-override-scroll-error):
9032 Obsolete in favor of `scroll-error-top-bottom'.
9033
9034 2010-04-14 Juri Linkov <juri@jurta.org>
9035
9036 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9037 `scroll-up-command' and `M-v' to `scroll-down-command'.
9038
9039 * emulation/cua-rect.el (cua--init-rectangles):
9040 * forms.el (forms--change-commands):
9041 * image-mode.el (image-mode-map):
9042 Remap scroll-down-command and scroll-up-command
9043 in addition to scroll-down and scroll-up.
9044
9045 2010-04-14 Juri Linkov <juri@jurta.org>
9046
9047 * mwheel.el (scroll-preserve-screen-position-commands):
9048 Add mwheel-scroll to this list of commands.
9049
9050 * simple.el (scroll-preserve-screen-position-commands):
9051 Add scroll-up-command, scroll-down-command, scroll-up-line,
9052 scroll-down-line to this list of commands.
9053
9054 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 * obsolete/complete.el: Move from lisp/complete.el.
9057
9058 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9059
9060 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9061 to the minor mode function now turns the mode ON unconditionally.
9062
9063 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * vc-dir.el (vc-dir-kill-line): New command.
9066 (vc-dir-mode-map): Bind it to C-k.
9067
9068 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9069
9070 * woman.el: Add bookmark declarations to silence the compiler.
9071 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9072 step to compatibility between man and woman bookmarks.
9073 Adjust for Man-default-bookmark-title renaming.
9074 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9075
9076 * man.el: Add bookmark declarations to silence the compiler.
9077 (Man-name-local-regexp): Make it match NAME as well.
9078 (Man-getpage-in-background): Return the buffer.
9079 (Man-notify-when-ready): Use `case'.
9080 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9081 Don't hardcode "NAME". Simplify.
9082 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9083 Rename from Man-bookmark-make-record.
9084 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9085 we have the actual man-args. Use Man-getpage-in-background rather
9086 than `man' since the arg is already processed. Let bookmark.el do the
9087 window handling. Only wait for the relevant process.
9088 Don't forget to autoload.
9089
9090 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9091
9092 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9093
9094 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9095 New functions.
9096 (woman-mode): Setup bookmark support.
9097
9098 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9099 (man-bookmark-jump): New functions.
9100 (Man-mode): Setup bookmark support.
9101
9102 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9103
9104 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9105 recognize ssh-keygen prompt (Bug#2817).
9106
9107 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9108
9109 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9110
9111 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9112
9113 Synchronize with Tramp repository.
9114
9115 * net/tramp.el (tramp-completion-function-alist)
9116 (tramp-file-name-regexp, tramp-chunksize)
9117 (tramp-local-coding-commands, tramp-remote-coding-commands):
9118 Fix docstring.
9119 (tramp-remote-process-environment): Use `format' instead of `concat'.
9120 (tramp-handle-directory-files-and-attributes)
9121 (tramp-get-remote-path): Use `copy-tree'.
9122 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9123 compatibility: Use `completion-ignore-case' if
9124 `read-file-name-completion-ignore-case' does not exist.
9125 (tramp-do-copy-or-rename-file-directly): Do not use
9126 `tramp-handle-file-remote-p'.
9127 (tramp-do-copy-or-rename-file-out-of-band):
9128 Use `tramp-compat-delete-directory'.
9129 (tramp-do-copy-or-rename-file-out-of-band)
9130 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9131 Use `format-spec-make'.
9132 (tramp-find-foreign-file-name-handler)
9133 (tramp-advice-make-auto-save-file-name)
9134 (tramp-set-auto-save-file-modes): Remove superfluous check for
9135 `stringp'. This is done inside `tramp-tramp-file-p'.
9136 (tramp-debug-outline-regexp): New defconst.
9137 (tramp-get-debug-buffer): Use it.
9138 (tramp-check-for-regexp): Use (forward-line 1).
9139 (tramp-set-auto-save-file-modes): Adapt version check.
9140
9141 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9142 Wrap call of `featurep' for 2nd argument.
9143 (tramp-compat-make-temp-file): Simplify fallback implementation.
9144 (tramp-compat-copy-tree): Remove function.
9145 (tramp-compat-delete-directory): Provide implementation for older
9146 Emacsen.
9147
9148 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9149 Do not use `tramp-fish-handle-file-attributes.
9150
9151 * net/trampver.el: Update release number.
9152
9153 2010-04-10 Glenn Morris <rgm@gnu.org>
9154
9155 * progmodes/compile.el (compilation-save-buffers-predicate):
9156 Add missing :version tag.
9157
9158 2010-04-09 Sam Steingold <sds@gnu.org>
9159
9160 * progmodes/compile.el (compilation-save-buffers-predicate):
9161 Remove the "autoload" cookie.
9162
9163 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9164 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9165 and `bug-reference-prog-mode' can be used in hooks directly.
9166
9167 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9168
9169 Add --author support to git commit.
9170 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9171 (vc-git-log-edit-mode): New minor mode.
9172 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9173 New declarations.
9174
9175 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9176
9177 * vc-hooks.el, vc-git.el: Improve documentation comments.
9178
9179 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 Fix some of the problems in defsubst* (bug#5728).
9182 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9183 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9184
9185 2010-04-07 Sam Steingold <sds@gnu.org>
9186
9187 * progmodes/compile.el (compilation-save-buffers-predicate):
9188 New custom variable.
9189 (compile, recompile): Pass it to `save-some-buffers'.
9190
9191 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9192
9193 * wid-edit.el (widget-choose): Move cursor to the second line of
9194 the buffer (Bug#5695).
9195
9196 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9197
9198 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9199 * vc.el (vc-print-log-setup-buttons): New function split out from
9200 vc-print-log-internal.
9201 (vc-log-internal-common): New function, a parametrized version of
9202 vc-print-log-internal.
9203 (vc-print-log-internal): Just call vc-log-internal-common with the
9204 right arguments.
9205 (vc-incoming-outgoing-internal):
9206 (vc-log-incoming, vc-log-outgoing): New functions.
9207 (vc-log-view-type): New permanent local variable.
9208
9209 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9210
9211 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9212 of the dynamic bound vc-short-log.
9213 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9214
9215 * vc-git.el (vc-git-log-outgoing): New function.
9216 (vc-git-log-view-mode): Use vc-log-view-type instead
9217 of the dynamic bound vc-short-log.
9218
9219 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9220 of the dynamic bound vc-short-log. Highlight the tag.
9221 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9222 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9223 (vc-hg-incoming-mode): Remove.
9224 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9225
9226 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9227
9228 Fix default-directory for vc-root-diff.
9229 * vc.el (vc-root-diff): Bind default-directory to the root
9230 directory for the diff command.
9231
9232 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9233
9234 * progmodes/verilog-mode.el (verilog-forward-sexp):
9235 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9236 word keywords, suggested by Steve Pearlmutter.
9237 (verilog-pretty-declarations): Support lineup of declarations in
9238 port lists.
9239 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9240 fix bug for /* / comments.
9241 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9242 Speed up and simplfy as this is never called with a bound.
9243 (verilog-pretty-declarations): Enhance to line up declarations
9244 inside a parameter list, suggested by Alan Morgan.
9245 (verilog-pretty-expr): Tune assignment regular expression match
9246 string for corner cases; also use markers instead of character
9247 number as indent changes the later.
9248
9249 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9250
9251 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9252 as missing keyword.
9253 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9254 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9255 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9256 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9257 Tennant.
9258 (verilog-keywords):
9259 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9260 1800-2009 keywords, including "global.".
9261
9262 2010-04-06 John Wiegley <jwiegley@gmail.com>
9263
9264 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9265 appearing in buffer list (if a live buffer name matched a recentf
9266 file basename). Should use uniquify to offer a real solution.
9267
9268 2010-04-06 John Wiegley <jwiegley@gmail.com>
9269
9270 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9271 comment to code, and add a :version tag.
9272 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9273
9274 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9275
9276 Enable recentf-mode if using virtual buffers.
9277 * ido.el (recentf-list): Declare for byte-compiler.
9278 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9279 (ido-make-buffer-list): Simplify.
9280 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9281
9282 2010-04-05 Juri Linkov <juri@jurta.org>
9283
9284 Scrolling commands which scroll a line instead of full screen.
9285 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9286
9287 * simple.el (scroll-up-line, scroll-down-line): New commands.
9288 Put property isearch-scroll=t on them.
9289
9290 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9291 Remove commands.
9292
9293 2010-04-05 Juri Linkov <juri@jurta.org>
9294
9295 Scrolling commands which do not signal errors at top/bottom.
9296 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9297
9298 * simple.el (scroll-up-command, scroll-down-command): New commands.
9299 Put property isearch-scroll=t on them.
9300
9301 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9302 `scroll-down-command' and [next] from `scroll-up' to
9303 `scroll-up-command'.
9304
9305 * emulation/cua-base.el: Put property CUA=move on
9306 `scroll-up-command' and `scroll-down-command'.
9307 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9308 and `scroll-down-command' to `cua-scroll-down'.
9309
9310 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9311
9312 * help.el (describe-mode): Return nil.
9313
9314 2010-04-04 John Wiegley <jwiegley@gmail.com>
9315
9316 * ido.el (ido-use-virtual-buffers): New variable to indicate
9317 whether "virtual buffer" support is enabled for IDO.
9318 (ido-virtual): Face used to indicate virtual buffers in the list.
9319 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9320 exists, but a virtual buffer of that name does (which would be why
9321 it was in the list), recreate the buffer by reopening the file.
9322 (ido-make-buffer-list): If virtual buffers are being used, call
9323 `ido-add-virtual-buffers-to-list' before the make list hook.
9324 (ido-virtual-buffers): New variable which contains a copy of the
9325 current contents of the `recentf-list', albeit pared down for the
9326 sake of speed, and with proper faces applied.
9327 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9328 create a list of "virtual buffers" to present to the user in
9329 addition to the currently open set. Note that this logic could
9330 get rather slow if that list is too large. With the default
9331 `recentf-max-saved-items' of 200, there is little speed penalty.
9332
9333 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9334
9335 * font-lock.el: Require CL when compiling.
9336 (font-lock-turn-on-thing-lock): Use `case'.
9337
9338 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9339
9340 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9341 Zaretskii.
9342
9343 2010-04-02 Juri Linkov <juri@jurta.org>
9344
9345 * ehelp.el (electric-help-orig-major-mode):
9346 New buffer-local variable.
9347 (electric-help-mode): Set it to original major-mode. Doc fix.
9348 (with-electric-help): Use `electric-help-orig-major-mode' instead
9349 of (default-value 'major-mode). Doc fix.
9350 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9351
9352 2010-04-02 Sam Steingold <sds@gnu.org>
9353
9354 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9355 `vc-hg-command' with a list of flags.
9356
9357 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9358 Also accept "patch" and "RFE".
9359 (bug-reference-fontify): `bug-reference-url-format' can also be a
9360 function to be able to handle the bug kind.
9361 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9362
9363 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9364
9365 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9366 value to fboundp, it may not be a symbol.
9367
9368 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9369
9370 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9371
9372 2010-03-31 Juri Linkov <juri@jurta.org>
9373
9374 * simple.el (next-line, previous-line): Re-throw a signal
9375 with `signal' instead of using `ding'.
9376 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9377
9378 2010-03-31 Juri Linkov <juri@jurta.org>
9379
9380 * simple.el (keyboard-escape-quit): Raise deselecting the active
9381 region higher than exiting the minibuffer.
9382 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9383
9384 2010-03-31 Juri Linkov <juri@jurta.org>
9385
9386 * image.el (image-animated-p): Use `image-metadata' instead of
9387 `image-extension-data'. Get GIF extenstion data from metadata
9388 property `extension-data'.
9389
9390 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * simple.el (append-to-buffer): Simplify.
9393
9394 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9395
9396 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9397 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9398
9399 2010-03-31 Kenichi Handa <handa@m17n.org>
9400
9401 * language/sinhala.el (composition-function-table): Fix regexp for
9402 the new Unicode specification.
9403
9404 * language/indian.el (devanagari-composable-pattern)
9405 (tamil-composable-pattern, kannada-composable-pattern)
9406 (malayalam-composable-pattern): Adjust for the new Unicode
9407 specification.
9408 (bengali-composable-pattern, gurmukhi-composable-pattern)
9409 (gujarati-composable-pattern, oriya-composable-pattern)
9410 (telugu-composable-pattern): New variables to cope with the new
9411 Unicode specification. Use them in composition-function-table.
9412
9413 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 Make tmm-menubar work for the Buffers menu again (bug#5726).
9416 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9417 vectors rather than cons cells, as used in menu-bar-update-buffers.
9418
9419 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9420
9421 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9422 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9423 electric punctuation for "{}();,:" (Bug#5586).
9424
9425 * mail/sendmail.el (mail-default-directory): Doc fix.
9426
9427 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9428
9429 * mail/sendmail.el (mail-default-directory): Doc fix.
9430
9431 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9432
9433 * subr.el (version-regexp-alist, version-to-list)
9434 (version-list-<, version-list-=, version-list-<=)
9435 (version-list-not-zero, version<, version<=, version=): Doc fix.
9436 (Bug#5744).
9437
9438 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9439
9440 * vc.el (vc-root-diff): Doc fix.
9441
9442 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9443
9444 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9445
9446 * simple.el (append-to-buffer): Fix last change.
9447
9448 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9449
9450 * simple.el (append-to-buffer): Ensure that point is preserved if
9451 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9452 (Bug#5749)
9453
9454 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9455
9456 * files.el (auto-mode-case-fold): Change default to t.
9457
9458 2010-03-30 Juri Linkov <juri@jurta.org>
9459
9460 * dired-x.el (dired-omit-mode): Doc fix.
9461
9462 2010-03-30 Juri Linkov <juri@jurta.org>
9463
9464 * replace.el (occur-accumulate-lines): Move occur-engine related
9465 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9466 to be located after `occur-engine'.
9467
9468 2010-03-30 Juri Linkov <juri@jurta.org>
9469
9470 Make occur handle multi-line matches cleanly with context.
9471 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9472
9473 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9474 (occur-engine): Add local variables `ret', `prev-after-lines',
9475 `prev-lines'. Use more arguments for `occur-context-lines'.
9476 Set first elem of its returned list to `data', and the second elem
9477 to `prev-after-lines'. Don't print the separator line.
9478 In the end, print remaining context after-lines.
9479 (occur-context-lines): Add new arguments `begpt', `endpt',
9480 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9481 after-lines of the previous match with before-lines of the
9482 current match and not overlap them. Return a list with two
9483 values: the output line and the list of context after-lines.
9484
9485 2010-03-30 Juri Linkov <juri@jurta.org>
9486
9487 * replace.el (occur-accumulate-lines): Fix a bug where the first
9488 context line at the beginning of the buffer was missing.
9489
9490 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9491
9492 * files.el: Make bidi-display-reordering safe variable for boolean
9493 values.
9494
9495 2010-03-29 Phil Hagelberg <phil@evri.com>
9496 Chong Yidong <cyd@stupidchicken.com>
9497
9498 * subr.el: Extend progress reporters to perform "spinning".
9499 (progress-reporter-update, progress-reporter-do-update):
9500 Handle non-numeric value arguments.
9501 (progress-reporter--pulse-characters): New var.
9502
9503 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9504
9505 * progmodes/compile.el (compilation-start): Fix regexp detection
9506 of initial cd command (Bug#5771).
9507
9508 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9509
9510 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9511
9512 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9513
9514 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9515 * progmodes/gdb-mi.el: Restore.
9516 * progmodes/gdb-ui.el: Remove.
9517 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9518
9519 2010-03-25 Glenn Morris <rgm@gnu.org>
9520
9521 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9522 all dired buffers, even tramp ones. (Bug#5755)
9523
9524 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9525
9526 Add "union tags" in mpc.el.
9527 * mpc.el: Remove backward compatibility code.
9528 (mpc-browser-tags): Change default.
9529 (mpc--find-memoize-union-tags): New var.
9530 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9531 (mpc-cmd-find): Handle the case where the playlist does not exist.
9532 Handle union-tags.
9533 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9534 (mpc-cmd-add): Use mpc-cmd-flush.
9535 (mpc-tagbrowser-tag-name): New fun.
9536 (mpc-tagbrowser-buf): Use it.
9537 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9538
9539 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 Misc cleanup.
9542 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9543 Use replace-regexp-in-string.
9544 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9545 (makefile-imake-mode-syntax-table): Move init into defvar.
9546 (makefile-mode): Use define-derived-mode.
9547
9548 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9549 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9550 not be present any more.
9551
9552 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9553
9554 * faces.el (set-face-attribute): Fix typo in docstring.
9555 (face-valid-attribute-values): Reflow docstring.
9556
9557 2010-03-24 Glenn Morris <rgm@gnu.org>
9558
9559 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9560
9561 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9562
9563 * indent.el (indent-for-tab-command): Doc fix.
9564
9565 2010-03-24 Alan Mackenzie <acm@muc.de>
9566
9567 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9568 Fix off-by-one error. Fixes bug #5747.
9569
9570 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9571
9572 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9573 (image-dired-read-comment): Doc fix.
9574
9575 * json.el (json-object-type, json-array-type, json-key-type)
9576 (json-false, json-null, json-read-number):
9577 * minibuffer.el (completion-in-region-functions):
9578 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9579 (cal-tex-cursor-week):
9580 * emacs-lisp/trace.el (trace-function):
9581 * eshell/em-basic.el (eshell/printnl):
9582 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9583 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9584 * obsolete/levents.el (allocate-event, event-key, event-object)
9585 (event-point, event-process, event-timestamp, event-to-character)
9586 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9587 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9588 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9589 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9590 (reftex-highlight-selection): Fix typos in docstrings.
9591
9592 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9593
9594 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9595
9596 2010-03-24 Glenn Morris <rgm@gnu.org>
9597
9598 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9599 2008-02-13 without comment; mark it obsolete.
9600 (rmail-highlight-headers): Use rmail-highlight-face once more.
9601
9602 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9603
9604 * woman.el (woman2-process-escapes): Only consume the newline if
9605 the filler character is on a line by itself (Bug#5729).
9606
9607 2010-03-24 Kenichi Handa <handa@m17n.org>
9608
9609 * language/indian.el (devanagari-composable-pattern): Add more
9610 consonants.
9611
9612 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9613
9614 * net/trampver.el: Update release number.
9615
9616 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9617
9618 * net/tramp.el (tramp-find-executable):
9619 Use `tramp-get-connection-buffer'. Make the regexp for checking
9620 output of "wc -l" more robust.
9621 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9622 (tramp-open-connection-setup-interactive-shell): Remove workaround
9623 for OpenSolaris bug, it is not needed anymore.
9624
9625 2010-03-24 Glenn Morris <rgm@gnu.org>
9626
9627 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9628
9629 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9630
9631 * files.el (auto-mode-alist): Accept more verilog file patterns.
9632
9633 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9634
9635 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9636
9637 2010-03-24 Glenn Morris <rgm@gnu.org>
9638
9639 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9640 log-edit-before-checkin-process.
9641
9642 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9643
9644 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9645
9646 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9647 (log-view-process-buffer, log-edit-extra-flags): Declare.
9648
9649 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9650
9651 2010-03-23 Sam Steingold <sds@gnu.org>
9652
9653 Fix bug#5620: recalculate all markers on compilation buffer
9654 modifications, not on file modifications.
9655 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
9656 variable: the buffer modification time, for buffers not associated with
9657 files.
9658 (compilation-mode): Create it.
9659 (compilation-filter): Update it.
9660 (compilation-next-error-function): Use it instead of
9661 `visited-file-modtime' for timestamp.
9662
9663 2010-03-23 Juri Linkov <juri@jurta.org>
9664
9665 Implement Occur multi-line matches.
9666 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9667
9668 * replace.el (occur): Doc fix.
9669 (occur-engine): Set `begpt' to the beginning of the first line.
9670 Set `endpt' to the end of the last match line. At first, count
9671 line numbers between `origpt' and `begpt'. Split out code from
9672 `out-line' variable to new let-bindings `match-prefix' and
9673 `match-str'. In `out-line' add non-numeric prefix to all
9674 non-first lines of multi-line matches. Finally, count lines
9675 between `begpt' and `endpt' and add to `lines'.
9676
9677 2010-03-23 Juri Linkov <juri@jurta.org>
9678
9679 * replace.el (occur-accumulate-lines, occur-engine):
9680 Use `occur-engine-line' instead of duplicate code.
9681 (occur-engine-line): New function created from duplicate code
9682 in `occur-accumulate-lines' and `occur-engine'.
9683
9684 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9685 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9686
9687 2010-03-23 Juri Linkov <juri@jurta.org>
9688
9689 * finder.el: Remove TODO tasks.
9690
9691 * info.el (Info-finder-find-node): Add node "all"
9692 with all package info. Handle a list of multiple keywords
9693 separated by comma.
9694 (info-finder): In interactive use with a prefix argument,
9695 use `completing-read-multiple' to read a list of keywords
9696 separated by comma.
9697
9698 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 Add a new completion style `substring'.
9701 * minibuffer.el (completion-basic--pattern): New function.
9702 (completion-basic-try-completion, completion-basic-all-completions):
9703 Use it.
9704 (completion-substring--all-completions)
9705 (completion-substring-try-completion)
9706 (completion-substring-all-completions): New functions.
9707 (completion-styles-alist): New style `substring'.
9708
9709 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9710
9711 Get rid of .elc files after removal of the corresponding .el.
9712 * Makefile.in (compile-clean): New target.
9713 (compile-main): Use it.
9714
9715 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9716
9717 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9718 don't do make there. When compiling with separate object dir, there
9719 is no Makefile there.
9720
9721 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9722
9723 Get rid of the ELCFILES abomination, again.
9724 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9725 (all, compile): Don't call compile-last.
9726 (compile-main): Build the "elcfiles" list dynamically.
9727 (compile-targets): New (internal) target.
9728
9729 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9730
9731 * Makefile.in (top_srcdir): Define.
9732 (abs_top_builddir): Define.
9733 (srcdir): Don't append `/..'.
9734 (EMACS): Use ${abs_top_builddir}.
9735 (all, compile, compile-always, compile-last): Don't set emacswd.
9736 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9737 $(srcdir).
9738 (lisp): Use $(srcdir) instead of @srcdir@.
9739
9740 2010-03-21 Juri Linkov <juri@jurta.org>
9741
9742 Fix message of multi-line occur regexps and multi-buffer header lines.
9743 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9744
9745 * replace.el (occur-1): Don't display regexp if it is longer
9746 than window-width. Use `query-replace-descr' to display regexp.
9747 (occur-engine): Don't display regexp in the buffer header for
9748 multi-buffer occur. Display a separate header line with total
9749 match count and regexp for multi-buffer occur.
9750 Use `query-replace-descr' to display regexp.
9751
9752 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9753
9754 * net/secrets.el: Fix parenthesis.
9755 (secrets-enabled): Fix parenthesis.
9756
9757 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 Use more relative file and directory names.
9760 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9761 (setwins, setwins_almost, setwins_for_subdirs):
9762 Don't `cd'; output relative names.
9763 (all, compile, compile-always, compile-last): Set emacswd.
9764 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9765 Just cd to the lisp source dir so we can use relative file names.
9766
9767 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9768
9769 2010-03-20 Glenn Morris <rgm@gnu.org>
9770
9771 * textmodes/rst.el: Use faces for font-lock customization, and make the
9772 old -face variables obsolete.
9773 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9774 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9775 (rst-block-face, rst-external-face, rst-definition-face)
9776 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9777 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9778 Make obsolete.
9779 (rst-font-lock-keywords-function): Update for above changes.
9780
9781 2010-03-20 Juri Linkov <juri@jurta.org>
9782
9783 * s-region.el:
9784 * obsolete/s-region.el: Move to obsolete.
9785
9786 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9787
9788 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9789
9790 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9791
9792 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9793
9794 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9795
9796 Add special markup processing for commit logs.
9797 * log-edit.el (log-edit-extra-flags): New variable.
9798 (log-edit): Add new argument MODE. Use that mode when non-nil
9799 instead of the log-view-mode.
9800 (log-view-process-buffer): New function.
9801
9802 * vc.el: Document that the checkin method takes optional
9803 arguments. Document new backend specific method: log-view-mode.
9804 (vc-default-log-edit-mode): New function.
9805 (vc-checkin): Use a backend specific log-view-mode.
9806 Pass extra arguments to the checkin method.
9807 (vc-modify-change-comment): Pass a dummy extra argument.
9808
9809 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9810 log-edit.
9811 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9812 (vc-finish-logentry): Process the log buffer before passing it
9813 down. Pass log-edit-extra-flags.
9814
9815 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9816 command.
9817 (log-edit-extra-flags, log-edit-before-checkin-process):
9818 New declarations.
9819
9820 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9821 command.
9822 (log-edit-extra-flags, log-edit-before-checkin-process):
9823 New declarations.
9824 (vc-hg-log-edit-mode): New derived mode.
9825
9826 * vc-arch.el (vc-arch-checkin):
9827 * vc-cvs.el (vc-cvs-checkin):
9828 * vc-git.el (vc-git-checkin):
9829 * vc-mtn.el (vc-mtn-checkin):
9830 * vc-rcs.el (vc-rcs-checkin):
9831 * vc-sccs.el (vc-sccs-checkin):
9832 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9833
9834 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9837 parent typo).
9838
9839 2010-03-19 Glenn Morris <rgm@gnu.org>
9840
9841 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9842
9843 2010-03-18 Glenn Morris <rgm@gnu.org>
9844
9845 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9846
9847 * replace.el (query-replace-history): Give it a doc string.
9848 (map-query-replace-regexp): Use query-replace-from-history-variable
9849 and query-replace-to-history-variable.
9850
9851 * mail/hashcash.el (declare-function): Remove duplicate definition.
9852
9853 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9854 Make it an obsolete alias for report-emacs-bug-address.
9855 (message-strip-special-text-properties): Declare.
9856 (report-emacs-bug): Remove test for a pretest bug address.
9857 Combine message-mode-specific code.
9858
9859 * mail/supercite.el: Don't require sendmail.
9860 (mh-in-header-p): Declare rather than using with-no-warnings.
9861 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9862 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9863
9864 * calendar/cal-french.el: Convert to utf-8.
9865
9866 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9867 Emacs scripts.
9868
9869 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9870
9871 * net/secrets.el (secrets-enabled): New variable. Use it instead
9872 of a subfeature.
9873
9874 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9875
9876 * net/secrets.el (top): Register the D-Bus signals only when the
9877 service "org.freedesktop.secrets" can be pinged.
9878 Provide subfeature `enabled'.
9879
9880 2010-03-14 Juri Linkov <juri@jurta.org>
9881
9882 Add finder unknown keywords.
9883
9884 * finder.el (finder-unknown-keywords): New function.
9885
9886 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9887 to create a Finder node with unknown keywords.
9888
9889 2010-03-14 Juri Linkov <juri@jurta.org>
9890
9891 * finder.el (finder-compile-keywords): Replace `princ' with
9892 `prin1' on a list of symbols interned from keyword strings.
9893
9894 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9895 a comma, then split keywords using a comma and optional whitespace.
9896 Otherwise, split by whitespace.
9897
9898 * complete.el:
9899 * face-remap.el:
9900 * log-view.el:
9901 * net/hmac-def.el:
9902 * net/hmac-md5.el:
9903 * net/netrc.el:
9904 * progmodes/mixal-mode.el: Fix keywords.
9905
9906 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9907
9908 * Makefile.in (ELCFILES): Add net/secrets.elc.
9909
9910 * net/secrets.el: New file.
9911
9912 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9913
9914 * facemenu.el (list-colors-display, list-colors-print): New arg
9915 callback. Use it to allow selecting colors.
9916
9917 * wid-edit.el (widget-image-insert): Insert image prop even if the
9918 current display is non-graphic.
9919 (widget-field-value-set): New fun.
9920 (editable-field): Use it.
9921 (widget-field-value-get): Clean up unused var.
9922 (widget-color-value-create, widget-color--choose-action):
9923 New funs. Allow using list-colors-display to choose color.
9924
9925 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9926
9927 * cus-edit.el: Resort topmost custom groups.
9928 (custom-buffer-sort-alphabetically): Default to t.
9929 (customize-apropos): Use apropos-parse-pattern.
9930 (custom-search-field): New var.
9931 (custom-buffer-create-internal): Add custom-apropos search field.
9932 (custom-add-parent-links): Don't display parent doc.
9933 (custom-group-value-create): Don't sort top-level custom group.
9934 (custom-magic-value-create): Show visibility button before option name.
9935
9936 (custom-variable-state): New fun, from custom-variable-state-set.
9937 (custom-variable-state-set): Use it.
9938 (custom-group-value-create): Hide options with standard values
9939 using the :hidden-states property. Use progress reporter.
9940
9941 (custom-show): Simplify.
9942 (custom-visibility): Disable images by default.
9943 (custom-variable): New property :hidden-states.
9944 (custom-variable-value-create): Enable images for
9945 custom-visibility widgets. Use :hidden-states property to
9946 determine initial visibility.
9947
9948 * wid-edit.el (widget-image-find): Give images center ascent.
9949 (visibility): Add :on-image and :off-image properties.
9950 (widget-visibility-value-create): Use them.
9951
9952 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9953
9954 * cus-edit.el (processes): Remove from development group.
9955 (oop, hypermedia): Delete group.
9956 (comm): Promote to top-level group.
9957
9958 * net/browse-url.el (browse-url):
9959 * net/xesam.el (xesam):
9960 * net/tramp.el (tramp):
9961 * net/goto-addr.el (goto-address):
9962 * net/ange-ftp.el (ange-ftp): Put in comm group.
9963
9964 * view.el (view): Remove from editing group.
9965
9966 * uniquify.el (uniquify): Put in files group.
9967
9968 * net/browse-url.el (browse-url):
9969 * ps-print.el (postscript): Put in external group.
9970
9971 * cus-edit.el (outlines):
9972 * textmodes/text-mode.el (text-mode-hook):
9973 * textmodes/table.el (table):
9974 * textmodes/picture.el (picture):
9975 * outline.el (outlines): Put in wp group.
9976
9977 * nxml/nxml-mode.el (nxml): Remove from wp group.
9978
9979 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9980
9981 * mail/metamail.el (metamail): Remove from hypermedia group.
9982
9983 * cus-edit.el (abbrev):
9984 * whitespace.el (whitespace):
9985 * vcursor.el (vcursor):
9986 * reveal.el (reveal):
9987 * hl-line.el (hl-line): Put in convenience group.
9988
9989 * epg-config.el (epg): Put in data group.
9990
9991 * emulation/pc-select.el (pc-select): Put in emulations group.
9992
9993 * calculator.el (calculator): Put in applications group.
9994
9995 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9996
9997 Add .dir-locals.el support for file-less buffers.
9998 * files.el (hack-local-variables): Split out code to apply local
9999 variable settings ...
10000 (hack-local-variables-apply): ... here. New function.
10001 (hack-dir-local-variables): Use the default directory for when the
10002 buffer does not have an associated file.
10003 (hack-dir-local-variables-non-file-buffer): New function.
10004 * diff-mode.el (diff-mode):
10005 * vc-annotate.el (vc-annotate-mode):
10006 * vc-dir.el (vc-dir-mode):
10007 * log-edit.el (log-edit-mode):
10008 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10009
10010 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10011
10012 Add support for shelving snapshots and for showing shelves.
10013 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10014 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10015 New functions.
10016 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10017 (vc-bzr-extra-menu-map): Map them.
10018
10019 2010-03-11 Glenn Morris <rgm@gnu.org>
10020
10021 * cus-edit.el (customize-changed-options-previous-release):
10022 Bump to 23.1.
10023
10024 * image.el (image-animate-max-time): Fix :version tag.
10025
10026 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10027
10028 * Branch for 23.2.
10029
10030 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * vc-git.el (vc-git-revision-table): Include remote branches.
10033
10034 2010-03-10 Kim F. Storm <storm@cua.dk>
10035
10036 Animated image API.
10037 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10038
10039 * image.el (image-animate-max-time): New defcustom.
10040 (image-animated-types): New defconst.
10041 (create-animated-image, image-animate-timer)
10042 (image-animate-start, image-animate-stop, image-animate-timeout)
10043 (image-animated-p): New functions.
10044
10045 * image-mode.el (image-toggle-display-image):
10046 Replace `create-image' with `create-animated-image'.
10047
10048 2010-03-09 Miles Bader <miles@gnu.org>
10049
10050 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10051 instead of "format:"; this ensures that the output is
10052 newline-terminated.
10053
10054 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10055
10056 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10057 that all errors are caught, and that the return value is always a
10058 list (Bug#5692).
10059
10060 2010-03-08 Kenichi Handa <handa@m17n.org>
10061
10062 * language/misc-lang.el (windows-1256): New coding system.
10063 (cp1256): New alias of windows-1256 (bug#5690).
10064
10065 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10066
10067 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10068 call to rfc822-bad-address. (Bug#5692)
10069
10070 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10071
10072 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10073 Use vc-git-root as default directory for revision path (Bug#5657).
10074
10075 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10076
10077 * calculator.el (calculator): Don't bind split-window-keep-point
10078 (Bug#5674).
10079
10080 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 * vc-git.el: Re-flow to fit into 80 columns.
10083 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10084 Remove spurious `quote' element in each case alternative.
10085 (vc-git-show-log-entry): Use prog1.
10086 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10087
10088 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10089
10090 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10091
10092 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10093
10094 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10095 definition, not the name (Bug#5481).
10096
10097 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10098
10099 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10100 argument with a local variable. (Bug#5670)
10101
10102 2010-03-02 Juri Linkov <juri@jurta.org>
10103
10104 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10105
10106 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10107
10108 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10109 error when FILENAME and NEWNAME are existing remote directories.
10110
10111 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10112 parameter DIR-FLAG.
10113
10114 2010-03-02 Glenn Morris <rgm@gnu.org>
10115
10116 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10117 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10118
10119 2010-03-01 Kenichi Handa <handa@m17n.org>
10120
10121 * language/burmese.el (burmese-composable-pattern): Rename from
10122 myanmar-composable-pattern.
10123
10124 * international/characters.el (script-list):
10125 * international/fontset.el (script-representative-chars):
10126 Change myanmar to burmese.
10127 (otf-script-alist): Likewise.
10128 (setup-default-fontset): Likewise. Re-fix :otf spec.
10129
10130 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10131
10132 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10133
10134 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10135
10136 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10137
10138 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10139
10140 * net/tramp.el (tramp-handle-write-region): START can be a string.
10141 Take care in the checks. Reported by Dan Davison
10142 <davison@stats.ox.ac.uk>.
10143
10144 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10145
10146 * net/dbus.el (dbus-introspect, dbus-get-property)
10147 (dbus-set-property, dbus-get-all-properties):
10148 Use `dbus-call-method' when noninteractive. (Bug#5645)
10149
10150 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10151
10152 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10153 * emacs-lisp/elint.el (elint-add-required-env):
10154 * calendar/icalendar.el (icalendar--add-diary-entry):
10155 * calc/calcalg2.el (math-tracing-integral):
10156 * files.el (recover-session-finish): Use with-current-buffer
10157 instead of save-excursion.
10158
10159 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 Fix in-buffer completion when after-change-functions modify the buffer.
10162 * minibuffer.el (completion--replace): New function.
10163 (completion--do-completion): Use it and use relative movement.
10164
10165 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10166
10167 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10168
10169 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10170
10171 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10172 Allow the characters _<> in the stack entry (Bug#5653).
10173
10174 2010-02-26 Kenichi Handa <handa@m17n.org>
10175
10176 * language/burmese.el: Fix entries in composition-function-table.
10177 (myanmar-composable-pattern): New variable.
10178
10179 * international/fontset.el (setup-default-fontset): Add an entry
10180 for myanmar.
10181
10182 * international/characters.el (script-list): Add Myanmar
10183 Extended-A.
10184
10185 2010-02-26 Glenn Morris <rgm@gnu.org>
10186
10187 * custom.el (custom-initialize-delay): Doc fix.
10188
10189 * mail/sendmail.el (send-mail-function): Autoload the call
10190 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10191
10192 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10193
10194 * files.el (hack-local-variables-filter): For eval forms, also
10195 check safe-local-variable-p (Bug#5636).
10196
10197 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10198
10199 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10200 setting the modes by `ignore-errors'. It might fail, for example
10201 if the file is not owned by the user but the group.
10202 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10203
10204 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10205
10206 * files.el (directory-listing-before-filename-regexp):
10207 Use stricter matching for iso-style dates, to avoid false matches with
10208 date-like filenames (Bug#5597).
10209
10210 * htmlfontify.el (htmlfontify): Doc fix.
10211
10212 * eshell/eshell.el (eshell): Doc fix.
10213
10214 * startup.el (fancy-about-screen): In mode-line, apply
10215 mode-line-buffer-id face only to the buffer name (Bug#5613).
10216
10217 2010-02-20 Kevin Ryde <user42@zip.com.au>
10218
10219 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10220 In `watcom' anchor regexp to start of line, to avoid slowness
10221 (Bug#5599).
10222
10223 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10224
10225 * subr.el (remove-yank-excluded-properties): Explain in a comment
10226 why `category' property is removed.
10227
10228 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10229
10230 * isearch.el (isearch-update-post-hook, isearch-update):
10231 Revert 2010-02-17 change.
10232
10233 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10234
10235 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10236 (icalendar--convert-weekly-to-ical)
10237 (icalendar--convert-yearly-to-ical)
10238 (icalendar--convert-block-to-ical)
10239 (icalendar--convert-cyclic-to-ical)
10240 (icalendar--convert-anniversary-to-ical): Take care of time
10241 specifications where hour has 1-digit only (Bug#5549).
10242
10243 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10244
10245 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10246 of disassemble output in GDB 7.1.
10247
10248 2010-02-19 Glenn Morris <rgm@gnu.org>
10249
10250 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10251 property. (Bug#5593)
10252
10253 2010-02-18 Sam Steingold <sds@gnu.org>
10254
10255 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10256
10257 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 Use abbreviated file names in bookmarks (bug#5591).
10260 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10261 calls to expand-file-name.
10262 (bookmark-relocate): Use abbreviated file names in bookmarks.
10263 (bookmark-load): Use abbreviated file names in messages.
10264
10265 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10266
10267 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10268 expand "." and "..". Reported by Thierry Volpiatto
10269 <thierry.volpiatto@gmail.com>.
10270
10271 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10272
10273 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10274 permissions of the temporary file to "0600". In case the remote
10275 file has no read permissions for the owner, there might be
10276 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10277
10278 22010-02-18 Glenn Morris <rgm@gnu.org>
10279
10280 * emacs-lisp/authors.el (authors-renamed-files-alist):
10281 Add entries for INSTALL.CVS.
10282
10283 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10284
10285 * vc-bzr.el: Fix typo in Known Bugs section.
10286
10287 * isearch.el (isearch-update-post-hook): New hook.
10288 (isearch-update): Use the new hook.
10289
10290 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10291
10292 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10293 Fix errors in copying directories.
10294 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10295 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10296 (tramp-handle-delete-file)
10297 (tramp-handle-dired-recursive-delete-directory)
10298 (tramp-handle-write-region): Flush also the cache for the upper
10299 directory.
10300
10301 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10302
10303 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10304
10305 * cus-edit.el (hardware): Doc fix.
10306
10307 * man.el (man): Add to external custom group.
10308
10309 * delim-col.el (columns): Move to wp custom group.
10310
10311 * doc-view.el (doc-view): Add to data custom group.
10312
10313 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10314
10315 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10316 by ispell-parse-output (Bug#5575).
10317
10318 2010-02-16 Kenichi Handa <handa@m17n.org>
10319
10320 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10321 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10322 (skkdic-convert): Use `euc-japan' coding system for writing.
10323
10324 2010-02-16 Glenn Morris <rgm@gnu.org>
10325
10326 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10327 tex-main-file before using it. (Bug#5562)
10328
10329 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10330
10331 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10332 warnings, since it is annoying for the user to see them each time he
10333 runs the code.
10334
10335 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10336
10337 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10338 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10339 instead of PROC for caching "first-password-request". Otherwise,
10340 new processes would not profit from passwords already entered.
10341
10342 * net/tramp-cache.el (tramp-dump-connection-properties):
10343 Don't save "first-password-request" property.
10344
10345 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10346
10347 * outline.el (outline-head-from-level):
10348 * simple.el (with-wrapper-hook):
10349 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10350 (elint-defun, elint-buffer-env, elint-top-form-logged)
10351 (elint-unbound-variable):
10352 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10353 Fix typos in docstrings.
10354
10355 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10356
10357 * files.el (insert-directory): When WILDCARD-REGEXP and
10358 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10359 whole directory. (Bug#5551)
10360
10361 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10362 dired's alignment sanity. (Bug#5516)
10363
10364 2010-02-14 Juri Linkov <juri@jurta.org>
10365
10366 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10367 Remove remaining ^H with their preceding chars. (Bug#5566)
10368
10369 2010-02-13 Glenn Morris <rgm@gnu.org>
10370
10371 * simple.el (transpose-subr): Give it a doc-string.
10372
10373 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10374 Doc fixes.
10375
10376 2010-02-12 Juri Linkov <juri@jurta.org>
10377
10378 * arc-mode.el (archive-unique-fname): Make directories for nested
10379 archives. (Bug#5540)
10380
10381 2010-02-12 Juri Linkov <juri@jurta.org>
10382
10383 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10384
10385 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10386
10387 * subr.el (copy-overlay): Handle deleted overlays.
10388
10389 * man.el (Man-completion-table): Don't signal an error if we can't run
10390 manual-program (bug#4056).
10391
10392 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10393
10394 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10395
10396 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10397
10398 * info.el (Info-bookmark-jump): Simplify.
10399
10400 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10401 (bookmark-default-handler): Accept new bookmark field `buffer'.
10402
10403 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10404
10405 * iswitchb.el (iswitchb-completions): Revert last change.
10406
10407 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10408
10409 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10410 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10411 This prevents file names like "~/" being listed literally.
10412
10413 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10414
10415 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10416 Remove dead code. (Bug#5546)
10417
10418 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10419
10420 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10421 correctly (Bug#5548).
10422
10423 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10424
10425 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10426 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10427
10428 2010-02-08 Kenichi Handa <handa@m17n.org>
10429
10430 * international/mule-util.el (with-coding-priority): Add autoload
10431 cookie for putting `lisp-indent-function'.
10432
10433 2010-02-07 Glenn Morris <rgm@gnu.org>
10434
10435 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10436 Move F2003 named interfaces from keywords-2 to keywords-1, and
10437 use function-name-face rather than constant-face.
10438 Simplify "abstract interface" regexp.
10439
10440 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10441
10442 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10443 ID-FORMAT. Pass it to `file-attributes'.
10444
10445 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10446
10447 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10448
10449 * faces.el (set-face-attribute): Allow calling
10450 internal-set-lisp-face-attribute with 'unspecified family and
10451 foundry argument (Bug#5536).
10452
10453 2010-02-07 Glenn Morris <rgm@gnu.org>
10454
10455 * progmodes/f90.el (f90-font-lock-keywords-2)
10456 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10457 Handle F2003 named interfaces.
10458
10459 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10460
10461 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10462 beg and end before calling c-get-state-before-change-functions.
10463
10464 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10465
10466 * vc-bzr.el (vc-bzr-dir-extra-headers):
10467 Disable the pending merges header.
10468
10469 2010-02-05 Juri Linkov <juri@jurta.org>
10470
10471 * doc-view.el (doc-view-mode):
10472 * image-mode.el (image-mode): Put property mode-class=special.
10473 (Bug#4896)
10474
10475 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10476
10477 * vc-svn.el (vc-svn-revision-table): New function.
10478
10479 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10480
10481 * net/ange-ftp.el (ange-ftp-insert-directory):
10482 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10483 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10484 Handle also directories. (Bug#5478)
10485
10486 2010-02-05 Glenn Morris <rgm@gnu.org>
10487
10488 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10489
10490 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10491
10492 * startup.el (command-line-1): Convert options beginning with a
10493 single dash as well (Bug#5519).
10494
10495 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10496
10497 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10498 * minibuffer.el (completion-initials-expand): Only check the presence
10499 of delims *within* the boundaries, since otherwise the / delim is
10500 always found for files.
10501
10502 Fix up various corner case problems.
10503 * doc-view.el (doc-view-last-page-number): New function.
10504 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10505 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10506 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10507 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10508 (doc-view-convert-current-doc): Don't create the resolution.el file
10509 here any more.
10510 (doc-view-pdf/ps->png): Do it here instead.
10511 (doc-view-already-converted-p): Check that resolution.el is present.
10512 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10513 windows that are not yet showing images.
10514
10515 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10516
10517 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10518 `dired-uncache' for every elemnt which is an absolute file name.
10519
10520 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10521 directory, handle its directory component.
10522 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10523 function is called permanently and creates noise, otherwise.
10524
10525 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10526 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10527 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10528
10529 2010-02-04 David Burger <dburger@google.com> (tiny change)
10530
10531 * macros.el (apply-macro-to-region-lines):
10532 Minor simplification. (Bug#5485)
10533
10534 2010-02-04 Glenn Morris <rgm@gnu.org>
10535
10536 * mail/rmail.el (rmail-show-message-1): Handle malformed
10537 quoted-printable text. (Bug#5441)
10538
10539 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10540
10541 * simple.el (visual-line-mode): Capitalize lighter.
10542
10543 2010-02-03 John Wiegley <jwiegley@gmail.com>
10544
10545 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10546 list of files considered for "virtual buffer" completions.
10547
10548 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10549
10550 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10551 also in case of (and (not full) (not wildcard)). This is needed
10552 when dired is called with a list of files, which are not in
10553 `default-directory'. (Bug#5478)
10554
10555 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10556
10557 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10558
10559 2010-02-02 Juri Linkov <juri@jurta.org>
10560
10561 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10562 from unidiff to allow function-line after @@.
10563
10564 2010-02-02 Juri Linkov <juri@jurta.org>
10565
10566 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10567 '(RCS SCCS) with inverted condition.
10568
10569 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10570
10571 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10572 messages.
10573
10574 2010-02-01 Juri Linkov <juri@jurta.org>
10575
10576 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10577 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10578 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10579 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10580
10581 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10582
10583 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10584 (doc-view-revert-buffer): New command.
10585 (doc-view-mode-map): Use it.
10586
10587 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10588
10589 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10590 pending merge is detected.
10591
10592 2010-01-31 Juri Linkov <juri@jurta.org>
10593
10594 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10595 beginning of interactive spec like all other grep commands do.
10596 Put "all" in front of "gz". (Bug#5260)
10597
10598 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10599
10600 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10601
10602 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10603
10604 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10605 regexp is incorrect (Bug#5476).
10606
10607 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10608
10609 * net/tramp.el (tramp-handle-insert-directory): Handle also
10610 symlinks, when FILENAME is not in `default-directory'.
10611
10612 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10613
10614 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10615 FILE is not in `default-directory'. (Bug#5478)
10616
10617 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10618 of SWITCHES. Handle the case, FILENAME is not in
10619 `default-directory'. (Bug#5478)
10620 (tramp-register-file-name-handlers): Add safe-magic property.
10621
10622 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10623
10624 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10625 unzip (Bug#5475).
10626
10627 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10628
10629 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10630 (flymake-master-make-header-init): Add other C++ filename masks.
10631 (flymake-find-possible-master-files)
10632 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10633
10634 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10635
10636 Fix some busybox annoyances.
10637
10638 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10639 not responding." string.
10640 (tramp-open-connection-setup-interactive-shell): Dump stty
10641 settings. Enable "neveropen" arg for all `tramp-send-command'
10642 calls. Handle "=" in variable values properly.
10643 (tramp-find-inline-encoding): Raise an error, when no encoding is
10644 found.
10645 (tramp-wait-for-output): Check, whether PROC buffer is available.
10646 Remove spurious " ^H" sequences, sent by busybox.
10647 (tramp-get-ls-command): Suppress coloring, if possible.
10648
10649 2010-01-28 Glenn Morris <rgm@gnu.org>
10650
10651 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10652
10653 * log-edit.el (log-edit-strip-single-file-name): Add missing
10654 :safe, :group, and :version tags.
10655
10656 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10657
10658 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10659 buffers. (Bug#5477)
10660
10661 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10662
10663 * files.el (delete-directory): Handle moving to trash without
10664 first doing recursion (Bug#5436).
10665
10666 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10667
10668 * vc-hooks.el (vc-path): Mark as obsolete.
10669
10670 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10671
10672 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10673 names too.
10674
10675 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10676 for the short log.
10677 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10678
10679 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10680
10681 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10682
10683 * vc-bzr.el (vc-bzr-revision-table): New function.
10684
10685 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10686
10687 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10688 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10689
10690 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10691
10692 Remove support for adding --signoff on commit.
10693 Future support will use an incompatible generic mechanism.
10694 * vc-git.el (vc-git-add-signoff): Remove variable.
10695 (vc-git-toggle-signoff): Remove function.
10696 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10697
10698 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10699 Rename from xterm-set-background-mode. Return t if the background mode
10700 was set.
10701 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10702 earlier, call it again in case the background mode has changed.
10703
10704 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10705
10706 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10707 (Bug#3541).
10708
10709 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10710
10711 * emacs-lisp/assoc.el (aelement): Doc fix.
10712 (aput, adelete, amake): Use lexical-let (Bug#5450).
10713
10714 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10715
10716 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10717 is the same as subprogram call, not declaration. (Bug#5435).
10718
10719 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10720
10721 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10722 (tramp-smb-maybe-open-connection): Use it.
10723
10724 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10725
10726 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10727
10728 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10731 just because we see "encoding: 8bit".
10732 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10733
10734 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10735
10736 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10737
10738 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10739
10740 * jka-compr.el (jka-compr-load): If load-file is not in
10741 load-history, try its file-truename version. (bug#5447)
10742
10743 2010-01-21 Alan Mackenzie <acm@muc.de>
10744
10745 Fix a situation where deletion of a cpp construct throws an error.
10746 * progmodes/cc-engine.el (c-invalidate-state-cache):
10747 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10748 special cpp construct is still in the buffer.
10749 (c-parse-state): Record the special cpp with markers, not numbers.
10750
10751 2010-01-21 Kenichi Handa <handa@m17n.org>
10752
10753 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10754 process last-command-event, as it is now decoded first (Bug#5380).
10755
10756 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10757
10758 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10759
10760 2010-01-20 Glenn Morris <rgm@gnu.org>
10761
10762 * indent.el (tab-always-indent): Fix custom-type.
10763
10764 2010-01-19 Alan Mackenzie <acm@muc.de>
10765
10766 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10767 buffer throws "args out of range".
10768 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10769 playing the role of delimiter.
10770
10771 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10772
10773 * progmodes/ada-mode.el: Fix bug#5400.
10774 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10775 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10776 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10777 Improve comments in "is" portion. Handle null procedure declaration.
10778 (ada-move-to-end): Improve doc string.
10779
10780 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10781
10782 * ido.el (ido-cur-list): Initialize to nil.
10783 Remove obsolete information from commentary.
10784 (ido-choice-list): Initialize to nil.
10785 (ido-get-bufname): Reject minibuffers.
10786 (ido-make-buffer-list): If "default" is a nonexistent
10787 buffer, ignore it, as per the function's comment.
10788 (ido-kill-buffer-internal): New function.
10789 (ido-kill-buffer-at-head): Use it.
10790 (ido-visit-buffer): Likewise.
10791
10792 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10793
10794 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10795
10796 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10797
10798 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10799 Fix typos in chart titles.
10800
10801 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10802 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10803 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10804 (describe-class, eieio-describe-generic, describe-generic):
10805 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10806 (eieio-speedbar-expand):
10807 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10808 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10809 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10810 (viper-del-backward-char-in-replace, viper-backward-indent)
10811 (viper-brac-function, viper-register-to-point, viper-submit-report):
10812 * net/tramp.el (tramp-remote-coding-commands):
10813 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10814 Fix typos in docstrings.
10815
10816 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10817
10818 * mail/sendmail.el (mail-yank-original): Set the mark if the
10819 specified function for yanking does not do it.
10820
10821 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10822
10823 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10824
10825 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10826 resyncing a directory.
10827
10828 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10829
10830 * progmodes/ada-mode.el: Fix bug#1920.
10831 (ada-ident-re): Delete ., allow multibyte characters.
10832 (ada-goto-label-re): New; matches goto labels.
10833 (ada-block-label-re): New; matches block labels.
10834 (ada-label-re): New; matches both.
10835 (ada-named-block-re): Deleted; callers changed to use
10836 `ada-block-label-re' instead.
10837 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10838 Use `ada-block-label-re'.
10839 (ada-indent-on-previous-lines): Improve handling of goto labels.
10840 (ada-get-indent-block-start): Special-case block label.
10841 (ada-get-indent-label): Split into `ada-indent-block-label' and
10842 `ada-indent-goto-label'.
10843 (ada-goto-stmt-start, ada-goto-next-non-ws):
10844 Optionally ignore goto labels.
10845 (ada-goto-next-word): Simplify.
10846 (ada-indent-newline-indent-conditional): Insert newline before
10847 trying to fix indentation; doc fix.
10848
10849 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10850
10851 * calc/calc.el (calc-command-flags): Give it an initial value.
10852
10853 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10854
10855 * files.el (minibuffer-with-setup-hook):
10856 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10857 (artist-key-draw-continously, artist-key-do-continously-continously)
10858 (artist-key-set-point-continously, artist-mouse-draw-continously):
10859 Fix typos in docstrings.
10860
10861 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10862
10863 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10864 Never return t (Bug#3898).
10865
10866 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10867
10868 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10869 can parse the output of the external commands (Bug#5279).
10870
10871 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10872
10873 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10874
10875 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10876
10877 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10878
10879 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10880
10881 * startup.el (command-line): Remove unused --icon-type arg.
10882 Handle --display arg, passing it to command-line-1 (Bug#5392).
10883
10884 2010-01-16 Mario Lang <mlang@delysid.org>
10885
10886 * emacs-lisp/chart.el (chart-translate-namezone):
10887 * textmodes/artist.el (artist-compute-popup-menu-table):
10888 Remove duplicated words in doc-strings.
10889
10890 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10891
10892 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10893 to mairix-search to suppress threading (Bug#5342).
10894
10895 2010-01-15 Kenichi Handa <handa@m17n.org>
10896
10897 * international/mule-cmds.el (canonicalize-coding-system-name):
10898 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10899
10900 2010-01-15 Glenn Morris <rgm@gnu.org>
10901
10902 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10903
10904 * wid-edit.el (widget-keymap): Doc fix.
10905
10906 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10907 former seems to be more widely accepted by various svn versions.
10908
10909 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10910
10911 * find-cmd.el (find-constituents):
10912 * vc-arch.el (vc-arch-root):
10913 * window.el (window-body-height, pop-up-frames):
10914 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10915 * progmodes/ada-stmt.el (ada-if):
10916 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10917 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10918 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10919 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10920
10921 * progmodes/flymake.el (flymake-post-syntax-check):
10922 Fix typo in error message.
10923
10924 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10925
10926 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10927 which is always a string. (Bug#5313)
10928
10929 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10930
10931 * progmodes/ada-xref.el (ada-default-prj-properties):
10932 Simplify previous change.
10933
10934 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10935
10936 * progmodes/ada-xref.el (ada-default-prj-properties):
10937 Default ada_project_path to $ADA_PROJECT_PATH.
10938
10939 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10940
10941 * progmodes/ada-mode.el (ada-create-keymap):
10942 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10943
10944 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10945
10946 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10947 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10948 (ada-get-current-indent, ada-imenu-generic-expression)
10949 (ada-which-function): Check for it.
10950
10951 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10952
10953 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10954 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10955
10956 2010-01-14 Glenn Morris <rgm@gnu.org>
10957
10958 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10959
10960 2010-01-14 Kenichi Handa <handa@m17n.org>
10961
10962 * composite.el (auto-composition-mode): Make it a buffer local
10963 variable (permanent-local).
10964 (auto-composition-function): Set the default value to
10965 auto-compose-chars.
10966 (auto-composition-mode): Make it a simple function, not a minor mode.
10967 (global-auto-composition-mode): Likewise.
10968 (turn-on-auto-composition-if-enabled): Delete it.
10969
10970 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10971
10972 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10973
10974 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10975
10976 * files.el (copy-directory): Compute target for recursive
10977 directories with identical names. (Bug#5343)
10978
10979 2010-01-12 Glenn Morris <rgm@gnu.org>
10980
10981 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10982 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10983
10984 2010-01-11 Sam Steingold <sds@gnu.org>
10985
10986 * imenu.el (imenu-default-create-index-function): Detect infinite
10987 loops caused by imenu-prev-index-position-function.
10988
10989 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10990
10991 * htmlfontify.el (htmlfontify-load-rgb-file)
10992 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10993 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10994 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10995 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10996 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10997 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10998 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10999 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11000 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11001 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11002 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11003 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11004 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11005 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11006 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11007 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11008 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11009 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11010 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11011 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11012 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11013 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11014 backslash-quoting from parentheses, etc.
11015
11016 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11017
11018 * progmodes/js.el: Autoload javascript-mode alias.
11019
11020 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11021
11022 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11023 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11024 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11025 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11026 Fix typos in docstrings.
11027 (ffap-url-regexp): Doc fix.
11028 (ffap-at-mouse): Fix typo in message.
11029
11030 2010-01-11 Glenn Morris <rgm@gnu.org>
11031
11032 * version.el (emacs-copyright): Set copyright year to 2010.
11033
11034 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * format.el (format-annotate-function): Only set
11037 write-region-post-annotation-function after running to-fn so as not to
11038 affect nested write-region calls (bug#5273).
11039
11040 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11041
11042 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11043 wisent/python.el.
11044
11045 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11046
11047 * man.el (Man-goto-section): Signal error if the section is not
11048 found (Bug#5317).
11049
11050 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11051
11052 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11053 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11054
11055 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11056
11057 * progmodes/compile.el: Don't treat compile-command as safe if
11058 compilation-read-command might be nil (Bug#4218).
11059
11060 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11061
11062 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11063 NS options.
11064
11065 2010-01-08 Kenichi Handa <handa@m17n.org>
11066
11067 * international/fontset.el (build-default-fontset-data):
11068 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11069
11070 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11071
11072 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11073 to `create-file-buffer' as it expects, not just a buffer name.
11074 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11075 to help uniquify. (Bug#3224)
11076
11077 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11078
11079 * font-setting.el (font-setting-change-default-font): Use user-spec
11080 instead of name.
11081
11082 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11083
11084 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11085
11086 2010-01-05 Tom Tromey <tromey@redhat.com>
11087
11088 * progmodes/python.el (python-font-lock-keywords):
11089 Handle qualified decorators (Bug#881).
11090
11091 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11092
11093 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11094 in a lightweight checkout.
11095
11096 2010-01-05 Kenichi Handa <handa@m17n.org>
11097
11098 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11099
11100 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11101
11102 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11103
11104 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11105
11106 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11107 checkouts. (Bug#618)
11108 (vc-bzr-log-view-mode): Also highlight the author.
11109 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11110 (vc-bzr-shelve-menu-map):
11111 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11112 (vc-bzr-shelve-apply): Make prompt more explicit.
11113
11114 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11115
11116 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11117 They are valid characters in URL paths (rfc3986), and at least
11118 Firefox does not understand the encoded version (Bug#3166).
11119
11120 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11121
11122 * progmodes/octave-mod.el (octave-end-keywords)
11123 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11124 Add "end" keyword (Bug#3061).
11125 (octave-end-as-array-index-p): New function.
11126 (calculate-octave-indent): Use it.
11127
11128 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11129
11130 * bookmark.el: Consistently put the text property on the bookmark name.
11131 (bookmark-bmenu-marks-width): Bump back to 2, to include
11132 annotation marks.
11133 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11134 property on the bookmark name, instead of not putting it at all.
11135 (bookmark-bmenu-list): Fix where we put the text property.
11136
11137 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11138
11139 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11140 for showing buffer modified state (as added in the previous change).
11141
11142 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11143
11144 * bookmark.el: Show modified state of bookmark buffer more accurately.
11145 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11146 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11147 (with-buffer-modified-unmodified): New macro.
11148 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11149 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11150 Use new macro to preserve the buffer modified state.
11151
11152 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11153
11154 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11155 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11156 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11157 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11158 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11159 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11160 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11161
11162 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11163
11164 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11165 Make the lines in the generated doc string shorter. (Bug#4668)
11166
11167 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11168
11169 * net/rcirc.el: Add follow-link binding (Bug#4738).
11170
11171 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11172
11173 * Makefile.in (bzr-update): Rename from cvs-update.
11174 (cvs-update): New target for backward compatibility.
11175
11176 * makefile.w32-in (bzr-update): Rename from cvs-update.
11177 (cvs-update): New target for backward compatibility.
11178
11179 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11180
11181 * bookmark.el: Remove gratuitous gratitude.
11182
11183 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11184
11185 * bookmark.el (bookmark-bmenu-any-marks): New function.
11186 (bookmark-bmenu-save): Clear buffer modification if no marks.
11187
11188 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11189
11190 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11191 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11192 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11193 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11194
11195 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11196 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11197 To: emacs-devel {_AT_} gnu.org
11198 Subject: bookmark.el bug report
11199 Date: Mon, 28 Dec 2009 14:19:16 +0800
11200 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11201
11202 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11203
11204 * bookmark.el: Improvements suggested by Drew Adams:
11205 (bookmark-bmenu-ensure-position): New name for
11206 `bookmark-bmenu-check-position'. Just ensure the position,
11207 don't return any meaningful value.
11208 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11209 New constants.
11210
11211 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11212
11213 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11214 (bookmark-yank-point, bookmark-bmenu-check-position):
11215 Fix typos in docstrings.
11216 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11217 (bookmark-name-from-full-record, bookmark-get-position)
11218 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11219 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11220 Remove useless quoting of parenthesis, etc. in docstrings.
11221
11222 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11223 (ediff-append-custom-diff): Fix typo in error message.
11224 (ediff-meta-mark-equal-files): Fix typos in messages.
11225
11226 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11227
11228 * net/imap-hash.el (imap-hash-make): Doc fix.
11229 (imap-hash-test): Fix typo in error message; reflow docstring.
11230 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11231 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11232 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11233 Fix typos in docstrings.
11234 (imap-hash-open-connection): Fix typo in error message.
11235
11236 * play/gomoku.el (gomoku): Fix typos in docstring.
11237
11238 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11239 (gdb-jsonify-buffer): Fix typos in docstring.
11240 (gdb-goto-breakpoint): Fix typo in error message.
11241 ("Display Other Windows"): Fix typo in help message.
11242 (gdb-speedbar-expand-node): Fix typo in question.
11243
11244 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11245 (idlwave-html-system-help-location, idlwave-html-help-location)
11246 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11247 (idlwave-help-browser-generic-args, idlwave-help-directory)
11248 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11249 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11250 (idlwave-online-help, idlwave-help-html-link)
11251 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11252 Fix typos in docstrings.
11253 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11254 Reflow docstrings.
11255 (idlwave-help-assistant-start): Fix typo in error message.
11256
11257 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11258 (octave-electric-space): Fix typos in docstrings.
11259
11260 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11261
11262 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11263
11264 2010-01-01 Juri Linkov <juri@jurta.org>
11265
11266 * comint.el (comint-input-ring-size): Make it a defcustom and
11267 increase the default to 500 (Bug#5148).
11268
11269 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11270
11271 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11272 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11273 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11274
11275 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11276
11277 Show working revision correctly for mercurial.
11278 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11279 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11280
11281 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11282
11283 Declare some functions for the byte-compiler.
11284 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11285 (speedbar-timer-fn, speedbar-change-expand-button-char)
11286 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11287
11288 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11289
11290 This changeset reverts GDB Graphical Interface to use annotations.
11291 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11292
11293 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11294
11295 Make vc-dir work on subdirectories of the bzr root.
11296 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11297 Return file names relative to it.
11298 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11299 relative directory to vc-bzr-after-dir-status.
11300
11301 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11302
11303 * font-lock.el (font-lock-refresh-defaults): New function, which
11304 can be used to let font-lock react to external changes in
11305 variables like font-lock-defaults and keywords.
11306 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11307
11308 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11309
11310 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11311
11312 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11313
11314 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11315
11316 Supersede color.diff settings in git log (bug#5211).
11317
11318 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11319 escape chars in its output when the user has color.diff set to `always'.
11320 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11321
11322 2009-12-26 Kevin Ryde <user42@zip.com.au>
11323
11324 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11325 node. Keep previous "Index" name to work with past coreutils too.
11326
11327 * man.el (man): Revise docstring a bit to show -a and -l as
11328 examples. Add -k description since support for it has otherwise
11329 been a secret. (Further to bug#3717.)
11330 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11331 "no matches" rather than "Can't find manpage", as the latter reads
11332 like -k was interpreted as a page name, which is not so. (Bug#5431)
11333
11334 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11335
11336 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11337 switches. Check also for //SUBDIRED// line.
11338
11339 2009-12-25 Kenichi Handa <handa@m17n.org>
11340
11341 * language/indian.el (devanagari-composable-pattern): Fix to
11342 handle ZWNJ and ZWJ. Use it in composition-function-table for
11343 Devanagari.
11344 (malayalam-composable-pattern): Fix previous change.
11345
11346 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11347
11348 * ps-print.el (ps-face-attributes): It was not returning the
11349 attribute face for faces specified as string. Reported by harven
11350 <harven@free.fr>. (Bug#5254)
11351 (ps-print-version): New version 7.3.5.
11352
11353 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11354
11355 * calendar/icalendar.el (icalendar--convert-tz-offset):
11356 Fix timezone names.
11357 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11358 (icalendar--add-diary-entry): Remove the trailing blank that
11359 diary-make-entry inserts.
11360
11361 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11362
11363 Make `file-expand-wildcards' work for remote files.
11364
11365 * files.el (file-expand-wildcards): In case of remote files, check
11366 only local file name part for wildcards. Provide feature 'files
11367 and subfeature 'remote-wildcards. (Bug#5198)
11368
11369 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11370 if there is already an established connection.
11371 (tramp-advice-file-expand-wildcards): Remove it.
11372
11373 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11374 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11375 Activate advice for older GNU Emacs versions. (Bug#5237)
11376
11377 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11378
11379 Some doc fixes (more needed).
11380
11381 * find-cmd.el (find-constituents): Reflow docstring.
11382 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11383 (find-generic): Doc fix.
11384
11385 2009-12-17 Juri Linkov <juri@jurta.org>
11386
11387 Fix regression from 23.1 to allow multiple modes in Local Variables.
11388
11389 * files.el (hack-local-variables-filter): While ignoring duplicates,
11390 don't take `mode' into account.
11391 (hack-local-variables-filter, hack-dir-local-variables):
11392 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11393
11394 2009-12-17 Juri Linkov <juri@jurta.org>
11395
11396 Make `dired-diff' safer. (Bug#5225)
11397
11398 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11399 `current' or when `file' is a directory of the `current' file.
11400
11401 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11402
11403 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11404 unconditionally preloaded files.
11405
11406 2009-12-16 Juri Linkov <juri@jurta.org>
11407
11408 Revert to old 23.1 logic of using the file at the mark as default.
11409 * dired-aux.el (dired-diff): Use the file at the mark as default
11410 if it's not the same as the current file, and the target dir is
11411 the current dir or the mark is active. Add the current file
11412 as the arg of `dired-dwim-target-defaults'. Use the default file
11413 in the prompt. (Bug#5225)
11414
11415 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11416
11417 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11418 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11419 (tramp-check-for-regexp): Check also, when an echoing shell stops
11420 to echo sent commands.
11421
11422 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11423
11424 * Makefile.in: Revert last change (Bug#5191).
11425
11426 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11427
11428 * vc-hg.el (vc-hg-print-log): Fix argument order.
11429 (vc-hg-working-revision): Make sure the command is executed in a
11430 known environment so that we can parse the output. (Bug#4417)
11431
11432 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11433
11434 * progmodes/python.el (python-symbol-completions): Remove text
11435 properties from symbol string before calling python-send-receive.
11436
11437 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11438
11439 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11440 when there are values for both file and line. (Bug#5060)
11441
11442 2009-12-14 Juri Linkov <juri@jurta.org>
11443
11444 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11445 whitespace after the file name of the first line of unified format,
11446 because git-diff doesn't output whitespace and file modification time
11447 after the file name.
11448
11449 2009-12-14 David Kastrup <dak@gnu.org>
11450
11451 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11452 check if it already has the `display' property added by
11453 `Info-display-images-node', and not put the `invisible' property
11454 in this case.
11455
11456 2009-12-13 Glenn Morris <rgm@gnu.org>
11457
11458 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11459 (report-emacs-bug): In message-mode, sort manually before storing
11460 original report text. (Bug#5178)
11461 Remove superfluous save-excursion.
11462
11463 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11464
11465 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11466 when responding to "GetAll" properties.
11467
11468 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11469
11470 * simple.el (compose-mail): Remove mail-setup-with-from from
11471 customization checks.
11472
11473 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11474
11475 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11476 RAR archives created on Unix systems.
11477
11478 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11479
11480 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11481 the varalias that was accidentally removed by the 2009-11-19 change
11482 (bug#5186).
11483
11484 2009-12-12 Kenichi Handa <handa@m17n.org>
11485
11486 * language/indian.el (indian-compose-regexp): New function.
11487 (malayalam-composable-pattern): Fix the pattern.
11488 (composition-function-table): Set malayalam-composable-pattern for
11489 Malayalam characters.
11490
11491 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11492
11493 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11494 rather than down-mouse-1, based on follow-link conventions.
11495
11496 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11497 are compiled.
11498
11499 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11500
11501 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11502 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11503 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11504 (verilog-leap-to-head, verilog-backward-token):
11505 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11506
11507 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11508
11509 * progmodes/verilog-mode.el (verilog-auto-lineup)
11510 (verilog-nameable-item-re): Cleanup user-visible spelling and
11511 documentation errors. One reported by Gary Delp.
11512 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11513 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11514 package, bug195. Reported by Pierre-David Pfister.
11515
11516 2009-12-11 Glenn Morris <rgm@gnu.org>
11517
11518 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11519
11520 * mail/emacsbug.el: No longer require sendmail.
11521 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11522 (report-emacs-bug-orig-text): Doc fix.
11523 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11524 New local variables, to adapt to different mail-user-agents.
11525 (report-emacs-bug): Fix test for a gnu.org address.
11526 Use overlays for emphasis, since font-lock defeats 'face property.
11527 Pretest bugs also end up at the newsgroup these days.
11528 Stop message-mode stripping text properties.
11529 Set and use the new buffer-local variables.
11530 (report-emacs-bug-hook): Add doc-string.
11531 Remove some unnecessary save-excursions and simplify.
11532 Use the appropriate hook and send-command.
11533
11534 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11535 capitalization of some menu entries.
11536
11537 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11538
11539 * whitespace.el (whitespace-display-char-on):
11540 Ensure `buffer-display-table' is unique when two or more windows are
11541 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11542 New version 12.1.
11543
11544 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11545
11546 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11547 characters in the Attribute field.
11548
11549 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11550
11551 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11552
11553 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11554
11555 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11556 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11557 Disregard autoload-excludes.
11558 (update-directory-autoloads): Obey autoload-excludes here instead.
11559 But don't store its contents in no-autoloads and remove entries that
11560 refer to excludes files.
11561
11562 2009-12-10 Glenn Morris <rgm@gnu.org>
11563
11564 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11565 (expand-mail-aliases): Define for compiler.
11566
11567 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11568 Define for compiler.
11569
11570 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11571 appropriate for the mail-user-agent in use.
11572
11573 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11574
11575 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11576
11577 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11578
11579 Fix short log parsing and fontification.
11580 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11581 Fix fontification for the [merge] label.
11582
11583 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11584
11585 Drop some properties to avoid surprises (bug#5002).
11586 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11587 (hfy-fontify-buffer): Use it.
11588
11589 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11590
11591 Minor cleanup.
11592 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11593 Adjust all callers.
11594 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11595 args compulsory. Adjust callers.
11596 (ffap-gopher-at-point): Remove unused var `name'.
11597
11598 Get rid of the ELCFILES abomination.
11599 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11600 (compile-elcfiles): New phony target.
11601 (compile-main): Compute ELCFILES dynamically.
11602 (compile-clean): New target to remove left-over elc files.
11603 (compile, all): Use it.
11604
11605 2009-12-09 Kenichi Handa <handa@etlken>
11606
11607 * international/mule-diag.el: Require help-mode instead of help-fns.
11608
11609 2009-12-09 Kenichi Handa <handa@m17n.org>
11610
11611 * international/mule-cmds.el (ucs-names): Supply sufficiently
11612 fine ranges instead of pre-calculating accurate ranges.
11613 Iterate with bigger gc-cons-threshold.
11614
11615 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11616
11617 Add support for stashing a snapshot of the current tree.
11618 * vc-git.el (vc-git-stash-snapshot): New function.
11619 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11620
11621 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11622
11623 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11624 instead of `(beginning|end)-of-line'.
11625
11626 2009-12-08 Glenn Morris <rgm@gnu.org>
11627
11628 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11629
11630 * Makefile.in (ELCFILES): Regenerate.
11631
11632 2009-12-07 Juri Linkov <juri@jurta.org>
11633
11634 Don't lazy-highlight the comint output in history Isearch mode.
11635
11636 * comint.el (comint-history-isearch-search): Instead of
11637 `comint-line-beginning-position', use `comint-after-pmark-p'
11638 to check if point if before the process mark, and go to
11639 `process-mark' in this case.
11640
11641 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11642
11643 * textmodes/tex-mode.el (latex-complete)
11644 (latex-indent-or-complete): Remove.
11645 (latex-mode): Set completion-at-point-functions instead.
11646
11647 Provide a standard completion command and hook it into TAB.
11648 * minibuffer.el (completion-at-point-functions): New var.
11649 (completion-at-point): New command.
11650 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11651 * progmodes/python.el (python-mode-map): Use completion-at-point.
11652 (python-completion-at-point): Rename from python-partial-symbol and
11653 adjust for use in completion-at-point-functions.
11654 (python-mode): Setup completion-at-point for Python completion.
11655 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11656 extracted from lisp-complete-symbol.
11657 (lisp-complete-symbol): Use it.
11658 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11659 setup completion-at-point for Elisp completion.
11660 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11661 Use completion-at-point.
11662 * ielm.el (ielm-map): Use completion-at-point.
11663 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11664 * progmodes/sym-comp.el: Move to...
11665 * obsolete/sym-comp.el: Move from progmodes.
11666
11667 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11668
11669 Prevent save-buffer in Rmail buffers from using the coding-system
11670 of the current message, and from clobbering the encoding mnemonics
11671 in the mode line (Bug#4623).
11672
11673 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11674 flag, too.
11675 (rmail-message-encoding): New variable.
11676 (rmail-write-region-annotate): Record the encoding of the current
11677 message in rmail-message-encoding.
11678 (rmail-after-save-hook): New function, restores the encoding of
11679 the current message after the message collection is saved.
11680
11681 2009-12-07 Juri Linkov <juri@jurta.org>
11682
11683 * progmodes/grep.el (grep-read-files): Use `completing-read'
11684 instead of `read-string'. Set its `collection' arg to
11685 `read-file-name-internal'. (Bug#4301)
11686
11687 2009-12-07 Juri Linkov <juri@jurta.org>
11688
11689 Correctly restore original Isearch point. (Bug#4994)
11690
11691 * isearch.el (isearch-mode): Move `isearch-push-state' after
11692 `(run-hooks 'isearch-mode-hook)'.
11693 (isearch-cancel): When `isearch-push-state-function' is defined,
11694 let-bind `isearch-cmds' to the first state (the last element of
11695 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11696 function and restores the original point). Otherwise, move point
11697 to `isearch-opoint'.
11698
11699 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11700
11701 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11702 chars that don't have names, so the table can be built much faster at
11703 run-time.
11704
11705 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11706
11707 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11708 change. Suggested by David Kastrup.
11709
11710 * simple.el (compose-mail): Check for incompatibilities and warn.
11711 (compose-mail-user-agent-warnings): New option.
11712
11713 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11714
11715 Support showing a single log entry from vc-annotate.
11716 * vc.el (print-log): Add a new argument: START-REVISION.
11717 (vc-print-log-internal): Add a new optional argument and
11718 pass it to the backend.
11719 (vc-print-log, vc-print-root-log): Adjust callers.
11720 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11721 buffer already displays the requested log entry, use it.
11722 Otherwise display only the log entry in question.
11723 * vc-svn.el (vc-svn-print-log):
11724 * vc-mtn.el (vc-mtn-print-log):
11725 * vc-hg.el (vc-hg-state):
11726 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11727 (vc-git-show-log-entry): Return t on success.
11728 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11729 (vc-bzr-show-log-entry): Return t on success.
11730 * vc-rcs.el (vc-rcs-print-log):
11731 * vc-sccs.el (vc-sccs-print-log):
11732 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11733
11734 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11735
11736 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11737 Add menus to the meta mode. (Bug#5043)
11738
11739 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11740
11741 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11742 event-key.
11743
11744 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11745
11746 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11747
11748 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11749 Berbain <raphael.berbain@gmail.com>.
11750
11751 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11752 characters.
11753 (tramp-initial-end-of-output): New defconst.
11754 (tramp-methods, tramp-find-shell)
11755 (tramp-open-connection-setup-interactive-shell)
11756 (tramp-maybe-open-connection): Use it.
11757 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11758 Handle existence of `#' and `$'.
11759
11760 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11761 Use `tramp-initial-end-of-output'.
11762
11763 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11764
11765 Get the background mode from the terminal for xterm, and set
11766 faces accordingly.
11767 * term/xterm.el (xterm-set-background-mode): New function.
11768 (terminal-init-xterm): Use it in case xterm supports background
11769 color queries. Recompute faces after getting the background
11770 color.
11771
11772 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11773
11774 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11775 number comment back on its own line, for easier parsing.
11776
11777 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 Make it work for non-file buffers (bug#5102).
11780 * doc-view.el (doc-view-current-cache-dir):
11781 Use doc-view-buffer-file-name rather than buffer-file-name.
11782 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11783
11784 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11785
11786 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11787 author field is too short.
11788
11789 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11790
11791 * vc-git.el (vc-git-print-log): Handle a limit argument.
11792 Display the short log in graph form and with labels.
11793 (vc-git-log-view-mode): Handle labels.
11794
11795 Make vc-revert change VC state from 'added to 'unregistered.
11796 * vc-git.el (vc-git-revert): Call git reset first.
11797
11798 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11799
11800 * net/newst-backend.el, net/newst-plainview.el:
11801 * net/newst-reader.el, net/newst-ticker.el:
11802 * net/newst-treeview.el, net/newsticker.el:
11803 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11804
11805 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11806
11807 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11808
11809 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11810 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11811 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11812 Update annotation regexp.
11813
11814 * simple.el (beginning-of-visual-line): Constrain to field
11815 boundaries (Bug#5106).
11816
11817 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11818
11819 * xml.el (xml-substitute-numeric-entities):
11820 Move newsticker--decode-numeric-entities in newst-backend.el to
11821 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11822 * net/newst-backend.el (newsticker--parse-generic-feed)
11823 (newsticker--parse-generic-items)
11824 (newsticker--decode-numeric-entities):
11825 Move newsticker--decode-numeric-entities in newst-backend.el to
11826 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11827
11828 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11829
11830 * progmodes/js.el (js--js-not): Add null to the list of values.
11831
11832 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11833
11834 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11835
11836 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11837
11838 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11839 delimiter if it is at the end of the current line.
11840 (bibtex-generate-url-list): Fix docstring.
11841
11842 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11843
11844 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11845 minibuffer's content with itself.
11846 Fold the confirm-after-completion case into the `confirm' case.
11847 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11848
11849 2009-12-06 Kevin Ryde <user42@zip.com.au>
11850
11851 * ffap.el (ffap-rfc-path): Make this a defcustom since
11852 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11853
11854 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11855 manuals, similar to existing setup for help-mode. (Bug#3913.)
11856
11857 2009-12-05 Juri Linkov <juri@jurta.org>
11858
11859 Save and restore dired buffer's point positions too. (Bug#4880)
11860
11861 * dired.el (dired-save-positions): Return in the first element
11862 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11863 Doc fix.
11864 (dired-restore-positions): First restore buffer's position.
11865 While restoring window's positions, check if window still displays
11866 the original buffer.
11867
11868 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11869
11870 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11871 if possible.
11872
11873 * shell.el (shell): Require ansi-color (Bug#5113).
11874
11875 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11876
11877 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11878
11879 2009-12-05 Alan Mackenzie <acm@muc.de>
11880
11881 * progmodes/cc-mode.el (c-before-hack-hook)
11882 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11883 `c-file-style' to work again. This reversion restores the current
11884 software to its state in Emacs 23.1. (Bug#4146)
11885
11886 2009-12-05 Kevin Ryde <user42@zip.com.au>
11887
11888 * textmodes/sgml-mode.el (sgml-lexical-context):
11889 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11890
11891 2009-12-05 Juri Linkov <juri@jurta.org>
11892
11893 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11894 for virtual nodes. (Bug#4147)
11895 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11896 when moving from a virtual node.
11897 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11898 (Info-mode): Add `Info-virtual-index' to the docstring.
11899
11900 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11901
11902 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11903 track of the buffer position of the end of a BibTeX entry as this
11904 position may change during reformatting.
11905 (bibtex-format-entry): Remove whitespace before processing
11906 numerical fields so that we recognize the latter properly.
11907 (bibtex-reformat): Do not use push which changes the global value
11908 of bibtex-entry-format.
11909 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11910 (bibtex-field-re-init): Replace only space characters by regexp
11911 for whitespace.
11912 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11913 (bibtex-initialize): Also update bibtex-strings.
11914 (bibtex-kill-field): Preserve white space at end of entry.
11915 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11916 Update bibtex-reference-keys.
11917
11918 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11921 point after a star, if that's the only place where modifications can
11922 make progress.
11923
11924 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11925
11926 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11927 in docstrings.
11928
11929 2009-12-04 Juri Linkov <juri@jurta.org>
11930
11931 * proced.el (proced): Call `(proced-update t)' to update process
11932 information instead of only running proced-post-display-hook.
11933 (proced-send-signal): Add a leading space to the buffer name
11934 " *Marked Processes*" to make this buffer ephemeral.
11935
11936 2009-12-04 Juri Linkov <juri@jurta.org>
11937
11938 * dired.el (dired-auto-revert-buffer): New defcustom.
11939 (dired-internal-noselect): Use it.
11940
11941 2009-12-04 Juri Linkov <juri@jurta.org>
11942
11943 Change roles of modes and functions in image-mode.el (Bug#5062).
11944
11945 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11946 in `auto-mode-alist'.
11947 (image-mode-previous-major-mode): New variable.
11948 (image-minor-mode-map): Rename from `image-mode-text-map'.
11949 (image-mode): Move graceful error-handling code from
11950 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11951 (image-minor-mode): Remove all image-handling code.
11952 Replace `image-mode-text-map' with `image-minor-mode-map'.
11953 Check for `image-type' in mode-line format string.
11954 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11955 (image-mode-as-text): New function with most code from
11956 `image-mode-maybe'.
11957 (image-toggle-display-text): Move code that removes image
11958 properties from `image-toggle-display' to here.
11959 (image-toggle-display-image): New function with code that adds
11960 image properties copied from `image-toggle-display'.
11961 (image-toggle-display): Remove most code with leaving only code
11962 that toggles between `image-mode-as-text' and `image-mode'.
11963
11964 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11965
11966 * net/newst-treeview.el
11967 (newsticker--treeview-list-highlight-start): Restored call to
11968 save-excursion: Selected item was stuck.
11969 (newsticker--treeview-list-select): New.
11970 (newsticker--treeview-item-show-text)
11971 (newsticker--treeview-item-show)
11972 (newsticker--treeview-item-update): Use new
11973 newsticker-treeview-item-mode.
11974 (newsticker-treeview-update): Keep current item.
11975 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11976 (newsticker--treeview-first-feed): Doc change.
11977 (newsticker-treeview-list-menu)
11978 (newsticker-treeview-item-menu): Add menu entries.
11979 (newsticker-treeview-item-mode): New.
11980
11981 * net/newst-backend.el (newsticker-customize): Delete other
11982 windows.
11983
11984 2009-12-04 Sam Steingold <sds@gnu.org>
11985
11986 * log-view.el (log-view-mode-map): "q" calls quit-window,
11987 like in all the other non-self-insert buffers.
11988
11989 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 Minor cleanup.
11992 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11993 key decoding rather than do it manually via last-input-event +
11994 ascii-character.
11995 (term-exec): Use delete-and-extract-region.
11996 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11997 (term-process-pager): Remove unused var `i'.
11998 (term-dynamic-simple-complete): Make obsolete.
11999 (serial-update-config-menu): Remove unused vars `y' and `str'.
12000 (term-update-mode-line): Remove unused var `temp'.
12001
12002 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12003
12004 Limit the number of log entries displayed by default.
12005 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12006 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12007 using a prefix argument.
12008
12009 2009-12-03 Glenn Morris <rgm@gnu.org>
12010
12011 * progmodes/idlwave.el (class): Restore still useful declaration.
12012
12013 2009-12-03 Alan Mackenzie <acm@muc.de>
12014
12015 Enhance `c-parse-state' to run efficiently in "brace deserts".
12016
12017 * progmodes/cc-mode.el (c-basic-common-init):
12018 Call c-state-cache-init.
12019 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12020 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12021 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12022
12023 * progmodes/cc-langs.el (c-before-font-lock-function):
12024 c-extend-and-neutralize-syntax-in-CPP has been renamed
12025 c-neutralize-syntax-in-and-mark-CPP.
12026
12027 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12028 with `category' properties now, not `syntax-table' ones.
12029
12030 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12031 enhanced (but slower) version of c-end-of-macro that won't land
12032 inside a literal or on another awkward character.
12033 (c-state-cache-too-far, c-state-cache-start)
12034 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12035 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12036 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12037 (c-state-min-scan-pos, c-state-brace-pair-desert)
12038 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12039 buffer local variables.
12040 (c-state-literal-at, c-state-lit-beg)
12041 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12042 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12043 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12044 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12045 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12046 (c-renarrow-state-cache)
12047 (c-append-lower-brace-pair-to-state-cache)
12048 (c-state-push-any-brace-pair, c-append-to-state-cache)
12049 (c-remove-stale-state-cache)
12050 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12051 (c-invalidate-state-cache-1, c-parse-state-1)
12052 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12053 (c-parse-state): Enhance and refactor.
12054 (c-debug-parse-state): Amend to deal with all the new variables.
12055
12056 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12057 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12058 modify to use category text properties rather than syntax-table ones.
12059 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12060 to switch off/on the syntactic paren property of C++ template
12061 delimiters using the category property.
12062 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12063 template delims suppressed.
12064 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12065 New constant/macros which apply category properties to the start
12066 and end of preprocessor constructs.
12067 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12068 "comment out" the syntactic value of characters in preprocessor
12069 constructs.
12070 (c-with-cpps-commented-out)
12071 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12072 with characters in all or all but one preprocessor constructs
12073 "commented out".
12074
12075 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12076
12077 * proced.el (proced-filter-alist): Use regexp-quote.
12078
12079 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12080
12081 Cleanup.
12082 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12083 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12084 arguments. Expand `default-directory'.
12085
12086 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12087 the benefit of returning an expanded localname.
12088 (tramp-tramp-file-p): Handle the case NAME is not a string.
12089
12090 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12091
12092 Add support for bzr shelve/unshelve.
12093 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12094 (vc-bzr-extra-menu-map): New variables.
12095 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12096 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12097 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12098 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12099 (vc-bzr-dir-extra-headers): Display shelves.
12100
12101 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12102
12103 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12104
12105 * textmodes/bibtex.el (bibtex-complete-internal):
12106 Use completion-in-region.
12107 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12108
12109 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12110
12111 Support applying stashes. Improve UI.
12112 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12113 (vc-git-stash-apply, vc-git-stash-pop)
12114 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12115 (vc-git-stash-menu): New functions.
12116 (vc-git-stash-menu-map): New variable.
12117 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12118
12119 2009-12-03 Glenn Morris <rgm@gnu.org>
12120
12121 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12122 (vc-print-log-internal): Fix previous change.
12123 (vc-revert): Correct pluralization.
12124
12125 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12126
12127 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12128 it to be an alist any more.
12129 (makefile-complete): Use completion-in-region.
12130
12131 * progmodes/octave-mod.el (octave-complete-symbol):
12132 Use completion-in-region.
12133
12134 Misc cleanup.
12135 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12136 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12137 (idlwave-complete-class): Don't quote lambda.
12138 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12139 (idlwave-mode-map): Move initialization into declaration.
12140 (idlwave-action-and-binding): Use backquotes.
12141 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12142 Simplify.
12143 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12144 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12145 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12146 `parts', and `all-parts'.
12147 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12148 (idlwave-convert-xml-system-routine-info): Remove unused string
12149 `version-string'.
12150 (idlwave-display-user-catalog-widget): Use dolist.
12151 (idlwave-scanning-lib): Declare dynamically-scoped var.
12152 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12153 (completion-highlight-first-word-only): Declare to silence bytecomp.
12154 (idlwave-popup-select): Tighten scope of `resp'.
12155 (idlwave-find-struct-tag): Remove unused var `beg'.
12156 (idlwave-after-load-rinfo-hook): Declare.
12157 (idlwave-sintern-class-info): Remove unused var `taglist'.
12158 (idlwave-find-class-definition): Remove unused var `list'.
12159 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12160 (idlwave-what-module-find-class): Remove unused var `classes'.
12161
12162 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12163
12164 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12165
12166 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12169 buffers visited. Remove redundant current-buffer-saving.
12170
12171 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 Use completion-in-buffer and remove uses of dynamic scoping.
12174 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12175 (pascal-buffer-to-use, pascal-flag): Don't declare.
12176 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12177 (pascal-get-completion-decl, pascal-keyword-completion):
12178 Add `pascal-str' argument, save-excursion,
12179 return the found completions, and don't filter with pascal-pred.
12180 (pascal-completion-cache): New var.
12181 (pascal-completion): Don't switch buffer any more (it was never
12182 necessary). Don't save-excursion any more (it's done by the called
12183 subroutines). Use a cache to avoid redundant computations.
12184 Use complete-with-action rather than pascal-completion-response and
12185 let it apply the predicate as well.
12186 (pascal-complete-word): Use completion-in-buffer when
12187 pascal-toggle-completions is nil.
12188 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12189 not used any more.
12190 (pascal-comp-defun): Don't change buffer any more.
12191 Use complete-with-action rather than pascal-completion-response and
12192 let it apply the predicate as well.
12193 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12194 when neded.
12195
12196 2009-12-02 Kenichi Handa <handa@m17n.org>
12197
12198 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12199 shape for all Indic scripts.
12200
12201 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12202
12203 Use completion-in-buffer.
12204 * wid-edit.el (widget-field-text-end): New function.
12205 (widget-field-value-get): Use it.
12206 (widget-string-complete, widget-file-complete)
12207 (widget-color-complete): Use it and completion-in-region.
12208 (widget-complete): Don't narrow the buffer.
12209
12210 2009-12-02 Glenn Morris <rgm@gnu.org>
12211
12212 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12213 (rmail-select-summary): Use rmail-pop-to-buffer.
12214 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12215 rmail-pop-to-buffer, to prevent horizontal splits.
12216
12217 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12218 save-excursion with save-current-buffer.
12219 Widen before searching. (Bug#5093)
12220 (diary-list-sexp-entries): Remove superfluous save-excursion.
12221
12222 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12223
12224 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12225 name. (Bug#5038)
12226
12227 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12228
12229 * ido.el (ido-file-internal): Handle filenames at point that do
12230 not have a directory part. (Bug#5049)
12231
12232 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12233
12234 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12235 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12236
12237 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12238
12239 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12240 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12241 any more.
12242
12243 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12244
12245 * comint.el (comint-insert-input): Ignore clicks to the right of
12246 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12247
12248 * vc.el (vc-print-log-internal): Don't wait for the process to
12249 terminate before setting up the major mode.
12250
12251 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12252 in case.
12253
12254 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12255 the last element.
12256
12257 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12258
12259 2009-12-01 Glenn Morris <rgm@gnu.org>
12260
12261 * window.el (window--display-buffer-2): Fix previous changes.
12262
12263 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12264
12265 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12266
12267 2009-12-01 Glenn Morris <rgm@gnu.org>
12268
12269 * Makefile.in (ELCFILES): Add mpc.elc.
12270
12271 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12272
12273 * mpc.el: New file.
12274
12275 2009-12-01 Glenn Morris <rgm@gnu.org>
12276
12277 * window.el (window-to-use): Define for compiler.
12278
12279 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12280 consistent with others (no final period).
12281
12282 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12283 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12284
12285 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12286
12287 Make vc-print-log buttons work.
12288 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12289
12290 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12291
12292 * savehist.el (savehist-autosave-interval): Allow setting to nil
12293 through customize. (Bug#5056)
12294
12295 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12296
12297 Fix references to jit-lock properties.
12298 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12299 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12300 (perl-font-lock-special-syntactic-constructs):
12301 Quote jit-lock-defer-multiline property.
12302
12303 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12304
12305 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12306
12307 2009-11-30 Juri Linkov <juri@jurta.org>
12308
12309 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12310 value `buffer' of `multi-isearch-next-buffer-current-function'.
12311 Use `(current-buffer)' when `buffer' is nil.
12312 (multi-isearch-next-buffer-from-list): Don't fallback to
12313 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12314
12315 2009-11-30 Juri Linkov <juri@jurta.org>
12316
12317 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12318 of buffers with `get-buffer' to `multi-isearch-buffers'.
12319 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12320 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12321 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12322 FILES with `expand-file-name' converting relative file names
12323 to absolute. Doc fix. (Bug#4727)
12324
12325 2009-11-30 Juri Linkov <juri@jurta.org>
12326
12327 * misearch.el (multi-isearch-read-buffers)
12328 (multi-isearch-read-matching-buffers): New functions.
12329 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12330 Use them in the `interactive' spec. Doc fix.
12331 (multi-isearch-read-files, multi-isearch-read-matching-files):
12332 New functions.
12333 (multi-isearch-files, multi-isearch-files-regexp):
12334 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12335
12336 2009-11-30 Juri Linkov <juri@jurta.org>
12337
12338 * doc-view.el (doc-view-continuous):
12339 Rename from `doc-view-continuous-mode'.
12340 (doc-view-menu): Move "Toggle display" to the top.
12341 Add submenu "Continuous" with radio buttons "Off"/"On"
12342 and "Save as Default".
12343 (doc-view-scroll-up-or-next-page)
12344 (doc-view-scroll-down-or-previous-page)
12345 (doc-view-next-line-or-next-page)
12346 (doc-view-previous-line-or-previous-page):
12347 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12348
12349 2009-11-30 Juri Linkov <juri@jurta.org>
12350
12351 * comint.el (comint-mode-map): Rebind `M-r' from
12352 `comint-previous-matching-input' to
12353 `comint-history-isearch-backward-regexp'.
12354 Unbind `M-s' to allow global key binding `M-s'.
12355 Add menu items for `comint-history-isearch-backward' and
12356 `comint-history-isearch-backward-regexp'. (Bug#3746)
12357
12358 2009-11-30 Juri Linkov <juri@jurta.org>
12359
12360 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12361 For def=recenter, replace `recenter' with `recenter-top-bottom'
12362 that is called with `this-command' and `last-command' let-bound
12363 to `recenter-top-bottom'. When the last `def' was not `recenter',
12364 set `recenter-last-op' to nil. (Bug#4981)
12365
12366 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 Minor cleanup and simplification.
12369 * filecache.el (file-cache-add-directory)
12370 (file-cache-add-directory-recursively)
12371 (file-cache-add-from-file-cache-buffer)
12372 (file-cache-delete-file-regexp, file-cache-delete-directory)
12373 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12374 (file-cache-temp-minibuffer-message): Delete function.
12375 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12376
12377 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12378 Don't signal an error when bumping into EOB in tr, s, or y.
12379
12380 2009-11-29 Juri Linkov <juri@jurta.org>
12381
12382 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12383 (Bug#4960)
12384
12385 * descr-text.el (describe-char-unidata-list): Use lowercase name
12386 for "Unicode name" like in other tags.
12387
12388 2009-11-29 Juri Linkov <juri@jurta.org>
12389
12390 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12391 New compatibility macro.
12392 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12393
12394 2009-11-29 Juri Linkov <juri@jurta.org>
12395
12396 Add defcustom to define the cycling order of `recenter-top-bottom'.
12397 (Bug#4981)
12398
12399 * window.el (recenter-last-op): Doc fix.
12400 (recenter-positions): New defcustom.
12401 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12402 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12403
12404 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12405
12406 Improve integration of Tramp and ange-ftp in eshell.
12407
12408 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12409 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12410 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12411
12412 * eshell/esh-util.el (top): Require also Tramp when compiling.
12413 (eshell-directory-files-and-attributes): Check for FTP remote
12414 connection.
12415 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12416 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12417 (eshell-file-attributes): Handle ".". Return `entry'.
12418
12419 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12420 (ange-ftp-directory-files-and-attributes)
12421 (ange-ftp-real-directory-files-and-attributes): New defuns.
12422
12423 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12424 shell with "exec" when possible. This prevents trailing prompts
12425 in `start-file-process'.
12426
12427 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12428
12429 Try and remove assumptions about point-min==1.
12430 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12431 (rng-compute-mode-line-string): Show the validation percentage in
12432 terms of the narrowed text, not the widened text.
12433 (rng-do-some-validation): Don't catch internal errors when debugging.
12434 (rng-first-error): Simplify.
12435 (rng-after-change-function): Remove work around. AFAIK the bug has
12436 been fixed a while ago.
12437
12438 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12439 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12440
12441 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12442
12443 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12444 `cd' doesn't always do it for us (bug#5067).
12445
12446 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12447 on 2009-10-25 as part of some other change (bug#5067).
12448
12449 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12450
12451 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12452 `suspicious'.
12453 (byte-compile-warnings): Use byte-compile-warning-types.
12454 (byte-compile-save-excursion): Warn about use of set-buffer right
12455 after save-excursion.
12456
12457 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12458 the excursion as well.
12459
12460 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12461
12462 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12463 providing a Tramp related implementation of "su" and "sudo".
12464 (eshell-unix-initialize): Add "su" and "sudo".
12465
12466 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12467
12468 * net/socks.el (socks-send-command): Convert binary request to
12469 unibyte before sending. This fixes mishandling of some port
12470 numbers such as 129.
12471
12472 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12473
12474 * help.el (describe-bindings-internal): Remove `interactive'.
12475
12476 * man.el (Man-completion-table): Trim a terminating "(".
12477 Remove the space between name page a section.
12478 Add the command's description on the `help-echo' property.
12479 Remove `process-connection-type' binding since it's unused by
12480 call-process.
12481 Provide completion for the "<section> <name>" format as well.
12482 (Man-default-man-entry): Remove spurious var shadowing the argument.
12483
12484 2009-11-26 Kevin Ryde <user42@zip.com.au>
12485
12486 * log-view.el: Add "Keywords: tools", since its other keywords
12487 aren't in finder-known-keywords, and following vc.el.
12488
12489 * sha1.el (sha1-string-external): default-directory "/" in case
12490 otherwise non-existent. process-connection-type pipe for touch of
12491 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12492
12493 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 Misc coding convention cleanups.
12496 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12497 hfy-init-kludge-hooks.
12498 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12499 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12500 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12501 and push.
12502 (hfy-slant, hfy-weight): Use tables rather than code.
12503 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12504 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12505 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12506 (hfy-face-to-css): Remove `nconc' with single arg.
12507 (hfy-p-to-face-lennart): Use `or'.
12508 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12509 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12510 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12511 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12512 (hfy-force-fontification): Use run-hooks.
12513
12514 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12515
12516 Various minor fixes.
12517 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12518 Javascript belongs in the header, not the body.
12519 (hfy-javascript): Remove.
12520 (hfy-fontify-buffer): Don't insert it any more.
12521 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12522 Fix bug in invis handling when there were no invis props in a chunk.
12523
12524 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12525
12526 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12527
12528 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12529
12530 * finder.el (finder-mode-map): Add a menu.
12531
12532 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12533
12534 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12535 "unsigned" structs.
12536
12537 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12538 fork" statement better.
12539
12540 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12541
12542 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12543 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12544 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12545 Reported by Clay Douglass.
12546
12547 (verilog-auto-inst, verilog-auto-star-safe)
12548 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12549 Fix removing "// Interfaces" when saving .* expansions.
12550 Reported by Pierre-David Pfister.
12551
12552 2009-11-26 Glenn Morris <rgm@gnu.org>
12553
12554 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12555 the scope.
12556
12557 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12558
12559 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12560 Really use previous revision.
12561
12562 2009-11-25 Kevin Ryde <user42@zip.com.au>
12563
12564 * man.el (Man-completion-table): default-directory "/" in case
12565 doesn't otherwise exist. process-environment COLUMNS=999 so as
12566 not to truncate long names. process-connection-type pipe to avoid
12567 any chance of hitting the pseudo-tty TIOCGWINSZ.
12568 (man): completion-ignore-case t for friendliness and since man
12569 itself is case-insensitive on the command line.
12570 Further to Bug#3717.
12571
12572 * arc-mode.el: Add "Keywords: files", so the details in its
12573 commentary can be reached from finder-by-keyword.
12574 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12575 editing mode, but it's comms related and sgml-mode.el has "comm"
12576 on that basis too.
12577 * textmodes/bibtex-style.el: Add "Keywords: tex".
12578 * international/isearch-x.el, international/ja-dic-cnv.el:
12579 * international/ja-dic-utl.el, international/kkc.el:
12580 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12581
12582 2009-11-25 Juri Linkov <juri@jurta.org>
12583
12584 * man.el (Man-completion-table): Modify regexp to include
12585 section names to completion strings. (Bug#3717)
12586
12587 2009-11-25 Juri Linkov <juri@jurta.org>
12588
12589 Search recursively in gzipped files. (Bug#4982)
12590
12591 * progmodes/grep.el (grep-highlight-matches): Add new options
12592 `always' and `auto'. Doc fix.
12593 (grep-process-setup): Check `grep-highlight-matches' for
12594 `auto-detect' to determine the need to compute grep defaults.
12595 Move Windows/DOS specific --colors settings handling
12596 to `grep-compute-defaults'. Check `grep-highlight-matches'
12597 to get the value of "--color=".
12598 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12599 has the value `auto-detect'. Move Windows/DOS specific settings
12600 from `grep-process-setup'.
12601 (zrgrep): New command with alias `rzgrep'.
12602
12603 2009-11-25 Juri Linkov <juri@jurta.org>
12604
12605 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12606 to nil instead of switching off view-mode. (Bug#4896)
12607
12608 2009-11-25 Juri Linkov <juri@jurta.org>
12609
12610 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12611
12612 * mwheel.el (mwheel-scroll-up-function)
12613 (mwheel-scroll-down-function): New defvars.
12614 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12615 `scroll-up', and `mwheel-scroll-down-function' instead of
12616 `scroll-down'.
12617
12618 * doc-view.el (doc-view-scroll-up-or-next-page)
12619 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12620 Use this ARG in the call to image-scroll-up/image-scroll-down.
12621 Change `interactive' spec to "P". Goto next/previous page only
12622 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12623 SPC/DEL case). Doc fix.
12624 (doc-view-next-line-or-next-page)
12625 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12626 for consistency.
12627 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12628 `doc-view-scroll-up-or-next-page', and buffer-local
12629 `mwheel-scroll-down-function' to
12630 `doc-view-scroll-down-or-previous-page'.
12631
12632 2009-11-25 Juri Linkov <juri@jurta.org>
12633
12634 Provide additional default values (directories at other Dired
12635 windows) via M-n in the minibuffer of some Dired commands.
12636
12637 * dired-aux.el (dired-diff, dired-compare-directories)
12638 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12639 `minibuffer-default' in `minibuffer-with-setup-hook'.
12640 (dired-dwim-target-directory): Find a window that displays Dired
12641 buffer instead of failing when the next window is not Dired.
12642 Use `get-window-with-predicate' to find for the next Dired window.
12643 (dired-dwim-target-defaults): New function.
12644
12645 * ediff-util.el (ediff-read-file-name):
12646 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12647 in `minibuffer-with-setup-hook'.
12648
12649 2009-11-25 Juri Linkov <juri@jurta.org>
12650
12651 Provide additional default values (file name at point or at the
12652 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12653
12654 * minibuffer.el (read-file-name-defaults): New function.
12655 (read-file-name): Reset `minibuffer-default' to nil when
12656 it duplicates initial input `insdef'.
12657 Bind `minibuffer-default-add-function' to lambda that
12658 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12659 (minibuffer-insert-file-name-at-point): New command.
12660
12661 * files.el (file-name-at-point-functions): New defcustom.
12662 (find-file-default): Remove defvar.
12663 (find-file-read-args): Don't use `find-file-default'.
12664 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12665 to `read-file-name'.
12666 (find-file-literally): Use `read-file-name' with
12667 `confirm-nonexistent-file-or-buffer'.
12668
12669 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12670
12671 * dired.el (dired-read-dir-and-switches):
12672 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12673 to `read-file-name'.
12674 (dired-file-name-at-point): New function.
12675 (dired-mode): Add hook `dired-file-name-at-point' to
12676 `file-name-at-point-functions'.
12677
12678 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12679
12680 Really make the *Completions* window soft-dedicated (bug#5030).
12681 * window.el (window--display-buffer-2): Add `dedicated' argument.
12682 (display-buffer): Pass it when needed so the dedicated flag is set
12683 after calling set-window-buffer, which would otherwise reset it.
12684
12685 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * progmodes/meta-mode.el (meta-complete-symbol):
12688 * progmodes/etags.el (complete-tag):
12689 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12690 Use completion-in-region.
12691
12692 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12693 (dabbrev-completion): Use completion-in-region.
12694 (dabbrev--abbrev-at-point): Simplify regexp.
12695
12696 * abbrev.el (abbrev--before-point): Use word-motion functions
12697 if :regexp is not specified (bug#5031).
12698
12699 * subr.el (string-prefix-p): New function.
12700
12701 * man.el (Man-completion-cache): New var.
12702 (Man-completion-table): Use it.
12703
12704 * vc.el (vc-print-log-internal): Make `limit' optional for better
12705 compatibility (e.g. with vc-annotate.el).
12706
12707 2009-11-24 Kevin Ryde <user42@zip.com.au>
12708
12709 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12710 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12711
12712 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12713 when .el source file not found or other error.
12714
12715 2009-11-24 Markus Triska <markus.triska@gmx.at>
12716
12717 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12718
12719 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 Handle the [back] button properly (bug#4979).
12722 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12723 Use help-setup-xref, help-buffer, and with-help-window.
12724 (describe-char): Add `buffer' argument.
12725 Pass proper command to help-setup-xref. Don't meddle with
12726 help-xref-stack-item directly.
12727 (describe-text-category): Use with-help-window and help-buffer.
12728
12729 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12730 for the displayed buffer (bug#4887).
12731
12732 * man.el (Man-completion-table): New function.
12733 (man): Use it.
12734
12735 2009-11-24 David Reitter <david.reitter@gmail.com>
12736
12737 * vc-git.el (vc-git-registered): Use checkout directory (where
12738 .git is) rather than the file's directory and a relative path spec
12739 to work around a bug in git.
12740
12741 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12742
12743 Improve handling of processes on remote hosts.
12744
12745 * eshell/esh-util.el (eshell-path-env): New defvar.
12746 (eshell-parse-colon-path): New defun.
12747 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12748
12749 * eshell/esh-ext.el (eshell-search-path):
12750 Use `eshell-parse-colon-path'.
12751 (eshell-remote-command): Remove argument HANDLER.
12752 (eshell-external-command): Check for FTP remote connection.
12753
12754 * eshell/esh-proc.el (eshell-gather-process-output):
12755 Use `file-truename', in order to start also symlinked files.
12756 Apply `start-file-process' instead of `start-process'.
12757 Shorten `command' to the local file name part.
12758
12759 * eshell/em-cmpl.el (eshell-complete-commands-list):
12760 Use `eshell-parse-colon-path'.
12761
12762 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12763
12764 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12765 to `eshell-directory-change-hook'.
12766
12767 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12768
12769 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12770 because it could be enabled automatically if view-read-only is non-nil.
12771
12772 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12773
12774 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12775 made on 2009-11-22.
12776
12777 2009-11-24 Glenn Morris <rgm@gnu.org>
12778
12779 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12780 deleted variable bookmark-bmenu-bookmark-column.
12781
12782 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12783
12784 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12785
12786 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12787
12788 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12789 two slashes to the "file:" prefix.
12790 (browse-url-file-url): De-munge Cygwin filenames before passing
12791 them to Windows browser.
12792 (browse-url-default-windows-browser): Use call-process.
12793
12794 2009-11-23 Juri Linkov <juri@jurta.org>
12795
12796 Implement DocView Continuous mode. (Bug#4896)
12797 * doc-view.el (doc-view-continuous-mode): New defcustom.
12798 (doc-view-mode-map): Bind C-n/<down> to
12799 `doc-view-next-line-or-next-page', C-p/<up> to
12800 `doc-view-previous-line-or-previous-page'.
12801 (doc-view-next-line-or-next-page)
12802 (doc-view-previous-line-or-previous-page): New commands.
12803
12804 2009-11-23 Juri Linkov <juri@jurta.org>
12805
12806 Implement Isearch in comint input history. (Bug#3746)
12807 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12808 `isearch-mode-hook'.
12809 (comint-history-isearch): New defcustom.
12810 (comint-history-isearch-backward)
12811 (comint-history-isearch-backward-regexp): New commands.
12812 (comint-history-isearch-message-overlay): New buffer-local variable.
12813 (comint-history-isearch-setup, comint-history-isearch-end)
12814 (comint-goto-input, comint-history-isearch-search)
12815 (comint-history-isearch-message, comint-history-isearch-wrap)
12816 (comint-history-isearch-push-state)
12817 (comint-history-isearch-pop-state): New functions.
12818
12819 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12820
12821 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12822 return.
12823 (tramp-handle-make-symbolic-link)
12824 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12825 Quote file names.
12826 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12827 (tramp-handle-process-file): Use it.
12828
12829 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12830
12831 * window.el (move-to-window-line-last-op): Remove.
12832 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12833
12834 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12835
12836 Make M-r mirror the new cycling behavior of C-l.
12837 * window.el (move-to-window-line-last-op): New var.
12838 (move-to-window-line-top-bottom): New command.
12839 (global-map): Bind M-r move-to-window-line-top-bottom.
12840
12841 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12842
12843 * dired-x.el (dired-guess-shell-alist-default):
12844 Support xz format. (Bug#4953)
12845
12846 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12847
12848 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12849 last-command-char/last-command-event.
12850 (viper-prefix-arg-value): Do correct conversion of event-char for
12851 XEmacs.
12852
12853 * emulation/viper-util.el, emulation/viper.el:
12854 Use viper-last-command-char instead of
12855 last-command-char/last-command-event.
12856
12857 * ediff-init.el, ediff-mult.el, ediff-util.el:
12858 Replace last-command-char and last-command-event
12859 with (ediff-last-command-char) everywhere.
12860
12861 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12862 created in fundamental mode.
12863
12864 * ediff.el (ediff-version): Revert the change of interactive-p to
12865 called-interactively-p.
12866
12867 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12868
12869 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12870 generation from word-movement command names.
12871
12872 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12873
12874 * cus-start.el (all): Add native condition for font-use-system-font.
12875
12876 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12877
12878 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12879 Correct the patch from 2009-11-18. (Bug#3910)
12880
12881 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12882
12883 * progmodes/subword.el: Rename from lisp/subword.el.
12884
12885 * subword.el: Rename to progmodes/subword.el.
12886
12887 * Makefile.in (ELCFILES): Adapt to subword.el move.
12888
12889 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12890 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12893 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12894 (bookmark-bmenu-show-filenames): Use push.
12895 (bookmark-bmenu-hide-filenames): Use local var instead of
12896 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12897 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12898 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12899 filenames now that the bookmark names are always available.
12900
12901 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12902
12903 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12904 (bookmark-search-pattern): Move and leave unbound.
12905 (bookmark-bmenu-mode-map): Change binding.
12906 (bookmark-read-search-input): Simplify.
12907 Don't use text-char-description. Don't error on non-char events.
12908 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12909 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12910 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12911 Use a local var for the timer.
12912 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12913 (i.e. bookmark-bmenu-search).
12914
12915 2009-11-21 Glenn Morris <rgm@gnu.org>
12916
12917 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12918
12919 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12920
12921 * net/browse-url.el (browse-url-default-windows-browser):
12922 Use cygstart for cygwin.
12923
12924 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12925
12926 * bookmark.el: Formatting and doc fixes only:
12927 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12928 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12929 Minor grammar and punctuation fixes in doc string.
12930 (bookmark-read-search-input): Adjust to fit within 80 columns.
12931
12932 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12933
12934 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12935 (c-backward-into-nomenclature): Adapt to subword renaming.
12936
12937 * subword.el (subword-forward, subword-backward, subword-mark)
12938 (subword-kill, subword-backward-kill, subword-transpose)
12939 (subword-downcase, subword-upcase, subword-capitalize)
12940 (subword-forward-internal, subword-backward-internal):
12941 Rename from forward-subword, backward-subword, mark-subword,
12942 kill-subword, backward-kill-subword, transpose-subwords,
12943 downcase-subword, upcase-subword, capitalize-subword,
12944 forward-subword-internal, backward-subword-internal.
12945
12946 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12947
12948 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12949 New options.
12950 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12951 New vars.
12952 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12953 (bookmark-bmenu-filter-alist-by-regexp)
12954 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12955 (bookmark-bmenu-search): New command.
12956 (bookmark-bmenu-mode-map): Bind it.
12957
12958 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12959
12960 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12961 backward-subword to quit the byte-compiler.
12962
12963 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12964
12965 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12966
12967 * progmodes/cc-cmds.el (c-update-modeline)
12968 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12969 Refer to subword.el functions instead of cc-subword.el.
12970
12971 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12972 subword.el functions instead of cc-subword.el.
12973
12974 * progmodes/cc-subword.el: Rename to subword.el.
12975 * subword.el: Rename from progmodes/cc-subword.el.
12976 (subword-mode-map): Rename from c-subword-mode-map.
12977 (subword-mode): Rename from c-subword-mode.
12978 (global-subword-mode): New global minor mode.
12979 (forward-subword): Rename from c-forward-subword.
12980 (backward-subword): Rename from c-backward-subword.
12981 (mark-subword): Rename from c-mark-subword.
12982 (kill-subword): Rename from c-kill-subword.
12983 (backward-kill-subword): Rename from c-backward-kill-subword.
12984 (transpose-subwords): Rename from c-tranpose-subword.
12985 (downcase-subword): Rename from c-downcase-subword.
12986 (capitalize-subword): Rename from c-capitalize-subword.
12987 (forward-subword-internal): Rename from c-forward-subword-internal.
12988 (backward-subword-internal): Rename from c-backward-subword-internal.
12989
12990 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12991
12992 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12993 from a dired buffer.
12994 (vc-dired-deduce-fileset): New function.
12995 (vc-root-diff, vc-print-root-log): Use it.
12996
12997 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12998 nil LIMIT argument to vc-print-log-internal.
12999
13000 2009-11-20 Glenn Morris <rgm@gnu.org>
13001
13002 * Makefile.in (ELCFILES): Regenerate.
13003
13004 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13005
13006 * calc/calc.el (calc-set-mode-line):
13007 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13008 (math-format-number): Rename `math-format-complement-signed' to
13009 `math-format-twos-complement'.
13010
13011 * calc/calc-bin.el (math-format-twos-complement): Rename from
13012 math-format-complement-signed.
13013 (calc-radix): Rename `calc-complement-signed-mode' to
13014 `calc-twos-complement-mode'.
13015 (calc-octal-radix, calc-hex-radix): Add an argument for
13016 two's complement.
13017
13018 * calc/calc-embed.el (calc-embedded-mode-vars):
13019 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13020
13021 * calc/calc-ext.el (calc-init-extensions):
13022 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13023 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13024
13025 * calc/calc-units.el (math-build-units-table-buffer):
13026 Let `calc-twos-complement-mode' be nil.
13027
13028 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13029 entries.
13030
13031 * calc/calc-vec.el (calcFunc-vunpack):
13032 * calc/calc-aent.el (calc-do-calc-eval):
13033 * calc/calc-forms.el (math-format-date):
13034 * calc/calc-graph.el (calc-graph-plot):
13035 * calc/calc-math.el (math-use-emacs-fn):
13036 * calc/calccomp.el (math-compose-expr):
13037 Let `calc-twos-complement-mode' be nil.
13038
13039 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13042 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13043 * minibuffer.el (completion-in-region-functions): New hook.
13044 (completion-in-region): New function.
13045 * emacs-lisp/lisp.el (lisp-complete-symbol):
13046 * pcomplete.el (pcomplete-std-complete): Use it.
13047
13048 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13051 (latex-complete-alist): New vars.
13052 (latex-string-prefix-p, latex-complete-bibtex-keys)
13053 (latex-complete-envnames, latex-complete-refkeys)
13054 (latex-complete-data): New functions.
13055 (latex-complete, latex-indent-or-complete): New commands.
13056
13057 * window.el (display-buffer-mark-dedicated): New var.
13058 (display-buffer): Obey it.
13059 * minibuffer.el (minibuffer-completion-help): Use it.
13060
13061 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13062
13063 * filecache.el (file-cache-add-file): Use push and cons.
13064 (file-cache-delete-file-regexp): Use push.
13065 (file-cache-complete): Use completion-in-region.
13066
13067 * simple.el (with-wrapper-hook): Fix thinko.
13068
13069 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13070 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13071 Use with-current-buffer and string-to-number.
13072 (hfy-fallback-colour-values): Use assoc-string.
13073 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13074 (hfy-face-at): Remove unused var `found-face'.
13075 (hfy-compile-stylesheet): Remove unused var `css'.
13076 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13077 and `orig-buffer'.
13078 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13079 Use with-current-buffer.
13080 (hfy-text-p): Use expand-file-name and fewer setq.
13081
13082 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13083
13084 * htmlfontify.el, hfy-cmap.el: New files.
13085
13086 2009-11-19 Juri Linkov <juri@jurta.org>
13087
13088 * minibuffer.el (completions-format): New defcustom.
13089 (completion--insert-strings): Implement vertical format.
13090
13091 * simple.el (switch-to-completions): Move point to the first
13092 completion when point was at the beginning of the buffer.
13093
13094 2009-11-19 Juri Linkov <juri@jurta.org>
13095
13096 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13097
13098 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13099
13100 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13101
13102 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13103 (mail-signature): Change default to t.
13104 (mail-from-style): Deprecate `system-default' value.
13105 (mail-insert-from-field): For default value of mail-from-style,
13106 default to `angles' unless `angles' needs quoting and `parens'
13107 does not.
13108 (mail-citation-prefix-regexp): Use citation regexp from
13109 message-mode.
13110
13111 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13112
13113 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13114 Set variables for computing the prompt for reading password.
13115
13116 2009-11-19 Glenn Morris <rgm@gnu.org>
13117
13118 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13119
13120 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13121
13122 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13123 (newsticker-treeview-listwindow-height): Fix custom type.
13124
13125 2009-11-19 Kenichi Handa <handa@m17n.org>
13126
13127 * descr-text.el (describe-char-padded-string): Compose with TAB
13128 only if there's a font for CH.
13129 (describe-char): Fix the condition for detecting a trivial composition.
13130
13131 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13132
13133 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13134 more accurate version of the regexp. (Bug#3910)
13135
13136 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13137
13138 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13139
13140 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13141
13142 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13143 (font-setting-change-default-font): Fix typo in docstring.
13144
13145 2009-11-18 Alan Mackenzie <acm@muc.de>
13146
13147 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13148
13149 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13150
13151 * font-setting.el (font-use-system-font): Move ...
13152
13153 * cus-start.el (all): ... to here.
13154
13155 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13156
13157 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13158 Don't set `ad-return-value' if `ad-do-it' doesn't.
13159
13160 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13161 modification time.
13162
13163 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13164
13165 * menu-bar.el: Put "Use system font" in Option-menu.
13166 (menu-bar-options-save): Add font-use-system-font.
13167
13168 * loadup.el: If feature system-font-setting or font-render-setting is
13169 there, load font-setting.
13170
13171 * Makefile.in (ELCFILES): Add font-settings.el.
13172 * font-setting.el: New file.
13173
13174 2009-11-17 Glenn Morris <rgm@gnu.org>
13175
13176 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13177
13178 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13179 Preserve point in the list buffer. (Bug#4939)
13180 Use point-at-eol.
13181 (newsticker--treeview-list-update-highlight)
13182 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13183
13184 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13185
13186 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13187 Remove.
13188
13189 * calc/calc-ext.el (calc-init-extensions): Remove references to
13190 symclip.
13191
13192 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13193
13194 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13195 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13196 `calc-symclip'.
13197
13198 2009-11-16 Kevin Ryde <user42@zip.com.au>
13199
13200 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13201 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13202
13203 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13204 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13205 Ignore trailing spaces by omit-nulls to split-string (fixing
13206 regression from Emacs 21 due to the incompatible split-string
13207 change). (Bug #4928.)
13208
13209 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13210
13211 * vc.el (vc-log-show-limit): Default to 2000.
13212 (vc-print-log-internal): Insert buttons to request more entries
13213 when limiting the output.
13214
13215 * vc-sccs.el (vc-sccs-print-log):
13216 * vc-rcs.el (vc-rcs-print-log):
13217 * vc-cvs.el (vc-cvs-print-log):
13218 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13219 LIMIT is non-nil.
13220
13221 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13222
13223 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13224 error when `tramp-gvfs-dbus-event-vector' is set.
13225 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13226
13227 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13230
13231 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13232
13233 * net/dbus.el (dbus-unregister-service): New defun.
13234 (dbus-register-property): Register the handlers of
13235 "org.freedesktop.DBus.Properties" for SERVICE.
13236 (dbus-property-handler): Fix docstring.
13237
13238 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13239
13240 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13241 Quote doc string reference in defvaralias as it is not in special form.
13242 (byte-compile-output-docform): Doc fix.
13243
13244 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13245
13246 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13247 (calc-complement-signed-mode): New variables.
13248 (calc-set-mode-line): Add indicator for twos-complements.
13249 (math-format-number): Format twos-complement notation.
13250
13251 * calc/calc-bin.el (calc-word-size): Reset the variables
13252 `math-2-word-size' and `math-half-2-word-size'.
13253 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13254 (calc-symclip): New functions.
13255
13256 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13257
13258 * calc/calc-embed.el (calc-embedded-mode-vars):
13259 Add `calc-complement-signed-mode' to the list of modes.
13260
13261 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13262 (calc-b-oper-keys): Add `calc-symclip' to list.
13263
13264 * calc/calc-ext.el (math-read-number-fancy): Read complement
13265 signed numbers.
13266 (calc-init-extensions): Add binding for `calc-symclip'.
13267 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13268
13269 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13270 `calc-symclip'.
13271 (calc-modes-menu): Add item for twos complement mode.
13272
13273 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13274
13275 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13276
13277 * register.el (jump-to-register, insert-register): Handle Semantic
13278 tags. From commented-out advice in semantic/senator.el.
13279
13280 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13281
13282 * vc.el (vc-log-show-limit): New variable.
13283 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13284 when using a prefix argument.
13285 (vc-print-log-internal): Add new argument LIMIT.
13286
13287 * vc-svn.el (vc-svn-print-log):
13288 * vc-mtn.el (vc-mtn-print-log):
13289 * vc-hg.el (vc-hg-print-log):
13290 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13291 pass it to the log command when set. Make the BUFFER argument
13292 non-optional.
13293
13294 * vc-sccs.el (vc-sccs-print-log):
13295 * vc-rcs.el (vc-rcs-print-log):
13296 * vc-git.el (vc-git-print-log):
13297 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13298 ignore it. Make the BUFFER argument non-optional
13299
13300 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13301
13302 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13303
13304 * dired.el (dired-mode-map): Move encryption items to "Operate"
13305 menu (Bug#4703).
13306
13307 * strokes.el (strokes-update-window-configuration): Make strokes
13308 buffer current before erasing (Bug#4906).
13309
13310 2009-11-15 Juri Linkov <juri@jurta.org>
13311
13312 * simple.el (set-mark-default-inactive): Add :type, :group
13313 and :version. (Bug#4876)
13314
13315 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13316
13317 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13318 (archive-unique-fname): ... here. (Bug#4929)
13319
13320 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13321
13322 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13323 with a real fix.
13324
13325 * novice.el (disabled-command-function): Add useful args.
13326 Setup the help buffer so that [back] works.
13327 Remove redundant call to help-mode.
13328 (disabled-command-function): Use `case'.
13329 (en/disable-command): New function extracted from enable-command.
13330 (enable-command, disable-command): Use it.
13331
13332 2009-11-14 Glenn Morris <rgm@gnu.org>
13333
13334 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13335 constants. (Bug#4913)
13336
13337 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13338
13339 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13340
13341 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13342 defined in C that have no doc-strings. (Bug#1063)
13343
13344 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13345
13346 * cus-edit.el (data, files):
13347 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13348
13349 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13350
13351 * simple.el (shell-command): Doc fix (Bug#4891).
13352
13353 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13354
13355 2009-11-14 Glenn Morris <rgm@gnu.org>
13356
13357 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13358 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13359 If they are already loaded, eval-after-load will do the right thing.
13360
13361 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13362 compiling.
13363
13364 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13365
13366 * simple.el (x-selection-owner-p): Declare.
13367 (read-mail-command): Use custom radio type rather than choice.
13368 (completion-no-auto-exit): Doc fix.
13369
13370 * custom.el (defgroup):
13371 * epg-config.el (epg): Doc fixes.
13372
13373 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13374
13375 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13376 * international/ccl.el (define-ccl-program): Do not purecopy the
13377 docstring, defconst does it anyway.
13378
13379 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13380
13381 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13382 a second time.
13383
13384 * x-dnd.el (x-dnd-maybe-call-test-function):
13385 * window.el (split-window-vertically):
13386 * whitespace.el (whitespace-help-on):
13387 * vc-rcs.el (vc-rcs-consult-headers):
13388 * userlock.el (ask-user-about-lock-help)
13389 (ask-user-about-supersession-help):
13390 * type-break.el (type-break-force-mode-line-update):
13391 * time-stamp.el (time-stamp-conv-warn):
13392 * terminal.el (te-set-output-log, te-more-break, te-filter)
13393 (te-sentinel, terminal-emulator):
13394 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13395 (term-write-input-ring, term-check-source, term-start-output-log):
13396 (term-display-buffer-line, term-dynamic-list-completions):
13397 (term-ansi-make-term, serial-term):
13398 * subr.el (selective-display):
13399 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13400 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13401 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13402 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13403 (speedbar-remove-localized-speedbar-support)
13404 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13405 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13406 (speedbar-buffers-line-directory):
13407 * simple.el (shell-command-on-region, append-to-buffer)
13408 (prepend-to-buffer):
13409 * shadowfile.el (shadow-save-todo-file):
13410 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13411 (scroll-bar-maybe-set-window-start):
13412 * sb-image.el (speedbar-image-dump):
13413 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13414 (load-save-place-alist-from-file):
13415 * ps-samp.el (ps-print-message-from-summary):
13416 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13417 (ps-background-image, ps-begin-job, ps-do-despool):
13418 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13419 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13420 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13421 (pr-call-process, pr-file-list, pr-interface-save):
13422 * novice.el (disabled-command-function)
13423 (enable-command, disable-command):
13424 * mouse.el (mouse-buffer-menu-alist):
13425 * mouse-copy.el (mouse-kill-preserving-secondary):
13426 * macros.el (kbd-macro-query):
13427 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13428 * informat.el (batch-info-validate):
13429 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13430 * hippie-exp.el (try-expand-dabbrev-visible):
13431 * help-mode.el (help-make-xrefs):
13432 * help-fns.el (describe-variable):
13433 * generic-x.el (bat-generic-mode-run-as-comint):
13434 * finder.el (finder-mouse-select):
13435 * find-dired.el (find-dired-sentinel):
13436 * filesets.el (filesets-file-close):
13437 * files.el (list-directory):
13438 * faces.el (list-faces-display, describe-face):
13439 * facemenu.el (list-colors-display):
13440 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13441 * epg.el (epg--process-filter, epg-cancel):
13442 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13443 (epa--read-signature-type):
13444 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13445 (emerge-file-names):
13446 * ehelp.el (electric-helpify):
13447 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13448 * ediff-vers.el (rcs-ediff-view-revision):
13449 * ediff-util.el (ediff-setup):
13450 * ediff-mult.el (ediff-append-custom-diff):
13451 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13452 (ediff-wordify):
13453 * echistory.el (Electric-command-history-redo-expression):
13454 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13455 * disp-table.el (describe-display-table):
13456 * dired.el (dired-find-buffer-nocreate):
13457 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13458 * dabbrev.el (dabbrev--same-major-mode-p):
13459 * chistory.el (list-command-history):
13460 * apropos.el (apropos-documentation):
13461 * allout.el (allout-obtain-passphrase):
13462 (allout-copy-exposed-to-buffer):
13463 (allout-verify-passphrase): Use with-current-buffer.
13464
13465 2009-11-13 Glenn Morris <rgm@gnu.org>
13466
13467 * Makefile.in (ELCFILES): Regenerate.
13468
13469 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13470
13471 * net/dbus.el (dbus-registered-objects-table): Rename from
13472 `dbus-registered-functions-table', because it contains also properties.
13473 (dbus-unregister-object): Unregister also properties.
13474 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13475 Use a timeout of 500 msec, in order to not block.
13476 (dbus-register-property, dbus-property-handler): New defuns.
13477
13478 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13479
13480 * simple.el (minibuffer-default-add-completions): Drop deprecated
13481 4th arg.
13482
13483 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13484
13485 * textmodes/artist.el (artist-mouse-choose-operation):
13486 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13487 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13488 (artist-compute-up-event-key): New function.
13489 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13490
13491 2009-11-13 Kenichi Handa <handa@m17n.org>
13492
13493 * language/japan-util.el: Make sure that the value of jisx0208
13494 property is jisx0208 character.
13495
13496 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13497
13498 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13499 car or each item, not the whole list.
13500
13501 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * minibuffer.el (minibuffer-completion-help):
13504 Use minibuffer-hide-completions.
13505
13506 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13507
13508 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13509 (dired-revert): Use them (bug#4880).
13510
13511 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13512
13513 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13514
13515 2009-11-12 Juri Linkov <juri@jurta.org>
13516
13517 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13518 New functions.
13519 (find-file-literally-at-point): Alias of `ffap-literally'.
13520
13521 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13522
13523 * textmodes/ispell.el (ispell-skip-region-alist):
13524 * textmodes/css-mode.el (auto-mode-alist):
13525 * progmodes/compile.el (auto-mode-alist):
13526 * international/mule.el (ctext-non-standard-encodings-alist)
13527 (ctext-non-standard-encodings-regexp):
13528 * simple.el (shell-command-switch, text-read-only):
13529 * replace.el (occur-mode-map):
13530 * paths.el (rmail-file-name):
13531 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13532 * find-file.el (ff-special-constructs):
13533 * files.el (file-name-handler-alist):
13534 * composite.el: Purecopy strings.
13535
13536 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13537
13538 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13539
13540 * widget.el (define-widget): Purecopy the docstring.
13541 * international/mule-cmds.el (charset): Do not purecopy the
13542 docstring here, define-widget does it.
13543
13544 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13545 * textmodes/bibtex-style.el (auto-mode-alist):
13546 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13547 * progmodes/compile.el (compile-command):
13548 * language/korea-util.el (default-korean-keyboard):
13549 * international/mule-conf.el (file-coding-system-alist):
13550 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13551 * tooltip.el (tooltip-frame-parameters):
13552 * newcomment.el (comment-end, comment-padding):
13553 * dired.el (dired-trivial-filenames):
13554 * comint.el (comint-file-name-prefix): Purecopy initial values.
13555
13556 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13557
13558 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13559 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13560 `tramp-unload'.
13561 (tramp-advice-make-auto-save-file-name)
13562 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13563 after removing the advice.
13564
13565 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13566
13567 * progmodes/grep.el (grep-regexp-alist):
13568 * international/mule-cmds.el (iso-2022-control-alist):
13569 * emacs-lisp/timer.el (timer-duration-words):
13570 * subr.el (version-separator, version-regexp-alist):
13571 * minibuffer.el (completion-styles-alist):
13572 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13573 Change defvars to defconsts.
13574
13575 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13576 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13577 * international/mule-conf.el: Allow to be byte compiled.
13578
13579 * international/mule.el (define-charset): Purecopy props.
13580 (load-with-code-conversion): Purecopy doc string and file name.
13581 (put-charset-property): Purecopy strings.
13582 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13583
13584 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13585 (define-char-code-property): Correctly purecopy the table.
13586
13587 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13588
13589 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13590
13591 * subr.el (add-hook): Purecopy strings.
13592 (eval-after-load): Purecopy load-history-regexp and the form.
13593
13594 * custom.el (custom-declare-group): Purecopy load-file-name.
13595
13596 * subr.el (menu-bar-separator): New defconst.
13597 * net/eudc.el (eudc-tools-menu):
13598 * international/mule-cmds.el (set-coding-system-map)
13599 (mule-menu-keymap):
13600 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13601 * vc-hooks.el (vc-menu-map):
13602 * replace.el (occur-mode-map):
13603 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13604 (menu-bar-edit-menu, menu-bar-goto-menu)
13605 (menu-bar-custom-menu, menu-bar-showhide-menu)
13606 (menu-bar-options-menu, menu-bar-tools-menu)
13607 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13608 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13609 (menu-bar-help-menu):
13610 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13611 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13612
13613 * term/x-win.el (x-gtk-stock-map):
13614 * progmodes/vera-mode.el (auto-mode-alist):
13615 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13616 (inferior-lisp-program, inferior-lisp-load-command):
13617 * progmodes/hideshow.el (hs-special-modes-alist):
13618 * progmodes/gud.el (same-window-regexps):
13619 * progmodes/grep.el (grep-program, find-program, xargs-program):
13620 * net/telnet.el (same-window-regexps):
13621 * net/rlogin.el (same-window-regexps):
13622 * language/ethiopic.el (font-ccl-encoder-alist):
13623 * vc-sccs.el (vc-sccs-master-templates):
13624 * vc-rcs.el (vc-rcs-master-templates):
13625 * subr.el (cl-assertion-failed):
13626 * simple.el (next-error-overlay-arrow-position):
13627 * lpr.el (lpr-command):
13628 * locate.el (locate-ls-subdir-switches):
13629 * info.el (same-window-regexps, info)
13630 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13631 * image-mode.el (image-mode, auto-mode-alist):
13632 * hippie-exp.el (hippie-expand-ignore-buffers):
13633 * format.el (format-alist):
13634 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13635 (find-name-arg):
13636 * facemenu.el (facemenu-keybindings):
13637 * dired.el (dired-listing-switches, dired-chown-program):
13638 * diff.el (diff-switches, diff-command):
13639 * cus-edit.el (same-window-regexps):
13640 * bindings.el (mode-line-mule-info)
13641 (mode-line-buffer-identification): Purecopy strings.
13642
13643 2009-11-11 Juri Linkov <juri@jurta.org>
13644
13645 * simple.el (dired-get-filename) <declare-function>:
13646 Tell the byte-compiler about dired-get-filename.
13647 (shell-command): In Dired mode, get filename from the current line
13648 as the default value.
13649
13650 2009-11-10 Glenn Morris <rgm@gnu.org>
13651
13652 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13653 * calendar/holidays.el, progmodes/cperl-mode.el:
13654 Update x-popup-menu declarations.
13655
13656 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13657 (list-load-path-shadows): Use dolist.
13658 (list-load-path-shadows): Use with-current-buffer.
13659
13660 2009-11-10 Juri Linkov <juri@jurta.org>
13661
13662 * minibuffer.el (read-file-name): Support a list of default values
13663 in `default-filename'. Use the first file name where only one
13664 element is required. Doc fix.
13665
13666 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13667
13668 * net/dbus.el (dbus-unregister-object): Release service, if no
13669 other method is registered for it.
13670
13671 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13672
13673 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13674 bookmark-sort-flag is non-nil (Bug#4653).
13675
13676 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13677
13678 * emulation/cua-base.el: Add CUA property to some CC mode commands
13679 (Bug#4100).
13680
13681 2009-11-08 Kevin Ryde <user42@zip.com.au>
13682
13683 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13684 at end of sentence (Bug#4818).
13685
13686 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13687
13688 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13689 Handle "see declaration of" MSFT statements (Bug#4100).
13690
13691 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13692
13693 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13694 (tramp-advice-file-expand-wildcards): Unload via
13695 `ad-remove-advice'.
13696
13697 * net/trampver.el: Update release number.
13698
13699 2009-11-08 Kevin Ryde <user42@zip.com.au>
13700
13701 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13702 `ad-do-it'.
13703
13704 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13705
13706 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13707 in order to keep context in SELinux.
13708
13709 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13710
13711 * dired-aux.el (dired-query): Place cursor in echo area and allow
13712 C-g.
13713
13714 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13715 menu item if not on a directory (Bug#4701).
13716
13717 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13718
13719 Sync with Tramp 2.1.17.
13720
13721 * net/tramp.el (tramp-handle-copy-directory): Don't use
13722 `file-remote-p' (due to compatibility).
13723
13724 * net/tramp-compat.el (tramp-compat-copy-directory)
13725 (tramp-compat-delete-directory): New defuns.
13726
13727 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13728 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13729 Use `tramp-compat-delete-directory'.
13730
13731 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13732 (tramp-smb-handle-delete-directory):
13733 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13734
13735 * net/trampver.el: Update release number.
13736
13737 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13738
13739 * tar-mode.el (tar-copy): Call write-region on the right buffer
13740 (Bug#4857).
13741
13742 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13743 by hand, if necessary (Bug#4878).
13744
13745 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13746
13747 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13748 align size column (Bug#4839).
13749
13750 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13751 statement.
13752
13753 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13754
13755 * progmodes/ld-script.el (auto-mode-alist):
13756 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13757
13758 * cus-face.el (custom-declare-face): Purecopy face spec.
13759
13760 2009-11-06 Kenichi Handa <handa@m17n.org>
13761
13762 * international/uni-bidi.el: Re-generated.
13763 * international/uni-category.el: Re-generated.
13764 * international/uni-combining.el: Re-generated.
13765 * international/uni-mirrored.el: Re-generated.
13766
13767 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13768
13769 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13770 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13771 (tex-start-options, slitex-run-command, latex-run-command)
13772 (tex-run-command, tex-directory):
13773 * textmodes/ispell.el (ispell-html-skip-alists)
13774 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13775 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13776 (adaptive-fill-regexp):
13777 * textmodes/dns-mode.el (auto-mode-alist):
13778 * progmodes/python.el (interpreter-mode-alist):
13779 * progmodes/etags.el (tags-compression-info-list):
13780 * progmodes/etags.el (tags-file-name):
13781 * net/browse-url.el (browse-url-galeon-program)
13782 (browse-url-firefox-program):
13783 * mail/sendmail.el (mail-signature-file)
13784 (mail-citation-prefix-regexp):
13785 * international/mule-conf.el (eight-bit):
13786 * international/latexenc.el (latex-inputenc-coding-alist):
13787 * international/fontset.el (x-pixel-size-width-font-regexp):
13788 * emacs-lisp/warnings.el (warning-type-format):
13789 * emacs-lisp/trace.el (trace-buffer):
13790 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13791 (emacs-lisp-mode-map):
13792 * calendar/holidays.el (holiday-solar-holidays)
13793 (holiday-bahai-holidays, holiday-islamic-holidays)
13794 (holiday-christian-holidays, holiday-hebrew-holidays)
13795 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13796 (hebrew-holidays-1, holiday-oriental-holidays)
13797 (holiday-general-holidays):
13798 * x-dnd.el (x-dnd-known-types):
13799 * tool-bar.el (tool-bar):
13800 * startup.el (site-run-file):
13801 * shell.el (shell-dumb-shell-regexp):
13802 * rfn-eshadow.el (file-name-shadow-tty-properties)
13803 (file-name-shadow-properties):
13804 * paths.el (remote-shell-program, news-directory):
13805 * mouse.el ([C-down-mouse-3]):
13806 * menu-bar.el (menu-bar-tools-menu):
13807 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13808 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13809 (jka-compr-compression-info-list):
13810 * isearch.el (search-whitespace-regexp):
13811 * image-file.el (image-file-name-extensions):
13812 * find-dired.el (find-ls-option):
13813 * files.el (directory-listing-before-filename-regexp)
13814 (directory-free-space-args, insert-directory-program)
13815 (list-directory-brief-switches, magic-fallback-mode-alist)
13816 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13817 (automount-dir-prefix):
13818 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13819 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13820 (face-font-registry-alternatives, face-font-registry-alternatives)
13821 (face-font-family-alternatives):
13822 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13823 (facemenu-foreground-menu, facemenu-face-menu):
13824 * epa-hook.el (epa-file-name-regexp):
13825 * dnd.el (dnd-protocol-alist):
13826 * textmodes/rst.el (auto-mode-alist):
13827 * button.el (default-button): Purecopy strings.
13828
13829 2009-11-06 Glenn Morris <rgm@gnu.org>
13830
13831 * Makefile.in (ELCFILES): Update.
13832
13833 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13834
13835 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13836 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13837
13838 * nxml/xsd-regexp.el (xsdre-gen-categories):
13839 * nxml/xmltok.el (xmltok-parse-entity):
13840 * nxml/rng-parse.el (rng-parse-validate-file):
13841 * nxml/rng-maint.el (rng-format-manual)
13842 (rng-manual-output-force-new-line):
13843 * nxml/rng-loc.el (rng-save-schema-location-1):
13844 * nxml/rng-cmpct.el (rng-c-parse-file):
13845 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13846 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13847
13848 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13849
13850 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13851 Remove extra save-excursions and make-variable-buffer-local's.
13852 Suggested by Stefan Monnier.
13853
13854 (verilog-getopt-file, verilog-module-inside-filename-p)
13855 (verilog-set-define): Merge GNU 1.35 and repair changes from
13856 switching to using with-current-buffer.
13857
13858 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13859 being treated as a number and confusing AUTORESET.
13860 Reported by Dan Dever.
13861
13862 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13863 Add verilog-auto-ignore-concat to fix backward compatibility with
13864 older verilog-modes. Reported by Dan Katz.
13865
13866 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13867 containing closing anchors "...$".
13868
13869 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13870 Reported by Wade Smith.
13871
13872 (verilog-batch-execute-func): Comment on function usage.
13873
13874 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13875
13876 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13877 for labels.
13878
13879 (verilog-label-re, verilog-calc-1): Support proper indent of named
13880 asserts.
13881
13882 (verilog-backward-token, verilog-basic-complete-re)
13883 (verilog-beg-of-statement, verilog-indent-re): Support proper
13884 indent of the assert statement at the beginning of a block of text.
13885
13886 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13887 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13888 tokens as begins.
13889
13890 2009-11-05 Glenn Morris <rgm@gnu.org>
13891
13892 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13893 Emacs 19. (Bug#1531)
13894 (byte-compile-fix-header): Update for the above change.
13895 Drop test for epoch::version.
13896
13897 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13898 * cus-dep.el (custom-make-dependencies):
13899 * finder.el (finder-compile-keywords):
13900 Use autoload-rubric's feature argument.
13901
13902 * calendar/diary-lib.el (top-level): Make load behave more like require.
13903
13904 * vc-git.el (vc-git-stash-map): Move definition before use.
13905
13906 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13907
13908 * custom.el (custom-declare-group): Purecopy standard-value.
13909 (custom-declare-group): Purecopy custom-prefix.
13910
13911 * international/mule.el (load-with-code-conversion):
13912 Call do-after-load-evaluation unconditionally.
13913
13914 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13915
13916 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13917
13918 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13919
13920 2009-11-04 Glenn Morris <rgm@gnu.org>
13921
13922 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13923 (byte-compile-compatibility): Remove option.
13924 (byte-compile-close-variables, byte-compile-fix-header)
13925 (byte-compile-insert-header, byte-compile-output-docform)
13926 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13927 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13928 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13929 (byte-compile-insert, byte-compile-defun):
13930 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13931 (byte-defop-compiler19): Remove.
13932 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13933 used by anything. Replace all calls with byte-defop-compiler.
13934
13935 2009-11-04 Juri Linkov <juri@jurta.org>
13936
13937 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13938 (menu-bar-options-menu): Don't quote the `prop' arg of
13939 `menu-bar-make-mm-toggle'.
13940
13941 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13942
13943 * calendar/calendar.el (cal-loaddefs):
13944 * calendar/diary-lib.el (diary-loaddefs):
13945 * calendar/holidays.el (hol-loaddefs):
13946 * eshell/esh-module.el (esh-groups): Load rather than require.
13947
13948 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13951 point-min==1.
13952 (todo-top-priorities): Only display-buffer when called interactively.
13953 (todo-item-start): Don't save excursion point.
13954 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13955 (todo-insert-item-here, todo-file-item, todo-remove-item):
13956 Adjust uses of todo-item-start and todo-item-end.
13957
13958 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13959 (autoload-rubric): Don't use any more.
13960
13961 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13962 and only put a prop if it is non-nil.
13963
13964 2009-11-03 Juri Linkov <juri@jurta.org>
13965
13966 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13967 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13968
13969 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13970 and "Menu" to make top-level menu item visually one unit (like
13971 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13972 multi-word menu items). Fix :help string for quit-window.
13973
13974 2009-11-03 Glenn Morris <rgm@gnu.org>
13975
13976 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13977 (byte-compile-file-form-define-abbrev-table)
13978 (byte-compile-file-form-custom-declare-variable)
13979 (byte-compile-variable-ref, byte-compile-defvar):
13980 Whether or not a warning is enabled should only affect whether we issue
13981 the warning, not whether or not we collect the relevant data.
13982 Eg warnings can be turned on and off throughout the course of a file.
13983
13984 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13985 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13986
13987 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13988
13989 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13990 * play/mpuz.el (mpuz-create-buffer):
13991 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13992 (lm-print-y,s,noise, lm-print-w0, lm-init):
13993 * play/gomoku.el (gomoku-prompt-for-move):
13994 * play/fortune.el (fortune-in-buffer):
13995 * play/dissociate.el (dissociated-press):
13996 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13997 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13998 * mail/supercite.el (sc-eref-show):
13999 * mail/smtpmail.el (smtpmail-send-it):
14000 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14001 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14002 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14003 (rmail-summary-goto-msg, rmail-summary-expunge)
14004 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14005 (rmail-summary-add-label, rmail-summary-output-menu)
14006 (rmail-summary-output-body):
14007 * mail/rfc822.el (rfc822-addresses):
14008 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14009 * mail/mailpost.el (post-mail-send-it):
14010 * mail/hashcash.el (hashcash-generate-payment):
14011 * mail/feedmail.el (feedmail-run-the-queue)
14012 (feedmail-queue-send-edit-prompt-help-first)
14013 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14014 (feedmail-deduce-address-list):
14015 * eshell/esh-ext.el (eshell-remote-command):
14016 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14017 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14018 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14019 (viper-save-string-in-file, viper-valid-marker):
14020 * emulation/viper-keym.el (viper-toggle-key):
14021 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14022 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14023 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14024 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14025 (viper-exec-form-in-emacs, viper-brac-function):
14026 * emulation/viper.el (viper-delocalize-var):
14027 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14028 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14029 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14030 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14031 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14032 * emulation/edt.el (edt-electric-helpify):
14033 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14034 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14035 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14036 (cua-indent-to-global-mark-column):
14037 * calendar/diary-lib.el (calendar-mark-1):
14038 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14039 Use with-current-buffer.
14040 * emulation/viper.el (viper-delocalize-var): Use dolist.
14041
14042 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14043
14044 * comint.el (comint-replace-by-expanded-history-before-point):
14045 Replace !! with the previous input string literally (Bug#1795).
14046
14047 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14048
14049 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14050 to be made up of whitespace.
14051
14052 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14053
14054 * minibuffer.el (read-file-name): Don't use file dialogs for
14055 remote directories (Bug#99).
14056
14057 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14058
14059 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14060
14061 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14062
14063 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14064 instead of deleting the window or frame.
14065
14066 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14067
14068 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14069 Support face colors.
14070
14071 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14072 New function. Support face colors (Bug#1168).
14073 (tex-common-initialization): Use it.
14074
14075 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14076 mode allows it (Bug#1168).
14077
14078 2009-10-31 Juri Linkov <juri@jurta.org>
14079
14080 * facemenu.el (list-colors-display): Don't mark buffer as
14081 modified (Bug#3948).
14082
14083 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14084
14085 * international/mule-diag.el (list-character-sets-1):
14086 Minor message fix (Bug#3526).
14087
14088 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14089 Fix face property (Bug#4834).
14090 (etags-list-tags, etags-tags-apropos-additional)
14091 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14092 property.
14093
14094 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14095 items.
14096
14097 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14098
14099 * textmodes/two-column.el (2C-split):
14100 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14101 * textmodes/tex-mode.el (tex-set-buffer-directory):
14102 * textmodes/spell.el (spell-region, spell-string):
14103 * textmodes/reftex.el (reftex-erase-buffer):
14104 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14105 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14106 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14107 (reftex-select-item):
14108 * textmodes/reftex-ref.el (reftex-label-info-update)
14109 (reftex-offer-label-menu):
14110 * textmodes/reftex-index.el (reftex-index-change-entry)
14111 (reftex-index-phrases-info):
14112 * textmodes/reftex-global.el (reftex-create-tags-file)
14113 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14114 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14115 (reftex-view-crossref-from-bibtex):
14116 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14117 (reftex-extract-bib-entries-from-thebibliography)
14118 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14119 * textmodes/refbib.el (r2b-capitalize-title):
14120 (r2b-convert-buffer, r2b-help):
14121 * textmodes/page-ext.el (pages-directory)
14122 (pages-directory-goto-with-mouse):
14123 * textmodes/bibtex.el (bibtex-validate-globally):
14124 * textmodes/bib-mode.el (bib-capitalize-title):
14125 * textmodes/artist.el (artist-clear-buffer, artist-system):
14126 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14127 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14128 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14129 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14130 (xscheme-send-control-g-interrupt, xscheme-start-process)
14131 (xscheme-process-sentinel, xscheme-cd):
14132 * progmodes/verilog-mode.el (verilog-read-always-signals)
14133 (verilog-set-define, verilog-getopt-file)
14134 (verilog-module-inside-filename-p):
14135 * progmodes/sh-script.el:
14136 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14137 (python-pdbtrack-grub-for-buffer, python-execute-file):
14138 * progmodes/octave-inf.el (inferior-octave):
14139 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14140 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14141 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14142 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14143 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14144 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14145 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14146 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14147 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14148 (idlwave-shell-examine-display, idlwave-shell-run-region)
14149 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14150 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14151 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14152 (idlwave-help-get-help-buffer):
14153 * progmodes/gud.el (gud-basic-call, gud-find-class)
14154 (gud-tooltip-activate-mouse-motions-if-enabled):
14155 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14156 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14157 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14158 (ebrowse-tags-next-file):
14159 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14160 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14161 (ebnf-eps-finish-and-write):
14162 * progmodes/cpp.el (cpp-edit-save):
14163 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14164 * progmodes/cc-defs.el (c-emacs-features):
14165 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14166 (antlr-directory-dependencies):
14167 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14168 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14169 (ada-find-any-references, ada-make-filename-from-adaname)
14170 (ada-make-body-gnatstub):
14171 * obsolete/rnews.el (news-list-news-groups):
14172 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14173 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14174 * net/rcirc.el (rcirc-debug):
14175 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14176 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14177 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14178 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14179 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14180 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14181 (newsticker--treeview-list-clear-highlight)
14182 (newsticker--treeview-list-update-highlight)
14183 (newsticker--treeview-list-highlight-start)
14184 (newsticker--treeview-tree-update-highlight)
14185 (newsticker--treeview-get-selected-item)
14186 (newsticker-treeview-mark-list-items-old)
14187 (newsticker--treeview-set-current-node):
14188 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14189 * net/newst-backend.el (newsticker--get-news-by-funcall)
14190 (newsticker--get-news-by-wget, newsticker--image-get)
14191 (newsticker--image-sentinel):
14192 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14193 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14194 (eudc-ph-close-session):
14195 * net/eudc.el (eudc-save-options):
14196 * language/thai-word.el (thai-update-word-table):
14197 * language/japan-util.el (japanese-string-conversion):
14198 * international/titdic-cnv.el (tsang-quick-converter)
14199 (ziranma-converter, ctlau-converter):
14200 * international/mule-cmds.el (describe-language-environment):
14201 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14202 (skkdic-convert-postfix, skkdic-convert-prefix):
14203 (skkdic-convert-okuri-nasi, skkdic-convert):
14204 * emacs-lisp/re-builder.el (reb-update-overlays):
14205 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14206 * emacs-lisp/gulp.el (gulp-send-requests):
14207 * emacs-lisp/find-gc.el (trace-call-tree):
14208 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14209 (eieio-describe-generic):
14210 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14211 * emacs-lisp/edebug.el (edebug-outside-excursion):
14212 * emacs-lisp/debug.el (debugger-make-xrefs):
14213 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14214 * emacs-lisp/chart.el (chart-new-buffer):
14215 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14216 Use with-current-buffer.
14217 * textmodes/artist.el (artist-system): Don't call
14218 copy-sequence on a fresh string.
14219 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14220
14221 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14222
14223 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14224 is no item to edit. (Bug#4820)
14225 (todo-top-priorities): Restore point and restore narrowing in Todo
14226 buffer. (Bug#4820)
14227
14228 2009-10-31 Glenn Morris <rgm@gnu.org>
14229
14230 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14231 (comint-last-output-start, comint-last-input-start)
14232 (comint-last-input-end): Don't defvar when compiling.
14233 (ange-ftp-process-file): Use bound-and-true-p.
14234
14235 * pcmpl-rpm.el (top-level): Move provide statement to end.
14236 (pcmpl-rpm): Remove unused custom group.
14237
14238 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14239
14240 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14241
14242 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14243 (byte-compile-warnings): Add `constants' as an option.
14244 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14245 (display-call-tree): Update for byte-compile-fdefinition possibly
14246 returning `(macro lambda ...)'. (Bug#4778)
14247 (byte-compile-variable-ref, byte-compile-setq-default):
14248 Respect `constants' member of byte-compile-warnings.
14249
14250 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14251
14252 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14253 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14254 to "submit:".
14255
14256 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14257
14258 * textmodes/ispell.el (ispell-skip-region-alist):
14259 * international/mule-conf.el (eight-bit):
14260 * international/fontset.el (font-encoding-alist):
14261 * startup.el (pure-space-overflow-message):
14262 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14263 * paths.el (gnus-nntp-service, rmail-spool-directory)
14264 (term-file-prefix):
14265 * files.el (save-some-buffers-action-alist):
14266 * cmuscheme.el (same-window-buffer-names):
14267 * ielm.el (same-window-buffer-names):
14268 * shell.el (same-window-buffer-names):
14269 * mail/sendmail.el (same-window-buffer-names):
14270 * progmodes/inf-lisp.el (same-window-buffer-names):
14271 * bindings.el (mode-line-client)
14272 (mode-line-column-line-number-mode-map):
14273 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14274 (tibetan-precomposed-regexp): Purecopy string arguments.
14275
14276 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14277
14278 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14279 (calcDigit-nondigit):
14280 * calc/calc-yank.el (calc-copy-to-buffer):
14281 * calc/calc-units.el (calc-invalidate-units-table):
14282 * calc/calc-trail.el (calc-trail-yank):
14283 * calc/calc-store.el (calc-insert-variables):
14284 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14285 * calc/calc-prog.el (calc-read-parse-table):
14286 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14287 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14288 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14289 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14290 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14291 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14292 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14293 * calc/calc-ext.el (calc-realign):
14294 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14295 (calc-embedded-finish-edit, calc-embedded-make-info)
14296 (calc-embedded-finish-command, calc-embedded-stack-change):
14297 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14298
14299 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14300 shell-dynamic-complete-filename in preference to
14301 comint-dynamic-complete-filename.
14302
14303 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14304 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14305 Don't consider whether the display supports colors.
14306 (bookmark-import-new-list): Use dolist.
14307 (bookmark-bmenu-mode-map): Move initialization into declaration.
14308 (bookmark-bmenu-list): Use dolist, simplify.
14309 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14310 (menu-bar-final-items): Use push.
14311
14312 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14313
14314 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14315 it works on remote files.
14316 (vc-hg-diff): Don't pass any `--cwd' argument.
14317
14318 2009-10-27 Kevin Ryde <user42@zip.com.au>
14319
14320 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14321 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14322 (Further to Bug#3921).
14323
14324 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14325
14326 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14327 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14328 calling `tramp-imap-put-file'. Add file size to the call.
14329 (tramp-imap-get-file-entries): Compute also user name, file size,
14330 and date.
14331 (tramp-imap-handle-insert-directory): Insert uid and gid.
14332 (tramp-imap-handle-file-attributes): Transform uid and gid
14333 according to `id-format'.
14334 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14335 size in header X-Size.
14336
14337 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14338
14339 * simple.el (transpose-subr): Give clearer error when the mark
14340 is not set. (Bug#4807)
14341
14342 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14343
14344 * net/tramp.el (tramp-perl-file-truename): New defconst.
14345 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14346 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14347 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14348 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14349
14350 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14351 Ignore `dired-call-process'.
14352 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14353
14354 2009-10-26 Julian Scheid <julians37@gmail.com>
14355
14356 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14357 (tramp-get-remote-readlink): New defun.
14358 (tramp-handle-file-truename): Use it.
14359 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14360 file exists if cache value present.
14361 (tramp-check-cached-permissions): New defun.
14362 (tramp-handle-file-readable-p): Use it.
14363 (tramp-handle-file-writable-p): Likewise.
14364 (tramp-handle-file-executable-p): Likewise.
14365 (tramp-handle-file-name-all-completions): Try using Perl to get
14366 partial completions. When perl not available, combine `cd' and
14367 `ls' into single remote operation and use shell expansion to get
14368 partial remote directory contents. Set `file-exists-p' cache for
14369 directory and any files returned by ls. Change cache handling to
14370 support partial directory contents. Use error message emitted by
14371 remote `cd' or Perl code for local tramp-error.
14372 (tramp-do-copy-or-rename-file-directly): Avoid separate
14373 tramp-send-command-and-check call.
14374 (tramp-handle-process-file): Merge three remote ops into one.
14375 Do not flush all caches when `process-file-side-effects' is set.
14376 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14377 file-attributes shows uid/gid to be set already.
14378
14379 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14380
14381 * textmodes/tex-mode.el (tex-dvi-view-command)
14382 (tex-show-queue-command, tex-open-quote):
14383 * progmodes/ruby-mode.el (auto-mode-alist)
14384 (interpreter-mode-alist): Purecopy strings.
14385
14386 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14387
14388 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14389 string for the hook, keymap and abbrev table.
14390
14391 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14392
14393 * x-dnd.el (x-dnd-xdnd-to-action):
14394 * startup.el (fancy-startup-text, fancy-about-text): Change to
14395 defconst from defvar.
14396
14397 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14398
14399 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14400 Purecopy initialization strings.
14401
14402 * mail/sendmail.el (mail-header-separator)
14403 (mail-personal-alias-file):
14404 * mail/rmail.el (rmail-default-dont-reply-to-names)
14405 (rmail-ignored-headers, rmail-retry-ignored-headers)
14406 (rmail-highlighted-headers, rmail-secondary-file-directory)
14407 (rmail-secondary-file-regexp):
14408 * files.el (null-device, file-name-invalid-regexp)
14409 (locate-dominating-stop-dir-regexp)
14410 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14411 (interpreter-mode-alist): Use mapcar instead of mapc.
14412
14413 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14414
14415 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14416 (completion-ignored-extensions):
14417 (debug-ignored-errors): Purecopy strings.
14418
14419 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14420
14421 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14422 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14423 (pcomplete--here): Use push.
14424
14425 * subr.el (all-completions): Declare the 4th arg obsolete.
14426
14427 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14428
14429 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14430 (pcomplete-unquote-argument): New function.
14431 (pcomplete--common-suffix): Always pay attention to case.
14432 (pcomplete--table-subvert): Quote and unquote the text.
14433 (pcomplete--common-quoted-suffix): New function.
14434 (pcomplete-std-complete): Use it and pcomplete-begin.
14435
14436 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14437 we're inside a dedicated or minibuffer window.
14438
14439 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14440
14441 * bookmark.el: Update documentation, especially documentation
14442 of `bookmark-alist' and of the bookmark file format.
14443 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14444
14445 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14446
14447 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14448 keybindings apply to the mail buffer (Bug#4003). Shrink help
14449 window to buffer.
14450
14451 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14452 (global-whitespace-mode, global-whitespace-newline-mode)
14453 (whitespace-toggle-options, global-whitespace-toggle-options):
14454 Doc fix (Bug#3660).
14455
14456 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14457 of xmltok-start before the end tag was inserted (Bug#2840).
14458
14459 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14460 patterns that are preceded by an open-paren (Bug#1320).
14461
14462 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14463
14464 * files.el (delete-directory): Delete symlinks to directories with
14465 delete-file (Bug#4739).
14466
14467 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14468
14469 * vc.el (vc-backend-for-registration): Rename from
14470 vc-get-backend-for-registration. Update callers.
14471
14472 * international/mule-cmds.el (set-language-info-alist):
14473 Purecopy lang-env.
14474 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14475 (charset): Purecopy the name.
14476 (define-char-code-property): Purecopy string arguments.
14477
14478 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14479 Purecopy string arguments.
14480
14481 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14482 * ediff-hook.el (menu-bar-ediff-menu):
14483 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14484 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14485
14486 2009-10-24 Glenn Morris <rgm@gnu.org>
14487
14488 * comint.el (comint-dynamic-list-completions):
14489 * term.el (term-dynamic-list-completions): Use choose-completion rather
14490 than obsolete alias mouse-choose-completion.
14491
14492 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14493 file-cache-choose-completion.
14494 (file-cache-choose-completion): Handle an optional event argument.
14495 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14496
14497 * progmodes/octave-mod.el (octave-complete-symbol):
14498 Use choose-completion if mouse-choose-completion is ever removed.
14499
14500 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14501 use.
14502
14503 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14504 compiler.
14505
14506 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14507
14508 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14509
14510 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14511 Ignore `pred' now that we receive one.
14512 Handle test-completion specially.
14513
14514 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14515
14516 * vc.el (vc-responsible-backend): Throw an error if not backend is
14517 found. Remove the REGISTER argument. Move the code dealing with
14518 REGISTER ...
14519 (vc-get-backend-for-registration): ... here. New function.
14520 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14521 of vc-responsible-backend, pass the file name instead of the
14522 directory name.
14523
14524 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14525
14526 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14527 New funs.
14528 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14529 (pcomplete-comint-setup): Don't modify a global var via
14530 accidental side-effects.
14531 (pcomplete-shell-setup): Adjust call accordingly.
14532 (pcomplete-parse-comint-arguments): Use push.
14533
14534 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14535
14536 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14537 Allow uncapitalized info node names (Bug#3921).
14538
14539 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14540 to the DEBUG file (Bug#3781).
14541
14542 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14543
14544 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14545 dictionary entry (Bug#4579).
14546
14547 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14548
14549 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14550 from `rfn-eshadow-update-overlay-hook' when unloading.
14551 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14552 "rsyncc". Adjust doc string.
14553 (tramp-temp-buffer-file-name): New buffer-local defvar.
14554 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14555 Keep temporary file when indicated by method ("rsync" and
14556 "rsyncc").
14557 (tramp-handle-write-region): Handle APPEND.
14558 (tramp-delete-temp-file-function): New defun. Added to
14559 `kill-buffer-hook'.
14560
14561 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14562
14563 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14564
14565 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14566
14567 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14568 (color-name-rgb-alist, tty-standard-colors)
14569 (tty-color-mode-alist): Change to defconst.
14570
14571 * simple.el (mark-inactive): Purecopy message.
14572
14573 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14574 (global-map, yank-menu):
14575 * textmodes/ispell.el (ispell-menu-map):
14576 * net/eudc.el (eudc-tools-menu):
14577 * international/mule-cmds.el (describe-language-environment-map)
14578 (setup-language-environment-map, set-coding-system-map)
14579 (mule-menu-keymap):
14580 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14581 * replace.el (occur-mode-map):
14582 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14583
14584 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14585
14586 * calc/calc.el (math-read-number, math-read-number-simple):
14587 Use `save-match-data'.
14588
14589 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14590
14591 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14592 rather than fiddling with global-map bindings, since it should only
14593 affect per-terminal settings.
14594 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14595
14596 * minibuffer.el (completion-table-with-terminator): Allow to specify
14597 the terminator-regexp.
14598
14599 * simple.el (switch-to-completions): Look for *Completions* in other
14600 frames as well.
14601
14602 * pcomplete.el: Allow the use of completion-tables.
14603 (pcomplete-std-complete): New command.
14604 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14605 (pcomplete--here): Use a function for `form' rather than an expression,
14606 so it can be byte-compiled.
14607 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14608 Add edebug declaration.
14609 (pcomplete-show-completions): Remove unused var `curbuf'.
14610 (pcomplete-do-complete, pcomplete-stub):
14611 Don't assume `completions' is a list of strings any more.
14612
14613 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14614
14615 * find-dired.el (find-name-arg): Fix typo in docstring.
14616
14617 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14618
14619 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14620 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14621
14622 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14623 pcomplete-entries.
14624
14625 * comint.el (comint-read-input-ring, comint-write-input-ring)
14626 (comint-substitute-in-file-name)
14627 (comint-dynamic-complete-as-filename)
14628 (comint-dynamic-simple-complete)
14629 (comint-dynamic-list-filename-completions)
14630 (comint-dynamic-list-completions)
14631 (comint-redirect-results-list-from-process): Minor simplifications.
14632
14633 2009-10-21 Kevin Ryde <user42@zip.com.au>
14634
14635 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14636 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14637 the first form. And insert a blank line after ";;; Code" since
14638 that's usual style. (Bug#4612)
14639
14640 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14641
14642 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14643
14644 * minibuffer.el (completion-table-with-terminator): Properly implement
14645 boundaries, in case `terminator' appears in the suffix.
14646 (completion--embedded-envvar-table): Don't return boundaries if
14647 there's no valid completion. Simplify.
14648 (completion-file-name-table): New completion table extracted from
14649 completion--file-name-table.
14650 (completion--file-name-table): Use it.
14651 (read-file-name-predicate): Declare obsolete.
14652 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14653 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14654 completion-file-name-table, and use the `pred' argument.
14655 * files.el (locate-file-completion-table): Use the `pred' arg rather
14656 than read-file-name-predicate.
14657 (abbreviate-file-name): Use \` rather than ^ for BOS.
14658
14659 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14660
14661 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14662 vc-responsible-backend to register, it causes problems.
14663
14664 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14665
14666 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14667
14668 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14669
14670 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14671 (tramp-smb-handle-file-attributes): Use it.
14672 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14673 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14674 `mapcar'. Use `tramp-smb-get-stat-capability'.
14675 Add `dired-filename' text properties.
14676 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14677 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14678 version.
14679
14680 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14681
14682 * subr.el (read-key-delay): Reduce to 0.01.
14683 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14684 (bug#4751).
14685
14686 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14687
14688 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14689
14690 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14691 (Info-menu): Remove unused vars `last' and `completions'.
14692 (Info-index-nodes): Remove unused var `node'.
14693
14694 * info.el (Info-complete-menu-item): Use complete-with-action.
14695
14696 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14697
14698 Make vc-annotate work through copies and renames.
14699 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14700 Return the file name too.
14701 (vc-annotate-revision-at-line)
14702 (vc-annotate-find-revision-at-line)
14703 (vc-annotate-revision-previous-to-line)
14704 (vc-annotate-show-log-revision-at-line): Update to get the file
14705 name from vc-annotate-extract-revision-at-line.
14706 (vc-annotate-show-diff-revision-at-line-internal): Change the
14707 argument to mean whether to show a file diff or not. Get the file
14708 name from vc-annotate-extract-revision-at-line.
14709 (vc-annotate-show-diff-revision-at-line):
14710 Update vc-annotate-show-diff-revision-at-line call.
14711 (vc-annotate-warp-revision): Add an optional file argument.
14712
14713 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14714 (vc-git-annotate-extract-revision-at-line): Also return the file
14715 name if found.
14716
14717 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14718 command. Remove unused code.
14719 (vc-hg-annotate-re): Update to match --follow output.
14720 (vc-hg-annotate-extract-revision-at-line): Also return the file
14721 name if found.
14722
14723 * vc.el: Update annotate-extract-revision-at-line documentation.
14724
14725 2009-10-18 Kevin Ryde <user42@zip.com.au>
14726
14727 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14728 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14729
14730 * net/browse-url.el (browse-url): Identify alist with "consp and
14731 not functionp" and let all other things go down the `apply' leg,
14732 as suggested by Stefan. (Further to bug#4531.)
14733
14734 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14735
14736 * minibuffer.el (read-file-name): Check for repeat before putting
14737 a default argument in file-name-history (Bug#4657).
14738
14739 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14740 read syntax (Bug#4737).
14741
14742 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14743
14744 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14745
14746 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14747 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14748 entries and make note of obsolete tags.
14749
14750 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14751
14752 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14753
14754 2009-10-18 Glenn Morris <rgm@gnu.org>
14755
14756 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14757 grep, so that binary files (eg international/uni-bidi.el) can match.
14758 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14759 now, and in any case the file header format has changed.
14760
14761 2009-10-17 Glenn Morris <rgm@gnu.org>
14762
14763 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14764 (flyspell-get-word, flyspell-large-region)
14765 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14766
14767 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14768
14769 * Makefile.in (ELCFILES): Add ede/shell.
14770
14771 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14772
14773 * term/common-win.el (x-colors): Purecopy it.
14774
14775 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14776
14777 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14778 permissive for when the buffer is empty.
14779 (tar-header-block-tokenize): Decode the username and groupname.
14780 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14781
14782 2009-10-17 Eric Ludlam <zappo@gnu.org>
14783
14784 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14785 contains multibyte characters, choose first applicable coding
14786 system automatically.
14787
14788 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14789
14790 * international/mule-cmds.el (select-safe-coding-system): If the file
14791 has a coding cookie, use it regardless of any other setting (bug#4712).
14792
14793 2009-10-17 Glenn Morris <rgm@gnu.org>
14794
14795 * foldout.el (foldout-mouse-swallow-events):
14796 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14797
14798 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14799 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14800 (dired-keep-marker-symlink, dired-dwim-target)
14801 (dired-copy-preserve-time): Do not autoload these defcustoms.
14802
14803 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14804 messages from messing up the file coding. (Bug#4623)
14805
14806 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14807
14808 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14809 if no match is found for the current dictionary. (Bug#4578)
14810
14811 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14812 optional, since that is how it is documented, and this is often called
14813 with a nil argument. (Bug#4577)
14814 (flyspell-external-point-words, flyspell-auto-correct-word)
14815 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14816 (flyspell-word-search-backward): Remove nil argument in calls to
14817 flyspell-get-word, since it is not needed now.
14818
14819 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14820
14821 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14822
14823 2009-10-16 Glenn Morris <rgm@gnu.org>
14824
14825 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14826
14827 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14828
14829 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14830 (ange-ftp-file-size): New function.
14831 (ange-ftp-file-attributes): Use it.
14832
14833 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14834
14835 * net/tramp-smb.el (tramp-smb-version): New defvar.
14836 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14837 repeated checks.
14838
14839 2009-10-16 Glenn Morris <rgm@gnu.org>
14840
14841 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14842 Maybe copy some custom properties from old to new name. (Bug#4706)
14843
14844 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14845
14846 * subr.el (error, sit-for, start-process-shell-command)
14847 (start-file-process-shell-command): Set the calling convention
14848 after the function definition.
14849
14850 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14851
14852 * subr.el (error, sit-for, start-process-shell-command)
14853 (start-file-process-shell-command): Use the new
14854 set-advertised-calling-convention feature.
14855
14856 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14857
14858 * international/ucs-normalize.el (ucs-normalize-version):
14859 Change to 1.2.
14860 (check-range): Adjust for Unicode 5.2.
14861
14862 2009-10-15 Juri Linkov <juri@jurta.org>
14863
14864 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14865 to the `menu-item' format.
14866
14867 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14868
14869 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14870 if the environment variable does not exist.
14871
14872 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14873 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14874 parameter.
14875 (tramp-smb-handle-add-name-to-file)
14876 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14877 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14878 (tramp-smb-handle-file-attributes)
14879 (tramp-smb-do-file-attributes-with-stat)
14880 (tramp-smb-handle-file-local-copy)
14881 (tramp-smb-handle-insert-directory)
14882 (tramp-smb-handle-make-directory)
14883 (tramp-smb-handle-make-directory-internal)
14884 (tramp-smb-handle-make-symbolic-link)
14885 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14886 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14887 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14888 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14889 Handle long file names.
14890 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14891 process is running.
14892 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14893 Read share names with "-g" option.
14894
14895 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14896
14897 * net/rcirc.el (rcirc-view-log-file): New command.
14898 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14899 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14900 specified.
14901
14902 2009-10-15 Glenn Morris <rgm@gnu.org>
14903
14904 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14905 from the second command-line argument.
14906 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14907 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14908 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14909 w32-batch-update-autoloads.
14910 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14911 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14912
14913 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14914 the headers cannot be located. Simplify, subtracting superflous
14915 save-excursions.
14916
14917 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14918
14919 Replace completion-base-size by completion-base-position to fix bugs
14920 such as (bug#4699).
14921 * simple.el (completion-base-position): New var.
14922 (completion-base-size): Mark as obsolete.
14923 (choose-completion): Make it work for mouse events as well.
14924 Pass the new base-position to choose-completion-string.
14925 (choose-completion-guess-base-position): New function, extracted from
14926 choose-completion-delete-max-match.
14927 (choose-completion-delete-max-match): Use it. Make obsolete.
14928 (choose-completion-string): Use the new base-position info.
14929 (completion-root-regexp): Delete.
14930 (completion-setup-function): Preserve completion-base-position.
14931 Eliminate obsolete base-size manipulation.
14932 * minibuffer.el (display-completion-list): Don't mess with base-size.
14933 (minibuffer-completion-help): Set completion-base-position instead.
14934 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14935 choose-completion.
14936 * textmodes/bibtex.el (bibtex-complete):
14937 * emacs-lisp/crm.el (crm--choose-completion-string):
14938 Adjust to new calling convention.
14939 * complete.el (partial-completion-mode): Use minibufferp to avoid
14940 bumping into incompatible change to choose-completion-string-functions.
14941 * ido.el (ido-choose-completion-string): Make its calling convention
14942 more permissive.
14943 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14944 base-size manipulation.
14945 (comint-dynamic-list-input-ring): Use dotimes and push.
14946 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14947 fundamental-mode. Use `or'.
14948
14949 2009-10-14 Juri Linkov <juri@jurta.org>
14950
14951 * misearch.el (multi-isearch-next-buffer-from-list)
14952 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14953
14954 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14955
14956 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14957 `bytecomp.el'.
14958
14959 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14960 string we return is all made up of text from the completions rather
14961 than part from the completions and part from the input (bug#4219).
14962
14963 * ido.el (ido-everywhere): Use define-minor-mode.
14964
14965 * buff-menu.el (list-buffers, ctl-x-map):
14966 Mark the entry points with ;;;###autoload cookies.
14967
14968 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14969
14970 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14971 correctly in the detached head case.
14972 (vc-git-print-log): Remove unused binding.
14973
14974 * vc.el (vc-responsible-backend): When a directory is passed for
14975 for registration create a VC repository if no backend is
14976 responsible for the directory argument.
14977 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14978
14979 * vc.el: Move comments about RCS and SCCS ...
14980 * vc-rcs.el:
14981 * vc-sccs.el: ... here, respectively.
14982
14983 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14984
14985 * minibuffer.el (completion--file-name-table): Return nil if there's
14986 no file completion, even if substitute-in-file-name changed
14987 the string (bug#4708).
14988
14989 2009-10-13 Juri Linkov <juri@jurta.org>
14990
14991 * files-x.el (read-file-local-variable-value): Don't filter out
14992 minor modes from mode name completion (bug#4664).
14993
14994 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14995
14996 * international/mule-cmds.el (ucs-names): Remove exclusion of
14997 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14998
14999 2009-10-13 Kenichi Handa <handa@m17n.org>
15000
15001 * international/uni-name.el: Regenerated.
15002
15003 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15004
15005 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15006 should be automatically buffer-local, but isn't.)
15007
15008 2009-10-12 Sam Steingold <sds@gnu.org>
15009
15010 * progmodes/compile.el (compilation-next-error-function): Fix the
15011 timestamps if the buffer has been visited before.
15012 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15013 non-anchored patterns, like the perl one (bug#3928).
15014
15015 2009-10-12 Glenn Morris <rgm@gnu.org>
15016
15017 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15018 Let-bind `size'.
15019
15020 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15021
15022 * proced.el (proced-unload-function): New function.
15023
15024 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15025 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15026 Doc fix.
15027
15028 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15029
15030 2009-10-11 Juri Linkov <juri@jurta.org>
15031
15032 * files-x.el (read-file-local-variable-value):
15033 Provide default value only for bound variables (bug#4664).
15034
15035 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15036
15037 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15038 connection methods like smb.
15039
15040 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15041 can be empty.
15042
15043 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15044 (tramp-smb-file-name-handler-alist): Add handlers for
15045 `add-name-to-file', `make-symbolic-link'.
15046 (tramp-smb-handle-add-name-to-file)
15047 (tramp-smb-do-file-attributes-with-stat)
15048 (tramp-smb-handle-make-symbolic-link)
15049 (tramp-smb-get-cifs-capabilities): New defuns.
15050 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15051 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15052 (tramp-smb-handle-file-local-copy)
15053 (tramp-smb-handle-make-directory-internal)
15054 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15055 The file name syntax depends on cifs capabilities.
15056 (tramp-smb-handle-file-attributes):
15057 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15058 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15059 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15060
15061 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15062
15063 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15064 (eieio-defclass): Apply deftype handler and setf-method properties
15065 directly.
15066 (eieio-add-new-slot): Avoid union function from cl library.
15067 (eieio--typep): New function.
15068 (eieio-perform-slot-validation): Use it.
15069
15070 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15071
15072 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15073 Update documentation to refer to the variables documented in r1.135.
15074 (Bug#4188)
15075
15076 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15077
15078 * bookmark.el (Info-suffix-list): Remove this unused variable.
15079 (bookmark-current-point): Remove this obsolete variable.
15080 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15081 Adjust for removal of bookmark-current-point.
15082
15083 (bookmarks-already-loaded, bookmark-current-buffer)
15084 (bookmark-yank-point): Document. (Bug#4188)
15085
15086 2009-10-10 Glenn Morris <rgm@gnu.org>
15087
15088 * frame.el (frame-height): Doc fix.
15089
15090 * calendar/calendar.el (calendar-split-width-threshold): New option.
15091 (calendar-basic-setup): Use calendar-split-width-threshold.
15092
15093 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15094
15095 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15096 Ideographic Supplement" range (U+1F200..U+1F2FF).
15097
15098 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15099
15100 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15101 since the list will have been rebuilt anyway. (Bug#4349)
15102
15103 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15104
15105 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15106 (bookmark-bmenu-execute-deletions): Don't save here, as
15107 bookmark-delete will now do so if necessary.
15108 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15109 (Bug#4348)
15110
15111 2009-10-09 Glenn Morris <rgm@gnu.org>
15112
15113 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15114
15115 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15116
15117 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15118 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15119 argument now, so the two function's behaviors will match. (Bug#3645)
15120
15121 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15122
15123 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15124 (tramp-file-name-real-host, tramp-file-name-port):
15125 Apply `save-match-data'.
15126
15127 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15128 case both directories are remote.
15129 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15130 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15131
15132 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15133
15134 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15135
15136 2009-10-07 Glenn Morris <rgm@gnu.org>
15137
15138 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15139 of concat.
15140
15141 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15142
15143 * files-x.el (read-file-local-variable): Include some
15144 non-user-variables in the completion table (bug#4664).
15145
15146 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15147
15148 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15149 message.
15150
15151 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15152 (tramp-smb-file-name-handler-alist): Add handler for
15153 `copy-directory', `expand-file-name', `set-file-modes'.
15154 (tramp-smb-handle-copy-directory)
15155 (tramp-smb-handle-expand-file-name)
15156 (tramp-smb-handle-set-file-modes): New defuns.
15157 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15158 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15159 entry.
15160 (tramp-smb-handle-insert-directory): Don't flush the cache.
15161 (tramp-smb-maybe-open-connection): Check for samba client and
15162 server versions.
15163
15164 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15165
15166 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15167 to not error out of search for "^lisp=" fails.
15168
15169 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15170
15171 * makefile.w32-in (WINS_UPDATES): New macro.
15172 (custom-deps, finder-data, autoloads): Use it.
15173
15174 2009-10-07 Glenn Morris <rgm@gnu.org>
15175
15176 * Makefile.in (autoloads): Revert previous change.
15177 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15178 the list of preloaded files passed on the command-line, get
15179 it from src/Makefile.
15180
15181 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15182 show the original buffer rather than a random one.
15183
15184 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15185
15186 * help.el (describe-no-warranty): Place point in a slightly better
15187 position in the GPLv3 text.
15188
15189 2009-10-06 Sam Steingold <sds@gnu.org>
15190
15191 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15192 the comm attribute is present before calling regexp-quote.
15193
15194 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15195
15196 * play/animate.el (animate-string): For good effect, make sure
15197 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15198
15199 * play/animate.el (animate-sequence, animate-birthday-present):
15200 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15201
15202 2009-10-06 Glenn Morris <rgm@gnu.org>
15203
15204 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15205
15206 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15207 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15208 (batch-update-autoloads): Process a string value of autoload-excludes,
15209 set during the build process.
15210 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15211
15212 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15213 inside with-parsed... macro so that `v' is defined.
15214
15215 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15216 * progmodes/fortran.el (fortran-end-of-block)
15217 (fortran-beginning-of-block):
15218 Also push mark in the macro case.
15219
15220 * emerge.el (emerge-show-file-name):
15221 * calc/calc.el (calc-quit):
15222 * calc/calc-misc.el (calc-big-or-small):
15223 * calc/calc-graph.el (calc-graph-view):
15224 * calc/calc-ext.el (calc-reset):
15225 * calendar/calendar.el (calendar-basic-setup):
15226 Use window-full-height-p.
15227
15228 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15229 header we don't understand, don't insert another. (Bug#4624)
15230 If changing mime charset, insert the new one in the right place.
15231
15232 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15233
15234 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15235 (cal-tex-cursor-month): Correctly increment the end date for diary and
15236 holiday listing. (Bug#4626)
15237
15238 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15239
15240 * help-fns.el (describe-function-1): Don't burp if the function is not
15241 a symbol.
15242
15243 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15244
15245 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15246 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15247 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15248 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15249
15250 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15251 (eieio-default-superclass): Reflow docstrings.
15252 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15253 (eieio-unbind-method-implementations, defmethod)
15254 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15255 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15256 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15257 (eieio-slot-originating-class-p, eieio-slot-name-index)
15258 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15259 (constructor, initialize-instance, no-next-method, object-print)
15260 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15261 Fix typos in docstrings.
15262 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15263 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15264 (next-method-p): Doc fixes.
15265 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15266 Fix typos in error messages.
15267 (eieio-defmethod): Fix typo in description of generic method.
15268
15269 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15270 (eieio-persistent-save-interactive, slot-missing):
15271 Fix typos in docstrings.
15272 (eieio-instance-inheritor-slot-boundp): Doc fix.
15273
15274 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15275 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15276
15277 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15278 (eieio-custom-object-apply-reset):
15279 Fix typos in docstrings and error messages.
15280
15281 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15282 Fix typo in docstring.
15283
15284 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15285 (eieio-browse-tree): Doc fix.
15286 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15287 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15288 Fix typos in docstrings.
15289
15290 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15291 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15292 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15293 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15294 Reflow docstrings.
15295
15296 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15297
15298 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15299 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15300 Set log-view-vc-backend so that diff can work.
15301
15302 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15303 vc-version-diff.
15304 (vc-diff-internal): Autoload this instead of vc-version-diff.
15305
15306 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15307
15308 * simple.el (eval-expression): Doc fix.
15309
15310 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15311
15312 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15313
15314 * files.el (directory-files-no-dot-files-regexp): New defconst.
15315 (delete-directory): Use it.
15316 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15317
15318 * net/tramp.el (tramp-verbose): Fix docstring.
15319 (tramp-methods): Add recursive option to `tramp-copy-args'.
15320 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15321 "scp1_old", "scp2_old", "rsync", "rsyncc".
15322 (tramp-default-method): Check also for `auth-source-user-or-password'.
15323 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15324 Add handler for `copy-directory'.
15325 (tramp-handle-copy-directory): New defun.
15326 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15327 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15328 Optimize sent command.
15329
15330 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15331
15332 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15333 window if necessary.
15334
15335 * calendar/calendar.el (calendar-basic-setup): Don't call
15336 switch-to-buffer in a dedicated window.
15337
15338 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15339
15340 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15341 don't do anything related to relocating, just return nil.
15342 (bookmark-error-no-filename): New error.
15343 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15344 bookmark has no file. Don't even attempt to handle things that
15345 are not files; the whole point of custom handlers is to keep that
15346 knowledge elsewhere anyway. Tighten some comments.
15347 (bookmark-file-or-variation-thereof): Remove now-unused function.
15348 (bookmark-location): Doc string fix.
15349 (Bug#4250)
15350
15351 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15352
15353 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15354 don't use a file dialog, because they usually don't know how to read
15355 a directory target from the user. (Bug#4230)
15356 Also, make sure the prompt can display directories as well as files.
15357
15358 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15359
15360 * bookmark.el (bookmark-set, bookmark-buffer-name):
15361 Improve doc strings. (Bug#1193)
15362
15363 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15364
15365 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15366 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15367 (bookmark-get-annotation, bookmark-set-annotation)
15368 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15369 (bookmark-set-position, bookmark-get-front-context-string)
15370 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15371 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15372 (bookmark-jump-other-window, bookmark-handle-bookmark)
15373 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15374 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15375 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15376 Improve doc strings to say whether bookmark can be a string or
15377 a record or both, and make other consistency and clarity fixes.
15378 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15379 (bookmark-default-annotation-text, bookmark-yank-word)
15380 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15381 (bookmark-import-new-list, bookmark-maybe-rename)
15382 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15383 (bookmark-bmenu-bookmark): Give these doc strings.
15384 (bookmark-bmenu-check-position): Give this a doc string, but also
15385 add a FIXME comment about how the function may be pointless.
15386 (bookmark-default-handler): Rework doc string and change a
15387 parameter name, to clarify that this takes a bookmark record
15388 not a bookmark name.
15389 (bookmark-set): Change a parameter name to indicate its meaning,
15390 and improve the doc string a bit.
15391 (Bug#4188)
15392
15393 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15394
15395 * bookmark.el (bookmark-alist): Document the new `handler' element
15396 in the param alist.
15397 (bookmark-make-record-function): Adjust documentation for above.
15398 (Bug#4193)
15399
15400 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15401
15402 * info.el (Info-bookmark-make-record): Document this function.
15403 (Info-bookmark-jump): Document with a doc string, not just a comment.
15404 (Bug#4203)
15405
15406 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15407
15408 * files.el (copy-directory): New defun.
15409
15410 * dired-aux.el (dired-copy-file-recursive): Use it.
15411
15412 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15413
15414 * files-x.el (modify-dir-local-variable)
15415 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15416 docstrings.
15417
15418 * recentf.el (recentf-unload-function): New function.
15419
15420 2009-10-04 Glenn Morris <rgm@gnu.org>
15421
15422 * window.el (window-full-height-p): Add doc string.
15423
15424 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15425
15426 * window.el (window-full-height-p): New function. (Bug#4543)
15427
15428 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15429
15430 * vc.el: Remove commented out code.
15431 (vc-derived-from-dir-mode): Remove, unused.
15432 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15433
15434 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15435
15436 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15437 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15438 there could be recursive loading when `default-directory' is a
15439 remote file name. (Bug#4614)
15440
15441 2009-10-03 Glenn Morris <rgm@gnu.org>
15442
15443 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15444 the frame is wide.
15445 (calendar-generate-window): Test for shrinkability rather than width.
15446
15447 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15448 reusing existing buffers, in case we happen to visit two files with the
15449 same basename. (Bug#4593)
15450
15451 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15452
15453 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15454 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15455 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15456 subdirs of cedet as well.
15457 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15458
15459 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15460
15461 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15462 Obey advertised-signature-table.
15463
15464 * help-fns.el (help-function-arglist): Don't check
15465 advertised-signature-table.
15466 (describe-function-1): Do it here instead so it also applies to subrs.
15467
15468 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15469
15470 * simple.el (start-file-process): Say in the doc-string, that file
15471 handlers might not support pty association, if PROGRAM is nil.
15472
15473 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15474 HOST and USER are strings. They are nil, when there are
15475 incomplete entries in ~/.netrc, for example.
15476 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15477 root directory ("device busy" error otherwise).
15478
15479 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15480 Flush file properties of created directory.
15481
15482 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15483
15484 * makefile.w32-in (WINS_BASIC): Remove cedet.
15485 (WINS_CEDET): Add cedet.
15486 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15487
15488 2009-10-02 Kevin Ryde <user42@zip.com.au>
15489
15490 * net/browse-url.el (browse-url): Pass any symbol in
15491 browse-url-browser-function to `apply', since if you've mistakenly put
15492 an unbound symbol then the error is clearer. (Bug#4531)
15493
15494 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15495
15496 * allout.el (allout-init, allout-back-to-current-heading)
15497 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15498 (allout-ascend, allout-up-current-level, allout-end-of-level)
15499 (allout-previous-visible-heading, allout-forward-current-level)
15500 (allout-backward-current-level, allout-show-children):
15501 * apropos.el (apropos-describe-plist):
15502 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15503 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15504 * completion.el (add-completion, add-permanent-completion):
15505 * descr-text.el (describe-text-category, describe-char):
15506 * desktop.el (desktop-lazy-abort):
15507 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15508 * dired.el (dired-build-subdir-alist):
15509 * ediff.el (ediff-version):
15510 * elide-head.el (elide-head, elide-head-show):
15511 * emerge.el (emerge-version):
15512 * env.el (getenv):
15513 * face-remap.el (variable-pitch-mode):
15514 * faces.el (describe-face):
15515 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15516 (dired-at-point):
15517 * files.el (find-file-existing, auto-save-mode):
15518 * font-lock.el (font-lock-fontify-buffer):
15519 * help-fns.el (describe-function, describe-variable)
15520 (describe-syntax, describe-categories):
15521 * help.el (view-lossage, describe-bindings, describe-key)
15522 (describe-mode):
15523 * hexl.el (hexl-current-address):
15524 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15525 * info.el (Info-goto-emacs-key-command-node):
15526 * log-edit.el (log-edit-insert-cvs-template)
15527 (log-edit-insert-cvs-rcstemplate):
15528 * menu-bar.el (menu-bar-mode):
15529 * mouse.el (mouse-appearance-menu):
15530 * newcomment.el (comment-indent-new-line):
15531 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15532 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15533 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15534 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15535 * recentf.el (recentf-mode):
15536 * savehist.el (savehist-mode, savehist-save):
15537 * shadowfile.el (shadow-copy-files):
15538 * simple.el (kill-ring-save, next-line, previous-line)
15539 (normal-erase-is-backspace-mode):
15540 * strokes.el (strokes-update-window-configuration)
15541 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15542 (strokes-xpm-for-stroke):
15543 * time.el (emacs-uptime, emacs-init-time):
15544 * tutorial.el (tutorial--describe-nonstandard-key)
15545 (tutorial--detailed-help):
15546 * type-break.el (type-break-mode)
15547 (type-break-mode-line-message-mode, type-break-query-mode)
15548 (type-break-guesstimate-keystroke-threshold):
15549 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15550 * version.el (emacs-version):
15551 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15552 * winner.el (winner-mode):
15553 * calendar/timeclock.el (timeclock-in, timeclock-out)
15554 (timeclock-status-string, timeclock-change)
15555 (timeclock-workday-remaining-string)
15556 (timeclock-workday-elapsed-string)
15557 (timeclock-when-to-leave-string):
15558 * calendar/todo-mode.el (todo-add-category):
15559 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15560 * emacs-lisp/autoload.el (update-file-autoloads):
15561 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15562 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15563 (checkdoc-message-text, checkdoc-defun):
15564 * emacs-lisp/debug.el (debugger-list-functions):
15565 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15566 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15567 (eieio-describe-generic):
15568 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15569 * emacs-lisp/shadow.el (list-load-path-shadows):
15570 * emulation/cua-base.el (cua-mode):
15571 * emulation/edt.el (edt-set-scroll-margins):
15572 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15573 (tpu-toggle-regexp, tpu-toggle-search-direction)
15574 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15575 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15576 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15577 (viper-set-parsing-style-toggling-macro)
15578 (viper-set-emacs-state-searchstyle-macros):
15579 * emulation/viper.el (viper-set-hooks):
15580 * eshell/esh-mode.el (eshell-truncate-buffer):
15581 * international/mule-cmds.el (prefer-coding-system)
15582 (describe-input-method, describe-language-environment):
15583 * international/mule-diag.el (list-character-sets)
15584 (describe-character-set, describe-coding-system)
15585 (describe-fontset, list-fontsets, list-input-methods):
15586 * mail/sendmail.el (mail-signature):
15587 * net/ange-ftp.el (ange-ftp-copy-file):
15588 * net/browse-url.el (browse-url):
15589 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15590 * net/quickurl.el (quickurl-add-url):
15591 * net/rcirc.el (names, topic):
15592 * net/xesam.el (xesam-mode):
15593 * play/5x5.el (5x5-new-game):
15594 * play/yow.el (apropos-zippy):
15595 * progmodes/ada-mode.el (ada-mode-version):
15596 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15597 (f90-end-of-block)
15598 (f90-beginning-of-block):
15599 * progmodes/fortran.el (fortran-end-of-block)
15600 (fortran-beginning-of-block):
15601 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15602 * progmodes/python.el (python-describe-symbol, python-shell):
15603 * term/ns-win.el (ns-print-buffer):
15604 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15605 * textmodes/flyspell.el (flyspell-mode-on):
15606 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15607 (pages-directory-for-addresses):
15608 * textmodes/table.el (table-recognize-cell)
15609 (table-query-dimension, table-generate-source)
15610 (table-insert-sequence, table--warn-incompatibility):
15611 * textmodes/tex-mode.el (tex-validate-buffer):
15612 * textmodes/texinfmt.el (texinfmt-version)
15613 (texinfo-format-buffer):
15614 Use `called-interactively-p' instead of `interactive-p'.
15615
15616 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15617
15618 * image-mode.el (image-toggle-display):
15619 * emacs-lisp/elp.el (elp-instrument-function):
15620 * emacs-lisp/advice.el (ad-make-advised-definition):
15621 * emacs-lisp/easy-mmode.el (define-minor-mode):
15622 * net/browse-url.el (browse-url-maybe-new-window):
15623 * progmodes/sh-script.el (sh-learn-buffer-indent):
15624 Pass new argument 'any to `called-interactively-p'.
15625
15626 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15627
15628 * international/uni-bidi.el:
15629 * international/uni-category.el:
15630 * international/uni-combining.el:
15631 * international/uni-comment.el:
15632 * international/uni-decimal.el:
15633 * international/uni-decomposition.el:
15634 * international/uni-digit.el:
15635 * international/uni-lowercase.el:
15636 * international/uni-mirrored.el:
15637 * international/uni-name.el:
15638 * international/uni-numeric.el:
15639 * international/uni-old-name.el:
15640 * international/uni-titlecase.el:
15641 * international/uni-uppercase.el:
15642 Regenerate from Unicode 5.2.0 data.
15643
15644 2009-10-01 Glenn Morris <rgm@gnu.org>
15645
15646 * Makefile.in (ELCFILES): Regenerate.
15647
15648 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15649
15650 * subr.el (interactive-p): Mark obsolete.
15651 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15652 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15653 advertised-signature-table for subroutines as well.
15654
15655 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15656 (set-advertised-calling-convention): New function.
15657 (make-obsolete, define-obsolete-function-alias)
15658 (make-obsolete-variable, define-obsolete-variable-alias):
15659 Make the optional-ness of `when' obsolete.
15660 (define-obsolete-face-alias): Make `when' non-optional.
15661 * help-fns.el (help-function-arglist):
15662 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15663 Use advertised-signature-table.
15664
15665 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15666
15667 * files.el (delete-directory): New defun. The original function
15668 in fileio.c has been renamed to `delete-directory-internal'.
15669
15670 * dired.el (dired-delete-file): Call `delete-directory' with
15671 RECURSIVE parameter.
15672
15673 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15674 parameter RECURSIVE. Implementation is missing.
15675
15676 * net/tramp.el (tramp-handle-make-directory): Flush upper
15677 directory's file properties.
15678 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15679 (tramp-handle-dired-recursive-delete-directory): Flush directory
15680 properties after the remove command only.
15681
15682 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15683 Handle optional parameter RECURSIVE.
15684
15685 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15686 Handle optional parameter RECURSIVE.
15687
15688 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15689 connection timeout.
15690 (tramp-smb-handle-delete-directory): Handle optional parameter
15691 RECURSIVE.
15692
15693 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15694
15695 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15696 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15697 (byte-compile-defmacro): Use backquotes.
15698
15699 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15700
15701 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15702 has no associated file.
15703 (vc-resynch-buffer): Use vc-dir-buffers.
15704
15705 2009-10-01 Glenn Morris <rgm@gnu.org>
15706
15707 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15708 (chart-file-count):
15709 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15710 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15711 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15712 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15713 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15714 (eieio-copy-parents-into-subclass, make-instance, class-children)
15715 (eieio-generic-form):
15716
15717 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15718 match-data. (Bug#4555).
15719
15720 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15721 rather than parsing it as a regexp. This relaxes the layout
15722 requirements and makes errors easier to detect.
15723 (check-declare-verify): Check file is regular.
15724 (check-declare-directory): Doc fix.
15725 * subr.el (declare-function): Doc fix.
15726
15727 * ibuffer.el (ibuffer-format-qualifier):
15728 * isearch.el (hi-lock-regexp-okay):
15729 * calc/calc.el (math-zerop):
15730 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15731 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15732 Remove unused declarations.
15733
15734 2009-09-30 Eric Ludlam <zappo@gnu.org>
15735
15736 * emacs-lisp/eieio.el (boolean-p): Delete.
15737
15738 2009-09-30 Glenn Morris <rgm@gnu.org>
15739
15740 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15741
15742 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15743 filename is not a string.
15744
15745 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15746
15747 * files.el (safe-local-eval-forms): Fix typo.
15748
15749 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15750
15751 * vc-hooks.el (vc-dir-buffers): New var.
15752 (vc-state-refresh): New function.
15753 (vc-state): Use it.
15754 (vc-after-save): Always ask the backend to recompute the new state.
15755 Always call vc-dir if necessary, using vc-dir-buffers.
15756 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15757 Use vc-dir-buffers.
15758 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15759 (vc-dir-prepare-status-buffer, vc-dir-update)
15760 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15761 Don't call expand-file-name on default-directory.
15762
15763 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15764
15765 * speedbar.el (speedbar-item-delete):
15766 * calc/calc-prog.el (calc-kbd-if):
15767 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15768
15769 * epa.el (epa-key-list-mode-map):
15770 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15771
15772 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15773 (hs-show-hook): Fix typo in docstring.
15774
15775 2009-09-29 Glenn Morris <rgm@gnu.org>
15776
15777 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15778 file-name-nondirectory call preventing location of cedet files.
15779 (check-declare-verify): Use literal search rather than re-search.
15780 Add basic defmethod and defclass, and define-overloadable-function.
15781
15782 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15783 Use tramp-compat-file-attributes rather than nonexistent
15784 tramp-compat-handle-file-attributes.
15785
15786 * Makefile.in (lisptagsfiles4): New.
15787 (AUTOGENEL): Add cedet loaddefs files.
15788 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15789 (update-elclist, compile-always, backup-compiled-files)
15790 (bootstrap-clean): Add yet another directory level.
15791 (update-elclist): Use LC_COLLATE rather than COLLATE.
15792 (ELCFILES): Update, via `make update-elclist'.
15793
15794 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15795
15796 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15797 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15798 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15799
15800 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15801
15802 * Makefile.in (lisptagsfiles3): Define.
15803 (TAGS, TAGS-LISP): Use it.
15804 (update-elclist): Add third directory level to look for elc files.
15805 (compile-always): Likewise.
15806 (backup-compiled-files): Likewise.
15807 (bootstrap-clean): Likewise.
15808 (ELCFILES): Update.
15809
15810 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15811
15812 * Makefile.in (ELCFILES): Add CEDET files.
15813
15814 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15815
15816 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15817
15818 * net/tramp.el (top): Require tramp-imap.
15819
15820 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15821 Use `tramp-compat-handle-file-attributes'.
15822
15823 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15824
15825 * net/tramp-imap.el: New package.
15826
15827 2009-09-28 Eric Ludlam <zappo@gnu.org>
15828
15829 * emacs-lisp/chart.el:
15830 * emacs-lisp/eieio-base.el:
15831 * emacs-lisp/eieio-comp.el:
15832 * emacs-lisp/eieio-custom.el:
15833 * emacs-lisp/eieio-datadebug.el:
15834 * emacs-lisp/eieio-opt.el:
15835 * emacs-lisp/eieio-speedbar.el:
15836 * emacs-lisp/eieio.el: New files.
15837
15838 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15839
15840 * whitespace.el (whitespace-trailing-regexp)
15841 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15842 Fix doc string.
15843
15844 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15845
15846 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15847 menu.
15848
15849 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15850 menu-bar-ediff-menu.
15851
15852 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15853 define-overloadable-function.
15854
15855 * progmodes/autoconf.el: Provide autoconf as well, so that this
15856 file can be `require'd.
15857
15858 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15859
15860 * emacs-lisp/autoload.el (generated-autoload-feature)
15861 (generated-autoload-load-name): New vars.
15862 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15863 (make-autoload): Recognize define-overloadable-function and
15864 defclass forms (for EIEIO).
15865
15866 * Makefile.in (update-subdirs): Exclude cedet directory.
15867
15868 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15869
15870 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15871
15872 * faces.el: Default light-background background for region face to
15873 ns_selection_color under NS.
15874
15875 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15876
15877 * net/imap-hash.el: New library, see NEWS.
15878
15879 * Makefile.in (ELCFILES): Add imap-hash.el.
15880
15881 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15882
15883 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15884 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15885 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15886 definition where the docstring could be taken for the return value.
15887
15888 2009-09-26 Glenn Morris <rgm@gnu.org>
15889
15890 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15891 Add option to only show images below a certain size.
15892 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15893 save-excursion calls.
15894
15895 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15896
15897 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15898 subdirectories) and eieio.
15899
15900 2009-09-26 Alan Mackenzie <acm@muc.de>
15901
15902 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15903 Correct buggy bracketing. (Bug#4289)
15904
15905 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15906 character constants (as case labels). (Bug#4289)
15907
15908 2009-09-25 Juri Linkov <juri@jurta.org>
15909
15910 * files.el (safe-local-eval-forms): Allow time-stamp in
15911 before-save-hook (Bug#4554).
15912
15913 2009-09-25 Drew Adams <drew.adams@oracle.com>
15914
15915 * menu-bar.el (list-buffers-directory): Doc fix.
15916
15917 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15918
15919 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15920 Try and avoid copying twice the same paragraph.
15921 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15922 Remove save-excursion.
15923 (log-edit-changelog-entry): Do it here instead.
15924
15925 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15926
15927 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15928 when available, instead of hardcoding mode names. Doc fix.
15929
15930 * menu-bar.el (list-buffers-directory): Add docstring.
15931 Make automatically buffer-local.
15932
15933 * dired.el (dired-mode):
15934 * files.el (cd-absolute):
15935 * pcvs.el (cvs-temp-buffer):
15936 * pcvs-util.el (cvs-get-buffer-create):
15937 * shell.el (shell-mode):
15938 * vc-dir.el (vc-dir-mode):
15939 Don't make `list-buffers-directory' buffer local.
15940
15941 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15942
15943 * comint.el (comint-exec, comint-run, make-comint):
15944 Doc fixes (Bug#4542).
15945
15946 2009-09-25 Glenn Morris <rgm@gnu.org>
15947
15948 * mail/rmailmm.el (rmail-mime): New custom group.
15949 Move all defcustoms in this file into this group.
15950 (rmail-mime-media-type-handlers-alist): Revert previous change.
15951 (rmail-mime-show-images): New option.
15952 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15953 references to it, since it wasn't actually used for anything.
15954 (rmail-mime-insert-image): New function.
15955 (rmail-mime-image): Use rmail-mime-insert-image.
15956 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15957 obey the value of `rmail-mime-show-images' option. Print the size of
15958 attachments.
15959
15960 2009-09-25 David Engster <deng@randomsample.de>
15961
15962 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15963
15964 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15965
15966 * whitespace.el: Does not highlight trailing spaces While point is
15967 at end of line. Does not highligt spaces at beginning of buffer
15968 while point is at beginning of buffer. Does not highlight spaces
15969 at end of buffer while point is at end of buffer. (Bug#4177)
15970 New version 12.0.
15971 (whitespace-display-mappings): Adjust initialization.
15972 (whitespace-point, whitespace-font-lock-refontify): New vars.
15973 (whitespace-color-on, whitespace-color-off): Adjust code.
15974 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15975 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15976 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15977
15978 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15979
15980 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15981
15982 * textmodes/sgml-mode.el: Remove xml-mode alias.
15983
15984 * files.el (auto-mode-alist, conf-mode-maybe)
15985 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15986
15987 2009-09-24 Alan Mackenzie <acm@muc.de>
15988
15989 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15990 c-forward-conditionals, but it doesn't move point and doesn't set
15991 the mark.
15992 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15993 (c-down-conditional-with-else, c-backward-conditional)
15994 (c-forward-conditional): Refactor to use c-scan-conditionals.
15995
15996 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15997
15998 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15999 (help-default-arg-highlight): Remove.
16000 (help-highlight-arg): New function.
16001 (help-do-arg-highlight): Use it.
16002 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16003
16004 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16005
16006 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16007 Undo last change, which didn't fix the problem and introduced others.
16008
16009 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16010
16011 * progmodes/gdb-mi.el: Don't require speedbar.
16012 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16013
16014 2009-09-24 Glenn Morris <rgm@gnu.org>
16015
16016 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16017
16018 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16019
16020 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16021 there is no newline after the final mime boundary. (Bug#4539)
16022 Move markers on insertion so that any buttons inserted don't end up in
16023 the next part of a multipart message.
16024 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16025 (rmail-mime-bulk-handler): Optionally handle images.
16026 (rmail-mime-image): New button action.
16027 (rmail-mime-image-handler): New function.
16028 (rmail-mime-mode): New mode.
16029 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16030
16031 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16032
16033 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16034 than just dropping elements from it (bug#4504).
16035
16036 * term.el (term-set-scroll-region): Don't move cursor any more.
16037 (term-handle-ansi-escape): Call term-goto here instead.
16038 Suggested by Ivan Kanis <apple@kanis.eu>.
16039
16040 * term.el: Require CL.
16041 (term-ansi-reset): New function.
16042 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16043 (term-handle-colors-array): Simplify.
16044
16045 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16046
16047 * allout.el (allout-overlay-interior-modification-handler)
16048 (allout-obtain-passphrase):
16049 * epa-file.el (epa-file-write-region):
16050 * ps-print.el (ps-begin-job):
16051 * vc-hooks.el (vc-toggle-read-only):
16052 * vc-rcs.el (vc-rcs-rollback):
16053 * vc-sccs.el (vc-sccs-rollback):
16054 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16055 (vc-version-diff, vc-revert, vc-rollback):
16056 * wdired.el (wdired-check-kill-buffer):
16057 * emacs-lisp/authors.el (authors):
16058 * net/socks.el (socks-open-connection):
16059 * net/zeroconf.el (zeroconf-service-add-hook):
16060 * obsolete/vc-mcvs.el (vc-mcvs-register):
16061 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16062 (gdb-select-frame):
16063 * progmodes/grep.el (lgrep, rgrep):
16064 * progmodes/idlw-help.el (idlwave-help-check-locations)
16065 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16066 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16067 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16068 (reftex-toc-rename-label): Fix typos in error messages.
16069
16070 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16071 (dired-copy-how-to-fn): Doc fix.
16072 (dired-files-attributes, dired-read-shell-command):
16073 Fix typos in docstrings.
16074
16075 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16076 (dired-x-find-file-other-window): Reflow docstrings.
16077 (dired-omit-marker-char, dired-read-shell-command)
16078 (dired-x-submit-report): Fix typos in docstrings.
16079
16080 * shell.el (shell-mode-hook):
16081 * view.el (View-scroll-line-forward):
16082 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16083 Fix typos in docstrings.
16084
16085 * net/dig.el (dig-invoke): Fix typo in docstring.
16086 (query-dig): Reflow docstring.
16087
16088 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16089 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16090 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16091 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16092 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16093 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16094 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16095 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16096 (idlwave-completion-map, idlwave-current-indent)
16097 (idlwave-custom-ampersand-surround, idlwave-customize)
16098 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16099 (idlwave-define-abbrev, idlwave-determine-class-special)
16100 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16101 (idlwave-end-block-reg, idlwave-end-of-statement)
16102 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16103 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16104 (idlwave-explicit-class-listed, idlwave-file-header)
16105 (idlwave-fill-paragraph, idlwave-find-class-definition)
16106 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16107 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16108 (idlwave-in-quote, idlwave-indent-action-table)
16109 (idlwave-indent-expand-table, idlwave-indent-line)
16110 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16111 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16112 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16113 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16114 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16115 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16116 (idlwave-outlawed-buffers, idlwave-popup-select)
16117 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16118 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16119 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16120 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16121 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16122 (idlwave-statement-type, idlwave-struct-skip)
16123 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16124 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16125 (idlwave-what-module-find-class): Fix typos in docstrings.
16126 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16127 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16128 (idlwave-find-module, idlwave-find-structure-definition)
16129 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16130 (idlwave-list-load-path-shadows, idlwave-next-statement)
16131 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16132 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16133 (idlwave-template): Reflow docstrings.
16134
16135 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16136 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16137 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16138 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16139 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16140 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16141 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16142 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16143 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16144 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16145 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16146 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16147 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16148 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16149 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16150 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16151 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16152 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16153 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16154 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16155 Fix typos in docstrings.
16156 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16157 (idlwave-shell-hide-output, idlwave-shell-mode)
16158 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16159 Reflow docstrings.
16160
16161 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16162
16163 2009-09-24 Ivan Kanis <apple@kanis.eu>
16164
16165 * term.el (term-bold-attribute): New var.
16166 (term-handle-colors-array): Use it.
16167
16168 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16169
16170 * progmodes/gdb-mi.el (gdb-version): New variable.
16171 (gdb-non-stop-handler): Set gdb-version.
16172 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16173 Condition "--thread" option on gdb-version.
16174 (gdb-invalidate-threads): Remove unused argument.
16175
16176 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16177
16178 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16179 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16180
16181 2009-09-23 Glenn Morris <rgm@gnu.org>
16182
16183 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16184 replying to mail without References or Message-Id. (Bug#4525)
16185
16186 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16187
16188 * term/ns-win.el (ns-reg-to-script): New variable.
16189
16190 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16191
16192 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16193
16194 2009-09-22 Sam Steingold <sds@gnu.org>
16195
16196 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16197 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16198 to 1 because hg returns status 1 when nothing is found.
16199 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16200
16201 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16202
16203 * textmodes/fill.el: Convert to utf-8 encoding.
16204 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16205 pre-Unicode days.
16206
16207 * add-log.el (change-log-fill-forward-paragraph): New function.
16208 (change-log-mode): Use it so fill-region DTRT.
16209 Set fill-indent-according-to-mode here rather than in
16210 change-log-fill-paragraph.
16211 (change-log-fill-paragraph): Remove.
16212
16213 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16214
16215 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16216 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16217
16218 2009-09-22 Glenn Morris <rgm@gnu.org>
16219
16220 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16221 the scroll-bar scroll the calendar window rather than the buffer.
16222
16223 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16224 commands that move point (as opposed to scrolling).
16225
16226 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16227
16228 * emacs-lisp/elint.el (elint): New custom group.
16229 (elint-log-buffer): Make it a defcustom.
16230 (elint-scan-preloaded, elint-ignored-warnings)
16231 (elint-directory-skip-re): New options.
16232 (elint-builtin-variables): Doc fix.
16233 (elint-preloaded-env): New variable.
16234 (elint-unknown-builtin-args): Add an entry for encode-time.
16235 (elint-extra-errors): Make it a variable rather than a constant.
16236 (elint-preloaded-skip-re): New constant.
16237 (elint-directory): Skip files matching elint-directory-skip-re.
16238 (elint-features): New variable, local to linted buffers.
16239 (elint-update-env): Initialize elint-features. Possibly add
16240 elint-preloaded-env to the buffer's environment.
16241 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16242 Skip quoted forms.
16243 (elint-init-form): New function, extracted from elint-init-env.
16244 Make non-list forms a warning rather than an error.
16245 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16246 easy-menu-define, put that adds an error-condition, and provide.
16247 When requiring cl, also require cl-macs. Really require cl, to handle
16248 some cl macros. Store required libraries in the list elint-features,
16249 so as not to re-load them. Treat cc-require like require.
16250 (elint-init-env): Call elint-init-form to do the work.
16251 Handle eval-and-compile and such like.
16252 (elint-add-required-env): Do not clear messages.
16253 (elint-special-forms): Add handlers for function, defalias, if, when,
16254 unless, and, or.
16255 (elint-form): Add optional argument to ignore elint-special-forms,
16256 useful to prevent recursive calls from handlers. Doc fix.
16257 Respect elint-ignored-warnings.
16258 (elint-form): Respect elint-ignored-warnings.
16259 (elint-bound-variable, elint-bound-function): New variables.
16260 (elint-unbound-variable): Respect elint-bound-variable.
16261 (elint-get-args): Respect elint-bound-function.
16262 (elint-check-cond-form): Add some simple handling for (f)boundp and
16263 featurep tests.
16264 (elint-check-defalias-form): New handler.
16265 (elint-check-let-form): Make an empty let a warning rather than an
16266 error.
16267 (elint-check-setq-form): Make an empty setq a warning rather than an
16268 error. Respect elint-ignored-warnings.
16269 (elint-check-defvar-form): Accept null doc-strings.
16270 (elint-check-conditional-form): New handler. Does some simple-minded
16271 checking of featurep and (f)boundp tests.
16272 (elint-put-function-args): New function.
16273 (elint-initialize): Use elint-scan-doc-file rather than
16274 elint-find-builtin-variables. Use elint-put-function-args.
16275 Possibly scan preloaded-file-list.
16276 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16277 extend to handle functions as well.
16278
16279 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16280
16281 * linum.el (linum-delete-overlays, linum-update-window):
16282 Do not modify the right margin. (Bug#3971)
16283
16284 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16285
16286 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16287 Use nxml-mode instead of xml-mode.
16288
16289 2009-09-21 Kevin Ryde <user42@zip.com.au>
16290
16291 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16292
16293 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16294
16295 * net/dig.el (dig-mode): Use define-derived-mode.
16296
16297 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16298
16299 * vc-dispatcher.el (vc-do-command): Return the process object in
16300 the asynchronous case. Use when instead of if. Do not run
16301 vc-exec-after to display a message if not enabled. (Bug#4463)
16302
16303 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16304 properties to the stash strings.
16305 (vc-git-stash-list): Return a list of strings.
16306 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16307 (vc-git-stash-show-at-point): New functions.
16308 (vc-git-stash-map): New keymap.
16309
16310 * register.el (ctl-x-r-map): Define the keys here instead of
16311 using autoload.
16312
16313 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16314
16315 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16316 list, to workaround performance problem (bug#4485).
16317
16318 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16319
16320 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16321
16322 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16323
16324 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16325 Document that this option is not recommended to use.
16326
16327 2009-09-19 Glenn Morris <rgm@gnu.org>
16328
16329 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16330 variable `var'.
16331
16332 * calc/calc-alg.el (var):
16333 * calc/calcalg2.el (var): Define for compiler.
16334
16335 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16336
16337 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16338 Doc fix (Bug#3932).
16339
16340 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16341
16342 * time-stamp.el (time-stamp-month-dd-yyyy)
16343 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16344 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16345 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16346 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16347 Remove functions that have been obsolete since 1995 (Bug#4436).
16348
16349 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16350 indent buffer only if called interactively (Bug#4452).
16351
16352 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16353 Eli Zaretskii <eliz@gnu.org>
16354
16355 This fixes bug#4197 (merged to bug#865, though not identical).
16356 * server.el (server-auth-dir): Add docstring note about FAT32.
16357 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16358 but warn against using them.
16359
16360 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16361
16362 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16363 older GDB where there is no has_more field.
16364
16365 2009-09-19 Glenn Morris <rgm@gnu.org>
16366
16367 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16368
16369 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16370
16371 * files.el (auto-mode-alist): Change default for XML files to nXML
16372 mode (Bug#4169).
16373
16374 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16375
16376 * server.el (server-ensure-safe-dir): Pass 'integer
16377 to `file-attributes', as suggested.
16378
16379 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16380
16381 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16382 (dired-query): Use read-key.
16383
16384 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16385
16386 * cus-start.el (ns-use-qd-smoothing): Remove.
16387
16388 2009-09-18 Glenn Morris <rgm@gnu.org>
16389
16390 * allout.el (top-level): Remove unnecessary progn.
16391
16392 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16393
16394 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16395 definition of abbrev table.
16396
16397 * speedbar.el (speedbar-track-mouse):
16398 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16399 * net/eudc.el (eudc-expand-inline):
16400 * net/newst-backend.el (newsticker--cache-read-feed):
16401 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16402 condition-case handlers.
16403
16404 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16405
16406 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16407 (gdb-var-list): Add an element for has_more field.
16408 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16409 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16410 (gdb-var-update-handler-1): Parse output of dynamic variable
16411 objects (STL containers).
16412 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16413 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16414
16415 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16416 gdb-var-list.
16417 (gud-speedbar-buttons): Make node expandable if expression "has more"
16418 children.
16419
16420 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16421
16422 * startup.el (emacs-quick-startup): Remove variable and all uses.
16423 (command-line): Set `inhibit-x-resources' instead.
16424 (command-line-1): Use `inhibit-x-resources' instead.
16425
16426 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16427
16428 * subr.el: Fix last change to avoid using the `unless' macro,
16429 which breaks bootstrapping.
16430
16431 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16432
16433 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16434 extended definitions, in case we reload subr.el after having
16435 loaded CL.
16436 (eval-next-after-load): Mark as obsolete.
16437
16438 2009-09-17 Juri Linkov <juri@jurta.org>
16439
16440 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16441 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16442 (menu-bar-showhide-menu, menu-bar-tools-menu)
16443 (menu-bar-describe-menu, menu-bar-help-menu)
16444 (minibuffer-local-completion-map, minibuffer-local-map):
16445 Fix list quoting.
16446
16447 2009-09-17 Glenn Morris <rgm@gnu.org>
16448
16449 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16450 arguments, whether or not it has a handler.
16451
16452 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16453
16454 * simple.el (hard-newline): Give it a doc-string.
16455
16456 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16457 (lisp-mode-syntax-table): Give them doc-strings.
16458
16459 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16460
16461 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16462 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16463 (menu-bar-options-menu, menu-bar-showhide-menu)
16464 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16465 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16466 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16467 (menu-bar-options-menu, menu-bar-tools-menu)
16468 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16469 (menu-bar-help-menu):
16470 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16471 string arguments.
16472
16473 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16474 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16475 calls for the menu names and :help.
16476
16477 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16478
16479 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16480 to :minor-mode-function (bug#4455).
16481
16482 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16483
16484 * startup.el (command-line): Initialize the window-system after
16485 processing the command-line.
16486
16487 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16488 page-delimiter matches the empty string.
16489
16490 2009-09-16 Glenn Morris <rgm@gnu.org>
16491
16492 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16493 byte-compile-not-obsolete-var. It's a list now.
16494 (byte-compile-not-obsolete-funcs): New variable.
16495 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16496 byte-compile-not-obsolete-funcs.
16497 (byte-compile-variable-ref, byte-compile-defvar): Update for
16498 byte-compile-not-obsolete-vars name-change and list nature.
16499 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16500 and variables behind (f)boundp tests.
16501 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16502
16503 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16504
16505 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16506
16507 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16508
16509 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16510 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16511 Don't autoload.
16512
16513 2009-09-15 Stephen Eglen <stephen@gnu.org>
16514
16515 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16516 the virtual-buffers, use the name of the buffer specified by
16517 find-file-noselect, as the match may be a symlink. (This was a
16518 problem if the target and the symlink had different names.)
16519
16520 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16521
16522 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16523
16524 * desktop.el (desktop-path): Check user-emacs-directory.
16525
16526 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16527
16528 * loadup.el: Use after-load-functions to GC after loading each file.
16529 Remove the explicit GC calls that used to be sprinkled around.
16530
16531 * subr.el (after-load-functions): New hook.
16532 (do-after-load-evaluation): Run it. Use string-match-p to detect
16533 `obsolete' packages, rather than painfully extracting the relevant
16534 directory name.
16535
16536 2009-09-15 Glenn Morris <rgm@gnu.org>
16537
16538 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16539 free variable `doc'.
16540
16541 * dired.el (dired-mode-map): Add menu entry for async shell command.
16542
16543 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16544 variables, also consider the .elc files, since the .el files are
16545 normally gzipped (subsequent code locates the .el.gz from the .elc).
16546
16547 * calc/calc-prog.el (arglist): Define for compiler.
16548
16549 * calendar/diary-lib.el (diary-display-function): Change the default to
16550 fancy display.
16551 (body): Define for compiler.
16552
16553 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16554 (byte-compile-file-form, byte-compile-lambda)
16555 (byte-compile-top-level-body, byte-compile-form)
16556 (byte-compile-variable-ref, byte-compile-setq)
16557 (byte-compile-setq-default, byte-compile-body)
16558 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16559 (batch-byte-compile): Give some more local variables with common names
16560 a "bytecomp-" prefix to avoid masking warnings about free variables.
16561
16562 * startup.el (command-line-1): Give local variables with common names a
16563 distinguishing prefix, so as not to hide free variable warnings during
16564 bootstrap.
16565
16566 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16567 clever and add a suffix to make a unique name, just let the user decide
16568 whether or not to overwrite it. If the input is a directory, write the
16569 default filename to that directory. (Bug#4388)
16570 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16571 is a filename-as-a-directory.
16572
16573 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16574
16575 * textmodes/page.el (what-page): Don't move to beginning of line.
16576 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16577
16578 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16579
16580 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16581
16582 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16583
16584 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16585 * help.el (help-for-help-internal): Add purecopy calls for text.
16586
16587 * vc.el (top): print-log method now takes an optional SHORTLOG
16588 argument. Add a new method: root.
16589 (vc-root-diff, vc-print-root-log): New functions.
16590 (vc-log-short-style): New variable.
16591 (vc-print-log-internal): Add support for showing short logs.
16592
16593 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16594 vc-print-root-log and vc-print-root-diff.
16595
16596 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16597 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16598 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16599 short logs.
16600
16601 * vc-cvs.el (vc-cvs-print-log):
16602 * vc-mtn.el (vc-mtn-print-log):
16603 * vc-rcs.el (vc-rcs-print-log):
16604 * vc-sccs.el (vc-sccs-print-log):
16605 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16606 that is ignored for now.
16607
16608 * vc-mtn.el (vc-mtn-annotate-command):
16609 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16610
16611 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16612
16613 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16614 to function-key-map, and give them ascii-character property.
16615 * term/x-win.el (x-alternatives-map):
16616 * term/ns-win.el (ns-alternatives-map):
16617 * term/internal.el (msdos-key-remapping-map):
16618 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16619
16620 2009-09-14 Glenn Morris <rgm@gnu.org>
16621
16622 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16623 temp-buffers (2009-09-12).
16624
16625 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16626
16627 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16628 the new read-key function.
16629
16630 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16631
16632 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16633 is defined (Bug#4405).
16634
16635 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16636
16637 * recentf.el (recentf-cleanup): Use a hash table to find
16638 duplicates (Bug#4407).
16639
16640 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16641
16642 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16643 kp-0 to ascii equivalents (Bug#4325).
16644
16645 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16646
16647 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16648
16649 * eshell/em-hist.el:
16650 * eshell/em-dirs.el (eshell-complete-user-reference):
16651 Declare pcomplete functions and variables to avoid compiler warnings.
16652
16653 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16654
16655 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16656 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16657 * eshell/em-alias.el (eshell-aliases-file):
16658 * eshell/em-hist.el (eshell-history-file-name):
16659 Use expand-file-name instead of concat to make file names (Bug#4308).
16660
16661 2009-09-13 Glenn Morris <rgm@gnu.org>
16662
16663 * ediff-merg.el (ediff-do-merge):
16664 * filesets.el (filesets-run-cmd):
16665 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16666 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16667 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16668 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16669 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16670 Replace empty `let's with `progn'.
16671
16672 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16673
16674 * mail/sendmail.el (send-mail-function):
16675 * tooltip.el (tooltip-mode):
16676 * simple.el (transient-mark-mode):
16677 * rfn-eshadow.el (file-name-shadow-mode):
16678 * frame.el (blink-cursor-mode):
16679 * font-core.el (global-font-lock-mode):
16680 * files.el (temporary-file-directory)
16681 (small-temporary-file-directory, auto-save-file-name-transforms):
16682 * epa-hook.el (auto-encryption-mode):
16683 * composite.el (global-auto-composition-mode):
16684 Use custom-initialize-delay.
16685 * startup.el (command-line): Don't explicitly call
16686 custom-reevaluate-setting for all the above vars.
16687 * custom.el (custom-initialize-safe-set)
16688 (custom-initialize-safe-default): Delete.
16689
16690 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16691
16692 * term/x-win.el (x-initialize-window-system):
16693 * term/w32-win.el (w32-initialize-window-system):
16694 * term/ns-win.el (ns-initialize-window-system): Don't call
16695 mouse-wheel-mode since it's enabled globally by default already.
16696
16697 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16698 actually define the variable, but only silences the byte-compiler.
16699 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16700 before looking it up.
16701 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16702 is changed.
16703
16704 2009-09-12 Glenn Morris <rgm@gnu.org>
16705
16706 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16707 1000.
16708 (elint-add-required-env): Don't beep on error.
16709 (elint-forms): In case of error, return ENV unchanged.
16710 (elint-init-env): Skip non-list forms.
16711 (elint-log): Handle unknown file positions.
16712
16713 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16714
16715 * epg.el (epg-make-context): Add autoload cookie.
16716 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16717 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16718 (epg-verify-string, epg-start-sign, epg-sign-file)
16719 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16720 (epg-encrypt-string, epg-start-export-keys)
16721 (epg-export-keys-to-file, epg-export-keys-to-string)
16722 (epg-start-import-keys, epg-import-keys-from-file)
16723 (epg-import-keys-from-string, epg-start-receive-keys)
16724 (epg-receive-keys, epg-import-keys-from-server)
16725 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16726 (epg-sign-keys, epg-start-generate-key)
16727 (epg-generate-key-from-file, epg-generate-key-from-string):
16728 Remove autoload cookie.
16729
16730 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16731
16732 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16733 reevaluation of trash-directory.
16734
16735 * mwheel.el: Fix last change.
16736 (mouse-wheel-mode): New defvar.
16737 (mouse-wheel-mode): Remove autoload cookie.
16738
16739 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16740
16741 * mwheel.el (mwheel-installed-bindings): New var.
16742 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16743 the bindings we set last time. Use custom-initialize-delay.
16744 * loadup.el: Load mwheel after term/*-win.el.
16745 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16746 and mouse-wheel-up-event now that their first evaluation is done
16747 sufficiently late to be correct.
16748
16749 * startup.el (tutorial-directory): Make it a defcustom.
16750 Use custom-initialize-delay rather than eval-at-startup to set it.
16751 * image.el (image-load-path): Make it a defcustom.
16752 Use custom-initialize-delay rather than eval-at-startup to set it.
16753 * subr.el (eval-at-startup): Remove.
16754 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16755
16756 * subr.el (do-after-load-evaluation): Warn the user after loading an
16757 obsolete package.
16758
16759 2009-09-12 Glenn Morris <rgm@gnu.org>
16760
16761 * proced.el (proced-mark-alt): Remove alias.
16762 (proced-mode-map): Remove proced-mark-alt.
16763
16764 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16765 Elint file and directory. Remove initialization entry.
16766
16767 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16768 commands.
16769 (elint-current-buffer): Set mode-line-process.
16770 (elint-init-env): Handle define-derived-mode.
16771 Fix declare-function with unspecified arglist. Guard against odd
16772 defalias statements (eg iso-insert's 8859-1-map).
16773 (elint-add-required-env): Use a temp buffer.
16774 (elint-form): Just print the function/macro name, not the whole form.
16775 Return env unchanged if we fail to parse a macro.
16776 (elint-forms): Guard against parse errors.
16777 (elint-output): New function, to handle batch mode.
16778 (elint-log-message): Add optional argument. Use elint-output.
16779 (elint-set-mode-line): New function.
16780
16781 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16782
16783 * emacs-lisp/elp.el (elp-not-profilable): Add more
16784 functions (Bug#4233).
16785
16786 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16787
16788 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16789 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16790
16791 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16792
16793 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16794 (gdb-var-list-children): Use json parsing.
16795
16796 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16797
16798 * progmodes/js.el (js--proper-indentation): Handle the case where
16799 char-before is null. Reported by Deniz Dogan.
16800
16801 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16802
16803 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16804
16805 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16806
16807 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16808 (epg-digest-algorithm-alist): Add SHA224.
16809 (epg-context-set-passphrase-callback)
16810 (epg-context-set-progress-callback): Add description about
16811 callback function.
16812
16813 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16814
16815 * custom.el (custom-delayed-init-variables): New var.
16816 (custom-initialize-delay): New function.
16817 * startup.el (command-line): "Re"evaluate all vars in
16818 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16819 explicitly any more.
16820 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16821 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16822
16823 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16824
16825 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16826
16827 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16828 (gdb-var-update-handler): Use json parsing.
16829
16830 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16831
16832 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16833 decode annotated text, regardless of language environment. (Bug#2741)
16834
16835 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16836
16837 * Makefile.in (autoloads): Make rmail.el writable as well.
16838
16839 2009-09-11 Glenn Morris <rgm@gnu.org>
16840
16841 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16842 loaddefs.el.
16843 * dired.el: Regenerate with extracted autoloads.
16844 * Makefile.in (autoloads): Make dired.el writable.
16845
16846 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16847 * ibuffer.el: Regenerate with extracted autoloads.
16848 * Makefile.in (autoloads): Make ibuffer.el writable.
16849
16850 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16851 * version.el (emacs-copyright, emacs-major-version)
16852 (emacs-minor-version): Reformat doc-strings for make-docfile.
16853
16854 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16855 functions and variables, since they must be stuff specific to some other
16856 platform.
16857 (apropos-print): Make mouse-click message less specific about button.
16858
16859 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16860 that records where a macro was defined.
16861 * help-fns.el (describe-function-1): Mention if a function has a
16862 compiler-macro.
16863 * help-mode.el (help-function-cmacro): New button.
16864
16865 * locate.el (top-level): Always require dired.
16866 (locate-mode-map): Initialize inside the defvar.
16867
16868 * net/ange-ftp.el (dired-compress-file): Declare.
16869 (ange-ftp-dired-compress-file): Add doc string.
16870
16871 * term/ns-win.el (x-display-name, x-setup-function-keys):
16872 Unify doc-strings with X versions.
16873
16874 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16875
16876 * emulation/crisp.el (crisp-mode-map): Move initialization
16877 into declaration.
16878 (crisp-mode): Use define-minor-mode.
16879
16880 * progmodes/xscheme.el (xscheme-evaluation-commands):
16881 Put a :advertised-binding property rather than using
16882 advertised-xscheme-send-previous-expression.
16883 (advertised-xscheme-send-previous-expression): Declare obsolete.
16884 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16885 `advertised-undo'.
16886 (crisp-mode): Add corresponding bindings to
16887 undo's :advertised-binding instead.
16888 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16889 than using dired-advertised-find-file.
16890 (dired-advertised-find-file):
16891 * simple.el (advertised-undo):
16892 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16893 (widget-keymap): Put a :advertised-binding property rather
16894 than using advertised-widget-backward.
16895 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16896 than using advertised-undo.
16897 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16898
16899 2009-09-10 Simon South <ssouth@slowcomputing.org>
16900
16901 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16902 Mark mode is enabled and region is active; otherwise indent or
16903 insert TAB as usual.
16904 (delphi-mode): Update description of TAB-key binding.
16905
16906 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16907
16908 * subr.el (define-key-rebound-commands): Mark obsolete.
16909 * startup.el (precompute-menubar-bindings): Remove.
16910 (normal-top-level): Remove obsolete code that tried to precompute
16911 menubar bindings.
16912 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16913 define-key-rebound-commands and precompute-menubar-bindings.
16914
16915 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16916
16917 * net/imap.el (imap-interactive-login): Better messages.
16918 (imap-open): Fix bug with renamed buffer on reconnect.
16919 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16920 for easier debugging and cleaner code. On successful (guessed based on
16921 server capabilities) secondary authentication, set imap-state
16922 correctly.
16923 (imap-last-authenticator): Define imap-last-authenticator as a variable
16924 to avoid warnings.
16925
16926 2009-09-10 Glenn Morris <rgm@gnu.org>
16927
16928 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16929
16930 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16931 (byte-compile-file-form-autoload): Don't warn about unknown functions
16932 where the autoload statement comes after the use.
16933 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16934 that any handlers inside the body (eg require) are in turn respected.
16935
16936 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16937 effects.
16938
16939 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16940 and syntax and abbrev tables basic docs, if they don't have any.
16941
16942 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16943
16944 * international/mule-cmds.el (top-level): Require cl when compiling.
16945 (view-hello-file): Use default-value rather than
16946 default-enable-multibyte-characters.
16947
16948 * progmodes/fortran.el: Move all safe and risky properties into the
16949 defcustoms.
16950
16951 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16952 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16953 * mail/undigest.el:
16954 Put autoloads in rmail.el rather than loaddefs.el.
16955 * mail/rmail.el: Regenerate with extracted autoloads.
16956
16957 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16958 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16959
16960 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16961
16962 Reported in thread for Bug#4375.
16963 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16964 "-data-evaluate-expression" instead of print.
16965 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16966 (gdb-tooltip-print): Parse output from above MI command.
16967 (gdb): Revert 2009-08-11 change. User should detach inferior
16968 manually.
16969
16970 Remove the word "separate" from IO functions as inferior
16971 output is now never displayed in the GUD buffer.
16972
16973 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16974
16975 * startup.el (command-line-normalize-file-name): On Windows and
16976 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16977
16978 2009-09-10 Juri Linkov <juri@jurta.org>
16979
16980 * isearch.el (isearch-text-char-description): Propertize escape
16981 character sequences with the `escape-glyph' face. (Bug#4344)
16982
16983 * simple.el (shell-command): Set asynchronous process filter to
16984 `comint-output-filter'. (Bug#4343)
16985
16986 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16987 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16988 the list. Move "asm" to the bottom.
16989 (grep-find-ignored-directories): Add `choice' with nil value
16990 to empty the list easily.
16991 (grep-find-ignored-files): New option.
16992 (grep-files-history): Set to nil by default instead of '("ch" "el").
16993 (grep-compute-defaults): Add "<X>" to `grep-template'.
16994 (grep-read-files): Bind new local variables `default-alias' and
16995 `default-extension'. Use a list of default values for the file prompt.
16996 (lgrep): Add `--exclude=' command line options composed from
16997 `grep-find-ignored-files'.
16998 (rgrep): Add `-name' command line options composed from
16999 `grep-find-ignored-files'. (Bug#4301)
17000
17001 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17002
17003 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17004 (bug#4368).
17005
17006 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17007
17008 * calendar/time-date.el (autoload):
17009 Expand define-obsolete-function-alias into defalias and make-obsolete
17010 for old Emacsen that Gnus supports.
17011 (with-no-warnings): Define it for old Emacsen.
17012 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17013 is available.
17014 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17015 float-time is available; suppress compile warning for time-to-seconds.
17016
17017 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17018
17019 * net/imap.el (imap-message-map): Docstring fix.
17020
17021 2009-09-09 Glenn Morris <rgm@gnu.org>
17022
17023 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17024 line numbers too. (Bug#4374)
17025
17026 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17027
17028 * smerge-mode.el (smerge-remove-props, smerge-refine):
17029 Use with-silent-modifications (bug#4342).
17030
17031 * subr.el (with-silent-modifications): New macro.
17032
17033 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17034
17035 * files.el (top-level): Require `cl' when compiling.
17036
17037 2009-09-07 Glenn Morris <rgm@gnu.org>
17038
17039 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17040
17041 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17042 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17043
17044 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17045
17046 * vc-git.el (vc-git-annotate-command): Use separator to parse
17047 arguments correctly.
17048
17049 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17050
17051 * proced.el (proced-mode): Doc fix.
17052
17053 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17054
17055 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17056 lstat fails.
17057 (tramp-do-file-attributes-with-ls): Check for file existence at
17058 remote end.
17059 (tramp-do-file-attributes-with-stat): Likewise.
17060 (tramp-convert-file-attributes): Return nil when attr is nil.
17061
17062 2009-09-05 Glenn Morris <rgm@gnu.org>
17063
17064 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17065 properties to this button.
17066 (diary-fancy-display): Don't extend the button to the final newline.
17067 (diary-fancy-display-mode): Continue to define "q" as a local key.
17068
17069 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17070 efficient.
17071
17072 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17073
17074 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17075 (byte-compile-dest-file-function): New option.
17076 (byte-compile-dest-file): Doc fix.
17077 Obey byte-compile-dest-file-function.
17078 (byte-compile-cl-file-p): New function.
17079 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17080 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17081 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17082 than for file being previously loaded.
17083 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17084 (byte-compile-file-form-require): Handle the case where requiring a file
17085 indirectly causes CL to be loaded.
17086
17087 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17088
17089 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17090 before killing the old buffer, since by the time `kill-buffer' is
17091 run so many buffer variables have been set to nil that it may not
17092 behave as expected. (Bug#4061)
17093
17094 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17095
17096 * files.el (find-alternate-file): If the old buffer is modified
17097 and visiting a file, behave similarly to `kill-buffer' when
17098 killing it, thus reverting to the pre-1.878 behavior; see
17099 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17100 for discussion. Also, consult `buffer-file-name' as a variable
17101 not as a function, for consistency with the rest of the code.
17102
17103 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17104
17105 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17106 also when adding a new directory.
17107
17108 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17109 New defun.
17110
17111 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17112
17113 * files.el (locate-file-completion-table): Make it provide boundary
17114 information, so partial-completion works better.
17115
17116 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17117
17118 * mail/footnote.el (Footnote-text-under-cursor):
17119 Check footnote-text-marker-alist before using it (bug#4324).
17120
17121 2009-09-04 Glenn Morris <rgm@gnu.org>
17122
17123 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17124 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17125 * play/solitaire.el, play/tetris.el:
17126 Remove leading * from defcustom and defface docs.
17127
17128 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17129 necessary.
17130 (diary-fancy-overriding-map): New variable.
17131 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17132 Use view-mode.
17133
17134 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17135 goto-line.
17136
17137 2009-09-03 Glenn Morris <rgm@gnu.org>
17138
17139 * arc-mode.el (archive-mode):
17140 * dos-fns.el (set-default-process-coding-system):
17141 * man.el (Man-getpage-in-background):
17142 * menu-bar.el (menu-bar-describe-menu):
17143 * server.el (server-process-filter):
17144 * startup.el (command-line):
17145 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17146 * w32-fns.el (set-default-process-coding-system):
17147 * x-dnd.el (x-dnd-handle-file-name):
17148 * international/mule-cmds.el (mule-menu-keymap)
17149 (set-default-coding-systems, language-info-alist, set-language-info)
17150 (set-language-environment, standard-display-european-internal)
17151 (set-locale-environment):
17152 * international/mule-diag.el (mule-diag):
17153 * mail/emacsbug.el (report-emacs-bug):
17154 * mail/rmail.el (rmail-mode):
17155 * mail/sendmail.el (mail-setup):
17156 Use default-value rather than default-enable-multibyte-characters.
17157
17158 * progmodes/f90.el: Move all safe properties into the defcustoms.
17159 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17160
17161 * calendar/appt.el (appt-check):
17162 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17163 (diary-check-diary-file, diary-list-entries)
17164 (diary-include-other-diary-files, diary-simple-display)
17165 (diary-fancy-display, diary-print-entries)
17166 (diary-mark-included-diary-files, diary-make-entry):
17167 Don't call substitute-in-file-name on diary-file.
17168
17169 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17170 Stefan Monnier <monnier@iro.umontreal.ca>
17171
17172 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17173 (footnote-mode-map): Move initialization into the declaration.
17174 (footnote-minor-mode-map): Define it rather than changing global-map.
17175 (footnote-mode): Use define-minor-mode.
17176
17177 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17178
17179 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17180 (tramp-do-file-attributes-with-perl)
17181 (tramp-do-file-attributes-with-stat): Rename from
17182 `tramp-handle-file-attributes-with-*'.
17183 (tramp-handle-file-attributes): Use them.
17184 (tramp-do-directory-files-and-attributes-with-perl)
17185 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17186 `tramp-handle-directory-files-and-attributes-with-*'.
17187 (tramp-handle-directory-files-and-attributes): Use them.
17188 (tramp-method-out-of-band-p): Additional parameter SIZE.
17189 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17190 (tramp-handle-write-region): Use it.
17191 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17192 (tramp-handle-vc-registered): Check, whether the first run did
17193 return files to be tested.
17194 (tramp-advice-make-auto-save-file-name): Do not call directly
17195 `tramp-handle-make-auto-save-file-name', because this would bypass
17196 the locking mechanism.
17197
17198 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17199 (file-remote-p, process-file, start-file-process, set-file-times)
17200 (tramp-compat-file-attributes): Compatibility functions shall not
17201 call directly `tramp-handle-*', because this would bypass the
17202 locking mechanism.
17203 (tramp-compat-number-sequence): New defun.
17204
17205 2009-09-02 Glenn Morris <rgm@gnu.org>
17206
17207 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17208 alias for float-time.
17209 (time-to-number-of-days): In Emacs, use float-time.
17210 * net/newst-backend.el (time-add): Suppress warnings from compat
17211 function.
17212 * time.el (emacs-uptime, emacs-init-time):
17213 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17214 Use float-time rather than time-to-seconds.
17215
17216 * minibuffer.el (completion-initials-expand): Fix typo.
17217
17218 * faces.el (modeline, modeline-inactive, modeline-highlight)
17219 (modeline-buffer-id):
17220 * info.el (info-menu-5): Mark these face aliases as obsolete.
17221
17222 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17223
17224 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17225 space ...
17226 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17227 no "--thread" option.
17228 (gdb-stopped): Don't print "Switched to thread" message when it is
17229 unchanged.
17230
17231 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17232
17233 * minibuffer.el (completion-try-completion)
17234 (completion-all-completions): Remove ill-defined (and
17235 mistakenly installed and luckily never used nor documented)
17236 `completion-styles' property.
17237 (completion-initials-expand, completion-initials-all-completions)
17238 (completion-initials-try-completion): New functions.
17239 (completion-styles-alist): Add doc to each entry.
17240 Add new `initials' entry.
17241
17242 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17243
17244 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17245 MI command -var-evaluate-expression.
17246 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17247 and tweak for case of string child.
17248 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17249
17250 2009-09-01 Glenn Morris <rgm@gnu.org>
17251
17252 * add-log.el (change-log-date-face, change-log-name-face)
17253 (change-log-email-face, change-log-file-face, change-log-list-face)
17254 (change-log-conditionals-face, change-log-function-face)
17255 (change-log-acknowledgement-face):
17256 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17257 (custom-modified-face, custom-set-face, custom-changed-face)
17258 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17259 (custom-documentation-face, custom-state-face, custom-comment-face)
17260 (custom-comment-tag-face, custom-variable-tag-face)
17261 (custom-variable-button-face, custom-face-tag-face)
17262 (custom-group-tag-face-1, custom-group-tag-face):
17263 * diff-mode.el (diff-header-face, diff-file-header-face)
17264 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17265 (diff-added-face, diff-changed-face, diff-function-face)
17266 (diff-context-face, diff-nonexistent-face):
17267 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17268 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17269 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17270 (Info-title-4-face):
17271 * isearch.el (isearch-lazy-highlight-face):
17272 * log-view.el (log-view-file-face, log-view-message-face):
17273 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17274 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17275 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17276 (cvs-msg-face):
17277 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17278 (smerge-base-face, smerge-markers-face):
17279 * wid-edit.el (widget-documentation-face, widget-button-face)
17280 (widget-field-face, widget-single-line-field-face)
17281 (widget-inactive-face, widget-button-pressed-face):
17282 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17283 (woman-addition-face):
17284 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17285 (eshell-ls-executable-face, eshell-ls-readonly-face)
17286 (eshell-ls-unreadable-face, eshell-ls-special-face)
17287 (eshell-ls-missing-face, eshell-ls-archive-face)
17288 (eshell-ls-backup-face, eshell-ls-product-face)
17289 (eshell-ls-clutter-face):
17290 * eshell/em-prompt.el (eshell-prompt-face):
17291 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17292 * obsolete/old-whitespace.el (whitespace-highlight-face):
17293 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17294 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17295 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17296 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17297 (antlr-font-lock-literal-face):
17298 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17299 (ebrowse-root-class-face, ebrowse-file-name-face)
17300 (ebrowse-default-face, ebrowse-member-attribute-face)
17301 (ebrowse-member-class-face, ebrowse-progress-face):
17302 * progmodes/make-mode.el (makefile-space-face):
17303 * progmodes/sh-script.el (sh-heredoc-face):
17304 * textmodes/flyspell.el (flyspell-incorrect-face)
17305 (flyspell-duplicate-face):
17306 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17307 * textmodes/texinfo.el (texinfo-heading-face):
17308 Mark face aliases with "-face" suffix as obsolete.
17309
17310 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17311 compiler.
17312
17313 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17314 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17315 easy-menu-define wants to modify these.
17316
17317 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17318
17319 * net/browse-url.el (browse-url-file-url):
17320 * term/internal.el (dos-codepage-setup):
17321 Use default-value rather than default-enable-multibyte-characters.
17322
17323 * progmodes/etags.el (etags-goto-tag-location):
17324 * progmodes/flymake.el (flymake-highlight-line)
17325 (flymake-goto-file-and-line, flymake-goto-line):
17326 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17327 (gdb-goto-breakpoint):
17328 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17329 * progmodes/python.el (python-find-function)
17330 (python-pdbtrack-track-stack-file):
17331 * progmodes/verilog-mode.el (verilog-surelint-off):
17332 * term/ns-win.el (ns-open-file-select-line):
17333 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17334 Use forward-line rather than goto-line.
17335
17336 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17337 * textmodes/reftex-index.el (reftex-display-index):
17338 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17339 * textmodes/reftex-toc.el (reftex-toc):
17340 Remove unnecessary bindings of default-major-mode (all are followed by
17341 major-mode check and possible mode switch).
17342
17343 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17344
17345 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17346 Handle watchpoints (bug#4282).
17347 (def-gdb-thread-buffer-command): Enable thread to be selected by
17348 clicking without selecting threads buffer first.
17349 (gdb-current-context-command): Use selected frame so that "up",
17350 "down" etc work in the GUD buffer.
17351 (gdb-update): Find selected frame before rendering stack buffer.
17352 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17353
17354 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17355
17356 * progmodes/sym-comp.el (displayed-completions): Remove.
17357 (symbol-complete): Use minibuffer-complete.
17358
17359 2009-08-31 Glenn Morris <rgm@gnu.org>
17360
17361 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17362
17363 * apropos.el (apropos-symbols-internal):
17364 Handle (obsolete) face aliases.
17365
17366 * faces.el (describe-face): Adjust the output format to be more like
17367 describe-variable, and to mention (obsolete) face aliases.
17368 Adjust the whitespace so that help-setup-xref works.
17369
17370 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17371 * calendar/diary-lib.el (diary-button-face):
17372 Mark these face aliases as obsolete.
17373
17374 * calendar/calendar.el (calendar-today): Doc fix.
17375
17376 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17377
17378 * progmodes/gdb-mi.el (gdb-control-all-threads)
17379 (gdb-control-current-thread): Force tool bar update.
17380 (gdb-non-stop-handler): New function.
17381 (gdb-init-1): Use it to test if non-stop mode is supported.
17382 Remove unused gdbmi buffer type.
17383
17384 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17385
17386 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17387 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17388
17389 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17390
17391 * comint.el (comint-exec-1): Check command is non-null first.
17392 Part of gdb-mi.el change (2009-08-28).
17393
17394 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17395
17396 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17397
17398 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17399
17400 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17401 instead of `dolist' to avoid a recursive require when bootstrapping.
17402
17403 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17404
17405 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17406
17407 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17408
17409 * net/imap.el (imap-send-command): Simplify.
17410 (imap-wait-for-tag): point-max -> buffer-size.
17411
17412 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17413
17414 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17415 with constant argument.
17416
17417 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17418
17419 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17420
17421 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17422 Change default, since most of our files don't have a history.
17423 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17424 the user.
17425
17426 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17427 Add comint-run.
17428
17429 * calc/calc.el: Improve commenting convention.
17430 (calc-digit-map, toplevel): Simplify.
17431
17432 * comint.el (comint-insert-input): Be careful to only set point if we
17433 don't delegate to some other command.
17434
17435 * proced.el (proced-signal-list): Make it an alist.
17436 (proced-grammar-alist): Capitalize names.
17437 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17438 Disable undo manually and make it read-only.
17439 Use completion-annotate-function.
17440
17441 * minibuffer.el (minibuffer-message): If the current buffer is not
17442 a minibuffer, insert the message in the echo area rather than at the
17443 end of the buffer.
17444 (completion-annotate-function): New variable.
17445 (minibuffer-completion-help): Use it.
17446 (completion--embedded-envvar-table): Environment vars are
17447 always case-sensitive.
17448
17449 2009-08-30 Glenn Morris <rgm@gnu.org>
17450
17451 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17452 from fortran-current-defun.
17453 (fortran-beginning-of-subprogram): Be more precise about finding the
17454 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17455 (fortran-end-of-subprogram): Simplify.
17456 (fortran-current-defun): Use fortran-start-prog-re.
17457
17458 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17459
17460 * subr.el (do-after-load-evaluation): Simplify.
17461
17462 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17463
17464 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17465
17466 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17467 (vc-rcs-print-log): Use it.
17468
17469 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17470
17471 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17472
17473 * paths.el (abbrev-file-name): Move to abbrev.el.
17474 * abbrev.el (abbrev-file-name): Move from paths.el.
17475 Obey user-emacs-directory.
17476 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17477 user-emacs-directory.
17478 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17479 abbrev-file-name and calc-settings-file any more.
17480 * startup.el (command-line): Recompute abbrev-file-name and
17481 abbreviated-home-dir.
17482 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17483 of the special code for when C-h bindings haven't been changed.
17484 (display-startup-echo-area-message): Use with-current-buffer.
17485 (command-line-1): Use a list of strings, rather than a list of lists
17486 of strings for longopts.
17487
17488 * files.el (get-free-disk-space): Use / for default-directory.
17489
17490 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17491 Use with-current-buffer.
17492
17493 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17494 Recognize immutable variables like most-positive-fixnum.
17495 (byte-compile-setq-default): Check and warn if trying to assign
17496 to an immutable variable, or a non-variable.
17497
17498 * progmodes/cc-vars.el (c-comment-continuation-stars):
17499 * progmodes/cc-engine.el (c-looking-at-bos):
17500 * progmodes/cc-cmds.el (c-toggle-auto-state)
17501 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17502 (c-comment-line-break-function): Add version of obsolescence.
17503
17504 2009-08-28 Juri Linkov <juri@jurta.org>
17505
17506 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17507 associated with `archive-mode'.
17508
17509 * image.el (image-type-header-regexps): Use only JPEG magic number
17510 to determine JPEG images, and don't use `image-jpeg-p' because
17511 Emacs can display non-JFIF non-Exif JPEG images.
17512
17513 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17514
17515 * arc-mode.el (archive-mode):
17516 * emacs-lisp/re-builder.el (re-builder-unload-function):
17517 Protect against the default value of `major-mode' being nil.
17518
17519 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17520
17521 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17522 Fix typos in docstrings.
17523
17524 * progmodes/js.el (js--macro-decl-re): Doc fix.
17525 (js--plain-method-re, js--split-name): Refloc docstring.
17526 (js--class-styles, js--make-merged-item, js--splice-into-items):
17527 Fix typos in docstrings; reflow docstrings.
17528 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17529 (js--variable-decl-matcher, js--inside-pitem-p)
17530 (js--parse-state-at-point, js--get-all-known-symbols)
17531 (js--symbol-history, js-find-symbol, js--js-references)
17532 (js--moz-interactor, js--js-encode-value, js--read-tab):
17533 Fix typos in docstrings.
17534
17535 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17536
17537 * textmodes/reftex.el (reftex-get-file-buffer-force):
17538 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17539 * emulation/viper.el (viper-go-away, viper-set-hooks):
17540 * emacs-lisp/re-builder.el (re-builder-unload-function):
17541 * emacs-lisp/bytecomp.el (byte-compile-file):
17542 * ses.el (ses-unload-function):
17543 * hexl.el (hexl-find-file):
17544 * files.el (normal-mode):
17545 * ehelp.el (with-electric-help):
17546 * autoinsert.el (auto-insert-alist):
17547 * arc-mode.el (archive-mode):
17548 Use (default-value 'major-mode) instead of default-major-mode.
17549
17550 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17551 * international/mule.el (load-with-code-conversion):
17552 * emacs-lisp/debug.el (debug):
17553 * ediff-vers.el (ediff-rcs-get-output-buffer):
17554 * dired.el (dired-internal-noselect): Don't let-bind
17555 default-major-mode around code that doesn't use it.
17556 E.g. buffer creation via get-buffer-create doesn't use it.
17557
17558 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17559
17560 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17561 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17562 when writing the temp file. Otherwise, epa-file gets confused.
17563 (tramp-register-file-name-handlers): Make it a defun. Move also
17564 `epa-file-handler' to the front of `file-name-handler-alist'.
17565
17566 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17567
17568 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17569 start right after a ^M.
17570 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17571 (tramp-completion-file-name-regexp-separate)
17572 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17573 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17574 Don't modify last-coding-system-used by accident.
17575 (tramp-completion-file-name-handler): Apply the checks here,
17576 instead during registration.
17577 (tramp-register-file-name-handlers): Rename from
17578 `tramp-register-file-name-handler'. Register both
17579 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17580 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17581
17582 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17583
17584 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17585 Remove variable ...
17586 (gdb-init-1, gdb-display-separate-io-buffer)
17587 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17588 references to it.
17589 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17590 (gdb-inferior-filter): Use comint-output-filter to stop
17591 echoing and remove ^M characters.
17592
17593 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17594
17595 * emulation/viper-init.el (viper-restore-cursor-type):
17596 * emulation/cua-base.el (cua--update-indications):
17597 Replace default-cursor-type with (default-value 'cursor-type).
17598
17599 * mail/sendmail.el (mail-recover-1):
17600 * international/mule-diag.el (describe-current-coding-system-briefly)
17601 (describe-current-coding-system):
17602 * international/mule-cmds.el (select-safe-coding-system)
17603 (select-message-coding-system)
17604 (set-language-environment-coding-systems, set-locale-environment):
17605 * hexl.el (hexl-insert-multibyte-char):
17606 * dos-w32.el (find-buffer-file-type-coding-system):
17607 * simple.el (what-cursor-position):
17608 Replace uses of default-buffer-file-coding-system
17609 with (default-value 'buffer-file-coding-system).
17610
17611 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17612 Replace uses of default-cursor-in-non-selected-windows
17613 with (default-value 'cursor-in-non-selected-windows).
17614 Use with-current-buffer.
17615
17616 * mail/feedmail.el: Use CL macros.
17617 (feedmail-run-the-queue, feedmail-send-it-immediately):
17618 * dos-w32.el (find-buffer-file-type): Replace uses of
17619 default-buffer-file-type with (default-value 'buffer-file-type).
17620
17621 2009-08-28 Glenn Morris <rgm@gnu.org>
17622
17623 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17624 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17625 Use default-value of major-mode rather than default-major-mode.
17626
17627 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17628
17629 * Makefile.in (update-elcfiles): Report left over elc files.
17630
17631 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17632 expand-file-name and with-current-buffer.
17633 (mail-get-names, mail-directory): Use with-current-buffer.
17634
17635 * vc.el (vc-read-revision): New function.
17636 (vc-version-diff, vc-merge): Use it.
17637
17638 2009-08-27 Sam Steingold <sds@gnu.org>
17639
17640 * simple.el (kill-do-not-save-duplicates): New user option.
17641 (kill-new): When it is non-nil, and the new string is the same as
17642 the latest kill, set replace to t to avoid duplicates in kill-ring.
17643
17644 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17645
17646 * net/tramp.el (tramp-handle-process-file): Do not flush all
17647 caches when `process-file-side-effects' is set.
17648 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17649 instead of `tramp-find-file-exists-command'.
17650 Unset `process-file-side-effects'.
17651
17652 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17653
17654 * net/tramp.el (tramp-methods): New method "rsyncc".
17655 (top): Add completion function for "rsyncc".
17656 (tramp-message-show-message): New defvar.
17657 (tramp-message, tramp-error): Use it.
17658 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17659 remote copying.
17660 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17661 `tramp-methods' entry `copy-env' of "rsyncc".
17662 (tramp-vc-registered-read-file-names): New defconst.
17663 (tramp-vc-registered-file-names): New defvar.
17664 (tramp-handle-vc-registered): Implement optimization strategy.
17665 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17666 (tramp-vc-file-name-handler): New defun.
17667 (tramp-get-ls-command, tramp-get-test-command)
17668 (tramp-get-file-exists-command, tramp-get-remote-ln)
17669 (tramp-get-remote-perl, tramp-get-remote-stat)
17670 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17671
17672 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17673 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17674 timestamps.
17675 (tramp-get-file-property): Check for timestamps in
17676 `tramp-cache-inhibit-cache'.
17677 (tramp-set-file-property): Write timestamp.
17678
17679 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17680
17681 * language/japan-util.el (japanese-symbol-table): Add entries for
17682 cp932-2-byte.
17683
17684 * international/characters.el: Add category `j' to cp932-2-byte.
17685
17686 2009-08-27 Kenichi Handa <handa@m17n.org>
17687
17688 * international/fontset.el (build-default-fontset-data): New macro.
17689 (setup-default-fontset): Use build-default-fontset-data for CJK,
17690 tibetan, ethiopic, and ipa.
17691
17692 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17693
17694 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17695 (enable-multibyte-characters): Not customizable any more.
17696
17697 * subr.el (default-mode-line-format, default-header-line-format)
17698 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17699 (default-direction-reversed, default-truncate-lines)
17700 (default-left-margin, default-tab-width, default-case-fold-search)
17701 (default-left-margin-width, default-right-margin-width)
17702 (default-left-fringe-width, default-right-fringe-width)
17703 (default-fringes-outside-margins, default-scroll-bar-width)
17704 (default-vertical-scroll-bar, default-indicate-empty-lines)
17705 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17706 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17707 (default-scroll-down-aggressively, default-fill-column)
17708 (default-cursor-type, default-buffer-file-type)
17709 (default-cursor-in-non-selected-windows)
17710 (default-buffer-file-coding-system, default-major-mode)
17711 (default-enable-multibyte-characters): Mark as obsolete.
17712
17713 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17714
17715 * vc-dir.el (vc-dir-update): Remove debug helper.
17716
17717 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17718
17719 2009-08-26 Sam Steingold <sds@gnu.org>
17720
17721 * simple.el (save-interprogram-paste-before-kill): New user option.
17722 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17723 save the interprogram-paste into kill-ring before overriding it
17724 with the Emacs kill.
17725
17726 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17727
17728 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17729 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17730 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17731 and move to vc-rcs.el.
17732 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17733 move to vc-rcs.el.
17734 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17735 (vc-rcs-update-changelog): Remove.
17736 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17737 and move to vc-rcs.el.
17738
17739 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17740 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17741 renaming.
17742 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17743 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17744 vc.el, renamed to be RCS specific.
17745
17746 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17747 New functions.
17748 (vc-cvs-update-changelog): Move here from vc.el.
17749
17750 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17751 New functions.
17752
17753 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17754
17755 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17756
17757 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17758
17759 * vc-git.el (vc-git-register): Use "git add" for directories.
17760 (vc-git-stash, vc-git-stash-show): New functions.
17761 (vc-git-extra-menu-map): Bind them.
17762
17763 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17764 directory correctly in case the item is a directory itself.
17765
17766 * vc.el: Document the desired behavior for reverted files in the
17767 `added' state.
17768 (vc-default-prettify-state-info): Remove function, unused.
17769
17770 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17771
17772 2009-08-26 Glenn Morris <rgm@gnu.org>
17773
17774 * bindings.el (standard-mode-line-format): Reposition dashes in
17775 which-func entry. (Bug#4217)
17776
17777 * files.el (enable-local-variables, enable-local-eval)
17778 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17779 the defcustoms.
17780 (auto-mode-alist, ignored-local-variables)
17781 (save-some-buffers-action-alist): Move risky declarations to the
17782 definitions.
17783 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17784 (font-lock-defaults, format-alist, imenu--index-alist)
17785 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17786 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17787 (mode-line-modified, mode-line-mule-info, mode-line-position)
17788 (mode-line-process, mode-line-remote, outline-level)
17789 (parse-time-rules, rmail-output-file-alist)
17790 (special-display-buffer-names, vc-mode):
17791 Move risky declarations to the relevant files.
17792 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17793 (mode-line-modified, mode-line-process, mode-line-position)
17794 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17795 * font-core.el (font-lock-defaults):
17796 * format.el (format-alist):
17797 * vc-hooks.el (vc-mode):
17798 * window.el (special-display-buffer-names):
17799 * international/mule-cmds.el (input-method-alist):
17800 Define riskiness here (dumped file) rather than in files.el.
17801 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17802 * imenu.el (imenu-generic-expression, imenu--index-alist):
17803 * outline.el (outline-level):
17804 * time.el (display-time-string):
17805 * calendar/parse-time.el (parse-time-rules):
17806 * mail/rmailout.el (rmail-output-file-alist):
17807 Autoload riskiness here, rather than placing in files.el.
17808
17809 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17810
17811 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17812
17813 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17814
17815 * simple.el (process-file-side-effects): New defvar.
17816
17817 * dired-aux.el (dired-show-file-type):
17818 * vc.el (vc-diff-internal):
17819 * vc-arch.el (vc-arch-diff):
17820 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17821 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17822 * vc-git.el (vc-git-registered, vc-git-working-revision)
17823 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17824 (vc-git--empty-db-p):
17825 * vc-hooks.el (vc-user-login-name):
17826 * vc-svn.el (vc-svn-registered, vc-svn-state)
17827 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17828 * progmodes/grep.el (grep-probe): Let-bind
17829 `process-file-side-effects' with nil.
17830
17831 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17832
17833 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17834 daemon. Replace ping by checking for running service for bluez
17835 and zeroconf. (Bug#4239)
17836
17837 2009-08-25 Kevin Ryde <user42@zip.com.au>
17838
17839 * net/dig.el (dig): Add autoload cookie.
17840
17841 2009-08-25 Glenn Morris <rgm@gnu.org>
17842
17843 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17844 load-history for absolute file-names.
17845 (byte-compile-file-form-require): Warn about use of the cl package.
17846
17847 * format.el (format-alist): Doc fix.
17848
17849 * play/bubbles.el (top-level): Don't require cl at run-time.
17850
17851 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17852 run-time cl).
17853
17854 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17855
17856 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17857 from cl package.
17858 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17859
17860 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17861
17862 * calc/calc-alg.el (math-trig-rewrite)
17863 (math-hyperbolic-trig-rewrite): New functions.
17864 (calc-simplify): Simplify trig functions when asked.
17865
17866 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17867
17868 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17869
17870 2009-08-24 Kenichi Handa <handa@m17n.org>
17871
17872 * language/ind-util.el (mapthread): Delete it.
17873 (combinatorial): New function.
17874 (indian--puthash-cv): Use combinatorial instead of mapthread.
17875
17876 2009-08-22 Kevin Ryde <user42@zip.com.au>
17877
17878 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17879 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17880 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17881 Clarify docstring that the value is strings not symbols.
17882 (checkdoc-list-of-strings-p): New function.
17883
17884 2009-08-22 Glenn Morris <rgm@gnu.org>
17885
17886 * files.el (auto-mode-alist):
17887 * hippie-exp.el (he-concat-directory-file-name):
17888 * lpr.el (lpr-windows-system, printer-name):
17889 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17890 * ps-print.el (ps-windows-system):
17891 * startup.el (command-line):
17892 * emulation/viper-ex.el (viper-glob-function):
17893 * international/mule-cmds.el (set-language-environment-coding-systems):
17894 * net/ange-ftp.el (ange-ftp-write-region):
17895 * obsolete/fast-lock.el (fast-lock-cache-name):
17896 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17897 unisoft-unix, vax-vms, win32, w32.
17898
17899 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17900 given name if the pattern is not more specific.
17901
17902 * calendar/lunar.el (lunar-phase-names): New option.
17903 (lunar-phase): Doc fix.
17904 (lunar-cycles-per-year): New constant.
17905 (lunar-index): New function.
17906 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17907 (lunar-phase-name): Use lunar-phase-names.
17908 (calendar-lunar-phases): Use format.
17909 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17910
17911 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17912 Copy imenu-example--name-and-position function here for own use.
17913 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17914
17915 * bs.el (bs--redisplay):
17916 * cus-edit.el (custom-redraw):
17917 * ibuffer.el (ibuffer-bury-buffer):
17918 * server.el (server-goto-line-column):
17919 * startup.el (command-line-1):
17920 * strokes.el (strokes-xpm-for-stroke):
17921 * term.el (term-display-buffer-line):
17922 * view.el (View-goto-line):
17923 * calc/calc.el (calc-do, calc-trail-buffer):
17924 * play/gamegrid.el (gamegrid-add-score-insecure):
17925 * progmodes/ada-mode.el (ada-compile-goto-error):
17926 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17927 (ebrowse-select-1st-to-9nth):
17928 * progmodes/cperl-mode.el (cperl-time-fontification):
17929 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17930 * progmodes/gud.el (gud-display-line):
17931 (idlwave-shell-display-line):
17932 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17933 * progmodes/make-mode.el (makefile-browser-toggle):
17934 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17935 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17936 * textmodes/picture.el (picture-draw-rectangle):
17937 * textmodes/reftex-index.el (reftex-index-goto-letter):
17938 (reftex-select-jump-to-previous):
17939 * textmodes/reftex-sel.el (reftex-find-start-point)
17940 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17941 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17942 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17943 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17944 * textmodes/two-column.el (2C-associated-buffer):
17945 Use forward-line rather than goto-line.
17946
17947 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17948 goto-line.
17949
17950 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17951 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17952 (quick-check-list-to-regexp): Declare.
17953
17954 * progmodes/make-mode.el (makefile-browser-insert-selection):
17955 Use goto-char rather than goto-line.
17956
17957 * progmodes/prolog.el (compilation-error-regexp-alist)
17958 (compilation-forget-errors): Declare.
17959
17960 2009-08-22 Juri Linkov <juri@jurta.org>
17961
17962 * progmodes/grep.el (lgrep, rgrep): At the beginning
17963 set `dir' to `default-directory' unless `dir' is a non-nil
17964 readable directory. (Bug#4052)
17965 (lgrep, rgrep): Change a weird way to report an error
17966 from using `read-string' to using `error'.
17967 Instead of using interactive arguments in the function body,
17968 add new argument `confirm'.
17969
17970 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17971
17972 * textmodes/remember.el (remember-buffer):
17973 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17974 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17975 (icalendar-extract-ical-from-buffer):
17976 * net/newst-treeview.el (newsticker-groups-filename):
17977 * net/newst-backend.el (newsticker-cache-filename):
17978 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17979 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17980 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17981 (speedbar-buffers-line-path, speedbar-path-line)
17982 (speedbar-buffers-line-path):
17983 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17984 (epg-sign-keys):
17985 * epa.el (epa-display-verify-result):
17986 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17987
17988 2009-08-21 Glenn Morris <rgm@gnu.org>
17989
17990 * progmodes/js.el (inferior-moz-process): Fix declaration.
17991
17992 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17993
17994 * obsolete/rnewspost.el (news-mail-reply):
17995 Use goto-char rather than goto-line.
17996
17997 * term/ns-win.el (ns-open-file-select-line):
17998 Use line-beginning-position rather than goto-line.
17999
18000 * apropos.el (apropos-command):
18001 * ehelp.el (electric-helpify):
18002 * printing.el (pr-show-setup):
18003 * strokes.el (strokes-help):
18004 * tutorial.el (tutorial--describe-nonstandard-key)
18005 (tutorial--detailed-help):
18006 * woman.el (woman-mini-help, woman-display-extended-fonts):
18007 * calc/calc-help.el (calc-describe-key):
18008 * emulation/edt.el (edt-electric-helpify):
18009 * international/mule-diag.el (mule-diag):
18010 * play/yow.el (apropos-zippy):
18011 * progmodes/python.el (python-describe-symbol):
18012 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18013 * textmodes/table.el (*table--cell-describe-mode)
18014 (*table--cell-describe-bindings):
18015 Use help-print-return-message rather than the now obsolete alias.
18016
18017 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18018 (calendar-cursor-to-visible-date):
18019 * play/5x5.el (5x5-position-cursor):
18020 * play/decipher.el (decipher):
18021 * play/gomoku.el (gomoku-goto-xy):
18022 * play/landmark.el (lm-goto-xy):
18023 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18024 (mpuz-paint-digit):
18025 Use forward-line, not goto-line.
18026
18027 * mail/rmail.el (rmail-obsolete): Delete custom group.
18028 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18029 (rmail-remote-password, rmail-remote-password-required):
18030 Remove unneeded :set-after and :set properties.
18031
18032 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18033
18034 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18035
18036 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18037
18038 * loadup.el: Remove leftover macos code.
18039
18040 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18041 Explicitly pass the date format to git blame so that user local
18042 so that the output format can be parsed.
18043
18044 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18045
18046 * net/dbus.el (top): Don't check for (getenv
18047 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18048
18049 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18050
18051 * log-edit.el (log-edit-strip-single-file-name): New var.
18052 (log-edit-insert-changelog): Use it. Bug#3571
18053
18054 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18055
18056 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18057 Bug#3287
18058
18059 * help.el (help-print-return-message): Rename from
18060 print-help-return-message.
18061
18062 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18063 cvs-mode-map parent hack.
18064 (log-view-mode): Derive from special-mode.
18065
18066 * linum.el (linum-mode): window-size-change-functions is redundant.
18067 Adapt to new window-configuration-change-hook behavior.
18068 (linum-after-size, linum-after-config): Remove.
18069
18070 * imenu.el (imenu-example--name-and-position)
18071 (imenu-example--lisp-extract-index-name)
18072 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18073 Mark as obsolete.
18074
18075 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18076 (inferior-prolog-mode): Use it.
18077 (inferior-prolog-load-file): Reset list of errors.
18078
18079 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18080
18081 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18082
18083 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18084
18085 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18086
18087 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18088 is running already.
18089
18090 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18091
18092 * subr.el (listify-key-sequence-1): Use normal syntax since those
18093 integers are nowadays always represented by the same (positive) number
18094 on all platforms.
18095 (read-key-empty-map): New const.
18096 (read-key-delay): New var.
18097 (read-key): New function.
18098 (force-mode-line-update): Use with-current-buffer.
18099 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18100 (start-process-shell-command, start-file-process-shell-command):
18101 Discourage the use of command-args.
18102
18103 2009-08-19 Glenn Morris <rgm@gnu.org>
18104
18105 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18106
18107 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18108
18109 * simple.el (choose-completion-string): Don't rely on
18110 minibuffer-completing-file-name and ad-hoc checks to decide whether
18111 to continue completion or not.
18112
18113 * minibuffer.el (minibuffer-hide-completions): New function.
18114 (completion--do-completion): Use it.
18115 (completions-annotations): New face.
18116 (completion--insert-strings): Use it.
18117 (completion-pcm--delim-wild-regex): Add docstring.
18118 (completion-pcm--string->pattern): Add support for 0-width delimiters
18119 in completion-pcm--delim-wild-regex.
18120
18121 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18122
18123 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18124 Remove unused var `buffer-modified-p'.
18125
18126 * minibuffer.el (completion--do-completion): Move point for the #b001
18127 case as well (bug#4176).
18128 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18129
18130 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18131
18132 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18133 and :session buses.
18134
18135 2009-08-18 Kenichi Handa <handa@m17n.org>
18136
18137 * international/ucs-normalize.el (ucs-normalize-version):
18138 Change to 1.1.
18139 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18140 (utf-8-hfs): Make it perform normalization on encoding too.
18141
18142 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18143 (sentence-end-without-space): Delete duplicated chars.
18144 (sentence-end-base): Likewise.
18145
18146 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18147 (html-mode): Delete duplicated chars from sentence-end-base.
18148
18149 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18150 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18151
18152 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18153
18154 * files.el (hack-one-local-variable): If the mode function is for
18155 a minor mode, pass it an argument (Bug#4148).
18156
18157 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18158
18159 * net/tramp.el (tramp-register-completion-file-name-handler):
18160 Check also for (member 'partial-completion completion-styles).
18161
18162 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18163
18164 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18165 abbrev (Bug#3943).
18166
18167 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18168
18169 * progmodes/cperl-mode.el: Merge upstream 6.2.
18170 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18171 (cperl-forward-re): Check cperl-brace-recursing.
18172 (cperl-highlight-charclass): New function.
18173 (cperl-find-pods-heres): Use it.
18174 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18175 (cperl-beautify-regexp-piece): Fix column calculation.
18176 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18177 (cperl-beautify-level): Don't process entire regexp.
18178 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18179 calling man.
18180 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18181 (cperl-init-faces): Build a list in the normal way.
18182
18183 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18184
18185 * calendar/parse-time.el (parse-time-string-chars): Save match
18186 data.
18187
18188 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18189
18190 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18191 (sql-product): Use it.
18192 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18193 (sql-set-product): Add completion.
18194 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18195 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18196 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18197 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18198 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18199 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18200 (sql-highlight-db2-keywords): Remove.
18201 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18202 (sql-highlight-product): Use derived-mode-p.
18203 (sql-set-sqli-buffer): Use with-current-buffer.
18204 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18205 Simplify.
18206
18207 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18208
18209 * term.el: Fix commenting convention, turn comments into docstrings.
18210
18211 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18212
18213 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18214
18215 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18216
18217 * calendar/parse-time.el (parse-time-string-chars): Compute using
18218 character classes, to handle non-ascii characters (Bug#3190).
18219
18220 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18221
18222 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18223 another heredoc if the user adds another < (Bug#3226).
18224
18225 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18226 Don't initialize based on window-system (Bug#4124).
18227
18228 * facemenu.el (facemenu-read-color): Use a completion function
18229 that accepts any defined color, such as RGB triplets (Bug#3677).
18230
18231 * files.el (get-free-disk-space): Change fallback default
18232 directory to /. Expand DIR argument before switching to fallback.
18233 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18234
18235 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18236
18237 * files.el (load-library): Doc fix.
18238
18239 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18240
18241 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18242 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18243 incremental search string.
18244
18245 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18246 XEmacs.
18247
18248 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18249 (ediff-merge-region-is-non-clash)
18250 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18251 Also check if the job is really a merge job.
18252
18253 * ediff.el (ediff-current-file): New function.
18254
18255 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18256
18257 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18258 conventions.
18259 (js-insert-and-indent): Delete function.
18260 (js-mode-map): Don't bind keys to js-insert-and-indent.
18261 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18262 (js-end-of-defun): Rename from js--end-of-defun.
18263 (js-auto-indent-flag): Delete variable.
18264
18265 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18266
18267 * progmodes/js.el: Remove proclaim statement.
18268 Defvar which-func-imenu-joiner-function to silence compiler.
18269
18270 * files.el (auto-mode-alist): Use js-mode for .js files.
18271
18272 * progmodes/js2-mode.el: Remove file.
18273
18274 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18275
18276 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18277
18278 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18279
18280 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18281 Karl Landstrom <karl.landstrom@brgeight.se>
18282
18283 * progmodes/js.el: New file.
18284
18285 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18286
18287 * timezone.el (timezone-parse-date): Add ability to understand ISO
18288 basic format (minimal separators) dates in addition to the
18289 already-supported extended format dates.
18290
18291 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18292
18293 * international/ucs-normalize.el: Add a `coding' file variable.
18294
18295 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18296
18297 2009-08-14 Sam Steingold <sds@gnu.org>
18298
18299 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18300
18301 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18302
18303 * faces.el (help-argument-name): Define it here instead of
18304 help-fns.el, because in daemon mode help-fns.el may be loaded when
18305 faces are still uninitialized (Bug#1078).
18306
18307 * help-fns.el (help-argument-name): Move defface to faces.el.
18308
18309 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18310
18311 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18312 create buffer with a pty but no process so that GDB can make the
18313 inferior the controlling process.
18314
18315 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18316
18317 * international/ucs-normalize.el: New file.
18318
18319 2009-08-13 Richard Stallman <rms@gnu.org>
18320
18321 * mail/rmail.el (rmail-get-attr-names):
18322 Accept an attribute header that is too short.
18323
18324 * mail/rmail.el (rmail-forget-messages):
18325 Ignore nil elt in rmail-message-vector. Use dotimes.
18326
18327 * progmodes/compile.el (compilation-goto-locus):
18328 Use next-error-move-function.
18329
18330 * simple.el (next-error-move-function): New variable.
18331
18332 2009-08-12 Juri Linkov <juri@jurta.org>
18333
18334 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18335 always non-nil. (Bug#4052)
18336
18337 * replace.el (read-regexp): Return empty string when
18338 `default-value' is nil.
18339 (keep-lines-read-args): Don't use empty string as the
18340 default value for `read-regexp'. (Bug#2495)
18341
18342 2009-08-12 Juri Linkov <juri@jurta.org>
18343
18344 * international/mule-cmds.el (ucs-insert): Change arguments
18345 from `arg' to `character', `count', `inherit' to be the same
18346 as in `insert-char'. Doc fix. (Bug#4039)
18347
18348 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18349
18350 2009-08-12 Juri Linkov <juri@jurta.org>
18351
18352 * files-x.el: New file.
18353
18354 * files.el: Move code that deals with adding/deleting
18355 file/directory-local variables to files-x.el.
18356
18357 * Makefile.in (ELCFILES): Add files-x.elc.
18358
18359 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18360
18361 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18362 to use `goto-line'.
18363 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18364 `goto-line'.
18365 (gdb-invalidate-disassembly): Do not refresh upon receiving
18366 'update signal. Instead, update all disassembly buffers only after
18367 threads list.
18368 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18369 (gdb-starting): Move -data-list-register-names...
18370 (gdb-stopped): ...here so it's sent when first thread stops.
18371 (gdb-registers-handler-custom): Do nothing if register names are
18372 unknown yet.
18373
18374 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18375 from `gdb-mi.el' to avoid extra tangling.
18376
18377 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18378 change which breaks `gud-def' definitions used in `gdb'.
18379 (gdb-update-gud-running): No extra fuss for updating frame number.
18380
18381 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18382
18383 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18384 (describe-language-environment-map, setup-language-environment-map)
18385 (set-coding-system-map): Move initialization into declaration.
18386 (set-language-info-alist): Last arg to define-key-after can be skipped.
18387
18388 * international/quail.el (quail-completion-1): Simplify.
18389 (quail-define-rules): Use slightly more compact code.
18390 (quail-insert-decode-map): Propertize keys, compact columns.
18391
18392 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18393 Add goto-line.
18394
18395 2009-08-10 Miles Bader <miles@gnu.org>
18396
18397 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18398 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18399 (js2-instance-member, js2-private-member, js2-private-function-call)
18400 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18401 (js2-magic-paren, js2-external-variable):
18402 Remove "-face" suffix from face names.
18403 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18404 (js2-highlight-undeclared-vars, js2-peek-token)
18405 (js2-parse-function-params, js2-mode-show-errors)
18406 (js2-mode-show-warnings, js2-make-magic-delimiter)
18407 (js2-mode-highlight-magic-parens): Update to use new face names.
18408
18409 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18410
18411 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18412 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18413
18414 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18415
18416 * subr.el: Provide hashtable-print-readable.
18417
18418 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18419 hs-c-like-adjust-block-beginning.
18420 (hs-hide-block-at-point): Stop hiding at the beginning of
18421 hs-block-end-regexp (Bug#700).
18422
18423 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18424
18425 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18426 a macro.
18427 (gdb-registers-handler-custom): Do not fail when register names
18428 are unavailable.
18429
18430 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18431
18432 * progmodes/gdb-mi.el (gdb-control-all-threads)
18433 (gdb-control-current-thread): Interactive setters for
18434 `gdb-gud-control-all-threads' to use in menu.
18435 (gdb-show-run-p): Show «Go» when process is not active.
18436 (gud-tool-bar-map): Add non-stop/A,T indicator.
18437 Uses gud/thread.xpm and gud/all.xpm.
18438
18439 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18440
18441 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18442 (nslookup-font-lock-keywords): Make it a variable.
18443 (net-utils-mode): New mode for viewing diagnostic network output.
18444 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18445 (net-utils-run-simple): New function.
18446 (ifconfig, iwconfig, netstat, arp, route): Use it.
18447
18448 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18449
18450 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18451 (gdb-memory-set-address, def-gdb-set-positive-number)
18452 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18453 after changing settings.
18454 (gdb-invalidate-disassembly): Update when first shown.
18455 (gdb-edit-locals-value): Fixed.
18456 (gdb-registers-handler-custom): Print registers in right order and
18457 allow changing register values (only for current thread yet).
18458 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18459 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18460 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18461 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18462 Thread info in mode name.
18463 (gdb-registers-mode-map): TAB to switch to locals.
18464
18465 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18466
18467 * mail/rmail.el (rmail-add-mbox-headers)
18468 (rmail-set-message-counters-counter): Search for
18469 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18470
18471 2009-08-08 Glenn Morris <rgm@gnu.org>
18472
18473 * Makefile.in (ELCFILES): Update.
18474
18475 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18476
18477 * mail/sendmail.el (mail-yank-original):
18478 Set buffer-file-coding-system from the one used by the message whose
18479 text is yanked.
18480
18481 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18482 to "windows" when "pgnuplot" is used.
18483 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18484 Don't call accept-process-output if "pgnuplot" is used.
18485 (calc-graph-init): Don't send -display and -geometry to
18486 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18487 running "pgnuplot -V" with shell-command-to-string.
18488
18489 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18490 the default.
18491
18492 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18493
18494 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18495 org/org-latex.elc.
18496
18497 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18498
18499 * vc-dispatcher.el (vc-resynch-window): Update comment.
18500
18501 * term.el (term-handle-ansi-escape): Add comments with the
18502 terminfo capabilities implemented.
18503
18504 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18505
18506 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18507 (gdb-var-create-handler): Rewritten using JSON parser.
18508 (gdb-propertize-header): Move earlier.
18509 (gdb-set-header): Remove to avoid duplication.
18510 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18511 Refresh disassembly buffers only after threads list have been
18512 update.
18513 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18514 variables.
18515
18516 2009-08-04 Juri Linkov <juri@jurta.org>
18517
18518 * files.el: Commands to add/delete file/directory-local variables.
18519 (read-file-local-variable, read-file-local-variable-value)
18520 (read-file-local-variable-mode, modify-file-local-variable)
18521 (modify-file-local-variable-prop-line)
18522 (modify-dir-local-variable): New functions.
18523 (add-file-local-variable, delete-file-local-variable)
18524 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18525 (add-dir-local-variable, delete-dir-local-variable)
18526 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18527 (copy-dir-locals-to-file-locals-prop-line): New commands.
18528
18529 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18530
18531 * abbrev.el (insert-abbrev-table-description): Prettify output.
18532 Suggested by Karl Chen.
18533
18534 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18535
18536 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18537 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18538 (gdb-overlay-arrow-position, gdb-thread-position)
18539 (gdb-disassembly-position): Declare variables.
18540 (gdb-wait-for-pending): Function now.
18541 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18542 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18543 compilation goes smoothly.
18544 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18545 (gdb-non-stop-setting): New customization setting which replaces
18546 `gdb-non-stop' so changing it doesn't break active GDB session.
18547 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18548 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18549 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18550 (gdb-show-threads-by-default): New customization options.
18551 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18552 routines.
18553 (gdb-get-buffer-create): Send buffers update signal when they are
18554 created.
18555 (gdb-invalidate-locals, gdb-invalidate-registers)
18556 (gdb-invalidate-breakpoints)
18557 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18558 (gdb-invalidate-memory): Accept update signal.
18559 (gdb-current-context-command): Use --frame option.
18560 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18561 Implement `gdb-frame-number' selection logic.
18562 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18563 whether to show GUD toolbar buttons.
18564 (gdb-thread-exited): Unselect current thread when it exits.
18565 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18566 (gdb-mark-line): Routine which sets overlay arrow or inverses
18567 video on fringeless displays.
18568 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18569 to build aligned columns of data in GDB buffers and set text
18570 properties line-by-line.
18571 (gdb-invalidate-breakpoints)
18572 (gdb-breakpoints-list-handler-custom)
18573 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18574 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18575 (gdb-registers-handler-custom): Align data columns.
18576 (gdb-locals-handler-custom): Now prints data like in variable
18577 declarations.
18578 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18579 Remove confusing buttons.
18580 (gdb-invalidate-threads): Append --frame.
18581 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18582 between breakpoints/threads buffers.
18583 (gdb-set-window-buffer): Now can ignore dedicated windows.
18584 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18585 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18586 (def-gdb-thread-buffer-gud-command): Replaces
18587 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18588 for fine thread control.
18589 (gdb-preempt-existing-or-display-buffer): New function used to
18590 display bound buffers without breaking window layout.
18591 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18592 (gdb-select-frame): New version of `gdb-frames-select' which now
18593 sets `gdb-frame-number' so commands may use --frame option instead
18594 of inner debugger state.
18595 (gdb-frame-handler): Do not set `gdb-frame-number'.
18596 (gdb-threads-mode-map): Select threads with mouse.
18597
18598 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18599 avoid compilation warning.
18600 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18601 `gdb-show-stop-p`.
18602
18603 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18604 Argument `key' renamed to `buffer-type'.
18605 (gdb-current-context-buffer-name): Do not add thread info to
18606 buffer name when no thread is selected.
18607 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18608 command (bug 3794).
18609 (gdb-thread-selected): Handle `=thread-selected' notification.
18610 (gdb-wait-for-pending): New macro to deal with congestion problems.
18611 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18612 breakpoints.
18613 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18614 This fixes problem similar to one described in bug 3947.
18615 (gud-menu-map): More menu items.
18616 (gdb-init-1): Reset `gdb-thread-number' to nil.
18617
18618 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18619 non-stop settings.
18620
18621 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18622 (gdb-current-context-command): Do not append --thread if
18623 `gdb-thread-number' is nil.
18624 (gdb-running-threads-count, gdb-stopped-threads-count):
18625 New variables.
18626 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18627 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18628 New customization options.
18629 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18630 GUD commands.
18631 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18632 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18633 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18634 set `gdb-thread-number' and update `gud-running' properly.
18635 (gdb-running): Update threads list when new threads appear.
18636 (gdb-stopped): Support non-stop operation and new thread switching
18637 logic.
18638 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18639 (gdb-json-partial-output): New set of JSON routines.
18640 (def-gdb-auto-update-trigger): New `signal-list' optional
18641 argument.
18642 (gdb-thread-list-handler-custom): Update `gud-running',
18643 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18644 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18645 (gdb-continue-thread, gdb-step-thread): New commands for fine
18646 thread execution control.
18647 (gud-menu-map): New menu items to switch non-stop options.
18648 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18649 (gdb-send): Mimic RET properly (bug 3794).
18650
18651 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18652 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18653 gdb-buffer-rules.
18654 (def-gdb-auto-update-handler): New nopreserve optional argument.
18655 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18656
18657 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18658 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18659 (gdb-parent-mode): New mode to derive other GDB modes from.
18660 (gdb-display-disassembly-for-thread)
18661 (gdb-frame-disassembly-for-thread): New commands for threads
18662 buffer.
18663
18664 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18665 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18666 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18667 (gdb-update): We now store all GDB buffers in a list so that they
18668 can be updated by traversing a list instead of calling invalidate
18669 triggers explicitly.
18670 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18671 pair for GDB buffer.
18672 (gdb-stack-buffer-name): Add thread information.
18673 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18674 handle pending triggers.
18675 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18676 (def-gdb-thread-buffer-simple-command)
18677 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18678 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18679 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18680 New commands which show buffers bound to thread.
18681 (gdb-stack-list-locals-regexp): Remove unused regexp.
18682
18683 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18684 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18685 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18686 to (gud-comint-buffer) in *-buffer-name functions
18687 because (gdb-get-target-string) already does that.
18688 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18689 (gdb-changed-registers-handler): Rewritten without regexps.
18690
18691 * progmodes/gdb-mi.el: Basic thread selection support.
18692 (gdb-thread-number): New variable.
18693 (gdb-current-context-command): New macro which adds --thread
18694 option to command.
18695 (gdb-threads-mode-map): Select thread with SPC.
18696 (gdb-thread-list-handler-custom): Mark current thread with overlay
18697 arrow. Synchronize GDB thread and Emacs thread.
18698 (gdb-select-thread): New command which selects current thread.
18699 (gdb-invalidate-frames, gdb-invalidate-locals)
18700 (gdb-invalidate-registers): Use --thread option.
18701
18702 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18703
18704 * net/tramp.el (top): Make check for tramp-gvfs loading more
18705 robust. (Bug#3977)
18706 (tramp-handle-insert-file-contents): `unwind-protect' must be
18707 inside `with-parsed-tramp-file-name'.
18708
18709 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18710 fails.
18711
18712 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18713
18714 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18715 directory if CLASSPATH is not set.
18716
18717 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18718
18719 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18720 New defconst.
18721 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18722
18723 2009-08-02 Kevin Ryde <user42@zip.com.au>
18724
18725 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18726 Update freshmeat link. Delete newsforge.com as it seems gone.
18727
18728 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18729
18730 * select.el (x-set-selection): Doc fix (Bug#4021).
18731
18732 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18733
18734 * help-fns.el (describe-variable): Treat list return values from
18735 dir-locals-find-file properly (Bug#4005).
18736
18737 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18738
18739 * net/tramp.el (tramp-debug-message): Print also microseconds.
18740
18741 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18742
18743 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18744 or END is non-nil.
18745 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18746 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18747 format.
18748
18749 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18750 (tramp-get-file-property): Use it.
18751
18752 * autorevert.el (auto-revert-handler):
18753 Allow `auto-revert-tail-mode' for remote files.
18754
18755 2009-08-02 Jason Rumney <jasonr@gnu.org>
18756
18757 * minibuffer.el (read-file-name): Treat confirm options to
18758 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18759
18760 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18761
18762 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18763 (font-lock-variable-name-face, font-lock-constant-face):
18764 Darken the colors for light backgrounds.
18765
18766 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18767
18768 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18769 month names. (Bug#3987)
18770
18771 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18772
18773 * simple.el (line-move-finish): Pass whole number to
18774 line-move-to-column.
18775 (line-move-visual): Perform hscroll to the recorded position.
18776
18777 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18778
18779 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18780
18781 2009-07-29 Alan Mackenzie <acm@muc.de>
18782
18783 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18784
18785 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18786
18787 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18788 (gdb-place-breakpoints): Use full path when setting breakpoints.
18789
18790 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18791
18792 * calc/calc.el (calc-mode-map): Add keybinding for
18793 `calc-transpose-lines'.
18794
18795 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18796
18797 * calc/calc-misc.el (calc-transpose-lines): New function.
18798
18799 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18800
18801 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18802 Simplify check for out-of-band methods.
18803 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18804 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18805
18806 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18807
18808 * vc-git.el (vc-git-checkin): Fix typo.
18809
18810 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18811
18812 * progmodes/js2-mode.el: New file.
18813
18814 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18815
18816 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18817 (gud-menu-map): Adjust tooltip accordingly.
18818
18819 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18820
18821 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18822 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18823
18824 * add-log.el (change-log-mode-map): Add a menu.
18825
18826 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18827
18828 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18829 function returns nil.
18830 (dbus-handle-event): Handle special return value :ignore.
18831 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18832
18833 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18834
18835 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18836 it's not needed.
18837
18838 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18839
18840 Fix Bug#3888:
18841
18842 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18843
18844 * term/pc-win.el (x-display-name, x-colors)
18845 (x-select-enable-clipboard, x-select-text): Doc fix.
18846
18847 * term/common-win.el (x-display-name, x-colors): Doc fix.
18848
18849 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18850 (xw-defined-colors): Doc fix.
18851
18852 * w32-fns.el (x-select-text, x-setup-function-keys)
18853 (x-get-selection, x-set-selection): Doc fix.
18854
18855 * term/x-win.el (x-select-text, x-setup-function-keys)
18856 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18857
18858 * select.el (x-set-selection): Doc fix.
18859
18860 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18861
18862 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18863 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18864 "IsNSSSupportAvailable" method is not available.
18865 Reported by Steve Youngs <steve@sxemacs.org>.
18866
18867 2009-07-24 Kenichi Handa <handa@m17n.org>
18868
18869 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18870 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18871 (build-unicode-category-table): Fix range checks.
18872
18873 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18874
18875 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18876 the buffer we try to sync is current when calling
18877 vc-resynch-buffer.
18878
18879 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18880 not show up to date files.
18881
18882 2009-07-24 Glenn Morris <rgm@gnu.org>
18883
18884 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18885 Add autoload cookies. If necessary, initialize.
18886 (elint-log): Handle non-file buffers.
18887 (elint-initialize): Add optional argument to reinitialize.
18888 (elint-find-builtin-variables): Save excursion.
18889
18890 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18891
18892 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18893 for Lint.
18894
18895 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18896
18897 * vc.el (vc-print-log-internal): New function, split out from ...
18898 (vc-print-log): ... here.
18899 (vc-dir-move-to-goal-column): Declare.
18900
18901 * vc-git.el (vc-git-add-signoff): New variable.
18902 (vc-git-checkin): Use it.
18903 (vc-git-toggle-signoff): New function.
18904 (vc-git-extra-menu-map): Bind it to menu.
18905 (vc-git--run-command-string): Accept a nil FILE argument.
18906 (vc-git-stash-list): New function.
18907 (vc-git-dir-extra-headers): Use it.
18908
18909 2009-07-23 Glenn Morris <rgm@gnu.org>
18910
18911 * help-fns.el (describe-variable): Describe ignored and risky local
18912 variables in a similar way to that in which we describe safe ones.
18913
18914 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18915 (byte-compile-output-file-form, byte-compile-output-docform)
18916 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18917 Give some more local variables with common names a "bytecomp-" prefix,
18918 so as not to shadow things during compilation.
18919 * emacs-lisp/cl-macs.el (load-time-value)
18920 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18921 `outbuffer' to `bytecomp-outbuffer'.
18922
18923 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18924 since the next two variables cover them automatically now.
18925 (elint-builtin-variables, elint-autoloaded-variables): New.
18926 (elint-unknown-builtin-args): Remove all members, since they can be
18927 parsed automatically now.
18928 (elint-extra-errors): New.
18929 (elint-env-add-env, elint-env-add-macro): Use cadr.
18930 (elint-current-buffer): Use or. Change final message.
18931 (elint-get-top-forms): Use line-end-position.
18932 (elint-init-env): Use cadr. Handle autoload, declare-function,
18933 and defalias.
18934 (elint-add-required-env): Doc fix. Use or. Standardize error.
18935 (regexp-assoc): Remove unused function.
18936 (elint-top-form): Set elint-current-pos, to record the start of the
18937 top-level form, for compilation-mode.
18938 (elint-form): Trap errors in macro expansion. Use dolist.
18939 (elint-unbound-variable): Use elint-builtin-variables and
18940 elint-autoloaded-variables.
18941 (elint-get-args): Use cadr, or.
18942 (elint-check-cond-form): Use dolist, cadr.
18943 (elint-check-condition-case-form): Doc fix. Use cadr.
18944 Use elint-extra-errors.
18945 (elint-log): New function.
18946 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18947 Distinguish errors and warnings.
18948 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18949 Use a bytecomp-style format.
18950 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18951 (elint-get-log-buffer): Use compilation mode. Disable undo.
18952 Don't truncate lines.
18953 (elint-initialize): Set builtin and autoloaded variable lists.
18954 Only process elint-unknown-builtin-args if non-nil.
18955 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18956 New functions.
18957 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18958
18959 2009-07-22 Kevin Ryde <user42@zip.com.au>
18960
18961 * net/newst-backend.el (newsticker--parse-atom-1.0)
18962 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18963 (newsticker--parse-rss-1.0):
18964 * progmodes/idlwave.el (idlwave-mode):
18965 * progmodes/idlw-shell.el (idlwave-shell-mode):
18966 * progmodes/vera-mode.el (vera-mode):
18967 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18968 * progmodes/vhdl-mode.el (vhdl-mode):
18969 * textmodes/table.el (table-generate-source)
18970 (table--warn-incompatibility):
18971 Hyperlink urls in docstrings with URL `...'.
18972
18973 2009-07-22 Glenn Morris <rgm@gnu.org>
18974
18975 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18976 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18977 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18978 Remove leading * from defcustom docs.
18979
18980 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18981
18982 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18983 defcustom doc.
18984 (list-load-path-shadows): Optionally, just return shadows as a string.
18985
18986 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18987
18988 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18989
18990 * mail/rmailedit.el (rmail-edit-mode):
18991 Use auto-save-include-big-deletions.
18992
18993 * mail/rmail.el (rmail-variables):
18994 Use auto-save-include-big-deletions.
18995
18996 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18997 changes.
18998
18999 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19000
19001 * calc/calc.el (calc-undo-length): New variable.
19002 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19003
19004 2009-07-21 Richard Stallman <rms@gnu.org>
19005
19006 * files.el (auto-save-mode): Handle buffer-save-size = -2
19007 for toggling mode.
19008
19009 2009-07-21 Glenn Morris <rgm@gnu.org>
19010
19011 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19012
19013 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19014
19015 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19016 silence compiler. Instead...
19017 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19018 (ps-print-ensure-fontified): Update for above function name changes.
19019
19020 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19021 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19022 silence compiler. Instead...
19023 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19024 (mh-show-buffer): Only define for compiler.
19025 (pr-mh-current-message): Update for above function name changes.
19026
19027 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19028 as an argument.
19029 (find-file-noselect, insert-file-1): Update for above change.
19030
19031 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19032
19033 * mail/mailclient.el (mailclient-send-it): Fix message.
19034
19035 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19036 (edebug-eval): Check cl-debug-env is bound.
19037 (print-level, print-circle): Don't redefine built-in variables.
19038
19039 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19040 (custom-print-vectors): Remove old comments from doc.
19041
19042 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19043 (emerge-version): Make the variable an obsolete alias for the
19044 emacs-version variable. Make the function obsolete.
19045 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19046 Emerge options, rather than merging in into the main Options menu.
19047 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19048 and auto advance modes. Disable edit/fast items when not relevant.
19049
19050 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19051
19052 * term/vt420.el (terminal-init-vt420): Fix typo.
19053
19054 2009-07-20 Sam Steingold <sds@gnu.org>
19055
19056 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19057 variable (removed from compile.el on 2004-03-11).
19058
19059 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19060
19061 * files.el (hack-local-variables-filter): Fix last change.
19062
19063 2009-07-19 Juri Linkov <juri@jurta.org>
19064
19065 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19066 (dir-local-variables-alist): New buffer-local variable.
19067 (hack-local-variables-filter): If variable is not dir-local,
19068 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19069 because file-local overrides dir-local.
19070 (c-postprocess-file-styles) <declare-function>:
19071 Remove obsolete declaration.
19072 (hack-dir-local-variables): Add dir-local variable/value pair to
19073 `dir-local-variables-alist' and remove duplicates. Doc fix.
19074
19075 * help-fns.el (describe-variable): Add information about
19076 file-local and dir-local variables.
19077
19078 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19079
19080 * files.el (hack-local-variables-filter): Rewrite.
19081
19082 2009-07-19 Glenn Morris <rgm@gnu.org>
19083
19084 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19085 Silence compiler by only defining on XEmacs.
19086
19087 * international/mule.el (auto-coding-regexp-alist): Only match
19088 BABYL... at the start of buffer, not of lines. (Bug#3790)
19089
19090 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19091 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19092 (cal-menu-context-mouse-menu): Doc fix.
19093
19094 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19095
19096 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19097
19098 2009-07-18 Juri Linkov <juri@jurta.org>
19099
19100 * info.el: Virtual Info keyword finder.
19101 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19102 (Info-finder-file): New variable.
19103 (Info-finder-find-file): New function.
19104 (finder-known-keywords, finder-package-info)
19105 (find-library-name, lm-commentary): Use defvar and
19106 declare-function to silence compiler warnings.
19107 (Info-finder-find-node): New function.
19108 (info-finder): New command.
19109
19110 * subr.el (process-kill-buffer-query-function): New function.
19111 (add-hook)<kill-buffer-query-functions>: Add hook
19112 `process-kill-buffer-query-function'.
19113
19114 2009-07-18 Alan Mackenzie <acm@muc.de>
19115
19116 * progmodes/cc-mode.el (c-before-hack-hook)
19117 (c-postprocess-file-styles): Give invocation of `c-set-style'
19118 DONT-OVERRIDE parameter of t. Already set style variables will
19119 thus not be overridden by style settings given by `c-file-syle'.
19120
19121 * files.el (hack-local-variables-filter): Remove entries with
19122 duplicate keys from `file-local-variables-alist'.
19123
19124 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19125
19126 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19127 x-set-selection if display-selections-p returns nil for the
19128 current frame.
19129
19130 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19131
19132 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19133
19134 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19135
19136 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19137 Accept nil in addition to a regexp.
19138 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19139 Accept nil in addition to a regexp.
19140 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19141 buffers that have an associated file. Handle nil values of
19142 desktop-buffers-not-to-save and desktop-files-not-to-save.
19143 (Bug#3833)
19144
19145 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19146 (x-disown-selection-internal): New functions.
19147
19148 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19149
19150 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19151 warning.
19152 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19153 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19154
19155 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19156
19157 * simple.el (set-mark): Revert last change.
19158
19159 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19160
19161 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19162 rendering of pngs is not possible instead of messaging a long
19163 description.
19164
19165 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19166
19167 * w32-fns.el (x-selection-owner-p): New function.
19168
19169 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19170 (mouse-yank-at-click, mouse-yank-primary):
19171 If select-active-regions is non-nil, deactivate the mark before
19172 insertion.
19173
19174 * simple.el (deactivate-mark, set-mark): Only save selection if we
19175 own it.
19176
19177 2009-07-17 Kenichi Handa <handa@m17n.org>
19178
19179 * case-table.el (describe-buffer-case-table): Fix for the case
19180 that KEY is a cons.
19181
19182 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19183
19184 * vc-rcs.el (vc-rcs-find-file-hook):
19185 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19186
19187 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19188
19189 * net/tramp.el (tramp-wait-for-output): Handle the case when
19190 commands do not return a newline but a null byte before the shell
19191 prompt. (Bug#3858)
19192
19193 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19194
19195 * term/ns-win.el (ns-set-alpha): Don't declare.
19196 (ns-set-background-alpha): Remove function.
19197
19198 2009-07-16 Kevin Ryde <user42@zip.com.au>
19199
19200 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19201 y-or-n-p, for safety.
19202
19203 2009-07-16 Richard Stallman <rms@gnu.org>
19204
19205 * files.el (auto-save-mode): If buffer-saved-size is -2,
19206 don't clobber it.
19207
19208 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19209 (rmail-retry-ignored-headers): Add more uninteresting fields.
19210
19211 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19212
19213 * net/rcirc.el (rcirc): Use history variables.
19214 (rcirc-server-name-history, rcirc-nick-name-history)
19215 (rcirc-server-port-history): New variables.
19216
19217 2009-07-15 Kenichi Handa <handa@m17n.org>
19218
19219 * international/mule-cmds.el (set-language-environment-charset):
19220 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19221 ignore them.
19222
19223 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19224 Delete unibyte-display.
19225
19226 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19227
19228 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19229
19230 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19231
19232 * simple.el (deactivate-mark): Optional argument FORCE.
19233 (set-mark): Use deactivate-mark.
19234
19235 * info.el (Info-search): No need to check transient-mark-mode
19236 before calling deactivate-mark.
19237
19238 * select.el (x-set-selection): Doc fix.
19239 (x-valid-simple-selection-p): Allow buffer values.
19240 (xselect--selection-bounds): Handle buffer values.
19241 Suggested by David De La Harpe Golden.
19242
19243 * mouse.el (mouse-set-region, mouse-drag-track):
19244 Call copy-region-as-kill before setting the mark, to let
19245 select-active-regions work.
19246
19247 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19248
19249 * simple.el (deactivate-mark): If select-active-regions is
19250 non-nil, copy the selection data into a string.
19251 (activate-mark): If select-active-regions is non-nil, set the
19252 selection to the current buffer.
19253 (set-mark): Update selection if select-active-regions is non-nil.
19254
19255 * select.el (x-valid-simple-selection-p): Allow buffer values.
19256
19257 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19258
19259 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19260 and more featureful message-mode.
19261
19262 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19263
19264 * select.el (x-set-selection): Doc fix.
19265 (x-valid-simple-selection-p): Disallow selection data consisting
19266 of a list or cons of integers, since that is not used.
19267 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19268 (xselect-convert-to-string, xselect-convert-to-length)
19269 (xselect-convert-to-filename, xselect-convert-to-charpos)
19270 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19271
19272 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19273
19274 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19275 output in -break-info command (Emacs bug #3794).
19276
19277 2009-07-14 Glenn Morris <rgm@gnu.org>
19278
19279 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19280 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19281 (edebug-print-length, edebug-print-level, edebug-print-circle)
19282 (edebug-sit-for-seconds, edebug-view-outside)
19283 (edebug-bounce-point, edebug-set-global-break-condition)
19284 (edebug-Go-nonstop-mode, edebug-trace-mode)
19285 (edebug-Trace-fast-mode, edebug-continue-mode)
19286 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19287 (edebug-visit-eval-list): Doc fixes.
19288
19289 * subr.el (def-edebug-spec): Doc fix.
19290
19291 2009-07-14 Kenichi Handa <handa@m17n.org>
19292
19293 * international/characters.el: Fix setting of category ?C.
19294
19295 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19296
19297 * term/ns-win.el (x-select-font): defalias x-select-font to
19298 ns-popup-font-panel instead of generate-fontset-menu.
19299
19300 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19301
19302 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19303
19304 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19305
19306 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19307 the PK\003\004 header (Bug#3770).
19308
19309 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19310
19311 * pcomplete.el (pcomplete-comint-setup): Check for
19312 shell-dynamic-complete-filename too.
19313
19314 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19315
19316 * simple.el (temporary-goal-column): Change the value for
19317 line-move-visual to a cons cell.
19318 (line-move-visual): Record or set the window hscroll, if
19319 necessary (Bug#3494).
19320 (line-move-1): Handle cons value of temporary-goal-column.
19321
19322 2009-07-11 Kenichi Handa <handa@m17n.org>
19323
19324 * international/mule-diag.el (describe-character-set): Don't show
19325 width.
19326
19327 2009-07-10 Sam Steingold <sds@gnu.org>
19328
19329 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19330 Omake sometimes indents the errors it prints, so allow all
19331 regexps to start with spaces.
19332
19333 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19334
19335 * cus-edit.el (customize-changed-options-previous-release):
19336 Bump value to 22.1. (Bug#3804)
19337
19338 2009-07-08 Sam Steingold <sds@gnu.org>
19339
19340 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19341 to be a cons cell (test . ignored-directory) to selectively ignore
19342 some directories depending on the location of the search.
19343
19344 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19345
19346 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19347 remote user is root, on the local host.
19348 (tramp-local-host-p): Either the local user or the remote user
19349 must be root. (Bug#3771)
19350
19351 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19352
19353 * progmodes/gdb-mi.el (gdb): Remove description of
19354 gdb-use-separate-io-buffer.
19355 (menu): Don't allow toggling of or enable
19356 gdb-use-separate-io-buffer from menubar.
19357
19358 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19359
19360 * mail/unrmail.el (unrmail): Make sure the message ends with two
19361 newlines (Bug#3769).
19362
19363 2009-07-08 Glenn Morris <rgm@gnu.org>
19364
19365 * calendar/calendar.el (calendar-current-date): Rework previous change.
19366
19367 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19368
19369 * calendar/calendar.el (calendar-current-date):
19370 Add an optional argument giving an offset from today.
19371
19372 2009-07-08 Glenn Morris <rgm@gnu.org>
19373
19374 * tutorial.el (tutorial--describe-nonstandard-key):
19375 Adjust the message for when a key has been unbound.
19376 (help-with-tutorial): Hide the arch-tag.
19377
19378 2009-07-08 Kenichi Handa <handa@m17n.org>
19379
19380 * international/fontset.el (setup-default-fontset): For each
19381 script, append (not set) font-specs.
19382
19383 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19384 docstring.
19385
19386 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19387
19388 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19389 -data-list-register-names to ...
19390 (gdb-starting): ... here because GDB 7.0 requires execution to
19391 have started when using this MI command.
19392 (gdb-set-header): New function to distinguish select and
19393 unselected tabs in gdb buffers.
19394 (gdb-propertize-header): New macro that uses gdb-set-header.
19395 (gdb-breakpoints-header, gdb-locals-header): Use it.
19396 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19397
19398 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19399
19400 * Makefile.in (ELCFILES): Remove fadr.elc.
19401
19402 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19403
19404 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19405 may contain frame information, so `string-match' should be used.
19406 (gdb-update): Disassembly is invalidated through
19407 `gdb-get-selected-frame'.
19408 (gdb-pad-string): New function to pad string with spaces.
19409 (gdb-invalidate-disassembly): Invalidate only if the buffer
19410 exists.
19411 (gdb-disassembly-handler-custom): Column alignment.
19412 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19413 placing new ones.
19414 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19415 end of line, too.
19416 (gdb-frame-handler): Match convention to for disassembly buffer
19417 mode name.
19418 (gdb-stack-list-frames-handler): Rewritten without regexps.
19419 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19420 not highlight breakpoints without line information.
19421 (gdb-input): Add trailing newline to command.
19422
19423 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19424 buffer properly.
19425 (gdb-breakpoints-list-handler-custom): Replacement for
19426 `gdb-break-list-handler'. Using real parser instead of regexps
19427 now.
19428 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19429 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19430 to place breakpoints.
19431 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19432 functions.
19433 (gdb-disassembly-handler-custom): Show overlay arrow.
19434 (gdb-disassembly-place-breakpoints): Show breakpoints in
19435 disassembly buffer.
19436 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19437 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19438 instead of parsing breakpoints buffer. Fixed old menu references
19439 in `gud-menu-map'.
19440
19441 * fadr.el: Remove.
19442
19443 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19444 (gdb-memory-address): New variable which holds top address of
19445 memory page shown in memory buffer.
19446 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19447 New customization variables.
19448 New functions:
19449 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19450 display the memory buffer.
19451 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19452 buffer display parameters.
19453 (def-gdb-memory-format, gdb-memory-format-binary)
19454 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19455 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19456 Functions for setting memory buffer format.
19457 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19458 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19459 unit size used in memory buffer.
19460 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19461 Switch to next/previous page of memory buffer.
19462 Now using (bindat-get-field) instead of fadr functions.
19463
19464 2009-07-07 Sam Steingold <sds@gnu.org>
19465
19466 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19467 non-top-level files.
19468
19469 2009-07-07 Kenichi Handa <handa@m17n.org>
19470
19471 * international/mule-cmds.el (reset-language-environment):
19472 Put the highset priority to the charset iso-8859-1.
19473
19474 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19475
19476 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19477 to the end of the line when locating the block (Bug#700).
19478
19479 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19480
19481 * net/tramp.el (tramp-handle-write-region): Flush file properties
19482 in case of short track.
19483
19484 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19485
19486 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19487 Coded custom representation of verilog error regular expressions
19488 to work with Emacs-22's new format.
19489 (verilog-error-regexp-xemacs-alist): Coded custom representation
19490 of verilog error regular expressions to work with XEmacs format.
19491 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19492 error recognition into XEmacs.
19493 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19494 error recognition into Emacs-22.
19495
19496 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19497
19498 * woman.el: Remove stand-alone closing parentheses.
19499 (woman-file-name, woman2-format-paragraphs)
19500 (woman-leave-blank-lines): Code cleanup.
19501 (woman-use-own-frame): Change default to nil.
19502 (woman-italic, woman-bold, woman-unknown, woman-addition):
19503 Change defaults to inherit from default faces.
19504 (woman2-process-escapes): Consume the newline after a stand-alone
19505 filler character (Bug#3651).
19506
19507 2009-07-06 Glenn Morris <rgm@gnu.org>
19508
19509 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19510 (top-level): Move provide to the end.
19511 (ffap): Remove defunct URL from custom group.
19512
19513 * subr.el (eval-after-load): Doc fix.
19514
19515 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19516
19517 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19518 `calc-embedded-word' is called twice.
19519
19520 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19521
19522 * files.el (find-alternate-file-other-window, find-alternate-file):
19523 Obey confirm-nonexistent-file-or-buffer.
19524
19525 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19526
19527 * dired-aux.el (dired-show-file-type): Handle remote files.
19528
19529 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19530
19531 * desktop.el (desktop-globals-to-save):
19532 Add file-name-history (Bug#2750).
19533
19534 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19535
19536 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19537
19538 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19539
19540 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19541 property on entire argument since this is what eshell-lisp-command
19542 expects.
19543
19544 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19545
19546 * net/tramp-gvfs.el (tramp-gvfs-methods)
19547 (tramp-gvfs-zeroconf-domain)
19548 (tramp-bluez-discover-devices-timeout): Add version flag.
19549 (tramp-gvfs-handler-mounted-unmounted)
19550 (tramp-gvfs-connection-mounted-p): Polish handling of
19551 incompatibilities between GVFS 0.2 and 1.0.
19552
19553 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19554
19555 * cus-start.el (all): Add make-pointer-invisible.
19556
19557 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19558
19559 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19560 formatted correctly.
19561
19562 2009-07-02 Juri Linkov <juri@jurta.org>
19563
19564 * info.el: Virtual Info files and nodes.
19565 (Info-virtual-files, Info-virtual-nodes): New variables.
19566 (Info-current-node-virtual): New variable.
19567 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19568 New functions.
19569 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19570 to check for a virtual file instead of checking a fixed list
19571 of node names.
19572 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19573 instead of ad-hoc processing of "dir" and (apropos history toc).
19574 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19575 instead of ad-hoc processing of "dir" and (apropos history toc).
19576 Reread a file when moving from a virtual node.
19577 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19578 (Info-directory-toc-nodes, Info-directory-find-file)
19579 (Info-directory-find-node): New functions.
19580 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19581 (Info-history): Move part of code to
19582 `Info-history-find-node'.
19583 (Info-history-toc-nodes, Info-history-find-file)
19584 (Info-history-find-node): New functions.
19585 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19586 (Info-toc): Move part of code to `Info-toc-find-node'.
19587 (Info-toc-find-node): New function.
19588 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19589 the current Info file name to references because now the node
19590 "*TOC*" belongs to the same Info manual.
19591 (Info-toc-build): Rename from `Info-build-toc'.
19592 (Info-toc-nodes): Rename input argument `file' to `filename'.
19593 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19594 instead of ad-hoc processing of ("dir" apropos history toc).
19595 (Info-index-nodes): Use Info-virtual-file-p
19596 to check for a virtual file instead of checking a fixed list
19597 of node names.
19598 (Info-index-node): Add check for `Info-current-node-virtual'.
19599 Raise `save-match-data' higher up the tree to contain
19600 `search-forward' too (bug fix).
19601 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19602 (Info-virtual-index-nodes): New variable.
19603 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19604 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19605 (Info-apropos-file, Info-apropos-nodes): New variables.
19606 (Info-apropos-toc-nodes, Info-apropos-find-file)
19607 (Info-apropos-find-node, Info-apropos-matches): New functions.
19608 (info-apropos): Move part of code to `Info-apropos-find-node' and
19609 `Info-apropos-matches'.
19610 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19611 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19612 for a virtual file instead of checking a fixed list of node names.
19613
19614 * simple.el (async-shell-command): New command.
19615
19616 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19617
19618 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19619 instead of `mount-info'.
19620
19621 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19622
19623 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19624 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19625
19626 2009-07-02 Kenichi Handa <handa@m17n.org>
19627
19628 * international/mule.el (set-keyboard-coding-system): Force *-unix
19629 coding-system to avoid eol conversion.
19630
19631 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19632
19633 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19634 Add handler for `process-file', `shell-command' and
19635 `start-file-process'.
19636 (tramp-gvfs-handle-shell-command)
19637 (tramp-gvfs-handle-start-file-process)
19638 (tramp-gvfs-handle-process-file): New defuns.
19639 (tramp-synce-list-devices): Simplify check for existence of property.
19640
19641 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19642
19643 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19644
19645 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19646
19647 * language/korean.el (set-language-info-alist): Add korean-cp949,
19648 cp949 to spec.
19649
19650 2009-07-01 Kenichi Handa <handa@m17n.org>
19651
19652 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19653
19654 * international/encoded-kb.el: Deleted.
19655
19656 * international/mule.el (set-keyboard-coding-system): Perform the
19657 necessary setup here instead of calling encoded-kbd-setup-display.
19658
19659 2009-07-01 Glenn Morris <rgm@gnu.org>
19660
19661 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19662
19663 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19664
19665 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19666
19667 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19668
19669 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19670 Handle also the 'rename case, when setting file modes. (Bug#3712)
19671 (tramp-default-file-modes): Remove execute permissions.
19672
19673 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19674 (top): Add a default for "synce" in `tramp-default-user-alist'.
19675 Add completion function for "synce" method.
19676 (tramp-hal-service, tramp-hal-path-manager)
19677 (tramp-hal-interface-manager, tramp-hal-interface-device):
19678 New defconst.
19679 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19680 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19681 New defuns.
19682
19683 * net/trampver.el: Update release number.
19684
19685 2009-06-30 Kenichi Handa <handa@m17n.org>
19686
19687 * international/fontset.el (setup-default-fontset): Add CJK fonts
19688 for symbols and the other miscellaneous characters.
19689
19690 * language/korea-util.el (setup-korean-environment-internal):
19691 Make char-width-table suitable for Korean environments.
19692 (exit-korean-environment): Cancel above.
19693
19694 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19695 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19696 setup-function to make char-width-table suitable for respective
19697 environments, and an exit-function to cancel that.
19698
19699 * language/japan-util.el (setup-japanese-environment-internal):
19700 Call use-cjk-char-width-table with arg `ja_JP'.
19701
19702 * international/characters.el (cjk-char-width-table): Delete it.
19703 (cjk-char-width-table-list): New variable.
19704 (use-cjk-char-width-table): New arg local-name.
19705 (use-default-char-width-table): Fix for the case that Emacs is
19706 already using the default char-width-table.
19707
19708 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19709
19710 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19711 modes mandatory. (Bug#3712)
19712
19713 2009-06-29 Alan Mackenzie <acm@muc.de>
19714
19715 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19716 correction between the visible width of TABs and their number of bytes.
19717
19718 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19719
19720 * server.el (server-buffer-done): Prevent kill-buffer from
19721 prompting by clearing the buffer modification flag (Bug#3696).
19722
19723 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19724
19725 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19726 (verilog-endcomment-reason-re): Support unique case and priority case.
19727 (verilog-basic-complete-re): Support localparam lineup.
19728 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19729 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19730 commenting.
19731 (verilog-leap-to-case-head): Now support *nested* unique &
19732 priority case statements.
19733 (verilog-auto-lineup): Make just declarations the default (as it
19734 had been).
19735 (verilog-leap-to-case-head): Support priority/unique case statements.
19736 (verilog-auto-lineup): Rework to give users radio buttons to
19737 select the various styles of automatic lineup.
19738 (verilog-error-regexp-alist): Rework to support the XEmacs style
19739 of error regular expressions from compilers, lint tools &
19740 simulators. Note that GNU Emacs has made it impossible for a mode
19741 to load such things.
19742 (electric-verilog-terminate-line, verilog-indent-declaration)
19743 (verilog-auto-wiure): Rework for radio button selection of
19744 auto-lineup selection of specification of auto lineup.
19745 (verilog-beg-of-statement-1): Redesign to support proper operation
19746 in additional code, based on testing with auto-lineup.
19747 (verilog-calculate-indent, assignments & declarations)
19748 (verilog-backward-token): Enhance to support auto-lineup of
19749 assignments & declarations.
19750 (verilog-in-directive-p, verilog-at-struct-p): New function for
19751 easy test of whether we are.
19752 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19753 to support safe execution at almost anyline.
19754 (verilog-calc-1): Properly support indenting deep inside generate
19755 blocks.
19756 (verilog-init-font): Remove definition & use of verilog-init-font,
19757 as it is redundant with font-lock-defaults.
19758 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19759 to avoid circular calls if syntax-ppss is a function (as is the
19760 case now in 22.x GNU Emacs) as that function would sometimes call
19761 itself, leading to (nearly) infinite recursion.
19762 (verilog-ovm-begin-re, verilog-ovm-end-re)
19763 (verilog-ovm-statement-re, verilog-leap-to-head)
19764 (verilog-backward-token): Add support for OVM macros. Some are
19765 complete statements, and others open and close scopes like begin
19766 and end.
19767 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19768 (verilog-defun-level-generate-only-re): Really fix the defun-list
19769 compilation issue.
19770 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19771 coverpoint, constraint and cross statements.
19772 (verilog-defun-level-list, verilog-generate-defun-level-list)
19773 (verilog-all-defun-level-list): Redo these specifications - it is
19774 too hard to support eval-when compile aggregation of lists also
19775 built at when-compile time.
19776 (verilog-defun-level-list): Place defconsts of variables used in
19777 building regular expressions which are built in eval-when-compile
19778 bodies in the same eval-when-compile body to facilitate compile
19779 without load.
19780 (verilog-beg-block-re-ordered): Support indenting
19781 virtual/protected tasks and functions.
19782 (verilog-defun-level-list, verilog-in-generate-region-p)
19783 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19784 indentation of some module items (generate items).
19785 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19786 across virtual/protected tasks and functions.
19787
19788 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19789
19790 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19791 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19792 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19793 in concatenations. Reported by Yishay Belkind.
19794 (verilog-auto-ascii-enum): Support one-hot state machines in
19795 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19796 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19797 modport in AUTOINST and add vl-modport for users.
19798 Reported by David Rogoff.
19799 (verilog-auto-inout-module, verilog-auto-inst)
19800 (verilog-decls-get-interfaces, verilog-insert-definition)
19801 (verilog-insert-one-definition, verilog-read-decls)
19802 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19803 (verilog-sig-modport, verilog-signals-combine-bus)
19804 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19805 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19806 Suggested by David Rogoff.
19807 (verilog-repair-open-comma): Fix non-insertion of comma when
19808 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19809 (verilog-make-width-expression): Simplify [A-1:0] expression
19810 widths to just {A{1'b0}}.
19811 (verilog-mode): Cleanup checkdoc warnings.
19812 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19813 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19814 inputs/outputs or data type. Suggested by Vasu Kandadi.
19815 (next-error-last-buffer): Fix byte-compiler warning.
19816 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19817 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19818 or shell command text during AUTO expansion. Suggested by Tad Truex.
19819 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19820 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19821 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19822 in AUTOINOUT. Reported by Matthew Lovell.
19823 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19824 causing use of <= assignments. Reported by Alex Reed.
19825 (verilog-read-decls): Fix triand, trior, wand, wor to be
19826 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19827 (verilog-extended-complete-re): Support import "DPI-C" functions.
19828 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19829 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19830 (verilog-insert-date, verilog-insert-year)
19831 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19832 Windows systems. Reported by Michael Potts.
19833 (verilog-read-module-name): Fix AUTOINST when the child module
19834 declaration's name is a tick define. Reported by Elliot Mednick.
19835 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19836 passed to next parameter's definition. Reported by Bruce T.
19837 (verilog-read-decls): Fix detecting "parameter int" when using
19838 AUTOINSTPARAM. Reported by Bruce T.
19839 (verilog-goto-defun): Fix goto not finding modules unless first
19840 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19841 (verilog-mode): Expand -f flag arguments on entry to mode so
19842 verilog-goto-defun will work. Reported by Lawrence Butcher.
19843 (verilog-getopt): Expand environment variables in -f file
19844 arguments. Suggested by Lawrence Butcher.
19845 (verilog-set-define): Fix "Symbol's value as variable is void"
19846 when reading enumerations.
19847 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19848 Suggested by Stephen Peltan.
19849 (verilog-read-defines): Fix reading of enumerations in include
19850 files. Reported by Steve Peltan.
19851
19852 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19853
19854 * files.el (trash-directory): Fix defcustom type.
19855
19856 2009-06-28 Juri Linkov <juri@jurta.org>
19857
19858 * help-fns.el (describe-function-1): Correctly locate adviced
19859 functions in hyperlink (Bug#2438).
19860
19861 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19862
19863 * files.el (trash-directory): Change default to nil.
19864 (move-file-to-trash): If trash-directory is nil and
19865 system-move-file-to-trash is unbound, perform freedesktop-style
19866 trashing.
19867
19868 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19869
19870 * files.el (move-file-to-trash): Add freedesktop trash
19871 support (Bug#973).
19872
19873 2009-06-28 Glenn Morris <rgm@gnu.org>
19874
19875 * autorevert.el (global-auto-revert-non-file-buffers)
19876 (global-auto-revert-mode): Doc fixes.
19877
19878 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19879
19880 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19881
19882 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19883
19884 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19885 opened an X connection before calling x-get-resource (Bug#3194).
19886
19887 * play/doctor.el: Remove reference to obsolete website.
19888 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19889
19890 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19891
19892 Remove find-file-not-found-hook VC method. (Bug#2757)
19893 * vc-hooks.el (vc-file-not-found-hook)
19894 (vc-default-find-file-not-found-hook): Remove functions.
19895 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19896 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19897 * vc.el:
19898 * vc-hg.el:
19899 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19900
19901 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19902
19903 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19904 compatibility function for `looking-back'.
19905
19906 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19907 Use `ispell-looking-back'.
19908
19909 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19910
19911 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19912 rather than `filename'.
19913
19914 2009-06-23 Miles Bader <miles@gnu.org>
19915
19916 * face-remap.el (text-scale-set): New function.
19917
19918 2009-06-23 Glenn Morris <rgm@gnu.org>
19919
19920 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19921
19922 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19923
19924 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19925
19926 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19927
19928 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19929 Simplify Persian conditionals.
19930
19931 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19932 variable `filename'.
19933
19934 * comint.el (comint-insert-input): Doc fix.
19935
19936 * Makefile.in (ELCFILES): Fix typo in previous change.
19937
19938 2009-06-23 Miles Bader <miles@gnu.org>
19939
19940 * cus-start.el: Add entry for `recenter-redisplay'.
19941
19942 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19943
19944 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19945 Add an optional argument for the backend, use it instead of
19946 calling vc-backend.
19947 (vc-mode-line): Add an optional argument for the backend.
19948 Pass the backend to vc-state and vc-working-revision. Move code for
19949 special handling for vc-state being a buffer to ...
19950
19951 * vc-rcs.el (vc-rcs-find-file-hook):
19952 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19953
19954 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19955 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19956 vc-stay-local-p and vc-mode-line calls.
19957
19958 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19959 (vc-cvs-diff, vc-cvs-annotate-command)
19960 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19961 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19962 vc-mode-line calls.
19963
19964 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19965 direct comparison.
19966 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19967 backend when calling vc-mode-line.
19968 (vc-register): Do not create a closure for calling the vc register
19969 function, call it directly.
19970
19971 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19972
19973 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19974 to make it obvious item can be clicked.
19975
19976 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19977
19978 2009-06-23 Kenichi Handa <handa@m17n.org>
19979
19980 * language/korea-util.el (korean-key-bindings): Change the binding
19981 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19982 same command.
19983
19984 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19985
19986 Sync with Tramp 2.1.16.
19987
19988 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19989
19990 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19991 when a loading of a package fails. Completion function for rsync
19992 is `tramp-completion-function-alist-ssh'.
19993 (all): Replace all calls of `split-string' and
19994 `tramp-split-string' by `tramp-compat-split-string'.
19995 (tramp-default-method): Use `tramp-compat-process-running-p'.
19996 (tramp-default-proxies-alist): Allow also Lisp forms.
19997 (tramp-remote-path): Add choice "Private Directories".
19998 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19999 (tramp-domain-regexp): Allow also "-", "_" and ".".
20000 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20001 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20002 (tramp-debug-message): Insert header line in debug buffer.
20003 (tramp-handle-directory-files-and-attributes-with-stat):
20004 Care about filenames with spaces, or starting with "-".
20005 (tramp-handle-dired-uncache): New defun.
20006 (tramp-handle-insert-directory): Don't flush the directory from
20007 cache, this is handled by `dired-uncache' now.
20008 (tramp-handle-insert-file-contents): Improve error handling.
20009 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20010 Quote `tramp-end-of-output'.
20011 (tramp-action-password): Improve trace message.
20012 (tramp-check-for-regexp): Both echoes must be present, before removing.
20013 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20014 (tramp-compute-multi-hops): Eval cons cells of
20015 `tramp-default-proxies-alist'.
20016 (tramp-maybe-open-connection): Use the same command pattern for
20017 first hop and further hops.
20018 (tramp-wait-for-output): Remove handling of newlines.
20019 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20020 (tramp-split-string): Remove function. It is handled in
20021 tramp-compat now.
20022
20023 * net/tramp-cmds.el (tramp-bug):
20024 Recommend `tramp-cleanup-all-connections' in the bug mail.
20025
20026 * net/tramp-compat.el (tramp-compat-split-string)
20027 (tramp-compat-process-running-p): New defuns.
20028
20029 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20030 for `dired-uncache'.
20031
20032 * net/tramp-gvfs.el: New package.
20033
20034 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20035 Add handler for `dired-uncache'.
20036 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20037
20038 * net/trampver.el: Update release number. Make version check fit
20039 for SXEmacs 22.
20040
20041 2009-06-22 Jim Meyering <meyering@redhat.com>
20042
20043 Automatically handle .xz suffix (XZ-compressed files), too.
20044 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20045 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20046
20047 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20048 Nick Roberts <nickrob@snap.net.nz>
20049
20050 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20051 repository (http://sphinx.net.ru/hg/gdb-mi/).
20052
20053 2009-06-22 Glenn Morris <rgm@gnu.org>
20054
20055 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20056 `mode' and `eval' entries. (Bug#3430)
20057
20058 * Makefile.in (ELCFILES): Add fadr.elc.
20059
20060 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20061 differing behavior of \n and ^ in strings. (Bug#3385)
20062
20063 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20064
20065 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20066 property.
20067 (lisp-indent-function): Make it a defcustom.
20068
20069 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20070
20071 * progmodes/gdb-ui.el: Replace with ...
20072 * progmodes/gdb-mi.el: ... this file.
20073 * progmodes/gud.el: Modify for gdb-mi.el.
20074
20075 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20076
20077 * fadr.el: New file.
20078
20079 See ChangeLog.14 for earlier changes.
20080
20081 ;; Local Variables:
20082 ;; coding: utf-8
20083 ;; End:
20084
20085 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
20086
20087 This file is part of GNU Emacs.
20088
20089 GNU Emacs is free software: you can redistribute it and/or modify
20090 it under the terms of the GNU General Public License as published by
20091 the Free Software Foundation, either version 3 of the License, or
20092 (at your option) any later version.
20093
20094 GNU Emacs is distributed in the hope that it will be useful,
20095 but WITHOUT ANY WARRANTY; without even the implied warranty of
20096 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20097 GNU General Public License for more details.
20098
20099 You should have received a copy of the GNU General Public License
20100 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.